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.


S12700 V200R010C00 Configuration Guide - Device Management

This document describes the principles and configurations of the Device Management features, and provides configuration examples of these features.
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 MAD in Relay Mode

Example for Configuring MAD in Relay Mode

Networking Requirements

As shown in Figure 8-35, SwitchA and SwitchB set up a CSS and connect to the upstream and downstream devices through Eth-Trunks.

MAD can be used to detect dual master switches with the same configuration on the network to reduce the impact of a CSS split on the network.

Figure 8-35  Networking of MAD in relay mode

Configuration Roadmap

The configuration roadmap is as follows:
  1. Configure SwitchC as the relay agent and configure MAD in relay mode on Eth-Trunk member ports connected to SwitchC.

  2. On SwitchC, configure the MAD relay function so that MAD packets can be forwarded through the Eth-Trunk.


  1. On the CSS, configure MAD in relay mode for the inter-device Eth-Trunk.

    <HUAWEI> system-view
    [HUAWEI] interface eth-trunk 1
    [HUAWEI-Eth-Trunk1] trunkport gigabitethernet 1/2/0/5
    [HUAWEI-Eth-Trunk1] trunkport gigabitethernet 2/9/0/5
    [HUAWEI-Eth-Trunk1] mad detect mode relay
    [HUAWEI-Eth-Trunk1] quit
    [HUAWEI] quit

  2. Configure the MAD relay function on SwitchC.

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchC
    [SwitchC] interface eth-trunk 1
    [SwitchC-Eth-Trunk1] trunkport gigabitethernet 1/0/19
    [SwitchC-Eth-Trunk1] trunkport gigabitethernet 1/0/21
    [SwitchC-Eth-Trunk1] mad relay
    [SwitchC-Eth-Trunk1] quit
    [SwitchC] quit

  3. Verify the configuration.

    # Check detailed MAD configuration of the CSS.

    <HUAWEI> display mad verbose
    Current MAD domain: 0
    Current MAD status: Detect
    Mad direct detect interfaces configured:
    Mad relay detect interfaces configured:
    Excluded ports(configurable):
    Excluded ports(can not be configured):

    # Check MAD relay configuration on SwitchC.

    <SwitchC> display mad proxy
    Mad relay interfaces configured:

Configuration Files

  • CSS configuration file

    interface GigabitEthernet1/2/0/5
     eth-trunk 1
    interface GigabitEthernet2/9/0/5
     eth-trunk 1
    interface Eth-Trunk1
     mad detect mode relay
  • SwitchC configuration file

    sysname SwitchC
    interface GigabitEthernet1/0/19
     eth-trunk 1
    interface GigabitEthernet1/0/21
     eth-trunk 1
    interface Eth-Trunk1
     mad relay
Updated: 2019-08-21

Document ID: EDOC1000142080

Views: 109780

Downloads: 144

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