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, 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:
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, Layer 2/Layer 3 aggregate interface view, or IRF physical interface view. | interface interface-type interface-number | N/A |
4. Enable LLDP. | lldp enable | By default, LLDP is enabled on a port. |
NOTE: An LLDP-enabled IRF physical interface supports only the nearest bridge agents. | ||