debug

Required Command-Line Mode = Configure

Use the debug command to generate a system dump file for use with Gigamon Technical Support staff. You can generate the system dump files for all the nodes that are part of a cluster by logging into the leader. However, to download the system dump file for a node, you must log into the respective node.

The debug command has the following syntax:

debug generate dump

box-id <box-id>

In response, the system will generate an encrypted sysdump file and show you the filename for the leader in a cluster. For example:

Generated dump sysdump-newHD-20150105-215155.tgz.gpg

Note:  To view the sysdump files generated for the member nodes in a cluster, run the # show file debug-dump box-id <box-id> command.

Related Commands

The following table summarizes other commands related to the debug command:

Task

Command

Generates an encrypted debug dump (sysdump) file.

(config) # debug generate dump

Generates a debug dump (sysdump) file for the specified box ID that is part of the cluster.

(config) # debug generate dump box-id <box-id>

Displays the list of dump files.

# show file debug-dump

Displays the list of dump files generated for the specified box ID that is part of the cluster.

# show file debug-dump box-id <box-id>

Uploads, emails, or deletes a debug dump file.

Note:  If you email the system dump file, it is automatically sent to all email destinations configured to receive informational events (info) with the email command (email notify recipient <email address> class info).

(config) # file debug-dump [delete <filename>] [email <filename>] [upload <upload URL>]

The format for the upload URL is as follows:

[protocol]://username[:password]@hostname/path/filename

Use FTP, TFTP, SCP, or SFTP for the upload.

Deletes the specified debug dump file for the mentioned box ID in a cluster.

(config) # file debug-dump box-id <box-id> delete <filename>

Deletes all the debug dump files for the specified box ID in a cluster.

(config) # file debug-dump box-id <box-id> delete-all

Downloads the debug dump file for the box ID that you have logged in to.

(config) # get debug-dump