Appendix A
Working with the Cisco IOS File System, Configuration Files, and Software Images
The algorithm installs the downloaded image onto the system board flash device (flash:). The image is
placed into a new directory named with the software version string, and the BOOT environment variable
is updated to point to the newly installed image.
If you kept the old software during the download process (you specified the /leave-old-sw keyword), you
can remove it by entering the delete /force /recursive filesystem:/file-url privileged EXEC command.
For filesystem, use flash: for the system board flash device. For file-url, enter the directory name of the
old software image. All the files in the directory and the directory are removed.
For the download and upload algorithms to operate properly, do not rename image names.
Caution
Uploading an Image File By 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:
Command
Step 1
Step 2
Step 3
configure terminal
Step 4
ip rcmd remote-username username
Step 5
end
Step 6
archive upload-sw
rcp:[[[//[username@]location]/directory]/image-na
me.tar]
OL-26520-01
Purpose
Verify that the RCP server is properly configured by
referring to the
File By Using RCP" section on page
Log into the switch through the console port or a Telnet
session.
Enter global configuration mode.
This step is required only if you override the default remote
username (see Steps 4 and 5).
(Optional) Specify the remote username.
Return to privileged EXEC mode.
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
an Image File By Using RCP" section on page
•
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.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Working with Software Images
"Preparing to Download or Upload an Image
A-34.
"Preparing to Download or Upload
A-34.
A-37