2-12
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
archive upload-sw
archive upload-sw
Use the
archive upload-sw
privileged EXEC command to upload an existing switch image to a server.
archive upload-sw
destination-url
Syntax Description
Defaults
Uploads the currently running image from the flash: file system.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
The files are uploaded in this sequence: the Cisco IOS image and the info file. After these files are
uploaded, the software creates the tar file.
Image names are case sensitive.
Examples
This example shows how to upload the currently running image to a TFTP server at 172.20.140.2:
Switch#
archive upload-sw tftp://172.20.140.2/test-image.tar
Related Commands
destination-url
The destination URL alias for a local or network file system. These options
are supported:
•
The syntax for the local flash file system:
flash:
•
The syntax for the FTP:
ftp:
[[
//
username
[
:
password
]
@
location
]/
directory
]
/
image-name
.tar
•
The syntax for the Remote Copy Protocol (RCP):
rcp:
[[
//
username
@
location
]/
directory
]
/
image-name
.tar
•
T
he syntax for the TFTP:
tftp:
[[
//
location
]/
directory
]
/
image-name
.tar
The
image-name
.tar
is the name of software image to be stored on the
server.
Release
Modification
12.1(14)AX
This command was introduced.
Command
Description
Downloads a new image to the switch.
Creates a tar file, lists the files in a tar file, or extracts the files from a tar file.