Cisco IE-3000-8TC Command Reference - Page 45
Command Modes, Command History, Usage Guidelines, Examples, Related Commands, Release, Modification
![]() |
View all Cisco IE-3000-8TC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 45 highlights
Chapter 2 IE 3000 Switch Cisco IOS Commands archive tar Command Modes Privileged EXEC Command History Release 12.2(44)EX Modification This command was introduced. 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 ies-lanbase-tar.12-44.EX file that is in flash memory. The contents of the tar file appear on the screen: Switch# archive tar /table flash:ies-lanbase-tar.12-44.EX.tar info (219 bytes) ies-lanbase-mz.12-44.EX/ (directory) ies-lanbase-mz.12-44.EX (610856 bytes) ies-lanbase-mz.12-44.EX/info (219 bytes) info.ver (219 bytes) This example shows how to display only the ies-lanbase-12-44.EX/html directory and its contents: Switch# archive tar /table flash:ies-lanbase-12-44.EX.tar /html ies-lanbase-mz.12-44.EX/html/ (directory) ies-lanbase-mz.12-44.EX/html/const.htm (556 bytes) ies-lanbase-mz.12-44.EX/html/xhome.htm (9373 bytes) ies-lanbase-mz.12-44.EX/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. 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 Description Downloads a new image from a TFTP server to the switch. Uploads an existing image on the switch to a server. OL-13019-01 Cisco IE 3000 Switch Command Reference 2-19
![](/manual_guide/products/cisco-ie30008tc-command-reference-94363f4/45.png)