Clearing the Configuration
This example shows how to upload the running configuration on a switch, to an rcp server for storage:
Console> (enable) copy config rcp
IP address or name of remote host []? 172.20.52.3
Name of file to copy to []? cat4000_config.cfg
Upload configuration to rcp:cat4000_config.cfg, (y/n) [n]? y
.....
..........
.......
..........
...........
..
/
Configuration has been copied successfully.
Console> (enable)
Console> (enable)
Clearing the Configuration
To clear the configuration on the entire switch, perform this task in privileged mode:
Task
Clear the switch configuration.
This example shows how to clear the configuration for the entire switch:
Console> (enable) clear config all
This command will clear all configuration in NVRAM.
This command will cause ifIndex to be reassigned on the next system startup.
Do you want to continue (y/n) [n]? y
........
.............................
System configuration cleared.
Console> (enable)
To clear the configuration on an individual module, perform this task in privileged mode:
Task
Clear the configuration for a specific
module.
Note
If you remove a module and replace it with a module of another type (for example, if you remove a Fast
Ethernet module and insert a Token Ring module), the module configuration is inconsistent. The output
of the show module command indicates this problem. To resolve the inconsistency, clear the
configuration on the problem module.
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
31-8
Chapter 31
Command
clear config all
Command
clear config mod_num
Working with Configuration Files
78-12647-02