6.7

Table Of Contents
Table 141. pktcap-uw Arguments for Capturing Packets (Continued)
Argument Group Argument Description
--dir {0|1}
Capture packets according to the
direction of the flow with regard to
the virtual switch.
0 stands for incoming traffic and 1
for outgoing traffic.
By default, the pktcap-uw utility
captures ingress traffic.
Use the --dir option together with
the --uplink, --vmk, or
--switchport option.
--stage {0|1}
Capture the packet closer to its
source or to its destination. Use this
option to examine how a package
changes while it traverses the
points in the stack.
0 stands for traffic closer to source
and 1 for traffic closer to
destination.
Use the --stage option together
with the --uplink, --vmk ,
--switchport, or --dvfilter
option.
--dvfilter filter_name --capture
PreDVFilter|PostDVFilter
Capture packets before or after a
vSphere Network Appliance
(DVFilter) intercepts them. See
Capture Packets at DVFilter Level.
-A | --availpoints View all capture points that the
pktcap-uw utility supports.
For details about the capture points of the pktcap-uw utility, see Capture Points of the
pktcap-uw Utility.
filter_options Filter captured packets according to source or destination address, VLAN ID, VXLAN ID,
Layer 3 protocol, and TCP port. See pktcap-uw Options for Filtering Packets.
output_control_options Save the contents of a packet to a file, capture only a number of packets, and capture a
number of bytes at the beginning of packets, and so on. See pktcap-uw Options for Output
Control.
The vertical bars | represent alternative values, and the curly brackets {} used with vertical bars specify a
list of choices for an argument or option.
pktcap-uw Command Syntax for Tracing Packets
Use the pktcap-uw utility to view the path of a packet in the network stack on an ESXi host for latency
analysis.
vSphere Networking
VMware, Inc. 209