Cisco Nexus 5672UP Switch Configuration
A quick reference guide for configuring the Cisco Nexus 5000 Series Switch,covering essential documentation links, command aliases, and step-by-step instructions for recovering the admin password and clearing the configuration.
Cisco Nexus 5672UP Switch Configuration
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:
1
2
3
4
5
6
7
8
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.
1
2
3
4
5
6
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
1
2
switch(boot)# dir
switch(boot)# dir bootflash
- Boot from your desired image
1
switch(boot)# load bootflash:nx-os.bin
- Test your new login details
1
2
3
switch login: admin
Password: my_new_admin_password
switch#
- Save your changes
1
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.
1
switch# write erase
To undo your changes, use:
1
switch# copy running-config startup-config
To apply your configuration erasure, reboot the switch.
1
switch# reboot
Next boot
On boot up, you will receive this prompts to reconfigure the switch:
1
2
3
4
5
6
7
8
9
10
11
12
13
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
This post is licensed under CC BY 4.0 by the author.