The password recovery procedure disrupts all traffic on the device. All connections to the device will be
lost for 2 to 3 minutes.
Caution
You cannot recover the administrator password from a Telnet or Secure Shell (SSH) session to the
management interface. You must have access to the local console connection.
Note
Password recovery updates the new administrator password only in the local user database and not on the
remote AAA servers. The new password works only if local authentication is enabled; it does not work
for remote authentication. When a password is recovered, local authentication is enabled for logins through
a console so that the admin user can log in with a new password from a console.
Note
If you need to recover the password because the username was not specified in the configuration file when
you performed a copy configuration-file startup-config followed by the fast-reload or reload command,
you will need to perform a write erase in Step 12 below.
Note
Before You Begin
On a device with two supervisor modules, you must perform the password recovery procedure on the supervisor
module that will become the active module after you complete the recovery procedure. To ensure that the
other supervisor module does not become active, perform one of the following tasks:
•
Remove the other supervisor module from the chassis.
•
Change the console prompt of the other supervisor module to one of the following two prompts until
the recovery procedure completes:
◦
loader >
◦
switch(boot)#
DETAILED STEPS
PurposeCommand or Action
—
Establish a terminal session on the console port of the active
supervisor module.
Step 1
If you are using a non-U.S. keymap, the key
sequence that you need to press to generate
the break sequence might not work. In this
case, we recommend that you set your
terminal to a U.S. keymap. You can enter
Ctrl-C instead of Ctrl-] (right square bracket)
due to keyboard mapping.
Note
—
If you use SSH or a terminal emulator to access the console
port, go to Step 6.
Step 2
Cisco Nexus 9000 Series NX-OS Troubleshooting Guide, Release 7.x
26
Troubleshooting Installations, Upgrades, and Reboots
Recovering the Administrator Password