write erase
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
write erase
To clear a startup configuration, enter the write erase command from the EXEC mode prompt.
Syntax Description
boot
debug
Defaults
None.
Command Modes
EXEC mode.
Command History
Release
1.0(2)
Usage Guidelines
Once this command is issued, the switch's startup configuration reverts to factory defaults. The running
configuration is not affected. The write erase command erases the entire startup configuration with the
exception of any configuration that affects the loader functionality.
The write erase boot command only erases the configuration that affects the loader functionality. The
loader functionality configuration includes the boot variables and the mgmt0 IP configuration
information (IP address, netmask, and default gateway).
Examples
The following example clears the existing startup configuration completely.
switch# write erase
The following example clears the loader functionality configuration.
switch# write erase boot
This command will erase the boot variables and the ip configuration of interface mgmt 0
Cisco MDS 9000 Family Command Reference
26-6
write erase [boot | debug]
Destroys boot configuration.
Clears the existing debug configuration.
Modification
This command was introduced.
Chapter 26
W Commands
OL-18089-01, Cisco MDS NX-OS Release 4.x