Documentation
- Cisco Nexus 5000 Series Switches
- Cisco Nexus 5000 Series Switches - Configuration Guides
- Cisco Nexus 5600 Series Switches Interfaces Command Reference
- Cisco Nexus 5600 Series NX-OS System Management Command Reference - Cisco
- Cisco Nexus 5600 Series NX-OS Unicast Routing Command Reference - Cisco
- Cisco Nexus 5000 10-Gbps Switches Data Sheet - Cisco
- Cisco Nexus 5000 40-Gbps Switches Data Sheet - Cisco
Command aliases
con
(figure)sh
(ow)ru
(nning-config) /int
(erface)st
(atus)int
(erface)e
(th)1/1
Recover admin password on Cisco NX-OS
Source: Password Recovery Procedure for Cisco NX-OS
-
Establish serial session with the switch
-
Power cycle device by disconnecting/reconnecting power supplies
-
Spam
Ctrl+C
andCTRL+L
when the switch reaches this part of the boot sequence:
Executing Mod 1 2 SEEPROM Test....done
Mod 1 2 Post Completed Successfully
Mod 3 Post Completed Successfully
POST is completed
Checking all filesystems....r. done.
Ctrl+C Ctrl+] Ctrl+C Ctrl+L
switch(boot)#
- Reset admin password.
switch(boot)# configure terminal
switch(boot-config)# admin-password my_new_admin_password
WARNING! Remote Authentication for login through console has been
disabled
switch(boot-config)# exit
switch(boot)#
- Find the name of the system software image you wish to boot from
switch(boot)# dir
switch(boot)# dir bootflash
- Boot from your desired image
switch(boot)# load bootflash:nx-os.bin
- Test your new login details
switch login: admin
Password: my_new_admin_password
switch#
- Save your changes
switch# copy running-config startup-config
Clear configuration
You will need to use a serial connection on the switch's next boot to reconfigure it.
switch# write erase
To undo your changes, use:
switch# copy running-config startup-config
To apply your configuration erasure, reboot the switch.
switch# reboot
Next boot
On boot up, you will receive this prompts to reconfigure the switch:
Abort Power On Auto Provisioning and continue with normal setup ?(yes/no)[n]: yes
Disabling PoAP service, please wait ...
---- System Admin Account Setup ----
Do you want to enforce secure password standard (yes/no): yes
Enter the password for "admin":
Confirm the password for "admin":
---- Basic System Configuration Dialog ----
Would you like to enter the basic configuration dialog (yes/no): yes