# cl-support File

## nv show system tech-support auto-generation

Shows if automatic cl-support file generation is active or inactive, and the reason for deactivation.

The switch generates the cl-support file automatically:

- When there is a core dump file in the `/var/support/core` directory for any application that Linux distributions support.
- When one of the monitored services fails for the first time after you reboot or power cycle the switch.

`cl-support` files can generate in quick succession due to a chain of faults, which burdens system resources and causes system instability. When this occurs, the switch deactivates automatic cl-support file generation and preserves the first cl-support file (which contains relevant diagnostic information) for troubleshooting.

### Version History

Introduced in Cumulus Linux 5.16.0

### Example

    cumulus@switch:~$ nv show system tech-support auto-generation
    nv show system tech-support auto-generation
                    operational  applied
    --------------  -----------  -------
    state           enabled      enabled
    burst-duration  7200         7200
    burst-size      5            5

    Recovery Steps
    =================
    No Data

## nv show system tech-support auto-generation recovery-steps

Shows the recovery steps if automatic cl-support file generation is deactivated.

The switch generates the cl-support file automatically:

- When there is a core dump file in the `/var/support/core` directory for any application that Linux distributions support.
- When one of the monitored services fails for the first time after you reboot or power cycle the switch.

`cl-support` files can generate in quick succession due to a chain of faults, which burdens system resources and causes system instability. When this occurs, the switch deactivates automatic cl-support file generation and preserves the first cl-support file (which contains relevant diagnostic information) for troubleshooting.

### Version History

Introduced in Cumulus Linux 5.16.0

### Example

    cumulus@switch:~$ nv show system tech-support auto-generation recovery-steps
    No Data

## nv show system tech-support files

Shows the `cl-support` files on the switch. The `cl-support` script generates a compressed archive file of useful information for troubleshooting. The system either creates the file automatically or you can create the file manually.

### Version History

Introduced in Cumulus Linux 5.10.0

### Example

    cumulus@switch:~$ nv show system tech-support files
    File name                              File path
    -------------------------------------  --------------------------------------------------
    cl_support_leaf01_20240725_225811.txz  /var/support/cl_support_leaf01_20240725_225811.txz