FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
pcap dispatch trace [on|off] [max <nn>] [file <name>] [status] [buffer-trace <input-node-name> <nn>][post-mortem].
This command is used to start or stop pcap dispatch trace capture, or show the capture status.
This command has the following optional parameters:
vpp# pcap dispatch trace status
max is 100, for any interface to file /tmp/vpe.pcap
pcap dispatch capture is off...
Example of how to start a dispatch trace capture: vpp# pcap dispatch trace on max 35 file dispatchTrace.pcap
pcap dispatch capture on...
Example of how to start a dispatch trace capture with buffer tracing vpp# pcap dispatch trace on max 10000 file dispatchTrace.pcap
buffer-trace dpdk-input 1000
pcap dispatch capture on...
Example of how to display the status of a tx packet capture in progress: vpp# pcap tx trace status
max is 35, dispatch trace to file /tmp/vppTest.pcap
pcap tx capture is on: 20 of 35 pkts...
Example of how to stop a tx packet capture: vpp# vppctl pcap dispatch trace off
captured 21 pkts...
saved to /tmp/dispatchTrace.pcap...
Example of how to start a post-mortem dispatch trace:
pcap dispatch trace on max 20000 buffer-trace
dpdk-input 3000000000 post-mortem
Declaration: pcap_dispatch_trace_command (src/plugins/dispatch-trace/main.c line 497)
Implementation: dispatch_trace_command_fn.