< Home

lldp tlv-enable (AP wired port link profile view)

Function

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.

Format

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

Parameters

Parameter

Description

Value

basic-tlv
Indicates basic TLVs to be advertised:
  • Management-address TLV
  • Port Description TLV
  • System Capabilities TLV
  • System Description TLV
  • System Name TLV

-

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.

-

Views

AP wired port link profile view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Configure the wired interface of AP to advertise Management-address TLVs.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap lldp enable
[HUAWEI-wlan-view] port-link-profile name port-link1
[HUAWEI-wlan-port-link-prof-port-link1] lldp tlv-enable basic-tlv management-address 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >