R0106-HP MSR Router Series Layer 2 - LAN Switching Configuration Guide(V7)
113
• Customer bridge mode—In customer bridge mode, LLDP supports nearest bridge agents, nearest
non-TPMR bridge agents, and nearest customer 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.
To configure the LLDP bridge mode:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Configure LLDP to operate in
service bridge mode.
lldp mode service-bridge
By default, LLDP operates in
customer bridge mode.
Setting the LLDP operating mode
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2/Layer 3
Ethernet interface view, or
Layer 3 aggregate interface
view.
interface interface-type interface-number N/A
3. Set the LLDP operating
mode.
• In Layer 2 Ethernet interface view:
lldp admin-status { disable | rx | tx |
txrx }
• In Layer 3 Ethernet interface view:
lldp [ agent { nearest-customer |
nearest-nontpmr } ] admin-status
{ disable | rx | tx | txrx }
• In Layer 3 aggregate interface view:
lldp agent { nearest-customer |
nearest-nontpmr } admin-status { disable
| rx | tx | txrx }
By default:
• The nearest bridge
agent operates in txrx
mode.
• The nearest customer
bridge agent and
nearest non-TPMR
bridge agent operate in
disable mode.
In Ethernet interface view, if
no agent type is specified,
the command configures
the operating mode for
nearest bridge agents.
In aggregate interface
view, you can configure the
operating mode for only
nearest customer bridge
agents and nearest
non-TPMR bridge agents.
Setting the LLDP reinitialization delay
When the LLDP operating mode changes on a port, the port initializes the protocol state machines after
an LLDP reinitialization delay. By adjusting the delay, you can avoid frequent initializations caused by
frequent changes to the LLDP operating mode on a port.
To set the LLDP reinitialization delay for ports: