Configuring The Management Address And Its Encoding Format; Setting Other Lldp Parameters - H3C S5120-SI Series Configuration Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

To do...
Configure the advertisable
TLVs

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 one
or a group of ports:
To do...
Enter system view
Enter Layer 2
Enter
Ethernet port
Ethernet
view
port view or
port group
Enter port
view
group view
Allow LLDP to advertise the
management address in
LLDPDUs and configure the
advertised management
address
Configure the encoding
format of the management
address as character string

Setting Other LLDP Parameters

The Time To Live TLV carried in an LLDPDU determines how long the device information carried in the
LLDPDU can be saved on a recipient device.
Use the command...
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 } }
Use the command...
system-view
interface interface-type
interface-number
port-group manual
port-group-name
lldp management-address-tlv
[ ip-address ]
lldp
management-address-format
string
1-9
Remarks
Optional
By default, all types of
LLDP TLVs except
location identification
TLV are advertisable
on a Layer 2 Ethernet
port.
Remarks
Required
Use either command
Optional
By default, the management
address is sent through
LLDPDUs, and the
management address is the
main IP address of the
lowest-ID VLAN carried on the
interface. If the VLAN is not
assigned a main IP address,
127.0.0.1 is used.
Optional
By default, the management
address is encapsulated in the
numeric format.

Advertisement

Chapters

Table of Contents
loading

Table of Contents