Password reset on a Catalyst

Ofcourse I can”t remember all my old passwords, so I have to do a password recovery for a Cisco switch.

Just hold the mode button and poweron the switch. After 20-30 sec you can release the button and you”ll see at the console :

Using driver version 1 for media type 1
Base ethernet MAC Address: 00:1e:49:9b:50:80
Xmodem file system is available.
The password-recovery mechanism is enabled.

The system has been interrupted prior to initializing the
flash filesystem. The following commands will initialize
the flash filesystem, and finish loading the operating
system software:

flash_init
boot
First do a flash_init

Rename the config file and delete the vlan.dat just to be sure you don”t have problems with vlans.

Then boot the switch :

switch: flash_init
switch: rename flash:/config.text flash:/config.old
switch: del flash:/vlan.dat
 Are you sure you want to delete "flash:/vlan.dat" (y/n)?y
 File "flash:/vlan.dat" deleted

switch: boot

 

 

Be the first to comment

Leave a Reply

Your email address will not be published.


*