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 can 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
Enter
Ethernet
Ethernet
interface view
interface
view or port
Enter port
group view
group view
Enable LLDP to advertise
management address TLVs,
and optionally, configure a
management IP address if
needed
Configure the encoding
format of the management
address to character string
Setting Other LLDP Parameters
The TTL TLV carried in an LLDPDU determines how long the device information carried in the LLDPDU
can be saved on a recipient device.
You can configure the TTL of locally sent LLDP frames to determine how long information about the
local device can be saved on a neighbor device by setting the TTL multiplier. The TTL is expressed as
follows:
As the expression shows, the TTL can be up to 65535 seconds. TTLs greater than it will be rounded
down to 65535 seconds.
Follow these steps to change the TTL multiplier:
To do...
Enter system view
Set the TTL multiplier
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
TTL = Min (65535, (TTL multiplier × LLDPDU transmit interval))
Use the command...
system-view
lldp hold-multiplier value
—
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.
1-9
Remarks
Remarks
—
Optional
4 by default.