Configuration Files
l Configuration file of Switch A
#
sysname SwitchA
#
interface Ethernet0/0/0
ip address 10.10.10.1 255.255.255.0
#
lldp enable
#
interface Eth-Trunk1
#
interface GigabitEthernet1/0/1
eth-trunk 1
#
interface GigabitEthernet1/0/2
eth-trunk 1
#
interface GigabitEthernet1/0/3
eth-trunk 1
undo lldp enable
#
lldp management-address 10.10.10.1
#
return
l Configuration file of Switch B
#
sysname SwitchB
#
interface Ethernet0/0/0
ip address 10.10.10.2 255.255.255.0
#
lldp enable
#
interface Eth-Trunk1
#
interface GigabitEthernet2/0/1
eth-trunk 1
#
interface GigabitEthernet2/0/2
eth-trunk 1
#
interface GigabitEthernet2/0/3
eth-trunk 1
undo lldp enable
#
lldp management-address 10.10.10.2
#
return
4.5.3 Example for Configuring LLDP When an Interface Has
Multiple Neighbors
Networking Requirements
As shown in Figure 4-4, links exist among Switch A, Switch B, and Switch C. The reachable
routes exist between Switch A and the NMS, and between Switch C and the NMS. Switch A,
Switch B, and Switch C need to exchange LLDP packets through the links to obtain the status
of each other. In addition, the NMS can locate Switch A and Switch C based on the management
addresses to discover the network topology.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management 4 LLDP Configuration
Issue 03 (2010-09-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4-27