Privileged Exec Commands
4-5
4.1.2 archive

Priv Exec Command
Manages file archive operations
Supported in the following platforms:
• RFS7000
• RFS6000
• RFS4000
Syntax
archive tar /table [<FILE>|<URL>]
archive tar /create [<FILE>|<URL>] [<FILE>|<DIR>]
archive tar /xtract [<FILE>|<URL>] <DIR>
Parameters
Example
How to zip the folder flash:/log/?
RFSwitch#archive tar /create flash:/out.tar flash:/log/
tar: Removing leading '/' from member names
flash/log/
flash/log/snmpd.log
flash/log/messages.log
tar Manipulates (creates, lists or extracts) a tar file
/table Lists the files in a tar file
/create Creates a tar file
/xtract Extracts content from a tar file
<FILE> Defines a Tar filename
<URL> Tar file URL
<DIR> A directory name. When used with /create, is the source
directory for the tar file. When used with /xtract, is the
destination file where the contents of the tar file are
extracted to.