Start a conversation

Exinda CLI: Debug

Overview

 

This article provides information regarding the CLI command debug.

You can use the debug command to generate diagnostic dumps and captures. Generated files will be available for download on the Web UI. Then you can use the file command to delete, upload, or e-mail it.

 


Information 

 

NOTE:  The following syntax convention is used:
  • {}: Options are enclosed in braces and are separated by '|'
  • []: Optional keywords are enclosed in brackets
  • <>: User input is required where variables are enclosed in greater-than and less-than symbols

The following table describes the commands used for generating and manipulating diagnostics files using debug:

Action Description

Command

Parameter Description
To generate a packet capture diagnostic file debug generate capture {interface|filter|timeout}
  • interface <interface-name> - Select an interface to run the TCP dump on. E.g. br1, eth1, or ALL. Note that when you select ALL for the interface, only those interfaces which are link-up are included.
  • timeout <duration> - Specify the duration (in seconds) that the capture should run.
  • filter - Specify a filter to apply to the capture. Find more information on tcpdump filters.

To generate a sysdump diagnostic file

debug generate dump

NA (Not Applicable) 
To delete a diagnostic dump file

file debug-dump delete <file-name>

NA (Not Applicable) 
To e-mail a diagnostic dump file

file debug-dump email <file-name>

NA (Not Applicable) 
To upload a diagnostic dump file

file debug-dump upload <file-name> <upload-url>

NA (Not Applicable) 
To delete a tcpdump file

file tcpdump delete <file-name>

NA (Not Applicable) 
To upload a tcpdump file

file tcpdump upload <file-name> <upload-url>

NA (Not Applicable) 

 

Example

Capture 5 seconds of traffic on Bridge br10, then upload to a server via scp:

> debug generate capture interface br10 timeout 5

Starting capture... (Press ctrl-c to end capture)
Stopping capture... Generated capture file: capture-exinda-hq-20110405-055920.tar.gz

> file tcpdump upload capture-exinda-hq-20110405-055920.tar.gz \

scp://admin@foo.com/tcpdumps

 

Find more CLI commands.

Back to Top

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments