Reset enable password on cisco router

From Notes_Wiki
Revision as of 06:08, 19 April 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > Switch configuration notes > Reset enable password on cisco router

To reset enable password on cisco router use following steps:

  1. Connect to router on console port using standard 9600 8N1 (9600 bits per second, no parity, 8-bit, 1 stop-bit, no flow control)
  2. If console password is not set or known then use it. Use 'show version' and not current value of configuration register.
  3. Reboot and use break sequence
    Hyper-terminal
    Ctrl + Break
    Minicom
    Ctrl+a f
    Putty
    Right click on title bar, choose special command -> break
  4. On 'rommon1>' prompt use to disable loading of startup-config as running-config on system boot:
    confreg 0x2142
  5. For reboot
    reset
  6. Cancel initial configuration wizard (Ctrl+C)
  7. Go to enable mode using enable after reboot
  8. Get old configuration back using 'copy startup-config running-config'
    Do not do reverse, else all config would be lost
  9. 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
  10. 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)
  11. Save the entire configuration for next reboot using:
    copy running-config startup-config


Home > Switch configuration notes > Reset enable password on cisco router