The lldp enable command enables Link Layer Discovery Protocol (LLDP) globally.
The undo lldp enable command disables LLDP globally.
By default, LLDP is enabled globally.
Usage Scenario
LLDP is a Layer 2 discovery protocol defined in IEEE 802.1ab. LLDP enables the NMS to learn Layer 2 information about managed devices. The information includes names of interfaces used by one device to connect to other devices and connections between devices. LLDP enables some NMS software to analyze the issues of only the Layer 3 network topology structure.
With LLDP, the NMS can manage networks of larger scales and obtain more specific information about network topology and interface changes. Before you view the status of specific Layer 2 links between devices and analyze network topology, run this command to enable LLDP globally.Configuration Impact
After LLDP is enabled globally, LLDP is enabled on all interfaces by default. Specifically, all interfaces can exchange LLDP packets with neighboring nodes. Exchange of mass LLDP packets will consume many system resources and may affect user services.
Follow-up Procedure
Run the undo lldp enable command in the interface view to disable LLDP on specified interfaces if required, so that less system resources are consumed and user services can be properly handled.
Precautions
LLDP can be enabled globally or on an interface. The relationships between the two functions are as follows:
Disabling LLDP globally does not affect the LLDP trap function. That is, the LLDP trap function is still enabled.