[Quidway]
sysname Member-3
[Member-3]
vlan 10
[Member-3-vlan10]
quit
[Member-3]
interface gigabitethernet 0/0/1
[Member-3-GigabitEthernet0/0/1]
port link-type trunk
[Member-3-GigabitEthernet0/0/1]
port trunk allow-pass vlan 10
[Member-3-GigabitEthernet0/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 gigabitethernet 0/0/1
[Administrator-1-GigabitEthernet0/0/1]
ndp enable
[Administrator-1-GigabitEthernet0/0/1]
quit
[Administrator-1]
interface gigabitethernet 0/0/2
[Administrator-1-GigabitEthernet0/0/2]
ndp enable
[Administrator-1-GigabitEthernet0/0/2]
quit
# Configure member switch 1.
[Member-1]
ndp enable
[Member-1]
interface gigabitethernet 0/0/1
[Member-1-GigabitEthernet0/0/1]
ndp enable
[Member-1-GigabitEthernet0/0/1]
quit
[Member-1]
interface gigabitethernet 0/0/2
[Member-1-GigabitEthernet0/0/2]
ndp enable
[Member-1-GigabitEthernet0/0/2]
quit
# Configure member switch 2.
[Member-2]
ndp enable
[Member-2]
interface gigabitethernet 0/0/1
[Member-2-GigabitEthernet0/0/1]
ndp enable
[Member-2-GigabitEthernet0/0/1]
quit
# Configure member switch 3.
[Member-3]
ndp enable
[Member-3]
interface gigabitethernet 0/0/1
[Member-3-GigabitEthernet0/0/1]
ndp enable
[Member-3-GigabitEthernet0/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 gigabitethernet 0/0/1 gigabitethernet 0/0/2
Interface: GigabitEthernet0/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 :
GigabitEthernet0/0/1
Software Version: Version 5.70 V200R006C00
Device Name :
Member-1
Port Duplex : FULL
Product Ver : S5700
Interface: GigabitEthernet0/0/2
Status:
Enabled
, Packets Sent: 6, Packets Received: 16, Packets Error: 0
Neighbor 1: Aging Time: 5(s)
MAC Address : 0003-0003-0003
Port Name :
GigabitEthernet0/0/1
Software Version: Version 5.70 V200R006C00
Device Name :
Member-2
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management
3 HGMP Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
201