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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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 Enhanced Functions for a Stack

Configuring Enhanced Functions for a Stack

After a stack is set up, you can configure enhanced functions to improve stack system reliability and operability.

The enhanced functions can be configured in any sequence.

NOTE:

It is recommended that you configure dual-active detection (DAD) for a stack to minimize the impact of a split on services.

Configuring DAD

Context

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

Configuration Process

DAD is optional.Configuring DAD in Direct Mode, Configuring DAD in Relay Mode, and Configuring DAD Through Management Interfaces show methods for configuring DAD. Only one method can be selected based on actual requirements.

Configuring DAD in Direct Mode

Context

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.

NOTE:
  • The direct and relay modes cannot be configured simultaneously in a stack.

  • 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.

  • In Smart Channel mode, VLANs of the port with DAD must be different from those of the Smart Channels. If a Smart Channel fails, the ports in the VLANs of the Smart Channel are disabled (error-down), and therefore the ports cannot provide the DAD function. It is recommended that you use the operations described in Configuring DAD Through Management Interfaces.

Procedure

  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 interface.

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

    NOTE:
    • After DAD in direct mode is configured on an interface, the interface is blocked. The interface then processes only BPDUs and does not forward service packets.

    • The direct detection links can also be connected through an intermediate device. DAD packets are bridge protocol data units (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 Transparent Transmission in the CX11x&CX31x&CX91x Series Switch Modules Configuration Guide - Ethernet.

  4. Run the commit command to commit the configuration.
Configuring DAD in Relay Mode

Context

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 proxy function on the relay agent. Unlike the direct mode, the relay mode does not require exclusive ports or affect service packet forwarding on the Eth-Trunk.

NOTE:
  • The direct and relay modes cannot be configured simultaneously in a stack.

  • 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.

  • In Smart Channel mode, VLANs of the port with DAD must be different from those of the Smart Channels. If a Smart Channel fails, the ports in the VLANs of the Smart Channel are disabled (error-down), and therefore the ports cannot provide the DAD function. It is recommended that you use the operations described in Configuring DAD Through Management Interfaces.

Procedure

  • 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 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 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 proxy function on the Eth-Trunk interface.

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

    4. Run the commit command to commit the configuration.
Configuring DAD Through Management Interfaces

Context

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.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the interface meth 0/0/0 command to enter the the management interface view.
  3. Run the ip address ip-address { mask | mask-length } [ sub ] command to set the IP address of the management network port.
  4. Run the dual-active detect enable command to enable DAD on the management interface.

    By default, DAD is disabled on the management interface.

  5. Run the commit command to commit the configuration.
(Optional) Specifying Excluded Ports

Context

After the DAD module 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.

Procedure

  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:

    commit

    The configuration is committed.

(Optional) Setting the Backup IP Address

Context

After the stack system configured with DAD is split, the service interfaces and management interfaces (except reserved interfaces) on the switch that fails the competition are disabled. You can log in to the switch only through the console interface and cannot remotely log in through 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.

NOTE:

If a management interface is configured as a reserved interface, it is disabled after being configured as a non-reserved interface when the IP address is switched.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface meth 0/0/0

    The management interface view is displayed.

  3. Run:

    dual-active backup ip address ip-address { mask  | mask-length } member { member-id | all }

    The backup IP address is set for the stack member switch.

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

  4. Run:

    commit

    The configuration is committed.

(Optional) Restoring Shutdown Ports

Context

The DAD mechanism requires stack members switches to compete after a stack 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.

NOTE:

Do not use the dual-active restore command if the switch in active state is working normally. Otherwise, a dual-active condition occurs again and the service ports are shut down, causing port status flapping.

Procedure

  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.

Checking the Configuration

Procedure

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

Configuring a Stack MAC Address Switching Delay

Context

A stack is a logical switch, in which all member switches have the same MAC address. If a member switch is moved to another node on the network, its MAC address may conflict with the stack MAC address. To prevent MAC address conflicts in such conditions, configure a stack MAC address switching delay according to situations on your network. If the MAC address of the switch that leaves the stack is the stack MAC address and the switch does not join the stack within the delay time, the stack MAC address changes to the MAC address of the master switch.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the stack command to enter the stack management view.
  3. Run the set system mac-address switch-delay { delay-time | immediately } command to configure a stack MAC address switching delay.

    By default, the stack MAC address switching delay is 10 minutes. If you specify immediately in the command, the stack MAC address will change immediately after the switch with the stack MAC address leaves the stack. If you set delay-time to 0, the stack MAC address does not change.

  4. Run the commit command to commit the configuration.
Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 59172

Downloads: 3623

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