As an example, trace a particular vSwitch port and its associated uplink at the same time:
Identify and make a note these parameters:
Port ID returned by the esxtop command — --switchport 50331665
vmnic2 physical port that you want to trace — --uplink vmnic2 -
location of the output pcap file — /tmp/vmnic2.pcap