[Member-2-vlan10]
quit
[Member-2]
interface ethernet 0/0/1
[Member-2-Ethernet0/0/1]
port link-type trunk
[Member-2-Ethernet0/0/1]
port trunk allow-pass vlan 10
[Member-2-Ethernet0/0/1]
quit
[Member-2]
interface vlanif 10
[Member-2-Vlanif10]
quit
# Configure member switch 3.
<Quidway>
system-view
[Quidway]
sysname Member-3
[Member-3]
vlan 10
[Member-3-vlan10]
quit
[Member-3]
interface ethernet 0/0/1
[Member-3-Ethernet0/0/1]
port link-type trunk
[Member-3-Ethernet0/0/1]
port trunk allow-pass vlan 10
[Member-3-Ethernet0/0/1]
quit
[Member-3]
interface vlanif 10
[Member-3-Vlanif10]
quit
Step 2
Configure NDP.
# On switches, enable NDP in the system view and on an interface.
# Configure the administrator switch.
[Administrator-1]
ndp enable
[Administrator-1]
interface ethernet 0/0/1
[Administrator-1-Ethernet0/0/1]
ndp enable
[Administrator-1-Ethernet0/0/1]
quit
[Administrator-1]
interface ethernet 0/0/2
[Administrator-1-Ethernet0/0/2]
ndp enable
[Administrator-1-Ethernet0/0/2]
quit
# Configure member switch 1.
[Member-1]
ndp enable
[Member-1]
interface ethernet 0/0/1
[Member-1-Ethernet0/0/1]
ndp enable
[Member-1-Ethernet0/0/1]
quit
[Member-1]
interface ethernet 0/0/2
[Member-1-Ethernet0/0/2]
ndp enable
[Member-1-Ethernet0/0/2]
quit
# Configure member switch 2.
[Member-2]
ndp enable
[Member-2]
interface ethernet 0/0/1
[Member-2-Ethernet0/0/1]
ndp enable
[Member-2-Ethernet0/0/1]
quit
# Configure member switch 3.
[Member-3]
ndp enable
[Member-3]
interface ethernet 0/0/1
[Member-3-Ethernet0/0/1]
ndp enable
[Member-3-Ethernet0/0/1]
quit
After the previous configuration, you can find that NDP on the administrator is in the Enable
state, the host name of the neighboring node is Device Name, and the name of the interface
connecting the neighboring node and the local interface is Port Name.
[Administrator-1]
display ndp interface ethernet 0/0/1 ethernet 0/0/2
Interface: Ethernet0/0/1
Status:
Enabled
, Packets Sent: 0, Packets Received: 11, Packets Error: 0
Neighbor 1: Aging Time: 2(s)
MAC Address : 0002-0002-0002
Port Name :
Ethernet0/0/1
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
3 HGMP Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
112