The lldp tlv-enable command specifies the types of TLVs that an AP wired interface advertises.
The undo lldp tlv-enable command specifies the types of TLVs that an AP wired interface is prohibited from advertising.
By default, an AP wired interface advertises all types of TLVs.
lldp tlv-enable basic-tlv { all | management-address | port-description | system-capability | system-description | system-name }
lldp tlv-enable dot3-tlv power
undo lldp tlv-enable basic-tlv { all | management-address | port-description | system-capability | system-description | system-name }
undo lldp tlv-enable dot3-tlv power
Parameter |
Description |
Value |
---|---|---|
basic-tlv | Indicates basic TLVs to be advertised:
|
- |
all | Configures the AP wired interface to advertise all types of TLVs when basic TLVs are configured. |
- |
management-address | Configures the AP wired interface to advertise Management-address TLVs. |
- |
port-description | Configures the AP wired interface to advertise Port Description TLVs. |
- |
system-capability | Configures the AP wired interface to advertise System Capabilities TLVs. |
- |
system-description | Configures the AP wired interface to advertise System Description TLVs. |
- |
system-name | Configures the AP wired interface to advertise System Name TLVs. |
- |
dot3-tlv | Configures an AP's wired interface to advertise TLVs defined by IEEE 802.3. |
- |
power | Configures an AP's wired interface to advertise the Power Via MDI TLV defined by IEEE 802.3 and negotiate the PoE power. |
- |
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 and TLVs in the IEEE 802.3 format.
Basic TLVs are essential for managing network devices. The TLVs in the IEEE 802.3 format are defined by standardization organizations and other organizations, which are used to enhance the network device management. You can determine whether to advertise the TLVs in the IEEE 802.3 format.
Devices on both ends can have different TLV types configured. You only need to configure TLV types according to networking requirements.
Prerequisites
The LLDP function has been enabled in both the WLAN view and AP wired port link profile view.
Precautions
When basic TLVs are configured, if the all parameter is specified, all optional basic TLVs are advertised. If the all parameter is not specified, TLVs of only one type can be advertised at a time. To advertise multiple types of TLVs, run this command multiple times.