•
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 by using the
ping
command.
•
Ensure that the configuration file to be downloaded is in the correct directory on the TFTP server (usually
/tftpboot on a UNIX workstation).
•
For download operations, ensure that the permissions on the file are set correctly. The permissionon the
file should be world-read.
•
Before uploading the configuration file, you might need to create an empty file on the TFTP server. To
create an empty file, enter the
touch filename
command, where
filename
is the name of the file you will
use when uploading it to the server.
•
During upload operations, if you are overwriting an existing file (including an empty file, if you had to
create one) on the server, ensure that the permissions on the file are set correctly. Permissions on the
file should be world-write.
Downloading the Configuration File By Using TFTP
To configure the switch by using a configuration file downloaded from a TFTP server, follow these steps:
•
SUMMARY STEPS
1.
2.
3.
4.
DETAILED STEPS
Purpose
Command or
Action
Copy the configuration file to the appropriate TFTP directory on the workstation.
Step 1
Verify that the TFTP server is properly configured.
Step 2
Log into the switch through the console port, the Ethernet management port, or a Telnet session.
Step 3
Download the configuration file from the TFTP server to configure the switch.
Specify the IP address or hostname of the TFTP server and the name of the file to download.
Step 4
Use one of these privileged EXEC commands:
copy tftp:[[[//location]/directory]/filename] system:running-config
copy tftp:[[[//location]/directory]/filename] nvram:startup-config
copy tftp:[[[//location]/directory]/filename] flash[n]:/directory/startup-config
You can only enter the
flashn
parameter (for example,
flash3
) on Catalyst 3750-E switches.
Note
The configuration file downloads, and the commands are executed as the file is parsed line-by-line.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2050
Working with Configuration Files
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......