B-33
Catalyst 2960 SwitchSoftware Configuration Guide
78-16881-01
AppendixB Working with the Cisco IOS File System, Configuration Files, and Software Images
Working with Software Images
Beginning in privileged EXEC mode, follow these steps to upload an image to an RCP server:
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.
Command Purpose
Step1 Verify that the RCP server is properly configured by
referring to the “Preparing to Download or Upload an Image
File By Using RCP” section on page B-29.
Step2 Log into the switch through the console port or a Telnet
session.
Step3 configure terminal Enter global configuration mode.
This step is required only if you override the default remote
username (see Steps 4 and 5).
Step4 ip rcmd remote-us ername username (Optional) Specify the remote username.
Step5 end Return to privileged EXEC mode.
Step6 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 pageB-29.
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.