Cisco Catalyst 3550 Command Reference Manual page 37

Multilayer switch
Hide thumbs Also See for Catalyst 3550:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands
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-tv0-m.tar file that is in Flash memory. The
contents of the tar file appear on the screen:
Switch# archive tar /table flash:c3550-tv0-m.tar
info (219 bytes)
c3550-tv0-mz-121/ (directory)
c3550-tv0-mz-121/html/ (directory)
c3550-tv0-mz-121/html/foo.html (0 bytes)
c3550-tv0-mz-121/vegas-tv0-mz-121.bin (610856 bytes)
c3550-tv0-mz-121/info (219 bytes)
info.ver (219 bytes)
This example shows how to display only the c3550-tv0-mz-121/html directory and its contents:
Switch# archive tar /table flash:c3550-tv0-m.tar c3550-tv0-mz-121/html
c3550-tv0-mz-121/html/ (directory)
c3550-tv0-mz-121/html/foo.html (0 bytes)
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
archive download-sw
archive upload-sw
78-11195-09
Description
Downloads a new image to the switch.
Uploads an existing image on the switch to a server.
Catalyst 3550 Multilayer Switch Command Reference
archive tar
2-11

Advertisement

Table of Contents
loading

Table of Contents