PurposeCommand or Action
•
For @location, specify the IP address of the
FTP 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 the software
image to be stored on the server.
The archive upload-sw 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.
For the download and upload algorithms to
operate properly, do not rename image
names.
Note
Copying Image Files Using RCP
You can download a switch image from an RCP server or upload the image from the switch to an RCP server.
You download a switch image file from a server to upgrade the switch software. You can overwrite the current
image with the new one or keep the current image after a download. You upload a switch image file to a server
for backup purposes. You can use this uploaded image for future downloads to the same switch or another of
the same type.
Instead of using the copy privileged EXEC command or the archive tar privileged EXEC command, we
recommend using the archive download-sw and archive upload-sw privileged EXEC commands to
download and upload software image files. For switch stacks, the archive download-sw and archive
upload-sw privileged EXEC commands can only be used 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 with an incompatible software image, use the archive copy-sw privileged EXEC command to
copy the software image from an existing stack member to the incompatible switch. That switch
automatically reloads and joins the stack as a fully functioning member.
Note
Preparing to Download or Upload an Image File Using RCP
RCP provides another method of downloading and uploading image files between remote hosts and the switch.
Unlike TFTP, which uses User Datagram Protocol (UDP), a connectionless protocol, RCP uses TCP, which
is connection-oriented.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2074
Copying Image Files Using RCP