Context
LLDP can be enabled in the system view and the interface
view:
- When LLDP is enabled in the system view, LLDP is enabled on all
interfaces.
- When LLDP is disabled in the system view, LLDP is disabled on
all interfaces.
- An interface can send and receive LLDP packets only after LLDP
is enabled in both the system view and the interface view.
- After LLDP is disabled globally, the commands for enabling and
disabling LLDP on an interface do not take effect.
- If LLDP needs to be disabled on some interfaces, first enable
LLDP globally, and run the undo lldp enable command on these interfaces. To re-enable LLDP on these interfaces,
run the lldp enable command in the views of these
interfaces.
The lldp enable (interface view) command can be executed only on an Ethernet interface, regardless of whether it works at Layer 2 or Layer 3 mode, but not on a
logical interface such as a VLANIF or Eth-Trunk interface. For an Eth-Trunk interface, LLDP can only be enabled on its member interfaces. LLDP-enabled interfaces and LLDP-disabled interfaces can exist in the same Eth-Trunk.