6.5.1

Table Of Contents
Table 144. Filter Options of the pktcap-uw Utility (Continued)
Option Description
--ethtype 0xEthertype
Capture or trace packets at Layer 2 according to the next level
protocol that consumes packet payload.
EtherType corresponds to the EtherType field in Ethernet
frames . It represents the type of next level protocol that
consumes the payload of the frame.
For example, to monitor traffic for the Link Layer Discovery
Protocol (LLDP) protocol, type --ethtype 0x88CC.
--vlan VLAN_ID
Capture or trace packets that belong to a VLAN.
--srcip IP_addess|IP_address/subnet_range
Capture or trace packets that have a specific source IPv4
address or subnet.
--dstip IP_addess|IP_address/subnet_range
Capture or trace packets that have a specific destination IPv4
address or subnet.
--ip IP_addess
Capture or trace packets that have a specific source or
destination IPv4 address.
--proto 0xIP_protocol_number
Capture or trace packets at Layer 3 according to the next level
protocol that consumes the payload.
For example, to monitor traffic for the UDP protocol, type
--proto 0x11.
--srcport source_port
Capture or trace packets according to their source TCP port.
--dstport destination_port
Capture or trace packets according to their destination TCP port.
--tcpport TCP_port
Capture or trace packets according to their source or destination
TCP port.
--vxlan VXLAN_ID
Capture or trace packets that belong to a VXLAN.
The vertical bars | represent alternative values.
Capturing Packets by Using the pktcap-uw Utility
Capture packets through the pktcap-uw utility in the path between a virtual switch and the physical
adapters, VMkernel adapters and virtual machine adapters to troubleshoot data transfer in the network
stack on an ESXi host.
Capture Packets That Arrive at a Physical Adapter
Monitor host traffic related to the external network by capturing packets at certain points in the path
between a vSphere Standard Switch or vSphere Distributed Switch and a physical adapter.
You can specify a certain capture point in the data path between a virtual switch and a physical adapter,
or determine a capture point by traffic direction with regard to the switch and proximity to the packet
source or destination. For information about supported capture points, see Capture Points of the pktcap-
uw Utility.
vSphere Networking
VMware, Inc. 223