2-20
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-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 {all [factory-defaults] | mod | acl nvram | interface | sysinfo-log | pvlan | rmon |
snmpv3}
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 router level (at the router CLI
prompt).
Before using the clear config all command, save a backup of the configuration using the copy command.
When you enter the clear config all command, the system loads the profile configuratio n if there is one.
When you enter the clear config all factory-defaults command, both the system configuration and the
profile configuration are cleared.
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)
all Clears all module and system configuration information, including the IP address.
factory-defaults (Optional) Clears the profile configuration.
mod Number of the module.
acl nvram Clears all ACL configurations.
interface Clears all interface configurations.
sysinfo-log Clears all system information logging configurations.
pvlan Clears private VLAN configurations.
rmon Clears all RMON configurations, including the historyControlTable, the
alarmTable, the eventTable, and the ringStation ControlTable.
snmpv3 Clears all SNMP version 3 configurations.