Archive Tar - Cisco catalyst 3750 Command Reference Manual

Hide thumbs Also See for catalyst 3750:
Table of Contents

Advertisement

archive tar

/table source-url
/xtract source-url
flash:/file-url [dir/file...]
Defaults
There is no default setting.
Catalyst 3750 Switch Command Reference
2-16
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.
Extract files from a tar file to the local file system.
For source-url, specify the 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 the 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.
Chapter 2
Catalyst 3750 Switch Cisco IOS Commands
OL-8552-07

Advertisement

Table of Contents
loading

Table of Contents