Cisco Nexus 6000 Series NX-OS Fundamentals Command Reference
W Commands
Downloads: This chapterpdf (PDF - 71.0KB) The complete bookPDF (PDF - 1.19MB) | Feedback

W Commands

Table Of Contents

W Commands

write erase


W Commands


This chapter describes the basic Cisco NX-OS system commands that begin with W.

write erase

To erase configurations in persistent memory areas, use the write erase command.

write erase [boot | debug]

Syntax Description

boot

(Optional) Erases only the boot configuration.

debug

(Optional) Erases only the debug configuration.


Command Default

Erases all configuration in persistent memory.

Command Modes

EXEC mode

Command History

Release
Modification

6.0(2)N1(1)

This command was introduced.


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

Command
Description

copy running-config startup-config

Copies the running configuration to the startup configuration.

show running-config

Displays the startup configuration.