- Home
- Multi-Cloud Networking
- Customer Edge diagnostics
- Command reference
- On-box commands
- Packet capture
Packet capture
vifdump captures packets on the Argo data plane’s virtual interfaces. Five commands, all
F5’s, none on the debug API.
Why this page has no output, specifically
Section titled “Why this page has no output, specifically”Argument arity on the Site CLI is discoverable by running a command with no arguments — it
answers not sufficient args for command <name>. That is safe for a read-only command.
Applied to vifdump during this documentation work, it returned no error at all, on a
node that was still registering. Whether a capture started is unknown, because the node was
destroyed and rebuilt before it could be checked.
That is the whole argument for the harness’s design: execution is default-denied, not
deny-listed. vifdump was on no deny-list, because nobody had thought of it. Only an
explicit allow-list refuses the command nobody thought of.
vifdump
Section titled “vifdump”Capture packets on a specified vif.
execcli vifdump <vif-id> [options]Take the vif id from vif --list.
vifdump-d
Section titled “vifdump-d”Capture dropped packets, on one vif or all of them.
execcli vifdump-d <vif-id|all>Pairs with dropstats: dropstats tells you drops are
happening and which counter is incrementing, vifdump-d shows you the packets.
vifdump-stop
Section titled “vifdump-stop”Stops a capture that a previous run left behind.
execcli vifdump-stopThe appliance’s own description is “stop vifdump command if previous run abnormally ended”,
which tells you the failure mode is expected: a capture can outlive the session that started
it. If you have run vifdump and are unsure whether it is still going, run this.
vifdump-file-cp
Section titled “vifdump-file-cp”Copies the capture files out of the Argo container to the host, into /tmp/vifdump/.
execcli vifdump-file-cpEquivalent to docker cp $(argo):/tmp/. /tmp/vifdump/. Necessary because the capture is
written inside the container.
vifdump-file-rm
Section titled “vifdump-file-rm”Deletes the .pcap files from the Argo container.
execcli vifdump-file-rmRun this when you are finished. Together with vifdump-stop it is the cleanup pair for
any capture work, and the two are what you run first if you inherit a node where someone
else may have left a capture running.