Example for Configuring DAD Through Management Interfaces
Networking Requirements
As shown in Figure 1-35, SwitchA and SwitchB set up a stack and have their management interfaces connected to the management network. It is expected that stack split detection will be performed through the management network.
Configuration Roadmap
Configure IP addresses for the stack management interfaces and configure the DAD function.
To implement DAD through management interfaces, ensure that IP addresses are configured for management interfaces. After member switches set up a stack, only one management interface MEth0/0/0/0 is displayed for the stack. You only need to configure an IP address for this management interface.
Procedure
- Configure the DAD function on the stack management interfaces.
<HUAWEI> system-view [~HUAWEI] interface meth 0/0/0/0 [~HUAWEI-MEth0/0/0/0] ip address 192.168.10.10 24 [*HUAWEI-MEth0/0/0/0] dual-active detect enable [*HUAWEI-MEth0/0/0/0] commit [~HUAWEI-MEth0/0/0/0] return
- Verify the configuration.
# Check the DAD configuration.
<HUAWEI> display dual-active Stack domainID: 10 Dual-active status: Normal Dual-active detect mode: -- Dual-active detect configuration of MEth: Enable Dual-active direct detect interfaces configured: -- Dual-active relay detect interfaces configured: -- Excluded ports(configurable): -- Excluded ports(can not be configured): 10GE1/1/0/1 10GE1/1/0/2 10GE1/1/0/3 10GE1/1/0/4 10GE2/1/0/1 10GE2/1/0/2 10GE2/1/0/3 10GE2/1/0/4
- Verify the DAD function.
After the DAD function is configured:
- If a stack split occurs, the alarm "DAD_1.3.6.1.4.1.2011.5.25.246.1.1 hwDadConflictDetect" is generated.
- If the stack recovers from a split, the alarm "DAD_1.3.6.1.4.1.2011.5.25.246.1.2 hwDadConflictResume" is generated.
If no service is configured in the stack, simulate a stack split situation to check whether the DAD function is configured successfully.Do not trigger a stack split when services are running on the stack. Otherwise, services are affected.
Trigger a stack split by disabling all ports with stack cables connected or removing all stack cables.
Run the display stack command to check whether the number of stack member switches reduces. If so, the stack has split.
- Run the display trapbuffer command to check whether there are DAD alarms.
<HUAWEI> display trapbuffer ...... Aug 15 2016 14:32:35 HUAWEI %%01DAD/1/hwDadConflictDetect(t):CID=0x807f0419-OID=1.3.6.1.4.1.2011.5.25.246.1.1;Dual-active scenario is detected.
The preceding operations verify that the DAD function has been configured successfully.
Restore the stack by enabling all ports used for stack connections or reconnecting stack cables so that the stack can be set up again.