245
Tasks at a glance
Configuring LLDP trapping and LLDP-MED trapping
Configuring LLDP basics
Enabling LLDP
To make LLDP take effect on specific ports, you must enable LLDP both globally and on these ports.
To use LLDP together with OpenFlow, you must enable LLDP globally on OpenFlow switches. To prevent
LLDP from affecting topology discovery of OpenFlow controllers, H3C recommends that you disable LLDP
on ports of OpenFlow instances. For more information about OpenFlow, see
OpenFlow Configuration
Guide
.
To enable LLDP:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable LLDP globally.
lldp global enable
By default:
•
If the switch starts up
with empty
configuration, LLDP is
disabled globally (initial
setting).
•
If the switch starts up
with the default
configuration file, LLDP
is enabled globally
(factory default).
For more information about
empty configuration and
the default configuration
file, see
Fundamentals
Configuration Guide
.
3.
Enter Layer 2/Layer 3
Ethernet interface view,
management Ethernet
interface view, or Layer
2/Layer 3 aggregate
interface view.
interface
interface-type interface-number
N/A
4.
Enable LLDP.
lldp enable
By default, LLDP is enabled
on a port.
Configuring the LLDP bridge mode
The following LLDP bridge modes are available: