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 13

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 a Smart Channel

Configuring a Smart Channel

Setting the Switch Module Working Mode

You can set the switch module working mode to the Switch or Smart Channel mode (Channel mode for short).

Context

Only the Channel mode supports the Smart Channel technology, which improves device adaptability to networks. In Switch mode, Smart Channels cannot be used and the switch module functions as a normal switch and usually uses Spanning Tree Protocol (STP) to prevent loops.

Procedure

  1. Run the working mode { channel | switch } command to change the working mode.

    By default, the Switch mode is used.

    • The switch module configuration also changes when the working mode is changed.

Setting the Fault Detection Status

If fault detection is enabled, Smart Channels will detect faults by VLAN and notify related blade servers.

Context

In non-stack mode, if a data center TOR switch or the link connecting a switch module and a TOR switch fails, NICs on related blades must detect the fault so that the blades perform a traffic switchover based on the NIC bonding mode.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the smart-channel link-down trigger error-down command to enable fault detection.

    By default, fault detection is disabled.

  3. Run the commit command to submit the configuration.

Checking the Configuration Result

In any view of the CLI, run the display error-down recovery [ interface interface-type interface-number ] command to view information about ports in the Error-down state.

Follow-up Procedure

If ports are in the Error-down state, you can recover them using any of the following methods:
  • Manually recover ports one by one. If there are not many ports in the Error-down state and you need to forcibly enable them, access the port view of the CLI and run the shutdown and undo shutdown commands for the ports, or run the restart command to restart the ports.
  • Manually recover all ports in batches. If there are many ports in the Error-down state and you need to forcibly enable all of them, run the undo smart-channel link-down trigger error-down command in the system view to restart the ports.
  • Automatic recovery. If a faulty Smart Channel recovers, the related ports in the Error-down state automatically recover.

Using Basic Functions

You can set the switch module working mode and use other basic functions to improve server adaptability to networks.

Prerequisites

Before using the basic functions of Smart Channels, perform the following:

  • Set the working mode to the Channel mode.
  • Build a physical network with multiple uplinks.
  • Connect the ports and set the physical parameters to that the physical layer of the ports is up.

Configuration Process

The following configuration tasks are displayed in execution sequence.

Creating a Smart Channel

Context

Two LAGs (Trunk A and Trunk B) are created automatically when a Smart Channel is created. If all ports in a Smart Channel are down, both LAGs are down.

The standby LAG is blocked. If the active LAG fails, traffic is switched over to the standby LAG.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the smart channel channel-id command to create a Smart Channel.

    A switch module supports a maximum of 16 Smart Channels.

    Two LAGs (Trunk A and Trunk B) are created automatically when a Smart Channel is created.

  3. Run the commit command to submit the configuration.

Adding a Port to a Smart Channel

Context

A Smart Channel works only when it contains ports.

The following ports cannot be added to a Smart Channel:

  • The port has been added to a non-default Smart Channel.
  • The port has other configurations, such as STP and VLANs.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the smart channel channel-id command to enter the Smart Channel view.
  3. Run the port member interface-type { interface-number [to interface-number ] } [Trunk A | Trunk B] command to add a port to a Smart Channel. You can also specify a LAG (Trunk A or Trunk B) to which the port is added.

    If you do not select a LAG when adding a port, the port may be automatically added to Trunk A or Trunk B through LACP when the port is up.

    By default, Smart Channel 1 contains all ports, and newly created Smart Channels do not contain ports.

  4. Run the commit command to submit the configuration.

Setting the VLAN of a Smart Channel

Context

Smart Channel 1 is in VLAN 1 by default. However, VLAN 1 of other Smart Channels is discarded. Other Smart Channels work properly only when configured with new VLANs.

Two LAGs (Trunk A and Trunk B) are created automatically when a Smart Channel is created. Setting the VLAN of a Smart Channel is actually setting the VLAN of LAGs.

  • It is recommended that you set the same VLAN for both LAGs so that the LAGs can switch over seamlessly.

  • If a Smart Channel fails, the switch module ports connected to the E9000 backplane will be disabled in the VLANs of the Smart Channel, and the port statuses are recorded as ERROR DOWN (smartch-monitor-link).

  • VLAN 1 of a non-default Smart Channel is invalid and discarded and do not forward data. If a non-default Smart Channel fails, blades in VLAN 1 of the Smart Channel are not affected.

  • Different Smart Channels cannot reside in the same VLAN (except VLAN 1); otherwise, the configuration fails.

Procedure

  1. For details, see Dividing a LAN into VLANs Based on Ports.

Follow-up Procedure

If ports are in the Error-down state, you can recover them using either of the following methods:
  • Manually recover the ports forcibly. If there are not many ports in the Error-down state and you need to forcibly enable them, access the port view of the CLI and run the shutdown and undo shutdown commands for the ports, or run the restart command.
  • Manually de-associate ports from VLANs. If there are many ports in the Error-down state, it takes too much time to recover them one by one, and you may even miss some of them. To avoid this issue, you can delete VLANs of the faulty Smart Channel. The ports in the Error-down state then recover automatically.

(Optional) Setting the Switchover Delay Time

Context

The standby LAG is blocked. If the active LAG fails, traffic is switched over to the standby LAG.

A switchover caused by intermittent disconnection of member ports affects packet forwarding and system performance. You can set the switchover delay time to solve this issue. If a Smart Channel port goes up or down (the active LAG does not fail) and standby LAG has a higher priority than the active LAG, a switchover does not occur unless the port status change still exists after the specified delay time. In this way, switchovers caused by intermittent disconnection are prevented.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the smart channel channel-id command to enter the Smart Channel view.
  3. (Optional) Run the switch delay times command to set the switchover delay time.

    By default, the delay time is 30 seconds.

  4. Run the commit command to submit the configuration.

Checking the Configuration Result

Procedure

  • Run the display working mode command to view the switch module working mode.
  • Run the display smart channel channel-id command to view the Smart Channel information.
Translation
Download
Updated: 2019-12-13

Document ID: EDOC1000041694

Views: 61518

Downloads: 3623

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