S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-125
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 1 Basic System Commands
write erase
write erase
To erase configurations in persistent memory areas, use the
write erase
command.
write erase
[
boot
|
debug
]
Syntax Description
Command Default
Erases all configuration in persistent memory.
Command Modes
EXEC mode
Command History
Usage Guidelines
You can use this command to erase the startup configuration in the persistent memory when information
is corrupted or otherwise unusable. Erasing the startup configuration returns the switch to its initial state.
Examples
This example shows how to erase the startup configuration:
switch#
write erase
This example shows how to erase the debug configuration in the persistent memory:
switch#
write erase debug
Related Commands
boot
(Optional) Erases only the boot configuration.
debug
(Optional) Erases only the debug configuration.
Release
Modification
4.0(0)N1(1a)
This command was introduced.
Command
Description
copy running-config
startup-config
Copies the running configuration to the startup configuration.
show running-config
Displays the startup configuration.