packet_capture
packet_capture
Diagnostics for Capture and download pcap on different interfaces[Max File Size 575 MB] resource.
Read/write properties
summary <packet_summary[]>
Summary of Packets captured.
interface <String>
Interface on which packets have to be captured.
duration <String>
Duration for which packets have to be captured in seconds. Possible values = [5,10,15,30]
filter_str <String>
Filter string is used to determine which packets are captured.
message <String>
Message about the packet capture event.
max_packets <String>
Max Number of Packets to be captured. Possible values = [1000,2000,5000,MAX]
Read only properties
Operations
[add]{}
URL: http://<MGMT-IP>/sdwan/nitro/v1/diag/packet_capture
Description: Use this operation to capture pcap on different interfaces SD-WAN Appliance
HTTP Method: POST
Request Payload: JSON
{"packet_capture": { "summary":[{}] , "interface":<String_value> , "duration":<String_value> , "filter_str":<String_value> , "message":<String_value> , "max_packets":<String_value> }}
Response Payload: JSON
{ "packet_capture":{ "summary":[{ "protocol":<String_value>
, "src_port":<String_value> , "src_mac":<String_value> , "number":<String_value> , "time":<String_value> , "src_ip":<String_value> , "dst_port":<String_value> , "dst_ip":<String_value> , "length":<String_value> , "dst_mac":<String_value> }], "interface":<String_value> , "duration":<String_value> , "filter_str":<String_value> , "message":<String_value> , "max_packets":<String_value> }]}