2-12
Cisco Catalyst Blade Switch 3030 Command Reference
78-17262-01
Chapter 2 Cisco Catalyst Blade Switch 3030 Cisco IOS Commands
archive tar
Defaults
There is no default setting.
/table
source-url
Display the contents of an existing tar file to the screen.
For
source-url
, specify the source URL alias for the 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
]
/
tar-filename
.tar
•
The syntax for an HTTP server:
http://
[[
username
:
password
]@]{
hostname |
host-ip
}[/
directory
]
/
image-name
.tar
•
The syntax for a secure HTTP server:
https://
[[
username
:
password
]@]{
hostname |
host-ip
}[/
directory
]
/
image-name
.tar
•
The syntax for the RCP:
rcp:
[[
//
username
@
location
]/
directory
]
/
tar-filename
.tar
•
The syntax for the TFTP:
tftp:
[[
//
location
]/
directory
]
/
tar-filename
.tar
The
tar-filename
.tar
is the tar file to display.
/xtract
source-url
flash:/
file-url
[
dir/file...
]
Extract files from a tar file to the local file system.
For
source-url
, specify
t
he source URL alias for the local 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
]
/
tar-filename
.tar
•
The syntax for an HTTP server:
http://
[[
username
:
password
]@]{
hostname |
host-ip
}[/
directory
]
/
image-name
.tar
•
The syntax for a secure HTTP server:
https://
[[
username
:
password
]@]{
hostname |
host-ip
}[/
directory
]
/
image-name
.tar
•
The syntax for the RCP:
rcp:
[[
//
username
@
location
]/
directory
]
/
tar-filename
.tar
•
The syntax for the TFTP:
tftp:
[[
//
location
]/
directory
]
/
tar-filename
.tar
The
tar-filename
.tar
is the tar file from which to extract.
For
flash:/
file-url
[
dir/file
...], specify
t
he location on the local flash file
system into which the tar file is extracted. Use the
dir/file
... option to
specify an optional list of files or directories within the tar file to be
extracted. If none are specified, all files and directories are extracted.