Working with Configuration Files
This chapter describes how to work with switch configuration files on the Catalyst enterprise LAN
switches.
Note
For complete syntax and usage information for the commands used in this chapter, refer to the Command
Reference—Catalyst 4000 Family, Catalyst 2948G, and Catalyst 2980G Switches.
This chapter consists of these sections:
•
•
•
•
•
•
Note
For more information on working with configuration files on the Flash file system, see
"Using the Flash File System."
Guidelines for Creating and Using Configuration Files
Creating configuration files can aid in the configuration of your switch. Configuration files can contain
some or all the commands needed to configure one or more switches. For example, you might want to
download the same configuration file to several switches that have the same hardware configuration so
that they have identical module and port configurations.
Use the following guidelines when creating a configuration file:
•
•
78-12647-02
Guidelines for Creating and Using Configuration Files, page 31-1
Creating a Configuration File, page 31-2
Configuring the Switch Using a File in Flash Memory, page 31-2
Copying Configuration Files Using TFTP, page 31-3
Copying Configuration Files Using rcp, page 31-6
Clearing the Configuration, page 31-8
We recommend that you connect through the console port when using configuration files to
configure the switch. If you configure the switch from a Telnet session, IP addresses are not
changed, and ports and modules are not disabled.
If no passwords have been set on the switch, you must set them on each switch by entering the set
password and set enablepass commands. Enter a blank line after the set password and set
enablepass commands. The passwords are saved in the configuration file as clear text.
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
C H A P T E R
31
Chapter 30,
31-1