p4-guide icon indicating copy to clipboard operation
p4-guide copied to clipboard

Any built-in function for dump switch traffic as .pcap file?

Open nonPointer opened this issue 1 year ago • 1 comments

The bmv2 + mininet setup in p4lang/tutorials repo can preserve the.pcap files of ingress/egress traffic on each port of the switch and host. How can I achieve the same within this repo?

One workaround seems to be manually run the tcpdump for capturing traffic on the veth.

Thanks!

nonPointer avatar May 01 '24 11:05 nonPointer

I would recommend please to ask your question on this web forum, where there are more people reading it than myself, and several of them likely can give you an answer more quickly than I could: http://forum.p4.org

jafingerhut avatar May 01 '24 14:05 jafingerhut

Thank you Andy!

nonPointer avatar May 02 '24 13:05 nonPointer