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

Reminder

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

upgrade

S600-E V200R013C00 Configuration Guide - Device Management

This document describes the configurations of Device Management, including device status query, hardware management, Stack, SVF, cloud-based management, PoE, OPS, energy-saving management, information center, fault management, NTP.
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).
Configuring MAD

Configuring MAD

Context

You are advised to configure MAD to minimize the impact of a stack split on services.

MAD can be implemented in direct or relay mode. Direct and relay modes cannot be both configured in the same stack. By default, MAD is not configured on a stack.
  • Configure MAD in direct mode when member switches in a stack have idle ports. Use ordinary cables to connect these ports and use the ports for MAD only.

  • Configure MAD in relay mode when stack Eth-Trunk is configured in a stack. In relay mode, MAD relay detection is configured on Eth-Trunk ports of the stack, and the MAD relay function is enabled on a relay agent. In contrast with the direct mode, the relay mode does not occupy additional ports.

    The relay mode can be implemented in two ways: configuring a single switch as the MAD relay agent or configuring two stack systems as MAD relay agents for each other.

Guidelines

  • You can configure a maximum of eight direct detection links for each member switch and configure the relay mode on a maximum of four Eth-Trunks in a stackto improve detection reliability. Ensure that one direct detection link on each member switch and one Eth-Trunk in each stack works normally when multiple master switches coexist.

  • MAD is a Huawei proprietary protocol, and Huawei S series switches support the MAD relay function.

  • When configuring MAD in relay mode, ensure that member switches in a stack use different MAC addresses. If they use the same MAC address, the proxy device cannot forward MAD packets.

Procedure

  1. Configure MAD in direct or relay mode.

    • Configure MAD in direct mode.
      1. Run the system-view command to enter the system view.
      2. Run the interface interface-type interface-number command to enter the interface view.
      3. Run the mad detect mode direct command to configure MAD in direct mode.
      NOTE:
      • MAD packets are bridge protocol data units (BPDUs). If MAD is performed through dedicated direct links between member switches and an intermediate device, configure port-based Layer 2 protocol transparent transmission on the intermediate device. For details, see Configuring Interface-based Layer 2 Protocol Transparent Transmission in "Layer 2 Protocol Transparent Transmission Configuration" in the S600-E V200R013C00 Configuration Guide - Ethernet Switching.
      • After MAD in direct mode is configured on an interface, the STP status of the interface becomes Discarding, affecting the transmission of data packets and some protocol packets. Therefore, do not configure other services on this interface.

    • Configure MAD in relay mode.
      • Switch functioning as the relay agent
        • In the stack
          1. Run the system-view command to enter the system view.
          2. Run the interface eth-trunk trunk-id command to enter the Eth-Trunk interface view.
          3. Run the mad detect mode relay command to configure MAD in relay mode on the Eth-Trunk.
        • On the specified relay agent
          1. Run the system-view command to enter the system view.
          2. Run the interface eth-trunk trunk-id command to enter the Eth-Trunk interface view.
          3. Run the mad relay command to enable the relay function on the Eth-Trunk.
      • Two stack systems functioning as the relay agent of each other

        In each stack

        1. Run the system-view command to enter the system view.
        2. Run the mad domain domain-id command to specify the MAD domain ID for a stack.

          By default, the MAD domain ID of a stack is 0.

          NOTE:

          Two stack systems can function as the relay agent of each other to implement MAD. The two stack systems must be configured with different MAD domain IDs.

        3. Run the interface eth-trunk trunk-id command to enter the Eth-Trunk interface view.
        4. Run the mad relay command to enable the relay function on the Eth-Trunk.
        5. Run the mad detect mode relay command to configure MAD in relay mode on the Eth-Trunk.

  2. Run the quit command to return to the system view.
  3. (Optional) Run the mad exclude interface { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10> command to configure specified ports in a stack as reserved ports.

    When MAD detects a stack split, multiple stacks compete with each other. You must shut down all service ports on member switches that fail the competition, to avoid MAC address or IP address conflict.If some ports only transparently transmit packets, they do not affect network operations when a stack splits. You can configure these ports as reserved ports to ensure normal packet transmission on them. MAD does not shut down service transmission on these ports when it detects a stack split.

    By default, only stack member ports of a stack are reserved ports, and all service ports are non-reserved ports.

    After a stack splits, the port used for MAD will also be shut down.

  4. (Optional) Run the mad restore command to restore shutdown ports to the Up state.

    If the stack in Detect state fails or is removed from the network, restore the shutdown ports in the stack in Recovery state to the Up state, so that this stack can take over services from the failed or removed stack. This operation minimizes the impact of a stack fault on services.

    NOTE:

    Do not run this command when the stack in the Detect state is working normally. Otherwise, there will be multiple master switches on the network after the stack in the Recovery state is enabled.

    If the stack in the Detect state is merged with the stack in the Recovery state, the new stack remains in Recovery state. You need to run the mad restore command to restore shutdown ports to the Up state.

Verifying the Configuration

Run the display mad [ proxy | verbose ] command to verify the MAD configuration.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100066159

Views: 25511

Downloads: 3

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