Enabling LLDP polling
With LLDP polling enabled, a device searches for local configuration changes periodically. Upon
detecting a configuration change, the device sends LLDPDUs to inform the neighboring devices of the
change.
Follow these steps to enable LLDP polling:
To do...
Enter system view
Enter Ethernet
interface view
or port group
view
Enable LLDP polling and set the polling
interval
Configuring the advertisable TLVs
Follow these steps to configure the advertisable LLDPDU TLVs on the specified port or ports:
To do...
Enter system view
Enter
Ethernet
interface
view or
port group
view
Configure the advertisable TLVs
Configuring the management address and its encoding format
LLDP encodes management addresses in numeric or character string format in management address
TLVs.
By default, management addresses are encoded in numeric format. If a neighbor encoded its
management address in character string format, you must configure the encoding format of the
management address as string on the connecting port to guarantee normal communication with the
neighbor.
Enter Layer 2 Ethernet
interface view
Enter port group view
Use the command...
system-view
Enter Layer 2
Ethernet interface
interface interface-type interface-number
view
Enter port group
port-group manual port-group-name
view
lldp tlv-enable { basic-tlv { all |
port-description | system-capability |
system-description | system-name } |
dot1-tlv { all | 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 } }
Use the command...
system-view
interface interface-type
interface-number
port-group manual port-group-name
lldp check-change-interval interval
172
Remarks
—
Required
Use either command.
Required
Disabled by default
Remarks
—
Required
Use either command.
Optional
By default, all types of
LLDP TLVs except the
location identification
TLV are advertisable on
a Layer 2 Ethernet port.