Friday, January 9, 2009

Cisco Password Recovery Procedures

Requirement:
- Windows Hyper Terminal connection to console port.

Cisco 806, 826, 827, 828, 831, 836 and 837 Series Routers

  • Use the power switch in order to turn off the router, and then turn the router back on.
  • Press Break or Ctrl-Break on the terminal keyboard within 60 seconds of power up in order to put the router into ROMMON.
  • boot#set ios-conf = 142
  • boot#boot
    The router reboots, but ignores the saved configuration.
    Type no after each setup question.
  • Router>enable
    Once the Router# prompt appears, you are in enable mode.
  • Router#copy startup-config running-config
  • hostname#configure terminal
  • hostname(config)#enable secret your_new_password_here
    Issue the no shutdown command on every interface that you use.
  • hostname(config)#config-register 0×2102
  • hostname(config)#end
  • hostname#copy running-config startup-config
  • hostname#reload

Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers.
Cisco 801, 802, 803, 804, 805, 811, and 813 Series Routers.
Cisco 1700, 1800, 2600, 2800, 3600, 3700, 3800 Series Routers.
Cisco 7100, 7200, 7500, 12000 Series Router.

  • Use the power switch in order to turn off the router, and then turn the router back on.
  • Press Break or Ctrl-Break on the terminal keyboard within 60 seconds of power up in order to put the router into ROMMON.
  • rommon 1>confreg 0×2142
    This step bypasses the startup configuration where the passwords are stored.
  • rommon 2>reset
    Type no after each setup question.
  • Router>enable
    You are in enable mode and should see the Router# prompt.
  • Router#copy startup-config running-config
  • Router#configure terminal
  • hostname(config)#enable secret your_new_password_here
    Issue the no shutdown command on every interface that you use.
  • hostname(config)#config-register 0×2102
  • hostname(config)#end
  • hostname#copy running-config startup-config
  • hostname#reload

Cisco 2000, 2500, 3000, 4000, AccessPro, 7000(RP), AGS+, IGS, STS-10X AS

  • Use the power switch in order to turn off the router, and then turn the router back on.
  • Press Break or Ctrl-Break on the terminal keyboard within 60 seconds of power up in order to put the router into ROMMON.
  • >o/r 0×2142
    Press Enter at Prompt.
    The router reboots, but ignores the saved configuration.
    Type no after each setup question.
  • Router>enable
    Once the Router# prompt appears, you are in enable mode.
  • Router#copy startup-config running-config
  • Router#configure terminal
  • hostname(config)#enable secret your_new_password_here
    Issue the no shutdown command on every interface that you use.
  • hostname(config)#config-register 0×2102
  • hostname(config)#Ctrl-Z
  • hostname#copy running-config startup-config
  • hostname#reload

No comments:

Post a Comment