Command:

clear config all


Mode:

Switch> (enable)


Syntax:

clear config all


Syntax Description:

all

Keyword that clears all information about modules and system configuration, including the IP address.

 


Command Description:

Use the clear config command to clear information about the system or module configuration stored in NVRAM.

When you clear the configuration using the clear config all command, the default switch configuration is restored. The information that is cleared includes manually configured IP addresses and IP addresses learned through DHCP or RARP.

When you clear the configuration, the IP address and subnet mask on the me1 and sc0 interfaces are set to 0.0.0.0. The me1 interface is brought down, and the sc0 interface is brought up.

Before using the clear config all command, save a backup of the configuration.


Example:

This example shows how to delete all the configuration information:

Switch (enable)>clear config all


Misconceptions:

 

None


Related Commands:

configure (CLI)

 

show config


� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)