Uploading Configuration Files To A Tftp Server - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Copying Configuration Files Using TFTP
Preparing to Download a Configuration File Using TFTP
Before you begin downloading a configuration file using TFTP, do the following:
Configuring the Switch Using a File on a TFTP Server
To configure a switch using a configuration file that is downloaded from a TFTP server, follow these
steps:
Step 1
Copy the configuration file to the appropriate TFTP directory on the workstation.
Step 2
Log in to the switch through the console port or a Telnet session.
Step 3
Configure the switch using the configuration file that is downloaded from the TFTP server using the
copy tftp config command or the configure network command. Specify the IP address or host name of
the TFTP server and the name of the file to download.
The configuration file downloads and the commands are executed as the file is parsed line by line.
This example shows how to configure a switch using a configuration file that is downloaded from a TFTP
server:
Console> (enable) copy tftp config
IP address or name of remote host []? 172.20.52.3
Name of file to copy from []? dns-config.cfg
Configure using tftp:dns-config.cfg (y/n) [n]? y
/
Finished network download.
>>
>> set ip dns server 172.16.10.70 primary
172.16.10.70 added to DNS server table as primary server.
>> set ip dns server 172.16.10.140
172.16.10.140 added to DNS server table as backup server.
>> set ip dns enable
DNS is enabled
>> set ip dns domain corp.com
Default DNS domain name set to corp.com
Console> (enable)

Uploading Configuration Files to a TFTP Server

The next two sections describe how to upload the running configuration or a configuration file that is
stored on a Flash device to a TFTP server.
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
35-4
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 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.
Ensure that the configuration file to be downloaded is in the correct directory on the server (for
example, /tftpboot on a UNIX workstation).
Ensure that the permissions on the file are set correctly. Make sure that the permissions are set to
world-read.
(134 bytes)
Chapter 35
Working with Configuration Files
78-15908-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents