To restore a Nexus (NX-OS) switch to the factory default the following command should be used:
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
|