Configuring the lldp bridge mode, Setting the lldp operating mode, Assigning a trunk port to a vlan – H3C Technologies H3C S12500-X Series Switches User Manual
Page 170
159
Step Command
Remarks
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 and customer bridge mode.
•
In service bridge mode, LLDP supports nearest bridge agents and nearest non-TPMR bridge agents.
LLDP processes the LLDPDUs with destination MAC addresses for these agents and transparently
transmits the LLDPDUs with other destination MAC addresses in the VLAN.
•
In customer bridge mode, LLDP supports nearest bridge agents, nearest non-TPMR bridge agents,
and nearest customer bridge agents. LLDP processes the LLDPDUs with destination MAC addresses
for these agents and transparently transmits the LLDPDUs 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
An LLDP agent can operate in one of the following modes:
•
TxRx mode—An LLDP agent in this mode can send and receive LLDPDUs.
•
Tx mode—An LLDP agent in this mode can only send LLDPDUs.
•
Rx mode—An LLDP agent in this mode can only receive LLDPDUs.
•
Disable mode—An LLDP agent in this mode cannot send or receive LLDPDUs.
To set the LLDP operating mode:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 or Layer 3
Ethernet interface view or
Layer 2 aggregate interface
view.
interface interface-type interface-number
N/A