2-16
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear config
clear config
To clear the system or module configuration information stored in NVRAM, use the clear config
command.
clear config {mod | rmon | all | snmpv3 | acl nvram | interface}
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines When you use a Multilayer Switch Module (MSM), you can enter the clear config command to clear the
portion of the MSM configuration retained by the Catalyst 6500 series switch supervisor engine. You
must clear the portion of the configuration kept by the MSM at the r out er level (router> pro mpt) .
Before using the clear config all command, save a backup of the configuration using the copy command.
Examples This example shows how to delete the configuration information in NV RAM on m odu le 2 :
Console> (enable) clear config 2
This command will clear module 2 configuration.
Do you want to continue (y/n) [n]? y
..............................
Module 2 configuration cleared.
Console> (enable)
This example shows how to delete the configuration information stored in NVRAM on modu le 1
(the supervisor engine):
Console> (enable) clear config 1
This command will clear module 1 configuration.
Do you want to continue (y/n) [n]? y
......
Module 1 configuration cleared.
host%
mod Number of the module.
rmon Clears all RMON configurations, including the historyControlTable, the alarmTable,
the eventTable, and the ringStation ControlTable.
all Clears all module and system configuration information, including the IP address.
snmpv3 Clears all SNMP version 3 configurations.
acl nvram Clears all ACL configurations.
interface Clears all interface configurations.