efa system supportsave

Collects the system supportsave of the Inventory, Tenant, and Fabric service logs, and their associated database dumps.

Syntax

efa system supportsave [--fabric-name string | --fabric-all | --device-ip stringArray ]

Parameters

--fabric-name string
Indicates to collect supportsave from all devices that are part of the specified fabric.
--fabric-all
Indicates to collect supportsave from all devices.
--device-ip stringArray
Specifies a comma-separated range of device IPs to collect supportsave from. Example: 1.1.1.1-3,1.1.1.2,2.2.2.2

Usage Guidelines

Location of supportsave files:
  • For TPVM deployments, the file is saved to /apps/efa_logs/efa_<log_id>.logs.zip.
  • For non-TPVM deployments, the file is saved to /var/log/efa/efa_<log_id>.logs.zip.
Note

Note

If SLX devices are part of the supportsave collection, the command triggers the copy support command (supportsave) on SLX devices. You must check the SLX devices to confirm that the supportsave copy is complete before running the command again.

SLX supportsave can take up to 15 minutes to complete on each switch.

Examples

This example collects the system supportsave logs.
(efa:root)root@admin1-00:~# efa system supportsave
Capturing Database Snapshot..
Capturing Database Snapshot took 1.697961249s
Capturing Pod logs for all services...
Capturing Pod logs for all services took 17.148416322s
Capturing logs for database error, k3s and EFA running config...
Capturing logs for database errors, k3s and EFA running config took 2.674920598s
Archiving...
Archiving took 2.048826234s
Cleaning up files...
Cleaning up files took 165.106125ms

Support Save File: /var/log/efa/efa_2020-10-08T07:11:01.logs.zip
--- Time Elapsed: 28.695437855s ---
(efa:root)root@admin1-00:~#