207
Enabling LLDP polling
With LLDP polling enabled, a device checks for local configuration changes periodically. Upon detecting
a configuration change, the device sends LLDPDUs to inform the neighboring devices of the change.
To enable LLDP polling:
To do… Use the command… Remarks
1. Enter system view
system-view —
Enter Layer 2/Layer 3
Ethernet interface view
interface interface-type interface-
number
2. Enter
Ethernet
interface
view or port
group view
Enter port group view port-group manual port-group-name
Required.
Use either command.
3. Enable LLDP polling and set the
polling interval
lldp check-change-interval interval
Required.
Disabled by default.
Configuring the advertisable TLVs
To configure the advertisable LLDPDU TLVs on the specified port or ports:
To do… Use the command… Remarks
1. Enter system view
system-view —
Enter Layer
2/Layer 3
Ethernet interface
view
interface interface-type interface-number
2. Enter
Ethernet
interface
view or
port
group
view
Enter port group
view
port-group manual port-group-name
Required.
Use either command.
3. Configure the advertisable
TLVs (Layer 2 Ethernet
interface view or port group
view)
lldp tlv-enable { basic-tlv { all | port-
description | system-capability | system-
description | system-name } | dot1-tlv { all
| dcbx | port-vlan-id | protocol-vlan-id
[ vlan-id ] | vlan-name [ vlan-id ] } | dot3-tlv
{ all | link-aggregation | mac-physic |
max-frame-size | power } | med-tlv { all |
capability | inventory | location-id { civic-
address device-type country-code { ca-type
ca-value }&<1–10> | elin-address tel-
number } | network-policy | power-over-
ethernet } }
Optional.
By default, all types of
LLDP TLVs except DCBX
TLVs and location
identification TLVs are
advertisable on a Layer
2 Ethernet port.