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 Smart Link

Configuring Smart Link

Smart Link is often used in dual-homing networking to improve reliability.

Configuring Basic Functions of Smart Link

Basic functions of Smart Link can be configured to implement active/standby link redundancy and switching, improving network reliability.

Pre-configuration Tasks

Before configuring basic functions of Smart Link, complete the following tasks:

  • Establishing a physical dual-uplink network
  • Connecting interfaces and setting physical parameters of the interfaces to ensure that the physical status of the interfaces is Up
Configuration Process

Perform the following configuration tasks in sequence.

Specifying Master and Slave Interfaces in a Smart Link Group

Context

The slave interface is blocked when the Smart Link group is enabled. If the active link becomes faulty, Smart Link unblocks the slave interface and switches traffic to the standby link.

If a Smart Link switchover is performed because of temporary link disconnection, packet forwarding and system performance are affected. To address this problem, you can set the delay in reporting a port-Up or port-Down event. When the member interfaces of a Smart Link group alternate between Up and Down, the Smart Link group waits until the delay expires, and then triggers a switchover.

An interface cannot be added to a Smart Link group in the following situations:

  • The interface has been enabled with STP.
  • The interface has been added to an Eth-Trunk.
    NOTE:

    Physical ports that have been added to an Eth-Trunk cannot be added to a Smart Link. Eth-Trunks are logical ports and can be added to a Smart Link.

  • The interface has been added to a Monitor Link group.
  • The interface has been added to another Smart Link group.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    smart-link group group-id

    The Smart Link group view is displayed.

    The device supports a maximum of 48 Smart Link groups.

  3. (Optional) Run:

    protected-vlan reference-instance { instance-id1 [ to instance-id2 ] }&<1-10>

    A protection instance is bound to the Smart Link group. The Smart Link group takes effect only in the VLAN to which the protection instance is bound. If a Smart Link group is not bound to any protection instance, Smart Link is valid for all VLAN data.

  4. Run:

    port interface-type interface-number master

    A specified interface is added to the Smart Link group and is configured as the master interface of the Smart Link group.

  5. Run:

    port interface-type interface-number slave

    A specified interface is added to the Smart Link group and is configured as the slave interface of the Smart Link group.

    A Smart Link group contains one master interface and one slave interface. By default, a Smart Link group contains no interfaces.

  6. (Optional) Run:

    smart-link hold-time hold-time

    A delay in reporting a port-Up or port-Down event is configured.

    By default, the delay is 0. That is, a switchover is performed immediately.

  7. Run:

    commit

    The configuration is committed.

Configuring the Device to Send and Receive Flush Packets

Context

When a switchover occurs between active and standby links of a Smart Link group, existing forwarding entries no longer apply to the new topology. All the MAC address entries and ARP entries on the network need to be updated. Therefore, the Smart Link group needs to send Flush packets to notify other devices so that the other devices can update their MAC address entries and ARP entries. Because manufacturers define the format of Flush packets differently, the Flush packets described here are used for the intercommunication between Huawei devices only and the remote device must be configured to receive Flush packets.

An interface can receive Flush packets only when the control VLAN ID is configured on the interface and the interface is added to the control VLAN.

You do not need to configure all interfaces on the device to receive Flush packets from the specified control VLAN. This function needs to be configured only on interfaces on the active and standby links connecting the Smart Link device to the destination device.

As shown in Figure 11-83, SwitchA is configured with Smart Link. This function needs to be configured on Interface3 and Interface4 of SwitchB, Interface5 and Interface6 of SwitchC, and Interface7 and Interface8 of SwitchD.

Figure 11-83 Configuring interfaces to receive Flush packets
NOTE:

If interfaces are not configured to send and receive Flush packets, a Smart Link group uses the aging mechanism to update MAC address entries and ARP entries, causing slow convergence. It is recommended that the device is configured to send and receive Flush packets when a Smart Link group is configured, ensuring fast convergence.

Procedure

  • Configuring SwitchA to send Flush packets

    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      smart-link group group-id

      The Smart Link group view is displayed.

    3. Run:

      flush send control-vlan vlan-id [ password { simple | sha } password ]

      The Smart Link group is configured to send Flush packets, and the encryption mode, control VLAN ID, and password in Flush packets are configured. The VLAN ID specified by vlan-id must already exist on the device. If the specified VLAN ID does not exist on the device, Flush packets cannot be sent.

      The encryption mode, control VLAN ID, and password in Flush packets sent by the device must be the same as those in Flush packets received by the device.

      NOTE:
      • This command does not add member interfaces of the Smart Link group to the control VLAN. You must configure the member interfaces to allow the control VLAN.

      • SHA authentication provides higher security than simple authentication.

    4. Run:

      commit

      The configuration is committed.

  • Configuring interfaces on active and standby links of SwitchB, SwitchC, and SwitchD to receive Flush packets

    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The interface view is displayed.

    3. Run:

      smart-link flush receive control-vlan vlan-id [ password { simple | sha } password ]

      The interface is configured to receive Flush packets, and the encryption mode, control VLAN ID, and password in received Flush packets.

      The password is optional. If no password is specified, no password is used for authentication. If the control VLAN ID is changed, the password must be reconfigured.

      The encryption mode, control VLAN ID, and password in Flush packets sent by the device must be the same as those in Flush packets received by the device.

      NOTE:

      SHA authentication provides higher security than simple authentication.

    4. Run:

      commit

      The configuration is committed.

(Optional) Enabling Revertive Switching

Context

When the active link in a Smart Link group fails, the traffic is automatically switched to the standby link. After the fault is rectified, the original active link remains blocked to ensure stable traffic transmission. To enable the original active link to transmit traffic, use either of the following methods:

  • Enable revertive switching of a Smart Link group. Services are switched to the original active link when the WTR time is reached.
  • Run the smart-link manual switch command to perform link switching forcibly.
NOTE:

Services can be switched between links only when both member interfaces in a Smart Link group are in Up state.

Configure revertive switching before enabling Smart Link. If Smart Link is already enabled, revertive switching can be configured only after Smart Link is disabled.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    smart-link group group-id

    The Smart Link group view is displayed.

  3. Run:

    restore enable

    Revertive switching of the Smart Link group is enabled.

    By default, revertive switching of a Smart Link group is disabled.

  4. Run:

    timer wtr wtr-time

    The WTR time of the Smart Link group is set.

    By default, the WTR time of a Smart Link group is 60 seconds.

  5. Run:

    commit

    The configuration is committed.

Enabling Smart Link

Context

After a Smart Link group is enabled, the slave interface in the group is blocked. After the Smart Link group is disabled, the blocked standby interface is restored.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    smart-link group group-id

    The Smart Link group view is displayed.

  3. Run:

    smart-link enable

    The Smart Link group is enabled.

  4. Run:

    commit

    The configuration is committed.

Checking the Configuration

Procedure

  • Run the display smart-link group { all | group-id } command to check information about a Smart Link group.
  • Run the display smart-link flush command to check information about the received Flush packets.

Configuring Load Balancing on a Smart Link Instance

Configuring load balancing on the device can improve link efficiency.

Pre-Configuration Tasks

Before configuring load balancing on a Smart Link instance, complete the following task:

  • Configuring the basic functions of a Smart Link group

Context

Usually, the standby link in a Smart Link group is idle and does not forward service data flows. To improve link utilization efficiency in a Smart Link group, you can configure a load balancing instance for the Smart Link group. Then the standby link transmits traffic of the VLANs specified in the load balancing instance, and the active link does not transmit traffic of these VLANs. As the active and standby links transmit data traffic of different VLANs, load balancing is implemented between the two links.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    stp region-configuration

    The MTS region view is displayed.

  3. Run:

    instance instance-id vlan { vlan-id1 [ to vlan-id2 ] }&<1-10>

    The mapping between an MSTI and VLANs is configured.

    A domain supports up to 63 instances, among which Instance 0 is the default instance and does not need to be created.

    By default, all VLANs are mapped to instance 0.

  4. Run:

    commit

    The configuration is committed.

  5. Run:

    quit

    You have returned to the system view.

  6. Run:

    smart-link group group-id

    The Smart Link group view is displayed.

  7. Run:

    load-balance instance { instance-id1 [ to instance-id2 ] } &<1-10> slave

    The VLAN packets bound to the instance are sent through the standby interface to implement load balancing.

  8. Run:

    commit

    The configuration is committed.

Checking the Configuration

Run the display smart-link group { all | group-id } command to check information about a Smart Link group.

Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 59512

Downloads: 3623

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