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

Configuration Guide - Device Management

S9300, S9300E, and S9300X V200R012C00

This document describes the configurations of Device Management, including device status query, hardware management, CSS, SVF, PoE, OPS, OIDS, energy-saving management, information center, fault management, NTP, synchronous ethernet, PTP.
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

MAD can be configured to detect multiple-master situations after a CSS split.

NOTE:

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

Configuration Procedure

Table 3-14 describes the MAD configuration procedure.

Table 3-14  MAD configuration procedure
No. Task Description Scenario Remarks

1

Configuring MAD in Direct Mode

You can configure MAD in direct mode to perform MAD through dedicated direct links between member switches.

Configure MAD in direct mode when member switches in a CSS have idle ports. Use ordinary cables to connect these ports and use the ports for MAD only.

The direct and relay modes cannot be both configured in a CSS.

By default, MAD is not configured on a device.

2

Configuring MAD in Relay Mode

You can configure MAD in relay mode to perform MAD through the relay agent between member switches.

Configure MAD in relay mode when CSS Eth-Trunk is configured in a CSS. In relay mode, MAD relay detection is configured on Eth-Trunk ports of the CSS, 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 CSS systems as MAD relay agents for each other.

3

(Optional) Configuring Reserved Ports

You can configure a reserved port to forward service packets when a CSS splits.

When MAD detects a CSS split, multiple CSS systems 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 CSS 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 CSS split.

-

4

(Optional) Restoring Shutdown Ports to the Up State

You can restore a shutdown port to the Up state to allow the CSS in the Recovery state to work if the CSS in the Detect state fails.

When MAD detects a CSS split, two member switches compete with each other. The switch that wins the competition remains in the Detect state (normal working state) and the other switch that fails the competition enters the Recovery state (disabled state). In the Recovery state, all the service ports except reserved ports on the switch are shut down, so the switch does not forward service packets. You can restore shutdown ports to Up state so that the switch in the Recovery state can work again. For example, if the switch in the Detect state fails or is removed from the network before the CSS fault is rectified, restore the shutdown ports on the switch in the Recovery state to the Up state, so that the switch in the Recovery state can take over services from the previous active switch. This minimizes the impact of a CSS fault on services.

Perform this configuration if the CSS in the Detect state fails. When the CSS in the Detect state is working normally, do not perform this configuration.

Guidelines

  • MAD in direct mode can only be configured on Layer 2 Ethernet ports in Up state.

  • You can configure a maximum of four direct detection links for each member switch in a CSS to improve detection reliability. Ensure that one direct detection link on each member switch in a CSS works normally when multiple master switches coexist.

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

  • You can configure the relay mode on a maximum of four Eth-Trunks in a CSS to improve detection reliability. Ensure that one Eth-Trunk in each CSS works normally when multiple master switches coexist.

  • When configuring MAD in relay mode, ensure that member switches in a CSS 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 S9300, S9300E, and S9300X V200R012C00 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 CSS
          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 CSS systems functioning as the relay agent of each other
        • In each CSS
          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 CSS.

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

            NOTE:

            Two CSS systems can function as the relay agent of each other to implement MAD. The two CSS 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 CSS as reserved ports.

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

    The port used for MAD does not need to be specified as a reserved port. After a CSS 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.

    NOTE:

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

Verifying the Configuration

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

Translation
Download
Updated: 2018-09-03

Document ID: EDOC1100038289

Views: 43037

Downloads: 15

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