pktcap-uw --uplink vmnic1 --dir 0 --ethtype 0x88cc -c 2 -o - | tcpdump-uw -ner -
The name of the uplink is vmnic1.
The session filter Ethernet type is 0x88cc.
To capture 2 packets.
<timestamp> ##:##:##:##:##:## > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 441: LLDP, length 427:
<timestamp> ##:##:##:##:##:## > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 441: LLDP, length 427:
net-dvs -l in the ESXi host shows the switch is configured for com.vmware.etherswitch.cdp = CDPThis issue occurs because the Distributed Virtual Switch is configured to use CDP instead of LLDP. The VDS will only process and display discovery information for the protocol currently selected in its properties.
To enable LLDP information display, you must ensure the Distributed Switches are configured correctly.
Update Distributed Switch Properties
Navigate to the Networking view in vCenter.
Select your Distributed Switch.
Select the Configure tab.
Under Settings, click Properties and click Edit.
Click on Advanced and change the Discovery Protocol dropdown to Link Layer Discovery Protocol.
Click OK.