H3C Technologies H3C S10500 Series Switches User Manual
Page 237

226
To do…
Use the command…
Remarks
Configure the advertisable TLVs
(Layer 3 Ethernet interface view)
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 } }
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.
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.
Follow these steps to configure a management address to be advertised and its encoding format on a
port or group of ports:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Layer 2/Layer
3 Ethernet interface
view
interface interface-type
interface-number
Enter
Ethernet
interface
view or port
group view
Enter port group view
port-group manual
port-group-name
Required
Use either command.
Allow LLDP to advertise the
management address in LLDPDUs and
configure the advertised management
address
lldp
management-address-tlv
[ ip-address ]
Optional
By default, the management address is
sent through LLDPDUs.
•
For a Layer 2 Ethernet port, the
management address is the main IP
address of the lowest-ID VLAN
carried on the port. If none of the
carried VLANs is assigned an IP
address, no management address
will be advertised.
•
For a Layer 3 Ethernet port, the
management address is its own IP
address. If no IP address is
configured for the Layer 3 Ethernet
port, no management address will
be advertised.
Configure the encoding format of the
management address as character
string
lldp
management-address-form
at string
Optional
By default, the management address is
encapsulated in the numeric format.