
172
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2/Layer 3
Ethernet interface view,
management Ethernet
interface view, Layer 2/Layer
3 aggregate interface view, or
IRF physical interface view.
interface
interface-type
interface-number
N/A
3.
Enable LLDP polling and set
the polling interval.
•
In Layer 2/Layer 3 Ethernet
interface view or management
Ethernet interface view:
lldp
[
agent
{
nearest-customer
|
nearest-nontpmr
} ]
check-change-interval interval
•
In Layer 2/Layer 3 aggregate
interface view:
lldp agent
{
nearest-customer
|
nearest-nontpmr
}
check-change-interval interval
•
In IRF physical interface view:
lldp check-change-interval
interval
By default, LLDP polling is
disabled.
Configuring the advertisable TLVs
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2/Layer 3
Ethernet interface view,
management Ethernet
interface view, Layer
2/Layer 3 aggregate
interface view, or IRF
physical interface view.
interface
interface-type
interface-number
N/A
3.
Configure the advertisable
TLVs (in Layer 2 Ethernet
interface view).
•
lldp tlv-enable
{
basic-tlv
{
all
|
port-description
|
system-capability
|
system-description
|
system-name
|
management-address-tlv
[
ipv6
] [
ip-address
] } |
dot1-tlv
{
all
|
port-vlan-id
|
link-aggregation
|
dcbx
|
protocol-vlan-id
[
vlan-id
] |
vlan-name
[
vlan-id
] |
management-vid
[
mvlan-id
] } |
dot3-tlv
{
all
|
mac-physic
|
max-frame-size
|
power
} |
med-tlv
{
all
|
capability
|
inventory
|
network-policy
[
vlan-id
] |
power-over-ethernet
|
location-id
{
civic-address
device-type country-code
{
ca-type ca-value
}&<1-10> |
elin-address
tel-number
} } }
•
lldp agent nearest-nontpmr
tlv-enable
{
basic-tlv
{
all
|
By default:
•
Nearest bridge agents can
advertise all LLDP TLVs
except the DCBX, location
identification, port and
protocol VLAN ID, VLAN
name, and management
VLAN ID TLVs.
•
Nearest non-TPMR bridge
agents do not advertise
TLVs.
•
Nearest customer bridge
agents can advertise basic
TLVs and IEEE 802.1
organizationally specific
TLVs.