Cisco 3020 - Cisco Catalyst Blade Switch Specifications Page 41

  • Download
  • Add to my manuals
  • Print
  • Page
    / 744
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 40
2-13
Cisco Catalyst Blade Switch 3020 for HP Command Reference
OL-8916-01
Chapter 2 Cisco Catalyst Blade Switch 3020 for HP Cisco IOS Commands
archive tar
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 cbs30x0-lanbasek9-tar.122-25.SEF.tar file that
is in flash memory. The contents of the tar file appear on the screen:
Switch# archive tar /table flash:cbs30x0-lanbase-tar.122-25.SEF.tar
info (219 bytes)
cbs30x0
-lanbasek9-mz.122-25.SEF
/ (directory)
(610856 bytes)
/info (219 bytes)
info.ver (219 bytes)
This example shows how to display only the cbs30x0-lanbasek9-tar.122-25.SEF/html directory and its
contents:
Switch# archive tar /table flash:cbs30x0-lanbasek9-tar.122-25.SEF.tar
cbs30x0-lanbasek9-tar.122-25.SEF
cbs30x0
-lanbasek9-mz.122-25.SEF
/html/ (directory)
cbs30x0
-lanbasek9-mz.122-25.SEF
/html/const.htm (556 bytes)
cbs30x0
-lanbasek9-mz.122-25.SEF
/html/xhome.htm (9373 bytes)
cbs30x0
-lanbasek9-mz.122-25.SEF
/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
Release Modification
12.2(25)SEF This command was introduced.
Command Description
archive download-sw Downloads a new image from a TFTP server to the switch.
archive upload-sw Uploads an existing image on the switch to a server.
Page view 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 743 744

Comments to this Manuals

No comments