tar

tar clean {crash|flash|logs}| crash [kernel] | flash | logs [tech-support {no-controllerip | user <mac-address>}]

Description

This command creates archive files in UNIX tar file format.

Parameter

Description

clean

Removes a tar file

crash

Removes crash.tar

flash

Removes flash.tar.gz

logs

Removes logs.tar

traces

Removes traces.tar.gz

crash

Archives the crash directory to crash.tar. A crash directory must exist.

kernel

Archives the kernel crash directory to kernel_crash.tar.

flash

Archives and compresses the /flash directory to flash.tar.gz.

logs

Archives the logs directory to log.tar.

tech- support {cluster | datapath |

no-controllerip | user <mac-address>}

Optionally, technical support information can be included in the log for a specific cluster, datapath, or no controllerip or for a specific user.

serviceability

Archives the serviceability directory to serviceability.tar.7z.

traces

Archives the traces directory to traces.tar.gz

Example

The following command creates the log.tar file with technical support information:

(host) [mynode] (config) #tar logs tech-support

Command History

Release

Modification

AOS 8.0.0.0

Command introduced.

Command Information

Platforms

License

Command Mode

All platforms

This command is available in the base operating system. The ipaccess-group parameter requires the PEFNG license. The xsec parameter requires the xSec license.

Enable or config mode on Mobility Conductor.