Uploading an Image File using RCP
You can upload an image from the switch to an RCP server. You can later download this image to the same
switch or to another switch of the same type.
The upload feature should be used only if the web management pages associated with the embedded device
manager have been installed with the existing image.
Beginning in privileged EXEC mode, follow these steps to upload an image to an RCP server:
SUMMARY STEPS
1.
configure terminal
2.
ip rcmd remote-usernameusername
3.
end
4.
archive upload-sw rcp:[[[//[username@]location]/directory]/image-name.tar
DETAILED STEPS
PurposeCommand or Action
Enter global configuration mode.configure terminal
Step 1
This step is required only if you override the default remote
username or password (see Steps 2 and 3.)
Optional) Specify the remote username.
ip rcmd remote-usernameusername
Step 2
Return to privileged EXEC mode.end
Step 3
Upload the currently running switch image to the RCP server.archive upload-sw
rcp:[[[//[username@]location]/directory]/image-name.tar
Step 4
•
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 @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.
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
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2078
Copying Image Files Using RCP