Reset a switch to factory default settings - Cisco Nexus 9808
You can reset a Cisco Nexus 9808 switch to its original factory default settings when the switch is being decommissioned or when the switch fails and cannot be recovered, requiring you to reconfigure it manually.
You must be connected to the switch using the serial console.
-
This task resets the configuration of the management network.
-
The
reloadcommand used in this procedure reboots the switch, which interrupts all network traffic passing through it. (You should perform this procedure during a maintenance window when the switch is not in use.)
-
Erase the existing startup configuration:
write erase(cs2)# write erase Warning: This command will erase the startup-configuration. Do you wish to proceed anyway? (y/n) [n] y
-
Reload the NX-OS:
reload(cs2)# reload This command will reboot the system. (y/n)? [n] y
The system reboots and enters the configuration wizard.
During the reboot, if you receive the prompt “Abort Auto Provisioning and continue with normal setup? (yes/no)[n]”, respond yes to proceed. -
If the switch is being decommissioned, you are done with this procedure; otherwise, you need to configure the switch using the Configure switch workflow.