2-12
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
archive tar
archive tar
To create a tar file, list files in a tar file, or extract the files from a tar file, use the
archive tar
command
in privileged EXEC mode.
archive tar
{
/create
destination-url
flash:/
file-url
} | {
/table
source-url
} | {
/xtract
source-url
flash:/
file-url
[
dir
/
file...
]}
Syntax Description
/create
destination-url
flash:/
file-url
Creates a new tar file on the local or network file system.
For
destination-url, specify t
he destination URL alias for the local or
network file system and the name of the tar file to create. These options
are supported:
•
The syntax for the local flash filesystem:
flash:
•
The syntax for the FTP:
ftp:
[[
//
username
[
:
password
]
@
location
]/
directory
]
/
tar-filename
.tar
•
The syntax for the Remote Copy Protocol (RCP) is:
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 be created.
For
flash:/
file-url, specify t
he location on the local flash file system from
which the new tar file is created.
An optional list of files or directories within the source directory can be
specified to write to the new tar file. If none are specified, all files and
directories at this level are written to the newly created tar file.
/table
source-url
Displays 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 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.
Summary of Contents for ME 3600X
Page 14: ...Contents xiv Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 534: ... 100 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 Chapter xconnect ...
Page 625: ...Index IN 15 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 626: ...Index IN 16 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 627: ...Index IN 17 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 628: ...Index IN 18 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...