
31
Step Command
Remarks
4.
Configure the advertisable
TLVs (in Layer 3 aggregate
interface view).
lldp agent
{
nearest-nontpmr
|
nearest-customer
}
tlv-enable
basic-tlv
{
all
|
management-address-tlv
[
ipv6
]
[
ip-address
] |
port-description
|
system-capability
|
system-description
|
system-name
}
By default:
•
Nearest non-TPMR
bridge agents do not
advertise TLVs.
•
Nearest customer
bridge agents can
advertise only basic
TLVs.
Nearest bridge agents
are not supported on
Layer 3 aggregate
interfaces.
Configuring the management address and its encoding
format
LLDP encodes management addresses in numeric or string format in management address TLVs.
If a neighbor encod es its manag ement address in st ring format, set the enco ding format o f the
management address to
string
on the connecting port. This guarantees normal communication with
the neighbor.
To configure a management address to be advertised and its encoding format on a port:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 3 Ethernet
interface view or Layer 3
aggregate interface view.
interface
interface-type
interface-number
N/A
3.
Allow LLDP to advertise the
management address in
LLDP frames and configure
the advertised
management address.
•
In Layer 3 Ethernet interface
view:
lldp
[
agent
{
nearest-customer
|
nearest-nontpmr
} ]
tlv-enable
basic-tlv
management-address-tlv
[
ipv6
] [
ip-address
] |
interface
loopback
interface-number
]
•
In Layer 3 aggregate interface
view:
lldp agent
{
nearest-customer
|
nearest-nontpmr
}
tlv-enable
basic-tlv
management-address-tlv
[
ipv6
] [
ip-address
]
By default:
•
Nearest bridge agents
and nearest customer
bridge agents can
advertise the
management address in
LLDP frames.
•
Nearest non-TPMR
bridge agents cannot
advertise the
management address in
LLDP frames.