
# Configure Switch B.
<Quidway>
system-view
[Quidway]
sysname SwitchB
[SwitchB]
snmp-agent trap enable feature-name lldptrap
Step 2
Enable LLDP globally on Switch A and Switch B.
# Configure Switch A.
[SwitchA]
lldp enable
# Configure Switch B.
[SwitchB]
lldp enable
Step 3
Configure the management addresses of Switch A and Switch B.
# Configure Switch A.
[SwitchA]
lldp management-address 10.10.10.1
# Configure Switch B.
[SwitchB]
lldp management-address 10.10.10.2
Step 4
Configure the LLDP attributes of Switch A and Switch B.
# Configure Switch A.
[SwitchA]
lldp message-transmission interval 60
[SwitchA]
lldp message-transmission delay 9
[SwitchA]
lldp trap-interval 10
# Configure Switch B.
See the configuration of Switch A.
Step 5
Verify the configuration.
# Check whether LLDP is enabled, whether the management addresses are configured, whether
the LLDP trap function is enabled, and whether the LLDP attributes are properly set.
l
Check the configuration of Switch A.
[SwitchA]
display lldp local
System
information
Chassis
type :macAddress
Chassis ID :00e0-
fc33-0011
System
name :S9303-119
System description :Quidway
S9303
Huawei Versatile Routing Platform
Software
VRP (R) Software, Version 5.70 (S9300 V100R003C00B042
)
Copyright (c) 2003-2010 Huawei Technologies Co.,
Ltd
System capabilities
supported :bridge
System capabilities
enabled :bridge
LLDP Up time :2009/2/13
18:31:37
4 LLDP Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
4-18
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)