EasyManua.ls Logo

Cisco Catalyst 3550 - Page 41

Cisco Catalyst 3550
794 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-15
Catalyst 3550 Multilayer Switch Command Reference
OL-8566-02
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
archive tar
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 c3550-ipservices-tar.122-25.tar file that is in
flash memory. The contents of the tar file appear on the screen:
Switch# archive tar /table flash:c3550-ipservices-tar.122-25.tar
info (219 bytes)
c3550-ipservices-mz.122-25.SEB/ (directory)
c3550-ipservices-mz.122-25/html/ (directory)
c3550-ipservices-mz.122-25/c3550-mz.122-25.SEB.bin (6074880 bytes)
c3550-ipservices-mz.122-25/info (219 bytes)
info.ver (219 bytes)
This example shows how to display only the c3550-ipservices-mz.122-25.SEB/html directory and its
contents:
Switch# archive tar /table flash:c3550-ipservices-tar.122-25.SEB.tar
c3550-ipservices-mz.122-25.SEB/html
c3550-ipservices-mz.122-25.SEB/html/ (directory)
c3550-ipservices-mz.122-25SEB/html/const.htm (556 bytes)
c3550-ipservices-mz.122-25SEB/html/xhome.htm (9373 bytes)
c3550-ipservices-mz.122-25SEB/html/menu.css (1654 bytes)
<output truncated>
This example shows how to extract the contents of a tar file on the TFTP server at 172.20.10.30. This
command extracts just the new-configs directory into the root directory on the local flash file system.
The remaining files in the saved.tar file are ignored.
Switch# archive tar /xtract tftp:/172.20.10.30/saved.tar flash:/ new-configs
Related Commands Command Description
archive download-sw Downloads a new image to the switch.
archive upload-sw Uploads an existing image on the switch to a server.

Table of Contents

Other manuals for Cisco Catalyst 3550

Related product manuals