HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Configuration Guide

73
By default, management addresses are encoded in numeric format. If a neighbor encodes 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.
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 2 or Layer 3
Ethernet interface view.
interface interface-type
interface-number
N/A
3. Allow LLDP to advertise the
management address in
LLDPDUs and configure the
advertised management
address.
lldp [ agent { nearest-customer |
nearest-nontpmr } ] tlv-enable
basic-tlv management-address-tlv
[ ip-address ]
By default, nearest bridge agents
and nearest customer bridge
agents can advertise the
management address in LLDPDUs,
and nearest non-TPMR bridge
agents cannot advertise the
management address in LLDPDUs.
4. Configure the encoding
format of the management
address as character string.
lldp [ agent { nearest-customer |
nearest-nontpmr } ]
management-address-format
string
By default, the management
address is encapsulated in the
numeric format.
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.
By setting the TTL multiplier, you can configure the TTL of locally sent LLDPDUs, which determines how
long information about the local device can be saved on a neighboring device. The TTL is expressed by
using the following formula:
TTL = Min (65535, (TTL multiplier × LLDPDU transmit interval))
As the expression shows, the TTL can be up to 65535 seconds. TTLs greater than 65535 will be rounded
down to 65535 seconds.
Follow these guidelines when you change LLDP parameters:
To make sure that LLDP neighbors can receive LLDPDUs to update information about the current
device before it ages out, configure the LLDPDU transmit delay to be less than the TTL.
Set the LLDPDU transmit interval to be no less than four times the LLDPDU transmit delay.
If the LLDPDU transmit delay is greater than the LLDPDU transmit interval, the device uses the
LLDPDU transmit delay as the transmit interval.
To change LLDP parameters:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Set the TTL multiplier.
lldp hold-multiplier value The default setting is 4.