Cisco Systems 2960 Model Vehicle User Manual


  Open as PDF
of 1004
 
A-37
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Appendix A Working with the Cisco IOS File System, Configuration Files, and Software Images
Working with Software Images
The archive upload-sw privileged EXEC command builds an image file on the server by uploading these
files in order: info, the Cisco IOS image, and the web management files. After these files are uploaded,
the upload algorithm creates the tar file format.
Caution For the download and upload algorithms to operate properly, do not rename image names.
Copying an Image File from One Stack Member to Another
For switch stacks, the archive download-sw and archive upload-sw privileged EXEC commands can
be used only through the stack master. Software images downloaded to the stack master are
automatically downloaded to the rest of the stack members.
To upgrade a switch that has an incompatible software image, use the archive copy-sw privileged EXEC
command to copy the software image from an existing stack member to the one that has incompatible
software. That switch automatically reloads and joins the stack as a fully functioning member.
Note To successfully use the archive copy-sw privileged EXEC command, you must have downloaded from
a TFTP server the images for both the stack member switch being added and the stack master. You use
the archive download-sw privileged EXEC command to perform the download.
Step 5
end Return to privileged EXEC mode.
Step 6
archive upload-sw
rcp:[[[//[username@]location]/directory]/image-na
me.tar]
Upload the currently running switch image to the RCP
server.
For //username, specify the username; for the RCP copy
request to execute, an account must be defined on the
network server for the remote username. For more
information, see the “Preparing to Download or Upload
an Image File By Using RCP” section on page A-33.
For @location, specify the IP address of the RCP server.
For /directory]/image-name.tar, specify the directory
(optional) and the name of the software image to be
uploaded. Directory and image names are case sensitive.
The image-name.tar is the name of software image to be
stored on the server.
Command Purpose