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 16800, 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 an S Switch as a DAD Relay Agent for a Stack of CE Switches

Example for Configuring an S Switch as a DAD Relay Agent for a Stack of CE 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.

Networking Requirements

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

In this example, the two CE series switches are CE12800s, and the S series switch is an S5700.

Figure 2-24 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 S5700.

  2. On the S5700, 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] CE12800
    [*HUAWEI] commit
    [~CE12800] interface eth-trunk 10
    [*CE12800-Eth-Trunk10] trunkport 10ge 1/1/0/1
    [*CE12800-Eth-Trunk10] trunkport 10ge 2/1/0/1
    [*CE12800-Eth-Trunk10] dual-active detect mode relay
    [*CE12800-Eth-Trunk10] commit

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

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

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.

    Aug 15 2016 14:32:35 CE12800 %%01DAD/1/hwDadConflictDetect(t):CID=0x807f0419-OID=;Dual-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 CE12800
    interface Eth-Trunk10
     dual-active detect mode relay
    interface 10GE1/1/0/1
     eth-trunk 10
    interface 10GE2/1/0/1
     eth-trunk 10
  • S5700 configuration file

    sysname S5700
    interface Eth-Trunk10
     mad relay
    interface 10GE1/0/1
     eth-trunk 10
    interface 10GE1/0/2
     eth-trunk 10
Updated: 2020-01-07

Document ID: EDOC1000039339

Views: 178550

Downloads: 8167

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next