DETAILED STEPS
PurposeCommand or Action
(Optional)
Displays the installed hardware for the device.
show hardware
Example:
switch# show hardware
Step 1
Removes the configuration for a missing module from
the running configuration.
purge module slot running-config
Example:
switch# purge module 3 running-config
Step 2
(Optional)
Copies the running configuration to the startup
configuration.
copy running-config startup-config
Example:
switch# copy running-config startup-config
Step 3
Erasing a Configuration
You can erase the configuration on your device to return to the factory defaults.
You can erase the following configuration files saved in the persistent memory on the device:
•
Startup
•
Boot
•
Debug
The write erase command erases the entire startup configuration, except for the following:Note
•
Boot variable definitions
•
The IPv4 configuration on the mgmt0 interface, including the following:
◦
Address
◦
Subnet mask
To remove the boot variable definitions and the IPv4 configuration on the mgmt0 interface, use the write
erase boot command.
SUMMARY STEPS
1.
write erase [boot | debug]
   Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
134 OL-30890-01   
Working with Configuration Files
Erasing a Configuration