Step
3.
Enable LLDP polling and set
the polling interval.
Configuring the advertisable TLVs
To configure the advertisable LLDPDU TLVs on the specified port or ports:
Step
1.
Enter system view.
2.
Enter Ethernet interface view
or port group view.
3.
Configure the advertisable
TLVs (Layer 2 Ethernet
interface view or port group
view).
4.
Configure the advertisable
TLVs (Layer 3 Ethernet
interface view).
Configuring the management address and its encoding format
LLDP encodes the management address in numeric or character string format in management address
TLVs.
By default, management addresses are encoded in numeric format. If a neighbor encodes 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.
Command
lldp check-change-interval interval
Command
system-view
•
Enter Layer 2 or Layer 3 Ethernet
interface view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual port-group-name
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 } }
lldp tlv-enable { basic-tlv { all |
port-description | system-capability |
system-description | system-name } |
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 } |
power-over-ethernet } }
140
Remarks
By default, LLDP polling is
disabled.
Remarks
N/A
Use either command.
Optional.
By default, all types of
LLDP TLVs except location
identification TLVs are
advertisable on a Layer 2
Ethernet port.
Optional.
By default, all types of
LLDP TLVs, except IEEE
802.1 organizationally
specific TLVs, network
policy TLVs, and location
identification TLVs, are
advertisable on a Layer 3
Ethernet port.