You are on page 1of 50

:

Cisco Switch Configuration



:
.1 (24) 3560 ) (48
switch catalyst

3560 series (24)port or( 48)port

)console
(cable




.
:

power cable.3

:

.4
.

.5 UTP
(unshielded
) twisted pair
:

:
-1 ((consolecable
:

.2
)( usp cable


( (LpT
:

.3 ( (power cable
:

.4 ((console cable


Windows ) 32(
) 64( .
http://www.prolific.com.tw/eng/downloads.a
sp?id=31

(( console cable .5


:
PL2303 USB-to-Serial Bridge Chip Family
Windows Driver Installer Manual
For Windows 2000/XP/Vista/7 Operating
Systems
Windows Driver Installer v1.5.0 Release

Contents
Driver Version Information
System Requirements
Installing the Device
Uninstalling the Device
Disclaimer

Driver Version Information


Driver Installer & Build date: 1.5.0 (2011-10-

21)
* GUID: ECC3713C-08A4-40E3-95F17D0704F1CE5E
Windows 2000/XP/Server2003 (32 & 64-bit)
WDM WHQL Driver: v2.1.27.185
Windows Vista/7/Server2008 (32 & 64-bit)
WDF WHQL Driver: v3.4.25.218

System Requirements
Supports the following Windows OS
Family:

- Windows 2000 SP4


- Windows XP SP2 and above (32 & 64
bit)
- Windows Server 2003 (32 & 64 bit)
- Windows Vista (32 & 64 bit)
- Windows 7 (32 & 64 bit)
- Windows Server 2008 / 2008 R2 (32
& 64 bit)
USB 1.1/2.0/3.0 Host Controller (USB
Port)
USB Device using PL-2303H/HX/X
version chips

- PL-2303HA (EOL)
- PL-2303HXA
- PL-2303HXD
- PL-2303XA (EOL)
USB Device using Prolific next-gen
version chips (Codename EA/TA/TB)

Installing
the
InstallShield

Device

with

This section will guide you how to install the PL2303 Windows Driver. You can download the
latest Driver Installer program from Prolific
support website:
http://www.prolific.com.tw/eng/downloads.asp?
ID=31

Note:
Please take notice of the installation order. First,
run the Driver Installer Program before plugging
in the USB to Serial adapter. If you already plug
the device during the driver installation, you
need to replug the device for Windows to
enumerate the device and load the drivers
installed. If your device is embedded to the
system, you might need to restart the system to
reload and install the driver.
The following steps will show how to install the
device under Windows 7 (64-bit) OS as this is the
most inquired driver support received by Prolific.
The procedures are somewhat the same and
straightforward for all other Windows operating
systems versions.

(1) Power on your


computer and boot
to Windows. Run or
double-click the PL2303
Driver
Installer program.

(2) The
InstallShield
Wizard will be
displayed to inform
you that the PL2303 USB-to-Serial
driver will be
installed on your
computer. Click
Next to continue

(3) The PL-2303


Driver Installer
program will then
start to install the
drivers needed.

(4) Click the Finish


button to close the
InstallShield
program. If you have
plugged the cable
into the PC while
running the setup
installation,
please
unplug and replug
the cable for the
system to detect the
device.

(5) Plug in the USB


to Serial adapter to
the PC USB port.
Windows
should
detect the driver as
Prolific
USB-toSerial Comm Port.
Go
to
Device
Manager and check
for
the
Prolific
USB-to-Serial
Comm Port device

(6) You can also check


the driver version by
right-clicking on the
Prolific
USB-toSerial Comm Port
device
and
select
Properties and Driver
tab.

Warning!!!
If you are encountering
yellow mark (Error Code
10) for device in Device
Manager, you need to
contact the cable vendor
or
manufacturer
for
Prolific
genuine
chip
validity. Prolific does not
manufacture any end-user
cable products and will
not provide direct support
to end-users.

Uninstalling
Device Driver

the

To uninstall the PL2303 driver, follow the


below steps:
1. Click Start Control
Panel Uninstall a
Program
(Add
or
Remove
Programs).
Look for the PL-2303
USB-to-Serial program
and click the Uninstall
(Remove) button.

2. InstallShield Wizard
will then start the
maintenance program
and will prompt you to
choose if you want to
modify,
repair,
or
remove
the
driver.
Click
the
Remove
button and click Next
to begin the driver
uninstall.

3. The InstallShield
Wizard will prompt you
to confirm to uninstall.
Click Yes to continue.

4. Wait for the


InstallShield Wizard to
complete the uninstall
process. When
complete, click Finish
to end the program.
Wait for some few
seconds until the PL2303 USB-to-Serial
program is removed
from the Control
Panel Uninstall (Add
or Remove Programs)
program list

)putty
( configuration
) Windows(7
)(session

-2 .
:


) (com )(serial line
)(putty configuration


( save)
( Load)
( open)
.

power on self Switch 1-8


( boot) test(post)

Base ethernet MAC Address: 00:1b:d5:35:0a:80 :
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 402 files, 6 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 8155648
flashfs[0]: Bytes available: 7843328
flashfs[0]: flashfs fsck took 9 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done

Loading"flash:c3560-ipbase-mz.122-25.SEE3/c3560-ipbase-mz.12225.SEE3.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@

File"flash:c3560-ipbase-mz.12225.SEE3/c3560-ipbase-mz.12225.SEE3.bin" uncompressed and installed,


entry point: 0x3000
executing...
Restricted Rights Legend
Use, duplication, or disclosure by the
Government is
subject to restrictions as set forth in
subparagraph
c) of the Commercial Computer Software Restricted
Rights clause at FAR sec. 52.227-19 and
subparagraph
c) (1) (ii) of the Rights in Technical Data
and Computer
Software clause at DFARS sec. 252.2277013.
cisco Systems, Inc.
West Tasman Drive 170
San Jose, California 95134-1706
Cisco IOS Software, C3560 Software
(C3560-IPBASE-M), Version 12.2(25)SEE3,
RELEASE SOFTWARE (fc2(

Copyright (c) 1986-2007 by Cisco


Systems, Inc.
Compiled Thu 22-Feb-07 14:40 by myl
Image text-base: 0x00003000, database: 0x00EB11A0
Initializing flashfs...
flashfs[1]: 402 files, 6 directories
flashfs[1]: 0 orphaned files, 0
orphaned directories
flashfs[1]: Total bytes: 15998976
flashfs[1]: Bytes used: 8155648
flashfs[1]: Bytes available: 7843328
flashfs[1]: flashfs fsck took 1 seconds.
flashfs[1]:
Initialization
complete....done Initializing flashfs
POST: CPU MIC register Tests : Begin
POST: CPU MIC register Tests : End,
Status Passed
POST: PortASIC Memory Tests : Begin
POST: PortASIC Memory Tests : End,
Status Passed
POST: CPU MIC PortASIC interface
Loopback Tests : Begin

POST: CPU MIC PortASIC interface


Loopback Tests : End, Status Passed
POST: PortASIC RingLoopback Tests :
Begin
POST: PortASIC RingLoopback Tests : End,
Status Passed
POST: Inline Power Controller Tests : Begin
POST: Inline Power Controller Tests : End,
Status Passed
POST: PortASIC CAM Subsystem Tests :
Begin
POST: PortASIC CAM Subsystem Tests :
End, Status Passed
POST: PortASIC Port Loopback Tests :
Begin
POST: PortASIC Port Loopback Tests : End,
Status Passed
Waiting for Port download...Complete
cisco
WS-C3560-24PS
(PowerPC405)
processor
(revision
Q0)
with
118784K/12280K bytes of memory.
Processor board ID FDO1120Y129
Last reset from power-on
irtual Ethernet interface 17
FastEthernet interfaces 24
Gigabit Ethernet interfaces 2

The password-recovery mechanism is enabled.


K
bytes
of
flash-simulated
non-volatile
configuration memory. 512
Base ethernet MAC Address
:
00:1B:D5:35:0A:80
Motherboard assembly number
: 739673-09
Power supply part number
: 3410029-05
Motherboard serial number
: FDO11200066
Power supply serial number
: LIT11150DM2
Model revision number
: Q0
Motherboard revision number
: B0
Model number
: WS-C356024PS-S
System serial number
: FDO1120Y129
Top Assembly Part Number
: 800-25861-04
Top Assembly Revision Number
: D0
Version ID
: V06
CLEI Code Number
: COM1X00ARC
Hardware Board Revision Number : 0x01
Switch Ports Model
SW Version
SW Image
------ ----- ----------------------* WS-C3560-24PS
12.2(25)SEE3
C3560-IPBASE-M 26 1 *
Press RETURN to get started

:
.1 . EXIT
.2 . End
.3 ). (Enter

2-8
switch ) (Enable
switch ) (Enter :
>Switch
Switch>enable
Switch#
-9 :
Switch#
Switch#configure terminal
) ( terminal
Tap .

Switch(config)#hostnam
e mohammed
mohammed(config)#

- 10
:
Switch #
Switch#config terminal
Switch (config)#interface range fastEthernet
0/1 - 24 Switch (config-if-range)# no shutdown
Switch (config-if-range)# shutdown

-11 :
Switch#
Switch# configure terminal
Switch (config)#inteface fast Ethernet 0/5

Switch (config-if)# no
shutdown
Switch (config-if)# shutdown

- 12

.

Switch#
Switch# configure terminal

switch(config)#interface
f0/1
switch(configif)#switchport mode
access
switch(configif)#switchport portsecurity
switch(configif)#switchport portsecurity maximum 1
switch(configif)#switchport portsecurity mac-address

: -13
Set the console password
Switch>enable
#Switch
Switch#configure terminal

confguation
mode

#Switch(config)
Switch(config)# line
console 0
Switch(config-line)#login
Login disabled on line 0,
until 'password' is set


Switch(config. ((telnet
-14
password
line)#password 123

Set the virtual terminal password

- 15

)(console port
:


-16 .

User Access
Verification
Password
Password

Set the enable


password

Switch#
Switch#config ure
teimnal#
Switch(config)#enable
password 123

-17 .

Set the secret


password

Switch#
Switch#config ure teimnal#
Switch(config)#enable
secret 123

. -18
Set the service password-encryption
Switch#config ure terminal#
Switch(config)#service password-encryption
-19

Switch#wr
enter wr

Building
configuration...
]OK[
vlan)) .20
Switch#
Switch#config ure terminal
Switch(config)#
switch(config)#interface vlan (Vlan)
1 switch(config-if)#ip address
10.32.1.10 255.255.255.0

(IP)
Switch (config-if)# no
shutdown (ip default(
(IP)
switch(config-if)#ip defaultgateway 10.32.1.1
ip))

default

switch#show
version

-21

Cisco IOS Software, C3560 Software (C3560IPBASE-M), Version 12.2(25)SEE3, RELEASE


SOFTWARE (fc2(
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 22-Feb-07 14:40 by myl
Image text-base: 0x00003000, data-base:
0x00EB11A0

ROM: Bootstrap program is C3560 boot loader


BOOTLDR: C3560 Boot Loader (C3560-HBOOTM) Version 12.2(25r)SEC, RELEASE SOFTWARE
(fc4

mohammed uptime is 52 minutes


System returned to ROM by power-on
System image file is "flash:c3560-ipbasemz.122-25.SEE3/c3560-ipbase-mz.12225.SEE3.bin"
cisco WS-C3560-24PS (PowerPC405)
processor (revision Q0) with
118784K/12280K bytes of memory.
Processor board ID FDO1120Y129
Last reset from power-on
irtual Ethernet interface 1
FastEthernet interfaces 24
Gigabit Ethernet interfaces 2

The password-recovery mechanism is enabled.


K
bytes
of
flash-simulated
non-volatile
configuration memory. 512
Base ethernet MAC Address
:
00:1B:D5:35:0A:80
Motherboard assembly number
: 73-967309
Power supply part number
: 341-0029-05
Motherboard serial number
:
FDO11200066
Power supply serial number
: LIT11150DM2
Model revision number
: Q0
Motherboard revision number
: B0
Model number
: WS-C356024PS-S
System serial number
: FDO1120Y129
Top Assembly Part Number
: 80025861-04
Top Assembly Revision Number
: D0
Version ID
: V06
CLEI Code Number
: COM1X00ARC
Hardware Board Revision Number
: 0x01

Switch Ports Model


SW Version
SW Image
------ ----- ----------------------WS-C3560-24PS
12.2(25)SEE3
C3560IPBASE-M 26 1 *

Configuration register is 0xF

(( ports -22
switch#show interfaces
(( vlan -23

Switch#
Switch#config ure terminal
Switch(config)#interface f0/1
Switch(config-if)#switchport access
vlan 5
!interface FastEthernet0/1
switchport access vlan 5 vlan
interface FastEthernet0/2
interface FastEthernet0/3
switch#show vlan

VLAN Name
Status Ports

(( vlan -24
.

---- -------------------------------- --------------------------------------default


active
Fa0/1,
Fa0/2, Fa0/3, Fa0/4
1
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20

fddi-default
act/unsup 1002
token-ring-default
act/unsup 1003
fddinet-default
act/unsup 1004
trnet-default
act/unsup 1005
VLAN Type SAID
MTU Parent RingNo
BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ----------- ------ -----1 enet 100001
1500 - 0
0
1002 fddi 101002
1500 0
0
1003 tr 101003
1500 0
0
1004 fdnet 101004
1500 ieee 0
0
1005 trnet 101005
1500 ibm 0
0
Remote SPAN VLANs
----------------------------------------------------------------------------Primary Secondary Type
Ports
------- --------- ----------------------------------------------------------

. - 25

Switch#show vtp status


VTP Version
:2
Configuration Revision
:0
Maximum VLANs supported locally
:
1005
Number of existing VLANs
:5
VTP Operating Mode
: Server
VTP Domain Name
:
VTP Pruning Mode
: Disabled
VTP V2 Mode
: Disabled
VTP Traps Generation
: Disabled
MD5 digest
: 0x57 0xCD
0x40 0x65 0x63 0x59 0x47 0xBD
Configuration last modified by 0.0.0.0 at
0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid
interface found

-26
.
switc
h#

switch#sh
ow run

Building configuration...
Current configuration : 1318 bytes
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
hostname mohammed
enable password 123
no aaa new-model
ip subnet-zero
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
vlan internal allocation policy
ascending
interface FastEthernet0/1
interface FastEthernet0/2
interface FastEthernet0/3
interface FastEthernet0/4
interface FastEthernet0/5
interface FastEthernet0/6
interface FastEthernet0/7

interface FastEthernet0/8
interface FastEthernet0/9
interface FastEthernet0/10
interface FastEthernet0/11
interface FastEthernet0/12
interface FastEthernet0/13
interface FastEthernet0/14
interface FastEthernet0/15
interface FastEthernet0/16
interface FastEthernet0/17
interface FastEthernet0/18
interface FastEthernet0/19
interface FastEthernet0/20
interface FastEthernet0/21
interface FastEthernet0/22
interface FastEthernet0/23
interface FastEthernet0/24
interface GigabitEthernet0/1
interface GigabitEthernet0/2
interface Vlan1
ip address 10.32.1.10 255.255.255.0
shutdown

ip default-gateway
10.32.1.1
ip classless
ip http server
control-plane
line con 0
password 123
login
line vty 0 4
password 123
login
line vty 5 15
no login
end

- 27

Switch#showhistory
configure terminal
show vlan
show interfaces
show run
show version
show vtp status
sh flash:
show mac-address-table
show history

Switch#sh
flash

-28

Directory of flash:/
-rwx
1289 Mar 1 1993 00:12:47 +00:00
config.text2
-rwx
5 Mar 1 1993 00:12:47 +00:00
private-config.text
-rwx
1048 Mar 1 1993 00:12:47 +00:00
multiple-fs
drwx
192 Mar 1 1993 00:05:39 +00:00
c3560-ipbase-mz.122-25.SEE3
bytes total (7843328 bytes free15998976

- 29
((nvram
Switch#erase
startup-config
Mac address -30

Switch#show-macaddress-table
Mac Address Table
------------------------------------------Vlan Mac Address
Type
Ports
---- ------------------ ----All 0100.0ccc.cccc STATIC
CPU
All 0100.0ccc.cccd STATIC
CPU
All 0180.c200.0000 STATIC
CPU
All 0180.c200.0001 STATIC
CPU
All 0180.c200.0002 STATIC
CPU
All 0180.c200.0003 STATIC
CPU
All 0180.c200.0004 STATIC
CPU
All 0180.c200.0005 STATIC
CPU
All 0180.c200.0006 STATIC
CPU
All 0180.c200.0007 STATIC
CPU
All 0180.c200.0008 STATIC
CPU
All 0180.c200.0009 STATIC
CPU
All 0180.c200.000a STATIC
CPU
All 0180.c200.000b STATIC
CPU
All 0180.c200.000c STATIC
CPU
All 0180.c200.000d STATIC
CPU
All 0180.c200.000e STATIC
CPU
All 0180.c200.000f STATIC
CPU
All 0180.c200.0010 STATIC
CPU
All ffff.ffff.ffff STATIC
CPU
Total Mac Addresses for this criterion: 20

Switch#show version
Cisco IOS Software, C3560 Software (C3560IPBASE-M), Version 12.2(25)SEE3, RELEASE
SOFTWARE (fc2(
Copyright (c) 1986-2007 by Cisco Systems,
Inc.
Compiled Thu 22-Feb-07 14:40 by myl
Image text-base: 0x00003000, data-base:
0x00EB11A0
ROM: Bootstrap program is C3560 boot loader
BOOTLDR: C3560 Boot Loader (C3560-HBOOTM) Version 12.2(25r)SEC, RELEASE SOFTWARE
(fc4)
mohammed uptime is 1 hour, 15 minutes
System returned to ROM by power-on
System image file is "flash:c3560-ipbasemz.122-25.SEE3/c3560-ipbase-mz.12225.SEE3.bin"
cisco WS-C3560-24PS (PowerPC405)
processor (revision Q0) with 118784K/12280K
bytes of memory.
Processor board ID FDO1120Y129
Last reset from power-on
1 Virtual Ethernet interface
24 FastEthernet interfaces
2 Gigabit Ethernet interfaces

The
password-recovery
mechanism
is
enabled.
512 K bytes of flash-simulated non-volatile
configuration memory.
Base ethernet MAC Address
:
00:1B:D5:35:0A:80
Motherboard assembly number
: 73-967309
Power supply part number
: 3410029-05
Motherboard serial number
:
FDO11200066
Power supply serial number
:
LIT11150DM2
Model revision number
: Q0
Motherboard revision number
: B0
Model number
: WS-C356024PS-S
System serial number
: FDO1120Y129
Top Assembly Part Number
: 80025861-04
Top Assembly Revision Number
: D0
Version ID
: V06
CLEI Code Number
: COM1X00ARC
Hardware Board Revision Number
:
0x01
Switch Ports Model
SW Version
SW Image
------ ----- ----------------------WS-C3560-24PS
12.2(25)SEE3
C3560-IPBASE-M
26 1 *

- 31
.

Switch#show cdp neighbors

Capability Codes: R - Router, T - Trans Bridge, B Source Route Bridge


S - Switch, H - Host, I - IGMP, r - Repeater, P Phone
Device ID Local Intrfce Holdtme Capability
Platform Port ID
C Ser 6/0 124 R PT1000
Ser 3/0

L2 and L3 ) -31
( Switches
.
PASSWORD RECOVERY FOR Cisco Catalyst
L2 and L3 Switches

Introduction

This document describes the password


recovery procedure for the Cisco Catalyst
Layer 2 fixed configuration switches
2900XL/3500XL, 2940, 2950/2955, 2960,
and 2970 Series, as well as the Cisco
Catalyst
Layer
3
fixed
configuration
switches 3550, 3560, and 3750 Series.
Step-by-Step Procedure

Follow the password recovery procedure


below.
1- Attach a terminal or PC with terminal
emulation (for example, Hyper Terminal)
to the console port of the switch.
Use the following terminal settings:
Bits per second (baud): 9600
Data bits: 8
Parity: None
Stop bits: 1
Flow Control: Xon/Xof
1- Unplug the power cable.
2- Power the switch and bring it to the
switch: prompt:

For 2900XL, 3500XL, 2940, 2950, 2960,


2970, 3550, 3560, and 3750 series
switches, do this:
Hold down the mode button located on the left
side of the front panel, while you reconnect the
power cable to the switch.
Catalyst Switch Series
2900XL, 3500XL,
3550
2950 ,2940

2970 ,2960

3750 ,3560

LED Behavior and Mode Button Release Action


.Release the Mode button when the LED above Port1x goes out
Release the Mode button after approximately 5 seconds when the
Status (STAT) LED goes out. When you release the Mode button,
.the SYST LED blinks amber
Release the Mode button when the SYST LED blinks amber and
then turns solid green. When you release the Mode button, the
.SYST LED blinks green
Release the Mode button after approximately 15 seconds when the
SYST LED turns solid green. When you release the Mode button,
.the SYST LED blinks green

Note: LED position


may vary slightly
depending on the
model.
Catalyst 3524XL

Catalyst 2950-24

The Catalyst 2955 series switches do not


use an external mode button for
password recovery. Instead the switch
boot loader uses the break-key detection
to stop the automatic boot sequence for
the password recovery purposes. The
break sequence is determined by the
terminal
application
and
operating
system used. Hyperterm running on
Windows 2000 uses Ctrl + Break. On a
workstation running UNIX, Ctrl-C is the
break key. For more information, refer to
Standard Break Key Sequence Combinatio
ns During Password Recovery
.
The example below uses Hyperterm to
break into switch: mode on a 2955.
C2955 Boot Loader (C2955-HBOOT-M)
Version
12.1(0.0.514),
CISCO
DEVELOPMENT TEST
VERSION
Compiled Fri 13-Dec-02 17:38 by madison
WS-C2955T-12 starting...
Base
ethernet
MAC
Address:
00:0b:be:b6:ee:00
Xmodem file system is available.
Initializing Flash...

flashfs[0]: 19 files, 2 directories


flashfs[0]: 0 orphaned files, 0 orphaned
directories
flashfs[0]: Total bytes: 7741440
flashfs[0]: Bytes used: 4510720
flashfs[0]: Bytes available: 3230720
flashfs[0]: flashfs fsck took 7 seconds.
...done initializing flash.

Boot Sector Filesystem (bs:) installed,


fsid: 3
Parameter
Block
Filesystem
(pb:)
installed, fsid: 4
*** The system will autoboot in 15
seconds ***
Send break character to prevent
autobooting.
!--- Wait until you see this message
before
!--- you issue the break sequence.
!--Ctrl+Break
is
entered
using
Hyperterm.
The system has been interrupted prior
to initializing the flash file system to
finish
loading the operating system software:
flash_init
load_helper
boot
switch:

4.
Issue
command.

the

flash_init

switch: flash_init
Initializing Flash...
flashfs[0]: 143 files, 4 directories
flashfs[0]:
0
orphaned
files,
0
orphaned directories
flashfs[0]: Total bytes: 3612672
flashfs[0]: Bytes used: 2729472
flashfs[0]: Bytes available: 883200
flashfs[0]: flashfs fsck took 86 seconds
....done Initializing Flash.
Boot Sector Filesystem (bs:) installed,
fsid: 3
Parameter Block Filesystem (pb:)
installed, fsid: 4
switch:
!--- This output is from a 2900XL
switch. Output from
!--- other switches will vary slightly.
5. Issue the load_helper command.
switch: load_helper
switch:

6. Issue the dir flash: command.


Note: Make sure to type a colon ":"
after the dir flash.
The switch file system is displayed:
switch: dir flash:
Directory of flash:/
2 -rwx 1803357 <date> c3500xlc3h2s-mz.120-5.WC7.bin
!--- This is the current version of
software.
4
-rwx 1131
<date>
config.text
!--- This is the configuration file.

5 -rwx 109
<date>
info
6
-rwx 389
<date>
env_vars
7 drwx 640
<date>
html
18 -rwx 109
<date>
info.ver
403968 bytes available (3208704 bytes
used)
switch:
!--- This output is from a 3500XL
switch. Output from
!--- other switches will vary slightly.

7. Type rename flash:config.text flash:config.old to


rename the configuration file.
switch: rename flash:config.text flash:config.old
switch:
!--- The config.text file contains the password
!--- definition.
8. Type rename flash:config.text flash:config.old to
rename the configuration file.
switch: rename flash:config.text flash:config.old
switch:
!--- The config.text file contains the password
!--- definition.
9. Issue the boot command to boot the system.
switch: boot
Loading"flash:c3500xl-c3h2s-mz.1205.WC7.bin"...#########################
######
###################################
#################################
############
###################################
#################################
##
File
"flash:c3500xl-c3h2s-mz.120-5.WC7.bin"
uncompressed and installed, entry po
int: 0x3000
executing...
!--- Output suppressed.
!--- This output is from a 3500XL switch. Output
from other switches
!--- will vary slightly.

9. Enter "n" at the prompt to abort


the initial configuration dialog.
--- System Configuration Dialog --At any point you may enter a question mark
'?' for help.
Use ctrl-c to abort configuration dialog at any
prompt.
Default settings are in square brackets '[]'.
Continue with configuration dialog? [yes/no]:
n
!--- Type "n" for no.

Press RETURN to get started.

!--- Press Return or Enter.

Switch>

!--- The Switch> prompt is displayed.

10. At the switch prompt, type en


to enter enable mode.
Switch>en
Switch#
11
Type
rename
flash:config.old
flash:config.text to rename the configuration
file with its original name.
Switch#rename
flash:config.old
flash:config.text
Destination filename [config.text]

!--- Press Return or Enter.

Switch#

12 Copy the configuration file into memory.


Switch#copy
flash:config.text
system:running-config
Destination filename [running-config]?
!--- Press Return or Enter.
1131 bytes copied in 0.760 secs
Sw1#
The configuration file is now reloaded.

13. Overwrite the current passwords


that you do not know. Choose a strong
password with at least one capital
letter, one number, and one special
character.
Note: Overwrite the passwords which
are necessary. You need not overwrite
all of the mentioned passwords.
Sw1# conf t
!--- To overwrite existing secret
password
Sw1(config)#enable
secret
<new_secret_password>
!--To
overwrite
existing
enable
password
Sw1(config)#enable
password
<new_enable_password>
!--To
overwrite
existing
enable
password
Sw1(config)#enable
password
<new_enable_password>
!--- To overwrite existing vty password

Sw1(config)#line vty 0 15
Sw1(config-line)#password
<new_vty_password>

Sw1(config-line)#login

!--- To overwrite existing console


password

Sw1(config-line)#line con 0
Sw1(config-line)#password
<new_console_password>
14.
Write
the
running
configuration
to
the
configuration file with the write
memory command.
Sw1#write memory
Building configuration...
[OK]
Sw1#

You might also like