28-12
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 28 Working with Configuration Files
Working with the Configuration Files on the MSFC
To roll the current configuration file back to a previously created configuration checkpoint file, perform
this task in privileged mode:
To clear all the configuration checkpoint files or a particular configuration checkpoint file, perform this
task in privileged mode:
This example shows how to clear all configuration checkpoint files and to verify that they have been
cleared:
Console> (enable)
clear config checkpoint all
All configuration checkpoints cleared.
Console> (enable)
show config checkpoints
No Checkpoints defined.
Console> (enable)
Working with the Configuration Files on the MSFC
These sections describe how to work with the configuration files on the Multilayer Switch Feature Card
(MSFC):
•
Uploading the Configuration File to a TFTP Server, page 28-13
•
Uploading the Configuration File to the Supervisor Engine Flash PC Card, page 28-14
•
Downloading the Configuration File from a Remote Host, page 28-14
•
Downloading the Configuration File from the Supervisor Engine Flash PC Card, page 28-16
The 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 the nondefault configuration information that you added by entering 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.
If you replace the MSFC, you need to replace the entire configuration. If you upload (copy) the
configuration file to a remote server before removing the MSFC, you can retrieve it later and write it into
NVRAM on the new MSFC. If you do not upload the configuration file, you need to enter the
configure
command to reenter the configuration information after you install the new MSFC.
Task
Command
Roll the current configuration file back to a
configuration checkpoint file.
set config rollback
name
Task
Command
Clear all configuration checkpoint files or a
particular configuration checkpoint file.
clear config checkpoint
{
all
|
name
}
Verify the configuration checkpoint filenames.
show config checkpoints