MAD in stack of S series fixed switches

Publication Date:  2016-11-18 Views:  153 Downloads:  0
Issue Description
MAD in stack of S series fixed switches
Solution
In V2R2 and earlier versions, the switch supports dual-active detection (DAD); in the versions later than V2R2, the switch supports multi-active detection (MAD).

Configure MAD on directly connected interfaces:
V2R2 and earlier versions:
Run the following commands on the directly connected interfaces:
[HUAWEI] interface gigabitethernet 0/0/5
[HUAWEI-GigabitEthernet0/0/5] dual-active detect mode direct
In V2R2 and later versions:
Run the following commands on the directly connected interfaces:

[HUAWEI] interface gigabitethernet 0/0/5
[HUAWEI-GigabitEthernet0/0/5] mad detect mode direct

Configure DAD in relay mode:
V2R2 and earlier versions:
(1) In a stack, configure DAD in relay mode on an inter-chassis Eth-Trunk:
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] dual-active detect mode relay
[HUAWEI-Eth-Trunk1] quit
[HUAWEI] interface gigabitethernet 0/0/5
[HUAWEI-GigabitEthernet0/0/5] eth-trunk 1
[HUAWEI-GigabitEthernet0/0/5] quit
[HUAWEI] interface gigabitethernet 1/0/5
[HUAWEI-GigabitEthernet1/0/5] eth-trunk 1
(2) Configure Eth-Trunk relay on the relay agent:
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] dual-active relay
[HUAWEI-Eth-Trunk1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] eth-trunk 1
[HUAWEI-GigabitEthernet0/0/1] quit
[HUAWEI] interface gigabitethernet 0/0/2
[HUAWEI-GigabitEthernet0/0/2] eth-trunk 1

In the versions later than V2R2:
(1) In a stack, configure MAD in relay mode on an inter-chassis Eth-Trunk:
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] mad detect mode relay
[HUAWEI-Eth-Trunk1] quit
[HUAWEI] interface gigabitethernet 0/0/5
[HUAWEI-GigabitEthernet0/0/5] eth-trunk 1
[HUAWEI-GigabitEthernet0/0/5] quit
[HUAWEI] interface gigabitethernet 1/0/5
[HUAWEI-GigabitEthernet1/0/5] eth-trunk 1
(2) Configure Eth-Trunk relay on the relay agent:
[HUAWEI] interface eth-trunk 1
[HUAWEI-Eth-Trunk1] mad relay
[HUAWEI-Eth-Trunk1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] eth-trunk 1
[HUAWEI-GigabitEthernet0/0/1] quit
[HUAWEI] interface gigabitethernet 0/0/2
[HUAWEI-GigabitEthernet0/0/2] eth-trunk 1

END