How to configure MAD on S series modular switches

For S series switches, when a cluster splits, two master switches may exist on the network, affecting network operations. In this case, you can configure MAD in direct mode for specified ports in a CSS to reduce the impact of a cluster split on the network. Alternatively, you can configure MAD in relay mode on specified Eth-Trunk ports.
1. Configuring MAD in direct mode
MAD in direct mode can only be configured on Layer 2 Ethernet ports, and ports must be in Up state.
# Configure MAD in direct mode on GigabitEthernet1/2/0/0.
[CSS] interface gigabitethernet 1/2/0/0
[CSS-GigabitEthernet1/2/0/0] mad detect mode direct //Command line format in V200R002C00 and earlier versions: dual-active detect mode direct
# Configure MAD in direct mode on GigabitEthernet2/10/0/0.
[CSS] interface gigabitethernet 2/10/0/0
[CSS-GigabitEthernet2/10/0/0] mad detect mode direct //Command line format in V200R002C00 and earlier versions: dual-active detect mode direct
2. Configuring MAD in relay mode
# In the CSS, configure MAD in relay mode for the inter-device Eth-Trunk.
[CSS] interface eth-trunk 20
[CSS-Eth-Trunk20] mad detect mode relay //Command line format in V200R002C00 and earlier versions: dual-active detect mode relay
[CSS-Eth-Trunk20] quit
[CSS] quit
# Configure MAD in relay mode on SwitchC.
[SwitchC] interface eth-trunk 20
[SwitchC-Eth-Trunk20] mad relay //Command line format in V200R002C00 and earlier versions: dual-active relay

Scroll to top