< Home

(Optional) Disabling LLDP on an Interface

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.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run undo lldp enable

    LLDP is disabled on the interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >