Cisco WS-C3560E-24PD-E Command Reference Manual page 44

Catalyst 3560 series switch
Table of Contents

Advertisement

archive tar
Command Modes
Privileged EXEC
Command History
Release
12.1(19)EA1
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 c3560-ipservices-tar.12-25.SEB file that is in
flash memory. The contents of the tar file appear on the screen:
Switch# archive tar /table flash:c3560
info (219 bytes)
c3560
c3560
c3560
info.ver (219 bytes)
This example shows how to display only the c3560-ipservices-12-25.SEB/html directory and its
contents:
Switch# archive tar /table flash:c3560-ipservices-12-25.SEB.tar
c3560-ipservices-12-25/html
c3560
c3560
c3560
c3560
<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
archive download-sw
archive upload-sw
Catalyst 3560 Switch Command Reference
2-12
Modification
This command was introduced.
-
ipservices-mz.12-25.SEB / (directory)
-
ipservices-mz.12-25.SEB (610856 bytes)
-
ipservices-mz.12-25.SEB /info (219 bytes)
-
ipservices-mz.12-25.SEB /html/ (directory)
-
ipservices-mz.12-25.SEB /html/const.htm (556 bytes)
-
ipservices-mz.12-25.SEB /html/xhome.htm (9373 bytes)
-
ipservices-mz.12-25.SEB /html/menu.css (1654 bytes)
Description
Downloads a new image from a TFTP server to the switch.
Uploads an existing image on the switch to a server.
Chapter 2
Catalyst 3560 Switch Cisco IOS Commands
-
ipservices-12-25.SEB.tar
78-16405-05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents