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 - Virtualization

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of virtualization, including stack and SVF.
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 DAD

Configuring DAD

Context

Dual-active detection (DAD) can detect a dual-master condition after a stack splits.

NOTE:

It is recommended that you configure DAD for a stack to minimize the impact of a stack split on services.

In Table 1-7, multiple DAD modes are available to meet different networking requirements.

Table 1-7 DAD configuration tasks

Task

Description

Configure DAD in direct mode using service ports.

If stack member switches have idle ports, you can configure DAD in direct mode on the ports.

The ports are then exclusively used for DAD and cannot forward data traffic.

Configure DAD in relay mode using Eth-Trunk.

You can configure DAD in relay mode for a stack when an inter-device Eth-Trunk is established in the stack. To use this detection mode, configure DAD in relay mode on the inter-device Eth-Trunk and enable the DAD relay function on the relay agent.

Unlike the direct mode on service ports, the relay mode does not require exclusive ports or affect service packet forwarding on the Eth-Trunk.

Configure DAD through management interfaces.

When all stack member switches connect to a management network through their management interfaces, DAD can be implemented using the management interfaces. This mode does not occupy additional ports and does not require a DAD relay agent.

(Optional) Specify excluded ports.

After the DAD detects a stack split, member switches compete to determine their active/recovery states. The member switch that fails in the competition shuts down all its service ports to prevent network flapping caused by MAC or IP address flapping. If some ports only transparently transmit packets, they do not affect network operation in a dual-active condition. If you want to retain services on these ports, specify the ports as excluded ports. These ports will not be shut down when a dual-active condition occurs.

(Optional) Set a backup IP address for a member switch.

After a stack in which DAD has been configured splits, the management interface of the switch that fails the DAD competition is shut down. The management interface is not a reserved interface by default. You can log in to this switch only through the console interface instead of the management interface.

If the backup IP address is configured for a stack member switch and the switch fails the DAD competition, enable the management interface and switch the IP address to the backup IP address to prevent conflict with the management IP addresses of other switches. You can then remotely log in to the switch to locate and rectify faults.

Management interfaces of all member switches must be connected to the management network. Otherwise, after the stack splits, users cannot log in to the switches using their backup IP address.

(Optional) Restore shutdown ports.

After the stack in which DAD has been configured splits, the switch that wins the competition retains in Active state and works normally. The other switch that fails in the competition turns to the Recovery state and shuts down all its service ports except the excluded ones. Services on the shutdown ports are interrupted. If the switch in Active state fails or is removed from the network before the stack recovers, you can restore shutdown ports on the switch in Recovery state. Then the switch takes over services on the faulty switch to minimize impact on services.

Do not perform this operation if the switch in active state is working normally. Otherwise, a dual-active condition will occur again and service ports will be shut down, causing port flapping.

NOTE:
  • In a stack, DAD in direct mode on service ports and DAD in relay mode on an Eth-Trunk are mutually exclusive and cannot be configured simultaneously. DAD in direct mode on service ports and DAD on management ports can be configured simultaneously. DAD in relay mode on an Eth-Trunk and DAD on management ports can be configured simultaneously.

  • You can configure a maximum of four direct detection links to ensure reliable DAD detection. A dual-active condition can be detected as long as one of the direct detection links is working normally.

  • You can configure DAD relay on a maximum of four Eth-Trunk interfaces to ensure reliable DAD detection. A dual-active condition can be detected as long as one of the Eth-Trunk interfaces is working normally.

  • If three or more member switches are stacked and DAD in direct mode through service ports is used, the full-mesh connection mode is recommended between stack members. That is, every two stack members are connected using cables.

    In full-mesh connection mode, every two stack members need to be connected using cables. When there are a large number of stack members, a large number of service ports will be occupied. Therefore, if there are three or more stack members, you are advised to first use DAD in relay mode through Eth-Trunk interfaces.

  • To implement DAD through management interfaces, ensure that IP addresses are configured for management interfaces. After member switches set up a stack, only one management interface MEth0/0/0 is displayed for the stack. You only need to configure an IP address for this management interface.

  • When DAD is implemented through management interfaces, a dual-active situation is detected if different stacks have management interfaces connected to the same management network and have the same stack domain ID and management IP address configured. As a result, ports on the low-priority device will become Error-Down. To prevent this problem, ensure that stacks connected to the same management network have different stack domain IDs and management IP addresses.

  • You are advised not to use DAD configured on management interfaces because the detection period is long. DAD in direct mode on service ports or DAD in relay mode on an Eth-Trunk interface is recommended.

Procedure

  1. Configure DAD.

    • Configure DAD in direct mode using service ports.

      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 dual-active detect mode direct command to enable DAD in direct mode on the service port.

        By default, DAD in direct mode is disabled on an interface.

        NOTE:
        • After DAD in direct mode is configured on a service port, the interface is blocked. The interface then processes only bridge protocol data units (BPDUs) and does not forward service packets.

        • After DAD in direct mode is configured on a service port, you are advised to disable STP on the port (STP is enabled by default) to prevent the port status change from causing the STP status change.

        • The direct detection links can also be connected through an intermediate device. DAD packets are BPDUs, so the intermediate device must be configured to transparently transmit BPDUs. For details on the configuration method, see Configuring Interface-based Layer 2 Protocol Tunneling in the CloudEngine 8800, 7800, 6800, and 5800 Series Switches Configuration - Ethernet Switching Configuration Guide.

      4. Run the commit command to commit the configuration.

    • Configure DAD in relay mode using Eth-Trunk.

      • Configure 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 dual-active detect mode relay command to configure DAD in relay mode on the Eth-Trunk interface.

          By default, DAD in relay mode is not configured on an Eth-Trunk interface.

        4. Run the commit command to commit the configuration.

      • Configure the 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 dual-active proxy command to enable the DAD relay function on the Eth-Trunk interface.

          By default, the DAD relay function is disabled on an Eth-Trunk interface.

        4. Run the commit command to commit the configuration.

    • Configure DAD through management interfaces.

      1. Run the system-view command to enter the system view.

      2. Run the interface meth 0/0/0 command to enter the management interface view.

      3. Run the dual-active detect enable command to enable DAD on the management interface.

        By default, DAD is disabled on a management interface.

      4. Run the commit command to commit the configuration.

  2. (Optional) Specify excluded ports.
    1. Run the system-view command to enter the system view.
    2. Run the dual-active exclude interface interface-type interface-number1 [ to interface-number2 ] command to specify excluded ports.

      By default, the physical ports working in stack mode are excluded ports, and all the other service ports are non-excluded ports.

    3. Run the commit command to commit the configuration.
  3. (Optional) Set a backup IP address for a member switch.
    1. Run the system-view command to enter the system view.
    2. Run the interface meth 0/0/0 command to enter the management interface view.
    3. Set a backup IPv4 address for the stack member switch.

      • Run the dual-active backup ip address ipv4-address { mask | mask-length } member { member-id | all } command to set a backup IPv4 address for the stack member switch.
      • Run the dual-active backup ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length | ipv6-address link-local } [ cga ] member { member-id | all } command to set a backup IPv6 address for the stack member switch.

        Before configuring an IPv6 address, run the ipv6 enable command in the management interface view to enable the IPv6 function on the management interface.

      By default, no backup IP address is set for a stack member switch.

      NOTE:

      The configured backup IP address cannot be the same as the IP address of the stack management interface.

    4. Run the commit command to commit the configuration.
  4. (Optional) Restore shutdown ports.
    1. Run the system-view command to enter the system view.
    2. Run the dual-active restore command to restore the ports that have been shut down by DAD.

      NOTE:

      Do not perform this operation if the switch in active state is working normally. Otherwise, a dual-active condition will occur again and service ports will be shut down, causing port flapping.

Verifying the Configuration

Run the display dual-active [ proxy ] command to check the DAD configuration.

Follow-up Procedure

After DAD is configured and a stack splits into multiple stacks, these stacks will send competition packets to each other and all the service ports except reserved ports on the switches that fail in DAD competition will enter the Error-Down state (The device records the status of an interface as Error-Down when it detects that a fault occurs. The interface in Error-Down state cannot receive or send packets and the interface indicator is off.). In the following example, a service port is in Error-Down state.
<HUAWEI> display interface 10ge 1/0/1
10GE1/0/1 current state : ERROR DOWN(dual-active-fault-event) (ifindex: 12)
Line protocol current state : DOWN     
......
After ports enter the Error-Down state, you need to rectify the link fault leading to the stack split. After the link fault is rectified, the multiple stacks will be merged, the switches that fail in DAD competition will restart automatically, and service ports in Error-Down state will recover automatically after the switches restart.
Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075367

Views: 9832

Downloads: 69

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