No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Typical Configuration Examples

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring a CE Switch as a DAD Relay Agent for a Stack of S Switches

Example for Configuring a CE Switch as a DAD Relay Agent for a Stack of S Switches

Applicable Products and Versions

  • CloudEngine series switches running V100R001C00 or later versions
  • The CE12800E does not support the stack function after FD-X series cards are installed.
  • S series switches of V200R003C00 or later versions.

The stack split detection function of S series switches is multi-active detection (MAD), and that of CE series switches is dual-active detection (DAD). MAD and DAD have similar functions and are referred to as DAD in this example.

The stack of S12700 switches is also called a cluster and referred to as a stack in this example.

Networking Requirements

In Figure 2-22, two S series switches set up a stack, which connects to a CE series switch through an inter-chassis Eth-Trunk. It is required that the CE series switch function as a DAD relay agent to detect the stack split.

In this example, the two S series switches are S12700s, and the CE series switch is a CE6800.

Figure 2-22 DAD

Configuration Roadmap

The configuration roadmap is as follows:
  1. On the stack, configure DAD in relay mode on the inter-chassis Eth-Trunk connected to the CE6800.

  2. On the CE6800, configure the relay function on the Eth-Trunk so that DAD packets can be forwarded through the Eth-Trunk.


  1. On the stack, configure DAD in relay mode on the Eth-Trunk.

    <HUAWEI> system-view
    [HUAWEI] sysname S12700
    [S12700] interface eth-trunk 10
    [S12700-Eth-Trunk10] trunkport xgigabitethernet 1/1/0/1
    [S12700-Eth-Trunk10] trunkport xgigabitethernet 2/1/0/1
    [S12700-Eth-Trunk10] mad detect mode relay

  2. On the CE6800, configure the relay function on the Eth-Trunk.

    <HUAWEI> system-view
    [~HUAWEI] sysname CE6800
    [*HUAWEI] commit
    [~CE6800] interface eth-trunk 10
    [*CE6800-Eth-Trunk10] trunkport 10ge 1/0/1
    [*CE6800-Eth-Trunk10] trunkport 10ge 1/0/2
    [*CE6800-Eth-Trunk10] dual-active proxy
    [*CE6800-Eth-Trunk10] commit

Verifying the Configuration

# When no service is configured on the stack after the DAD configuration is complete, trigger a stack split to verify whether the DAD function takes effect.
  • Do not trigger a stack split when services are running on the stack. Otherwise, services are affected when the stack splits.

  • Save the stack configuration before verifying the configuration.

  1. Trigger a stack split by shutting down all the ports with stack cable connected or removing all the stack cables.

  2. Log in to each member switch and run the display trapbuffer command to check whether there are DAD alarms.

    If the following alarm is generated, the DAD function takes effect.
    Mar 29 2016 15:25:47 S12700 MAD/4/MULTIACTIVEDETECTED:OID Multi-active scenario is detected.
  3. Restore all stack member ports to Up state or connect stack cables. The two switches set up a stack again.

Configuration Files

  • Stack configuration file

    sysname S12700
    interface Eth-Trunk10
     mad detect mode relay
    interface XGigabitEthernet1/1/0/1
     eth-trunk 10
    interface XGigabitEthernet2/1/0/1
     eth-trunk 10
  • CE6800 configuration file

    sysname CE6800
    interface Eth-Trunk10
     dual-active proxy
    interface 10GE1/0/1
     eth-trunk 10
    interface 10GE1/0/2
     eth-trunk 10
Updated: 2019-10-14

Document ID: EDOC1000039339

Views: 150063

Downloads: 7858

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next