Privileged Exec Commands
4-5
Example
How to zip the folder flash:/log/?
WS5100#archive
tar /create
flash:/out.tar flash:/log/
tar: Removing leading '/' from member names
flash/log/
flash/log/snmpd.log
flash/log/messages.log
flash/log/startup.log
flash/log/radius/
WS5100#dir flash:/
Viewing the output tar file?
Directory of flash:/
drwx 1024 Thu Apr 17 08:25:50 2007 hotspot
drwx 120 Fri Apr 8 12:27:20 2007 log
drwx 1024 Thu Apr 7 16:23:34 2007 crashinfo
drwx 1024 Wed May 23 15:30:19 2007 backup
-rw- 173056 Fri May 8 14:39:48 2007 out.tar
Which files are tared?
WS5100#
archive tar /table
flash:/out.tar
drwxrwxrwt 0/600 0 2007-05-08 12:27:20 flash/log
-rw-r--r-- 0/0 381 2007-05-08 12:27:28 flash/log/snmpd.log
-rw-r--r-- 0/0 151327 2007-05-08 14:37:26 flash/log/messages.log
-rw-r--r-- 0/0 17318 2007-05-08 12:27:29 flash/log/startup.log
drwxrwxrwt 0/600 0 2007-05-08 12:27:14 flash/log/radius
Untar fails..?
WS5100#
archive tar /xtract
flash:/out.tar flash:/out/
tar: flash:/out.tar: No such file or directory
FILE
Defines a Tar filename
URL
Tar file URL
Summary of Contents for WS5100 Series
Page 1: ...M WS5100 Series Switch CLI Reference Guide ...
Page 14: ...WS5100 Series Switch CLI Reference Guide xviii ...
Page 28: ...WS5100 Series Switch CLI Reference Guide TOC 14 ...
Page 40: ...WS5100 Series Switch CLI Reference Guide 1 12 ...
Page 132: ...WS5100 Series Switch CLI Reference Guide 3 10 ...
Page 164: ...WS5100 Series Switch CLI Reference Guide 4 32 ...
Page 240: ...WS5100 Series Switch CLI Reference Guide 6 10 ...
Page 258: ...WS5100 Series Switch CLI Reference Guide 9 4 ...
Page 270: ...WS5100 Series Switch CLI Reference Guide 10 12 ...
Page 332: ...WS5100 Series Switch CLI Reference Guide 14 22 ...
Page 344: ...WS5100 Series Switch CLI Reference Guide 15 12 ...
Page 482: ...WS5100 Series Switch CLI Reference Guide 20 64 ...
Page 491: ......