The trap function is applied to all interfaces. The trap function can take effect no matter whether
the LLDP function is enabled globally. If the network topology is unstable, disable the LLDP
function to prevent frequent trap sending.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
snmp-agent trap enable
The trap function is enabled.
By default, the trap function is disabled on the AR150/200.
NOTE
A reachable route exists between the AR150/200 and the network management system and the SNMP
parameters are set before enabling the LLDP trap function.
----End
3.3.8 Checking the Configuration
Prerequisites
All configurations are complete.
Procedure
l
Run the
display lldp local
[
interface
interface-type
interface-number
] command to view
local LLDP status.
l
Run the
display lldp neighbor
[
interface
interface-type
interface-number
] command to
view neighbor information of an interface.
l
Run the
display lldp neighbor brief
command to view brief information about neighbors.
l
Run the
display lldp tlv-config
command to view the TLV types supported by the interface.
----End
Example
Run the
display lldp local
command. The following information shows the LLDP status in the
system and on the interface, LLDP management address, and all timers.
<Huawei>
display lldp local
System information
Chassis type :macAddress
Chassis ID :00e0-11fc-1710
System name :Huawei
System description :Huawei AR200 Huawei Versatile Routing Platform Software V
RP (R) software,Version 5.100 (AR200 V200R002C00) Copyright (C) 2000-2011 Huawei
Technologies Co., Ltd
System capabilities supported :bridge
System capabilities enabled :bridge
LLDP Up time :2011/6/13 11:40:49
MED system information
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.
71