C-9
Catalyst 3750 Switch Software Configuration Guide
OL-8550-02
Appendix C Working with the Cisco IOS File System, Configuration Files, and Software Images
Working with Configuration Files
You can copy (
upload
) configuration files from the switch to a file server by using TFTP, FTP, or RCP.
You might perform this task to back up a current configuration file to a server before changing its
contents so that you can later restore the original configuration file from the server.
The protocol you use depends on which type of server you are using. The FTP and RCP transport
mechanisms provide faster performance and more reliable delivery of data than TFTP. These
improvements are possible because FTP and RCP are built on and use the TCP/IP stack, which is
connection-oriented.
These sections contain this configuration information:
•
Guidelines for Creating and Using Configuration Files, page C-9
•
Configuration File Types and Location, page C-10
•
Creating a Configuration File By Using a Text Editor, page C-10
•
Copying Configuration Files By Using TFTP, page C-10
•
Copying Configuration Files By Using FTP, page C-12
•
Copying Configuration Files By Using RCP, page C-15
•
Clearing Configuration Information, page C-18
Guidelines for Creating and Using Configuration Files
Creating configuration files can aid in your switch configuration. Configuration files can contain some
or all of 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.
Use these guidelines when creating a configuration file:
•
We recommend that you connect through the console port for the initial configuration of the switch.
If you are accessing the switch through a network connection instead of through a direct connection
to the console port, keep in mind that some configuration changes (such as changing the switch IP
address or disabling ports) can cause a loss of connectivity to the switch.
•
If no password has been set on the switch, we recommend that you set one by using the
enable secret
secret-password
global configuration command.
Note
The
copy
{
ftp: | rcp: | tftp:
}
system:running-config
privileged EXEC command loads the
configuration files on the switch as if you were entering the commands at the command line. The switch
does not erase the existing running configuration before adding the commands. If a command in the
copied configuration file replaces a command in the existing configuration file, the existing command is
erased. For example, if the copied configuration file contains a different IP address in a particular
command than the existing configuration, the IP address in the copied configuration is used. However,
some commands in the existing configuration might not be replaced or negated. In this case, the resulting
configuration file is a mixture of the existing configuration file and the copied configuration file, with
the copied configuration file having precedence.
To restore a configuration file to an exact copy of a file stored on a server, copy the configuration file
directly to the startup configuration (by using the
copy
{
ftp: | rcp: | tftp:
}
nvram:startup-config
privileged EXEC command), and reload the switch.
Содержание 3750G - Catalyst Integrated Wireless LAN Controller
Страница 80: ...1 28 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 1 Overview Where to Go Next ...
Страница 606: ...27 8 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 27 Configuring UDLD Displaying UDLD Status ...
Страница 670: ...31 18 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 31 Configuring SNMP Displaying SNMP Status ...
Страница 1048: ...41 20 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 41 Configuring MSDP Monitoring and Maintaining MSDP ...
Страница 1086: ...43 26 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Chapter 43 Troubleshooting Using the crashinfo Files ...
Страница 1104: ...B 4 Catalyst 3750 Switch Software Configuration Guide OL 8550 02 Appendix B Supported MIBs Using FTP to Access the MIB Files ...