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
- {}: 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} |
|
To generate a sysdump diagnostic file |
|
NA (Not Applicable) |
To delete a diagnostic dump file |
|
NA (Not Applicable) |
To e-mail a diagnostic dump file |
|
NA (Not Applicable) |
To upload a diagnostic dump file |
|
NA (Not Applicable) |
To delete a tcpdump file |
|
NA (Not Applicable) |
To upload a tcpdump file |
|
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.