A quick few steps will enable the vSphere Distributed Switch to participate in LLDP conversations.
vSphere Web Client > Networking. Drill down and select the DVS. Click Manage. Click the Edit distributed switch settings icon.
In the Edit Settings window, Click Advanced.
Discovery protocol options are (disabled), CDP and Link Layer Discovery Protocol.
Listen – This mode gives the vSphere admin access switch details (assuming the discovery protocol is enabled at the switch port). The switch does not show LLDP information about the host. Once the host successfully receives discovery protocol information from the switch, the information will populate under Manage > Settings > Topology > DVUplinks “show details” (the blue circles with the i)… the vSphere admin is treated to the following details:
Advertise – The vSphere admin does not see any switch details. This mode treats the switch administrator to see host details. Here is an example of what is seen on the switch:
Switch#show lldp nei eth 1 det
Interface Ethernet1 detected 1 LLDP neighbors:
Neighbor vmnic0/0050.5612.3456, age 58 seconds
Discovered 0:10:58 ago; Last changed 0:10:58 ago
– Chassis ID type: Interface name (6)
Chassis ID : “vmnic0”
– Port ID type: MAC address (3)
Port ID : 0050.5612.3456
– Time To Live: 180 seconds
– Port Description: “port 6684 on dvSwitch lab-dVS (etherswitch)”
– System Name: “lab-esx0.home.lab”
– System Description: “VMware ESX Releasebuild-123456”
– System Capabilities : Bridge
Enabled Capabilities: Bridge
Both – My favorite mode. Switch admin sees host details. vSphere admin sees switch details. Everyone has a beer and is happy.