Nugget Post : resetting a cisco nexus switch

Cisco nexus factory reset procedure:

 

1. Clear configuration by running:

write erase [boot | debug]

Syntax description:

boot(Optional) Erases only the boot variable and mgmt0 interface configuration.
debug(Optional) Erases only the debug configuration.

Example:

switch(config-if)# write erase
Warning: This command will erase the startup-configuration.
Do you wish to proceed anyway? (y/n) [n] y

2. The switch may boot into the “loader prompt” in which case you have also cleared the configuration which instructs the nexus which kickstarter and system image to boot. To recover from the bootloader prompt, follow the instructions posted here:

http://routing-bits.com/2012/05/08/n5k-stuck-in-boot-mod/

-or-

http://docwiki.cisco.com/wiki/Cisco_Nexus_7000_Series_NX-OS_Troubleshooting_Guide_–_Troubleshooting_Installs,_Upgrades,_and_Reboots#Recovery_from_the_loader.3E_Prompt

3. Save yourself some trouble and once in normal system mode, run the install all command to set the boot variables back to the currently loaded kickstart and system image. If this is not done, the switch will revert back to the loader prompt on reboot

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s