6.5.1

Table Of Contents
pktcap-uw Syntax for Capturing Packets
The pktcap-uw command has the following syntax for capturing packets at a certain place in the network
stack:
pktcap-uw switch_port_arguments capture_point_options filter_options output_control_options
Note Certain options of the pktcap-uw utility are designed for VMware internal use only and you should
use them only under the supervision of VMware Technical Support. These options are not described in
the vSphere Networking guide.
Table 141. pktcap-uw Arguments for Capturing Packets
Argument Group Argument Description
switch_port_arguments
--uplink vmnicX
Capture packets that are related to
a physical adapter.
You can combine the --uplink and
--capture options for monitoring
packets at a certain place in the
path between the physical adapter
and the virtual switch.
See Capture Packets That Arrive at
a Physical Adapter.
--vmk vmkX
Capture packets that are related to
a VMKernel adapter.
You can combine the vmk and
--capture options for monitoring
packets at a certain place in the
path between the VMkernel adapter
and the virtual switch.
See Capture Packets for a
VMkernel Adapter.
--switchport {vmxnet3_port_ID |
vmkernel_adapter_port_ID}
Capture packets that are related to
a VMXNET3 virtual machine
adapter or to a VMkernel adapter
that is connected to a particular
virtual switch port. You can view the
ID of the port in the network panel
of the esxtop utility.
You can combine the switchport
and capture options for monitoring
packets at a certain place in the
path between the VMXNET3
adapter or VMkernel adapter and
the virtual switch.
See Capture Packets for a
VMXNET3 Virtual Machine Adapter.
vSphere Networking
VMware, Inc. 219