
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-2
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Troubleshooting
Recovering a Lost Password
Using the CLI with Network-Admin Privileges
If you are logged in to, or can log into, the switch with a username that has network-admin privileges,
follow these steps:
Step 1
Verify that your username has network-admin privileges.
switch#
show user-account
user:admin
this user account has no expiry date
roles:network-admin
user:dbgusr
this user account has no expiry date
roles:network-admin
network-operator
Step 2
Assign a new network administrator password if your username has network-admin privileges.
switch#
configure terminal
switch(config)#
username admin password
<new password>
switch(config)#
exit
switch#
Step 3
Save the configuration.
switch#
copy running-config startup-config
Power Cycling the Switch
If you cannot start a session on the switch that has network-admin privileges, you must recover the
network administrator password by power cycling the switch.
Caution
This procedure disrupts all traffic on the switch.
Note
You cannot recover the administrator password from a Telnet or SSH session. You must have access to
the local console connection.
To recover the network administrator password by power cycling the switch, follow these steps:
Step 1
Establish a terminal session on the console port of the supervisor module.
Step 2
Power cycle the switch.
Step 3
Press the
Ctrl-B
key sequence from the console port session when the switch begins the Cisco NX-OS
software boot sequence to enter the boot prompt mode.
Ctrl-B
switch(boot)#