The lldp tlv-enable dot3-tlv command sets to advertise the TLVs defined by the IEEE 802.3 working group.
The undo lldp tlv-enable dot3-tlv command sets the TLVs defined by the IEEE 802.3 working group disabled on an interface.
By default, an interface advertises all TLVs defined by the IEEE 802.3 working group.
lldp tlv-enable dot3-tlv { all | eee | link-aggregation | mac-physic | max-frame-size | power }
undo lldp tlv-enable dot3-tlv { all | eee | link-aggregation | mac-physic | max-frame-size | power }
Parameter |
Description |
Value |
---|---|---|
all |
Indicates to advertise all TLVs defined by the IEEE 802.3 working group. | - |
eee |
Indicates to advertise EEE (Energy Efficient Ethernet) TLV. EEE is supported only when the switch has only one neighbor. |
- |
link-aggregation |
Indicates to advertise Link Aggregation TLV. |
- |
mac-physic |
Indicates to advertise MAC/PHY Configuration/Status TLV. |
- |
max-frame-size |
Indicates to advertise Maximum Frame Size TLV. |
- |
power |
Indicates to advertise Power Via MDI TLV. |
- |
Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, MultiGE interface view, 40GE interface view, 100GE interface view, port group view
Usage Scenario
In LLDP, all device information is encapsulated in Link Layer Discovery Protocol data units (LLDPDUs), which are then sent to neighbors. An LLDPDU contains a variety of TLVs. In a TLV, T indicates the information type, L indicates the information length, and V indicates the value or the content to be sent.
Devices exchange LLDPDUs carrying TLVs to obtain neighbor information. The TLVs that can be encapsulated in an LLDP packet include basic TLVs, TLVs in the IEEE 802.1 format, TLVs in the IEEE 802.3 format, and MED TLVs.
Basic TLVs are essential for managing network devices. The TLVs in the IEEE 802.1 format, TLVs in the IEEE 802.3 format, and MED TLVs are defined by standardization organizations and other organizations, which are used to enhance the network device management. You can determine whether to advertise the IEEE 802.1 format, TLVs in the IEEE 802.3 format, and MED TLVs.
Devices on both ends can have different TLV types configured. You only need to configure TLV types according to networking requirements.
Prerequisites
Precautions
If the all parameter is not specified, only one type of TLV can be advertised. To advertise multiple types of TLVs, run this command multiple times.
An Ethernet interface supports this command no matter whether it works in Layer 2 or Layer 3 mode.