visibility packet-capture object-templates interface-ethernet-tmpl trigger-stats-rate¶
Configure stats to triggers packet capture on increment
trigger-stats-rate Specification¶
Type Configuration Resource Element Name trigger-stats-rate Element URI /axapi/v3/visibility/packet-capture/object-templates/interface-ethernet-tmpl/{name}/trigger-stats-rate Element Attributes trigger-stats-rate_attributes Schema trigger-stats-rate schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/visibility/packet-capture/object-templates/interface-ethernet-tmpl/{name}/trigger-stats-rate | ||
Get Object | GET | /axapi/v3/visibility/packet-capture/object-templates/interface-ethernet-tmpl/{name}/trigger-stats-rate | ||
Modify Object | POST | /axapi/v3/visibility/packet-capture/object-templates/interface-ethernet-tmpl/{name}/trigger-stats-rate | ||
Replace Object | PUT | /axapi/v3/visibility/packet-capture/object-templates/interface-ethernet-tmpl/{name}/trigger-stats-rate | ||
Delete Object | DELETE | /axapi/v3/visibility/packet-capture/object-templates/interface-ethernet-tmpl/{name}/trigger-stats-rate |
trigger-stats-rate attributes¶
collisions
Description Enable automatic packet-capture for Collisions
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
crc
Description Enable automatic packet-capture for CRC
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
duration
Description Time in seconds to look for the anomaly, default is 60
Type: number
Range: 1-250
Default: 60
giants
Description Enable automatic packet-capture for Giants
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
giants_output
Description Enable automatic packet-capture for Output Giants
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
input_errors
Description Enable automatic packet-capture for Input errors
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
output_errors
Description Enable automatic packet-capture for Output errors
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
runts
Description Enable automatic packet-capture for Runts
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
threshold-exceeded-by
Description Set the threshold to the number of times greater than the previous duration to start the capture, default is 5
Type: number
Range: 0-100
Default: 5
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters