NSX CLI Guide

get support-bundle [file <filename> [[log-age <no-of-days>] [all [remove-core-file]]] | [eal4-audit]]

Save the contents of the tech support bundle. Specify the file argument to save the bundle to a file with the specified file name in the file store. NSX Manager support bundles are .tar archives, NSX Edge support bundles are .tgz archives. This support bundle does not contain core or audit log files. To include those files, specify the all argument. To remove core dump files after collected in support bundle, specify optional argument remove-core-files along with all argument.

Core files contain system information and all information stored in memory at the time of the dump (this may include confidential, sensitive or personal information such as passwords and encryption keys, if they are being processed in memory at that time). If you choose to send the support bundle to VMware, it will be processed in accordance with VMware's standard processes and policies, to provide you with support, fix problems and improve the product and services.

Specify the log-age argument to include log files with modified times not past the age limit in days.

Specify the eal4-audit argument to collect pre-defined selective log files modified in last 4 hours.

Note: all, log-age, remove-core-files arguments are not allowed along with eal4-audit argument.

Parameters:

Option Description
<filename> Name of file to generate, for example support-bundle.tar or support-bundle.tgz
Allowed pattern: ^[^/ *;&|]+$


Example:

nsx-manager-1> get support-bundle -------------------------------------------------------------------------------- /usr/sbin/arp -n -------------------------------------------------------------------------------- Address HWtype HWaddress Flags Mask Iface 192.168.110.201 ether 00:50:56:a9:8a:8c C eth0 192.168.110.101 ether 00:50:56:a9:45:29 C eth0 192.168.110.1 ether 68:ef:bd:4e:98:7f C eth0 192.168.110.10 ether 00:50:56:a6:e0:14 C eth0 -------------------------------------------------------------------------------- /bin/df -lT -x securityfs -------------------------------------------------------------------------------- Filesystem Type 1K-blocks Used Available Use% Mounted on udev devtmpfs 8206240 4 8206236 1% /dev tmpfs tmpfs 1643032 772 1642260 1% /run /dev/sda2 ext4 19554584 2229116 16309100 13% / none tmpfs 4 0 4 0% /sys/fs/cgroup none tmpfs 5120 0 5120 0% /run/lock none tmpfs 8215140 4 8215136 1% /run/shm none tmpfs 102400 0 102400 0% /run/user /dev/mapper/nsx-repository ext4 19551512 308428 18226868 2% /repository . . . nsx-manager-1> get support-bundle file support-bundle.tar support-bundle.tar created, use the following command to transfer the file: copy file support-bundle.tar url After transferring support-bundle.tar, extract it using: tar xf support-bundle.tar or nsx-manager-1> get support-bundle file support-bundle-all.tar all remove-core-files support-bundle-all.tar created, use the following command to transfer the file: copy file support-bundle-all.tar url After transferring support-bundle-all.tar, extract it using: tar xf support-bundle-all.tar or nsx-manager-1> get support-bundle file support-bundle.tar log-age 10 support-bundle.tar created, use the following command to transfer the file: copy file support-bundle.tar url After transferring support-bundle.tar, extract it using: tar xf support-bundle.tar

Mode:

Basic

Availability: