Reset enable password on cisco router
From Notes_Wiki
<yambe:breadcrumb>Switch_configuration_notes|Switch configuration</yambe:breadcrumb>
Reset enable password on cisco router
To reset enable password on cisco router use following steps:
- Connect to router on console port using standard 9600 8N1 (9600 bits per second, no parity, 8-bit, 1 stop-bit, no flow control)
- If console password is not set or known then use it. Use 'show version' and not current value of configuration register.
- Reboot and use break sequence
- Hyper-terminal
- Ctrl + Break
- Minicom
- Ctrl+a f
- Putty
- Right click on title bar, choose special command -> break
- On 'rommon1>' prompt use to disable loading of startup-config as running-config on system boot:
- confreg 0x2142
- For reboot
- reset
- Cancel initial configuration wizard (Ctrl+C)
- Go to enable mode using enable after reboot
- Get old configuration back using 'copy startup-config running-config'
- Do not do reverse, else all config would be lost
- Look at current configuration, reset enable password and no shut all configured interfaces using:
- show running
- show ip interface brief
- config t
- enable secret
- int <int-name-number> #for each configured interface
- no shut
- Again reset configuration register value so that startup configuration is copied to running-config on startup, using:
- config t
- config-register 0x2102 (or value noted before rebooting)
- Save the entire configuration for next reboot using:
- copy running-config startup-config
<yambe:breadcrumb>Switch_configuration_notes|Switch configuration</yambe:breadcrumb>