LLDPDUs can encapsulate basic TLVs, TLVs defined by the IEEE 802.1 working groups, TLVs defined by IEEE 802.3, and Media Endpoint Discovery (MED) TLVs.
When the supported TLVs are basic TLVs, TLVs in the IEEE 802.1 format, and TLVs in the IEEE 802.3 format, the lldp tlv-enable command with the all parameter advertises all TLVs. When the supported TLVs are MED TLVs, the lldp tlv-enable command with the all parameter advertises all TLVs except Location Identification TLV.
If the all parameter is not specified, only one type of TLV can be sent. To send multiple types of TLVs, run this command multiple times.
You can specify other types of MED TLVs only after specifying the MED Capabilities TLV.
To disable the MED Capabilities TLV, first disable the other types of MED TLVs.
To disable the MAC/PHY Configuration/Status TLVs, first disable the MED Capabilities TLV.
The system view is displayed.
The interface view is displayed.
An Ethernet interface working in Layer 3 mode does not support the TLV field defined in IEEE802.1 and the Network Policy TLV field in MED TLV.
The management interface only supports basic-tlv and some TLVs of med-tlv, but does not support Network Policy TLV and Extended Power-via-MDI TLV of med-tlv.
Run the following commands on Ethernet interfaces:
By default, an interface advertises all types of TLVs except the Protocol Identification TLV, Location Identification TLV, and Network Policy TLV.
The standard with which the 802.3 Power Via MDI TLV sent by the interface complies is set.
By default, the 802.3 Power Via MDI TLV conforms to 802.1 ab.
Before selecting a format for the 802.3 Power Via MDI TLV, you must know which TLV format the neighbors support. The TLV format on the local device must be also supported by the neighbors.