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

74
Ste
p
Command
Remarks
3. Set the LLDPDU transmit
interval.
lldp timer tx-interval interval
The default setting is 30
seconds.
4. Set the token bucket size for
sending LLDPDUs.
lldp max-credit credit-value The default setting is 5.
5. Set the LLDPDU transmit delay.
lldp timer tx-delay delay The default setting is 2 seconds.
6. Set the number of LLDPDUs
sent each time fast LLDPDU
transmission is triggered.
lldp fast-count count The default setting is 4.
7. Set an interval for fast LLDPDU
transmission.
lldp timer fast-interval interval The default setting is 1 second.
Setting an encapsulation format for LLDPDUs
LLDPDUs can be encapsulated in the following formats: Ethernet II or SNAP frames.
With Ethernet II encapsulation configured, an LLDP port sends LLDPDUs in Ethernet II frames.
With SNAP encapsulation configured, an LLDP port sends LLDPDUs in SNAP frames.
To set the encapsulation format for LLDPDUs to SNAP:
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. Set the encapsulation
format for LLDPDUs to
SNAP.
lldp [ agent { nearest-customer |
nearest-nontpmr } ] encapsulation snap
By default, Ethernet II
encapsulation format
applies.
NOTE:
LLDP of earlier versions requires the same encapsulation format on both ends to process LLDPDUs. For this
reason, to communicate stably with a neighboring device running LLDP of earlier versions, the local device
should be configured with the same encapsulation format.
Configuring LLDP trapping and LLDP-MED trapping
LLDP trapping or LLDP-MED trapping notifies the network management system of events such as newly
detected neighboring devices and link malfunctions.
To prevent excessive LLDP traps from being sent when the topology is unstable, set a trap transmit interval
for LLDP.
To configure LLDP trapping and LLDP-MED trapping:
Step Command Remarks
1. Enter system view.
system-view N/A