axdebug capture¶
Dump packets
capture Specification¶
Type operational Element Name capture Element URI /axapi/v3/axdebug/capture Element Attributes capture_attributes Schema capture schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
EXECUTE Object | POST | /axapi/v3/axdebug/capture |
capture attributes¶
brief
Description Print basic packet information
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
current-slot
Description Only for current-slot of chassis
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
detail
Description Include packet payload
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
incoming
Description Incoming interface
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
max-packets
Description Maximum packets to capture for each data cpu.
Type: number
Range: 0-65535
non-display
Description Do not print to screen
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
outgoing
Description Outgoing interface
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
port-num
Description Port Numbers separated by commas(,) and hyphens(-) without spaces (ex: 4,5,10-30), or separated by spaces and double-quoted(“)
Type: string
Format: string-rlx
Maximum Length: 511 characters
Maximum Length: 1 characters
save
Description Save packets into file (Specify filename to save packets)
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters