Password Recovery Procedure for the Catalyst 4500/4000 Supervisor Engine II+/III/IV/V Module

From NesevoWiki
Jump to navigationJump to search

Step 1: Power cycle the device.

    In order to power cycle, turn the device off, then back on.
    Press Ctrl-C within 5 seconds to prevent autoboot.



Step 2: Issue the confreg 0x2142 command at the rommon 1>

Step 3: Type reset to reboot.

Step 4: Type config memory or copy startup-config running-config to copy the nonvolatile RAM (NVRAM) into memory.

Step 5: Type show ip interface brief to make sure that the interfaces that were in use earlier show an "up up" status.

    If any of the interfaces that were in use before the password recovery show "down",
    issue the no shutdown command on that interface to bring the interface up.

Step 6: Type write terminal or the show running-config command to display the saved configuration on the module.

Step 7: Type configure terminal

Step 8: Type no enable secret.This step is necessary if the switch had an enable secret password.

Step 9: Type enable secret to set a new password.

Step 10: Make sure that you change the configuration register value back to 0x2102. Complete these steps at the config prompt to change and verify the configuration register value.

Type  config-register 0x2102 
c-4006-SUPIII(config)#config-register 0x2102
c-4006-SUPIII(config)# ^Z
c-4006-SUPIII#
00:19:01: %SYS-5-CONFIG_I: Configured from console by console
c-4006-SUPIII#write memory 
This step saves the configuration.

Type show version

Building configuration...
Compressed configuration from 3061 bytes to 1365 bytes[OK]
c-4006-SUPIII#show version 
This step verifies the value change.
 Configuration register is 0x2142 (will be 0x2102 at next reload)
 c-4006-SUPIII#

At this point, you have changed the password.