Configuration Files
l
Configuration file of SwitchA
#
sysname SwitchA
#
bpdu enable
#
lldp enable
#
interface Ethernet0/0/1
undo port hybrid vlan 1
#
lldp management-address 10.10.10.1
#
return
l
Configuration file of SwitchB
#
sysname SwitchB
#
bpdu enable
#
lldp enable
#
interface Ethernet0/0/1
undo port hybrid vlan 1
#
lldp management-address 10.10.10.2
#
return
2.5.2 Example for Configuring LLDP on the Device That Has
Multiple Neighbors
After LLDP is configured on the network devices, the NMS can obtain the network topology.
The following example describes how to configure LLDP on the devices that have multiple
neighbors.
Networking Requirements
, SwitchA, SwitchB, and SwitchC are connected through an unknown
network. The unknown network is not managed by the NMS, but can transparently transmit
LLDP packets. The NMS needs to obtain Layer 2 information about SwitchA, SwitchB, and
SwitchC. By using the Layer 2 information, a network administrator can know the detailed
network topology information and configuration conflicts. These requirements can be met by
configuring LLDP on SwitchA, SwitchB, and SwitchC.
The NMS has reachable routes to SwitchA, SwitchB, and SwitchC and SNMP parameters are
set on all devices.
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
2 LLDP Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
67