26-9
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 26 Working with Configuration Files
Working with Configuration Files on the MSFC
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:
Note
If you remove a module and replace it with a module of another type (for example, if you remove a
10/100 Ethernet module and insert a Gigabit Ethernet 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.
This example shows how to clear the configuration on a specific module:
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)
Working with Configuration Files on the MSFC
These sections describe how to work with configuration files on the Multilayer Switch Feature Card
(MSFC):
•
Uploading the Configuration File to a TFTP Server, page 26-10
•
Uploading the Configuration File to the Supervisor Engine Flash PC Card, page 26-11
•
Downloading the Configuration File from a Remote Host, page 26-11
•
Downloading the Configuration File from the Supervisor Engine Flash PC Card, page 26-13
Configuration information resides in two places when the MSFC is operating: the default (permanent)
configuration in NVRAM and the running (temporary) memory in RAM. The default configuration
always remains available; NVRAM retains the information even when the power is shut down. The
current information is lost if the system power is shut down. The current configuration contains all
nondefault configuration information that you added by using the
configure
command or the
setup
command facility, or by editing the configuration file.
The
copy running-config startup-config
command adds the current configuration to the default
configuration in NVRAM, so that it is saved if power is shut down. Whenever you make changes to the
system configuration, enter the
copy running-config startup-config
command to save the new
configuration.
Task
Command
Clear the configuration for a specific module.
clear config
mod