This is the documentation for the 21.07 version. Looking for the documentation of the latest version? Have a look here.

Diagnostic Information for Support

When contacting Netgate for support at https://go.netgate.com, support representatives may require information about the configuration and state of a TNSR installation. TNSR includes a utilty, tnsr-diag, which gathers diagnostic information automatically. The archive it produces can then be included in communications with Netgate support.

The command to collect this data may be run from a shell using sudo tnsr-diag, or from within the TNSR CLI using host shell sudo tnsr-diag.

For example:

tnsr# host shell sudo tnsr-diag
Diagnostic data stored at /tmp/tnsr-diag-primary-2020-08-07-135437.zip

As shown in the example output above, the data is stored in a compressed archive in /tmp named tnsr-diag-<hostname>-<timestamp>.zip. This file may be copied from the TNSR device using scp.


The archive generated by this utility may contain sensitive information about the router configuration and environment. Review its contents before transmitting the information, and always use a secure communications method.