Context
LLDP can be enabled in the system view and the interface view. It performs the following
functions:
l
After LLDP is enabled in the system view, all interfaces are enabled with LLDP.
l
After LLDP is disabled in the system view, all LLDP settings are restored to the default
settings except the setting of LLDP trap. Therefore, LLDP is also disabled on all interfaces.
l
An interface can send and receive LLDP packets only after LLDP is enabled in both the
system view and the interface view.
l
After LLDP is disabled globally, the commands for enabling and disabling LLDP on an
interface do not take effect.
l
If LLDP needs to be disabled on some interfaces, enable LLDP globally first, and then 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.
NOTE
l
On an Eth-Trunk, LLDP can only be enabled on member interfaces. The interfaces enabled with LLDP
and not enabled with LLDP can exist in the same Eth-Trunk.
l
LLDP can be enabled and disabled only on the physical interfaces such as Ethernet interfaces, but
cannot be used on logical interfaces such as VLANIF interfaces and Eth-Trunk.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Step 3
Run:
undo lldp enable
LLDP is disabled on the interface.
----End
3.3.4 (Optional) Configuring an LLDP Management Address
The LLDP management address uniquely identifies a device on the NMS.
Prerequisites
LLDP has been enabled globally.
Context
If the configured management address is invalid or no management address is configured, the
system sets an IP address in the address list as the management address. The system selects the
IP address in the following priority order: loopback interface address, and then VLANIF
interface address. Among the IP addresses of the same type, the system selects the smallest one.
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
3 LLDP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
65