6.7

Table Of Contents
Monitoring Network Connection
and Trac 14
Monitor network connection and packets that pass through the ports of a vSphere Standard Switch or a
vSphere Distributed Switch to analyze the traffic between virtual machines and hosts.
This chapter includes the following topics:
n
Capture Network Packets by Using the PacketCapture Utility
n
Capturing and Tracing Network Packets by Using the pktcap-uw Utility
n
Configure the NetFlow Settings of a vSphere Distributed Switch
n
Working With Port Mirroring
n
vSphere Distributed Switch Health Check
n
Switch Discovery Protocol
Capture Network Packets by Using the PacketCapture
Utility
Use the PacketCapture utility to diagnose networking problems such as slow connection, lost packets,
and connectivity problems
PacketCapture is a lightweight tcpdump utility that captures and stores only the minimum amount of data
that is needed to diagnose the network problem. PacketCapture is integrated in the rhttpproxy service of
ESXi and vCenter Server Appliance. You start and stop PacketCapture by editing the rhttpproxy service
XML configuration file.
Procedure
1 Start capturing packets.
a Open an SSH connection and log in to the ESXi host or vCenter Server Appliance.
b Open the config.xml file for editing.
vSphere Component File Location
ESXi
/etc/vmware/rhttpproxy/config.xml
vCenter Server Appliance
/etc/vmware-rhttpproxy/config.xml
VMware, Inc.
205