Cisco Catalyst 2950 Command Reference Manual page 44

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

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.136.9:
Switch# archive tar /create tftp:172.20.136.9/saved.tar flash:/new-configs
This example shows how to display the contents of the saved.tar file that is in flash memory. The
contents of the tar file appear on the screen.
Switch # archive tar /table tftp://172.20.136.9/saved.tar
Loading saved.tar from 172.20.136.9 (via Vlan1):!
info (247 bytes)
c2950lre-i6l2q4-mz.121/ (directory)
c2950lre-i6l2q4-mz.121/html/ (directory)
c2950lre-i6l2q4-mz.121/html/homepage.htm (3990 bytes)!
<output truncated>
c2950lre-i6l2q4-mz.121/lre-bin/CISCO585-LRE_MC8051boot_01.03.00.bin (688
bytes)
c2950lre-i6l2q4-mz.121/lre-bin/CISCO585-LRE_vdslsngl_51.00.00.bin (8896
bytes)!!
c2950lre-i6l2q4-mz.121/pef22824.bin (32768 bytes)!!!!!!!
c2950lre-i6l2q4-mz.121/info (247 bytes)
info.ver (247 bytes)
[OK - 4279808/8559616 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
Catalyst 2950 and Catalyst 2955 Switch Command Reference
2-14
Description
Downloads a new image to the switch.
Uploads an existing image on the switch to a server.
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
OL-10102-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents