Chapter 2
Using RUGGEDCOM ROX II
RUGGEDCOM ROX II
CLI User Guide
24 Capturing Packets from a Network Interface
Section2.4.9
Capturing Packets from a Network Interface
Tcpdump is a packet analyzer for TCP/IP and other packets. It can be used to capture packets at a specified network
interface and dump them to a terminal or file.
To capture packets, type tcpdump and configure the following parameters:
Parameter Description
address Displays the source IP for each packet.
count The number of packets to capture
hex Converts the data to hexadecimal or ASCII characters.
host The host name to be ignored or allowed.
interface The interface from the IP list to dump.
linkheader Displays the link level header.
port The ports to trace.
proto { tCP | uDP | iCMP | aRP | vRRP |
IqMP | oSPF | eSP | Ah }
The protocol(s) to filter out. To select more than one protocol, string the lowercase letters
together. For example, tui will filter out TCP, UDP and ICMP packets.
To ignore a protocol, place an n before the protocol name (e.g. ntui).
verbosity The verbosity level. Type v, vv or vvv to set the level.
Section2.4.10
Capturing Packets from a VRF Network Interface
VRF Tcpdump is a packet analyzer for TCP/IP and other packets. It can be used to capture packets at a specified VRF
network interface and dump them to a terminal or file.
To capture packets, type vrf-tcpdump and configure the following parameters:
Parameter Description
vrfname Displays the source IP for each packet.
address Displays the source IP for each packet.
count The number of packets to capture
hex Converts the data to hexadecimal or ASCII characters.
host The host name to be ignored or allowed.
interface The interface from the IP list to dump.
linkheader Displays the link level header.
port The ports to trace.
proto { tCP | uDP | iCMP | aRP | vRRP |
IqMP | oSPF | eSP | Ah }
The protocol(s) to filter out. To select more than one protocol, string the lowercase letters
together. For example, tui will filter out TCP, UDP and ICMP packets.
To ignore a protocol, place an n before the protocol name (e.g. ntui).
verbosity The verbosity level. Type v, vv or vvv to set the level.