![Cisco 2948G - Catalyst Switch Configuration Manual Download Page 547](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462547.webp)
C H A P T E R
35-1
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
35
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
Catalyst 4500 Series, Catalyst 2948G, and Catalyst 2980G Switches Command Reference.
This chapter consists of these sections:
•
Creating and Using Configuration Files Guidelines, page 35-1
•
Creating a Configuration File, page 35-2
•
Configuring the Switch Using a File in Flash Memory, page 35-2
•
Copying Configuration Files Using TFTP, page 35-3
•
Copying Configuration Files Using rcp, page 35-5
•
Clearing the Configuration, page 35-8
Note
For more information on working with configuration files on the Flash file system, see
Chapter 34,
“Working With the Flash File System.”
Creating and Using Configuration Files Guidelines
Configuration files can help you configure 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.
This section lists the guidelines for creating a configuration file:
•
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.