11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>sarchive tarDefaultsThere is no default setting.Comm<strong>and</strong> ModesPrivileged EXECComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesFilenames <strong>and</strong> directory names are case sensitive.Image names are case sensitive.ExamplesThis example shows how to create a tar file. The comm<strong>and</strong> writes the contents of the new-configsdirectory on the local flash device to a file named saved.tar on the TFTP server at 172.20.10.30:<strong>Switch</strong># archive tar /create tftp:172.20.10.30/saved.tar flash:/new-configsThis example shows how to display the contents of an image file that is in flash memory. An example ofan image file name is c<strong>3750</strong>e-universal-tar.12-35.SE2. The contents of the tar file appear on the screen:<strong>Switch</strong># archive tar /table flash:image_name.tarinfo (219 bytes)image_name/ (directory)image_name(610856 bytes)image_name/info (219 bytes)info.ver (219 bytes)This example shows how to display only the html directory <strong>and</strong> its contents:<strong>Switch</strong># archive tar /table flash:image_name/htmlimage_name/html/ (directory)image_name/html/const.htm (556 bytes)image_name/html/xhome.htm (9373 bytes)image_name/html/menu.css (1654 bytes)This example shows how to extract the contents of a tar file on the TFTP server at 172.20.10.30. Thiscomm<strong>and</strong> 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.<strong>Switch</strong># archive tar /xtract tftp://172.20.10.30/saved.tar flash:/ new-configsRelated Comm<strong>and</strong>sComm<strong>and</strong>archive copy-swarchive download-swarchive upload-swDescriptionCopies the running image from the flash memory on one stack member to theflash memory on one or more other stack members.Downloads a new image from a TFTP server to the switch.Uploads an existing image on the switch to a server.OL-9776-08<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> Reference2-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!