datapath-debug {
capture-file mcap format pcap size 100m files 10;
maximum-capture-size 10000;
action-profile {
do-mcap {
event np-ingress {
packet-dump;
}
event np-egress {
packet-filter mcap1 {
action-profile do-mcap;
source-prefix a.a.a.a/a;
destination-prefix b.b.b.b/b;
destination-port ccc;
packet-filter mcap2 {
source-port ccc;
user@host> request security datapath-debug capture start
user@host> request security datapath-debug capture stop
show security datapath-debug capture
Unable to see the PCAP file, it seems to be corrupted.
user@host>start shell
%tcpdump -nr/var/log/e2e.pcap
Using Packet Capture to Analyze Network Traffic
Configuring Data Path Debugging and Trace Options