R0106-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V7)
112
LLDP configuration task list
Tasks at a glance
Performing basic LLDP configuration:
• (Required.) Enabling LLDP
• (Optional.) Configuring the LLDP bridge mode
• (Optional.) Setting the LLDP operating mode
• (Optional.) Setting the LLDP reinitialization delay
• (Optional.) Enabling LLDP polling
• (Optional.) Configuring the advertisable TLVs
• (Optional.) Configuring the management address and its encoding format
• (Optional.) Setting other LLDP parameters
• (Optional.) Setting an encapsulation format for LLDP frames
(Optional.) Configuring CDP compatibility
(Optional.) Configuring LLDP trapping and LLDP-MED trapping
Performing basic LLDP configuration
Enabling LLDP
To make LLDP take effect on specific ports, you must enable LLDP both globally and on these ports.
To enable LLDP:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enable LLDP globally.
lldp global enable
By default, LLDP is disabled
globally.
3. Enter Layer 2/Layer 3
Ethernet interface view, or
Layer 3 aggregate interface
view.
interface interface-type interface-number N/A
4. (Optional.) Enable LLDP.
lldp enable
By default, LLDP is enabled
on a port.
Configuring the LLDP bridge mode
The following LLDP bridge modes are available:
• Service bridge mode—In service bridge mode, LLDP supports nearest bridge agents and nearest
non-TPMR bridge agents. LLDP processes the LLDP frames with destination MAC addresses for these
agents and transparently transmits the LLDP frames with other destination MAC addresses in the
VLAN.