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

S1720, S2700, S5700, and S6720 V200R011C10

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 Direct Mode

Example for Configuring MAD in Direct Mode

Networking Requirements

As shown in Figure 9-44, SwitchA and SwitchB set up a stack. The stack IDs of SwitchA and SwitchB are 0 and 1 respectively.

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

Figure 9-44  Networking of DAD in direct mode

Configuration Roadmap

The configuration roadmap is as follows:

  • Configure MAD in direct mode on a specified port.

Procedure

  1. Configure MAD in direct mode on a specified port.

    # Configure MAD in direct mode on GigabitEthernet0/0/5.

    <HUAWEI> system-view
    [HUAWEI] interface gigabitethernet 0/0/5
    [HUAWEI-GigabitEthernet0/0/5] mad detect mode direct
    Warning: This command will block the port, and no other configuration running on
     this port is recommended. Continue?[Y/N]:y 
    [HUAWEI-GigabitEthernet0/0/5] quit
    [HUAWEI] quit

    # Configure MAD in direct mode on GigabitEthernet1/0/5.

    <HUAWEI> system-view
    [HUAWEI] interface gigabitethernet 1/0/5
    [HUAWEI-GigabitEthernet1/0/5] mad detect mode direct
    Warning: This command will block the port, and no other configuration running on
     this port is recommended. Continue?[Y/N]:y 
    [HUAWEI-GigabitEthernet1/0/5] quit
    [HUAWEI] quit
    

  2. Verify the configuration.

    # Check detailed MAD configuration of the stack.

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

  3. Verify the MAD function.

    After the MAD function has been configured successfully:
    • The system can generate an alarm of MAD_1.3.6.1.4.1.2011.5.25.246.1.1 hwMadConflictDetect if the stack splits.
    • When the stack recovers, the system generates an alarm of MAD_1.3.6.1.4.1.2011.5.25.246.1.2 hwMadConflictResume.

    If no service is configured in the stack, perform the following steps to check whether the MAD function has been configured successfully:

    1. Enable the alarm display function in the user view.

      <HUAWEI> terminal monitor
      <HUAWEI> terminal trapping

    2. Simulate a stack split situation by removing some stack cables. If the stack is set up through service port connections, you can also run the shutdown interface command to shut down some physical member ports in the logical stack port view.
    3. After the stack splits, you can see the following alarm on the terminal: MAD/4/MULTIACTIVEDETECTED(t):OID 1.3.6.1.4.1.2011.5.25.246.1.1 Multi-active scenario is detected.
    4. Check whether the number of member switches decreases.

      Run the display device command, and you can see that the number of member switches decreases from 2 to 1. (In this example, the member switches are S5700-28P-LI-AC.)

      <HUAWEI> display device
      S5700-28P-LI-AC's Device status:
      Slot Sub  Type                Online    Power      Register     Status   Role
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      0    -   S5700-28P-LI         Present   PowerOn    Registered   Normal   Master

    5. The preceding operations verify that the MAD function has been configured successfully.
    6. Connect the stack cables again or run the undo shutdown command to enable the physical member ports, so that the stack can be set up again.
    7. After the stack is set up again, you can see the following alarm on the terminal: MAD/4/MULTIACTIVEMERGE(t):OID 1.3.6.1.4.1.2011.5.25.246.1.2 Multi-active scenario is merged.
    8. Check whether the number of member switches restores to the original value.

      Run the display device command, and you can see that the number of member switches changes to 2. (In this example, the member switches are S5700-28P-LI-AC.)

      <HUAWEI> display device
      S5700-28P-LI-AC's Device status:
      Slot Sub  Type                Online    Power      Register     Status   Role
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      0    -   S5700-28P-LI         Present   PowerOn    Registered   Normal   Master
      1    -   S5700-28P-LI         Present   PowerOn    Registered   Normal   Standby 

Configuration Files

  • Stack configuration file

    #
    interface GigabitEthernet0/0/5
     mad detect mode direct
    #
    interface GigabitEthernet1/0/5
     mad detect mode direct
    #
    return
Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178167

Views: 208925

Downloads: 1002

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