Same as the configurations on SwitchA.
# Configure SwitchC.
Same as the configurations on SwitchA.
Step 2 Enable SwitchA, SwitchB, and SwitchC to process LLDP BPDUs.
# Configure SwitchA.
[SwitchA] interface gigabitethernet 0/0/1
[SwitchA-interface GigabitEthernet0/0/1] bpdu enable
# Configure SwitchB.
Same as the configurations on SwitchA.
# Configure SwitchC.
Same as the configurations on SwitchA.
Step 3 Configure management addresses for SwitchA, SwitchB, and SwitchC.
# Configure SwitchA.
[SwitchA] lldp management-address 10.10.10.1
# Configure SwitchB.
[SwitchB] lldp management-address 10.10.10.2
# Configure SwitchC.
[SwitchC] lldp management-address 10.10.10.3
Step 4 Verify the configuration.
# Check whether LLDP function is enabled and management addresses are configured.
l View the configurations on SwitchA.
# View the neighbor information of SwitchA.
<SwitchA> display lldp neighbor interface gigabitethernet 0/0/1
GigabitEthernet0/0/1 has 2 neighbors:
Neighbor index : 1
Chassis type :macAddress
Chassis ID :00e0-fc33-0012
Port ID type :interfaceName
Port ID :GigabitEthernet0/0/1
Port description :HUAWEI, Quidway Series, GigabitEthernet0/0/1 Interface
System name :SwitchB
System description :Quidway
Huawei Versatile Routing Platform Software
VRP (R) Software, Version 5.70 (S5700 )
Copyright (c) 2003-2010 Huawei Technologies Co., Ltd
System capabilities supported :bridge
System capabilities enabled :bridge
Management address type :ipV4
Management address : 10.10.10.2
Expired time :118s
Port VLAN ID(PVID) :1
VLAN name of VLAN 1: VLAN1
Protocol identity :STP RSTP/MSTP LACP EthOAM CFM
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management 2 LLDP Configuration
Issue 01 (2011-10-26) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
69