Step
5.
Configure the advertisable
TLVs (in Layer 2 aggregate
interface view).
6.
Configure the advertisable
TLVs (in Layer 3 aggregate
interface view).
Configuring the management address and its encoding format
LLDP encodes management addresses in numeric or string format in management address TLVs.
By default, management addresses are encoded in numeric format. If a neighbor encodes its
management address in string format, configure the encoding format of the management address as
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
1.
Enter system view.
2.
Enter Layer 2/Layer 3 Ethernet
interface view, management
Ethernet interface view, or
Layer 2/Layer 3 aggregate
interface view.
Command
•
lldp agent nearest-nontpmr tlv-enable
{ basic-tlv { all | management-address-tlv
[ ip-address ] | port-description |
system-capability | system-description |
system-name } | dot1-tlv { all | evb |
port-vlan-id } }
•
lldp agent nearest-customer tlv-enable
{ basic-tlv { all | management-address-tlv
[ ip-address ] | port-description |
system-capability | system-description |
system-name } | dot1-tlv { all |
port-vlan-id } }
•
lldp tlv-enable dot1-tlv { protocol-vlan-id
[ vlan-id ] | vlan-name [ vlan-id ] |
management-vid [ mvlan-id ] }
lldp agent { nearest-nontpmr |
nearest-customer } tlv-enable basic-tlv { all |
management-address-tlv [ ip-address ] |
port-description | system-capability |
system-description | system-name }
Command
system-view
interface interface-type
interface-number
244
Remarks
By default:
•
Nearest non-TPMR
bridge agents can
advertise only EVB
TLVs.
•
Nearest customer
bridge agents can
advertise basic TLVs
and IEEE 802.1
organizationally
specific TLVs (only port
and protocol VLAN ID
TLV, VLAN name TLV,
and management
VLAN ID TLV).
Nearest bridge agents
are not supported on
Layer 2 aggregate
interfaces.
By default:
•
Nearest non-TPMR
bridge agents
advertise no TLVs.
•
Nearest customer
bridge agents can
advertise only basic
TLVs.
Nearest bridge agents
are not supported on
Layer 3 aggregate
interfaces.
Remarks
N/A
N/A