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. As a best practice 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, LLDP is disabled globally. |
3. Enter Layer 3 Ethernet interface view or 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. |