25-8
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 25 Working with System Software Images
Uploading System Software Images to a TFTP Server
Console> (enable)
show version 5
Mod Port Model Serial # Versions
--- ---- ---------- --------- ----------------------------------------
5 1 WS-X6101 003414463 Hw : 1.2
Fw : 1.3
Sw : 3.2(7)
Console> (enable)
Uploading System Software Images to a TFTP Server
These sections describe how to upload system software images from a switch to a TFTP server:
•
Preparing to Upload an Image to a TFTP Server, page 25-8
•
Uploading Software Images to a TFTP Server, page 25-9
Note
For more information on working with system software image files on the Flash file system, see
Chapter 24, “Working With the Flash File System.”
Preparing to Upload an Image to a TFTP Server
Before you attempt to upload a software image to a TFTP server, do the following:
•
Ensure that the workstation acting as the TFTP server is configured properly. On a Sun workstation,
make sure that the /etc/inetd.conf file contains this line:
tftp dgram udp wait root /usr/etc/in.tftpd in.tftpd -p -s /tftpboot
Make sure that the /etc/services file contains this line:
tftp 69/udp
Note
You must restart the inetd daemon after modifying the /etc/inetd.conf and /etc/services
files. To restart the daemon, either stop the inetd process and restart it, or enter a
fastboot
command (on the SunOS 4.x) or a
reboot
command
(on Solaris 2.x or SunOS 5.x). Refer
to the documentation for your workstation for more information on using the TFTP
daemon.
•
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 image. To create
an empty file, enter the
touch
filename
command, where
filename
is the name of the file you will
use when uploading the image 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.