C613-50100-01 REV C Command Reference for x930 Series 775
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
IP ADDRESSING AND PROTOCOL COMMANDS
TCPDUMP
tcpdump
Overview Use this command to start a tcpdump, which gives the same output as the
Unix-like tcpdump command to display TCP/IP traffic. Press <ctrl> + c to stop
a running tcpdump.
Syntax
tcpdump <line>
Syntax (VRF lite) tcpdump [vrf <vrf-name>] <line>
Mode Privileged Exec
Example To start a tcpdump running to capture IP packets, enter the command:
awplus# tcpdump ip
Example (VRF
lite)
To start a tcpdump on interface vlan2 associated with a VRF lite instance red,
enter the command:
awplus# tcpdump vrf red vlan2
Output Figure 20-16: Example output from the tcpdump command
Related
Commands
debug ip packet interface
Parameter Description
<line> Specify the dump options. For more information on the
options for this placeholder see
http://www.tcpdump.org/tcpdump_man.html
vrf Apply the command to the specified VRF lite instance.
<vrf-name> The name of the VRF lite instance.
03:40:33.221337 IP 192.168.1.1 > 224.0.0.13: PIMv2, Hello,
length: 34
1 packets captured
2 packets received by filter
0 packets dropped by kernel