Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-21
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear config
This example shows how to delete the configuration information stored in NVRAM on module 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%
This example shows how to delete all the configuration information for the Catalyst 6500 series
switches:
Console> (enable) clear config all
This command will clear all configuration in NVRAM.
Do you want to continue (y/n) [n]? y
...........................................
Connection closed by foreign host
host%
This example shows how to delete all the SNMP configuration information for the Catalyst 6500 series
switches:
Console> (enable) clear config snmpv3
This command will clear SNMPv3 configuration in NVRAM.
Do you want to continue (y/n) [n]? y
...........................................
Connection closed by foreign host
host%
This example shows how to delete all ACL configuration information from NVRAM:
Console> (enable) clear config acl nvram
ACL configuration has been deleted from NVRAM.
Warning:Use the copy commands to save the ACL configuration to a file
and the 'set boot config-register auto-config' commands to configure the
auto-config feature.
Console> (enable)
This example shows how to delete all system information logging configurations and return them to their
default settings:
Console> (enable) clear config sysinfo-log
Successfully cleared the system information logging configuration.
Console> (enable)
This example shows how to clear both the system configuration and the profile configuration:
Console> (enable) clear config all factory-default
System configuration and profile configuration is cleared.
Console> (enable)
Related Commands clear system info-log command
clear system profile
set config acl nvram
set system info-log
set system profile
show config qos acl
show system profile