The lldp tlv-enable command sets the TLVs that can be sent by the MEth interface.
The undo lldp tlv-enable command sets the TLVs disabled on the MEth interface.
By default, the MEth interface can advertise all TLVs except the Location Identification TLV.
lldp tlv-enable basic-tlv { all | management-address | port-description | system-capability | system-description | system-name }
lldp tlv-enable med-tlv { all | capability | inventory | location-id { civic-address device-type country-code { ca-type ca-value } & <1-10> | elin-address Tel-Number } }
undo lldp tlv-enable basic-tlv { all | management-address | port-description | system-capability | system-description | system-name }
undo lldp tlv-enable med-tlv { all | capability | inventory | location-id [ civic-address | elin-address ] }
Parameter |
Description |
Value |
---|---|---|
all |
Indicates to advertise all basic TLV. |
- |
management-address |
Indicates to advertise Management-address TLV. |
- |
port-description |
Indicates to advertise Port Description TLV. |
- |
system-capability |
Indicates to advertise System Capabilities TLV. |
- |
system-description |
Indicates to advertise System Description TLV. |
- |
system-name |
Indicates to advertise System Name TLV. |
- |
all |
Indicates to advertise all MED TLVs except the Location Identification TLV. | - |
capability |
Indicates to advertise MED Capabilities TLV. |
- |
inventory |
Indicates to advertise Hardware Revision TLV, Firmware Revision TLV, Software Revision TLV, Serial Number TLV, Manufacturer Name TLV, Model Name TLV, and Asset ID TLV. |
- |
location-id |
Indicates to advertise Location Identification TLV. |
- |
civic-address device-type country-code { ca-type ca-value } & <1-10> |
Indicates to advertise the common address information of
the network devices encapsulated in Location Identification TLV.
|
- |
elin-address Tel-Number |
Advertises the emergency phone number encapsulated in Location Identification TLV. |
The value is a string of 10 to 25 numerals. Each numeral ranges from 0 to 9. |
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. LLDPPDUs supported by the management interface includes basic TLVs 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, all the available TLVs of the specified type can be advertised except the Location Identification TLV. 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.
To disable the MED Capabilities TLV, first disable the other types of MED TLVs.