2-13
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
Defaults
None
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Filenames and directory names are case sensitive.
Image names are case sensitive.
Examples
This example shows how to create a tar file. The command writes the contents of the
new-configs
directory on the local flash device to a file named
saved.tar
on the TFTP server at 172.20.10.30:
Switch#
archive tar /create tftp:172.20.10.30/saved.tar flash:/new-configs
This example shows how to display the contents of the file that is in flash memory. The contents of the
tar file appear on the screen:
Switch#
archive tar /table flash:
image_name
-mz.122-
release
.tar
info (219 bytes)
image_name
-mz.122-
release
/
(
directory)
image_name
-mz.122-
release
(610856 bytes)
image_name
-mz.122-
release
/info (219 bytes)
info.ver (219 bytes)
/xtract
source-url
flash:/
file-url
[
dir/file
...]
Extracts 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 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.
Release
Modification
12.2(52)EY
This command was introduced.
Содержание ME 3600X
Страница 14: ...Contents xiv Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 534: ... 100 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 Chapter xconnect ...
Страница 625: ...Index IN 15 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 626: ...Index IN 16 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 627: ...Index IN 17 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 628: ...Index IN 18 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...