Cisco WS-C4003 Software Guide - Page 451
Uploading Configuration Files to a TFTP Server
View all Cisco WS-C4003 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 451 highlights
Chapter 31 Working with Configuration Files Copying Configuration Files Using TFTP Uploading Configuration Files to a TFTP Server These sections describe how to upload the running configuration or a configuration file stored on a Flash device to a TFTP server: • Preparing to Upload a Configuration File to a TFTP Server, page 31-5 • Uploading a Configuration File to a TFTP Server, page 31-5 Preparing to Upload a Configuration File to a TFTP Server Before you attempt to upload a configuration file to a TFTP server, do the following: • Ensure that the workstation acting as the TFTP server is configured properly. • Ensure that the switch has a route to the TFTP server. The switch and the TFTP server must be in the same subnetwork if you do not have a router to route traffic between subnets. Check connectivity to the TFTP server using the ping command. • You might need to create an empty file on the TFTP server before uploading the configuration file. On a UNIX workstation, create an empty file by entering the touch filename command, where filename is the name of the file you will use when uploading the configuration to the server. • If you are overwriting an existing file (including an empty file, if you had to create one), ensure that the permissions on the file are set correctly. Permissions on the file should be world-write. Uploading a Configuration File to a TFTP Server Use this procedure to upload a configuration file from a switch to a TFTP server for storage: Step 1 Step 2 Log into the switch through the console port or a Telnet session. Upload the switch configuration to the TFTP server using the copy config tftp or the write network command. Specify the IP address or host name of the TFTP server and the destination filename. The file is uploaded to the TFTP server. This example shows how to upload the running configuration on a switch, to a TFTP server for storage: Console> (enable) copy config tftp IP address or name of remote host []? 172.20.52.3 Name of file to copy to []? cat4003_config.cfg Upload configuration to tftp:cat4003_config.cfg, (y/n) [n]? y Configuration has been copied successfully. Console> (enable) 78-12647-02 Software Configuration Guide-Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4 31-5