262
Figure 228 Enabling global LLDP and CDP compatibility
Verifying the configuration
Display information about LLDP neighbors on Switch A after completing the configuration. You can see
that Switch A has discovered the Cisco IP phones attached to ports GigabitEthernet1/0/1 and
GigabitEthernet1/0/2 and obtained their device information.
LLDP configuration guidelines
When you configure LLDP, follow these guidelines:
• To make LLDP take effect, you must enable it both globally and at port level.
• To advertise LLDP-MED TLVs other than the LLDP-MED capabilities TLV, you must include the
LLDP-MED capabilities TLV.
• To remove the LLDP-MED capabilities TLV, you must remove all other LLDP-MED TLVs.
• To remove the MAC/PHY configuration TLV, remove the LLDP-MED capabilities set TLV first.
• When the advertising of LLDP-MED capabilities TLV and MAC/PHY configuration/status TLV is
disabled, if the LLDP-MED capabilities set TLV is included, the MAC/PHY configuration/status TLV
is included automatically.
• When you configure LLDP settings for ports in batch, if you do not set the TLVs, each port uses its
own TLV settings.