visibility packet-capture object-templates interface-tunnel-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-tunnel-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-tunnel-tmpl/{name}/trigger-stats-rate | ||
Get Object | GET | /axapi/v3/visibility/packet-capture/object-templates/interface-tunnel-tmpl/{name}/trigger-stats-rate | ||
Modify Object | POST | /axapi/v3/visibility/packet-capture/object-templates/interface-tunnel-tmpl/{name}/trigger-stats-rate | ||
Replace Object | PUT | /axapi/v3/visibility/packet-capture/object-templates/interface-tunnel-tmpl/{name}/trigger-stats-rate | ||
Delete Object | DELETE | /axapi/v3/visibility/packet-capture/object-templates/interface-tunnel-tmpl/{name}/trigger-stats-rate |
trigger-stats-rate attributes¶
duration
Description Time in seconds to look for the anomaly, default is 60
Type: number
Range: 1-250
Default: 60
num-rx-err-pkts
Description Enable automatic packet-capture for received error packets
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
num-tx-err-pkts
Description Enable automatic packet-capture for sent error packets
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