EasyManuals Logo

Cisco Catalyst 3120 Command Reference Guide

Cisco Catalyst 3120
982 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #45 background imageLoading...
Page #45 background image
2-17
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
Chapter 2 Cisco Catalyst Blade Switch 3120 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 cbs31x0-universal-tar.12-40.EX file that is in
flash memory. The contents of the tar file appear on the screen:
Switch# archive tar /table flash:cbs31x0-universal-tar.-12-40.EX.tar
info (219 bytes)
cbs31x0-universal-mz.122-40.EX/ (directory)
cbs31x0-universal-mz.122-40.EX (610856 bytes)
cbs31x0-universal-mz.122-40.EX/info (219 bytes)
info.ver (219 bytes)
This example shows how to display only the cbs31x0-universal-tar.12-40.EX/html directory and its
contents:
Switch# archive tar /table flash:cbs31x0-universal-12-40.EX.tar
cbs31x0-universal-12-40/html
cbs31x0-universal-mz.122-40.EX/html/ (directory)
cbs31x0-universal-mz.122-40.EX/html/const.htm (556 bytes)
cbs31x0-universal-mz.122-40.EX/html/xhome.htm (9373 bytes)
cbs31x0-universal-mz.122-40.EX/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(40)EX This command was introduced.
Command Description
archive copy-sw Copies the running image from the flash memory on one stack member to the
flash memory on one or more other stack members.
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.

Table of Contents

Other manuals for Cisco Catalyst 3120

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 3120 and is the answer not in the manual?

Cisco Catalyst 3120 Specifications

General IconGeneral
BrandCisco
ModelCatalyst 3120
CategorySwitch
LanguageEnglish

Related product manuals