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

Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

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 Load Balancing in a Smart Link Group

Configuring Load Balancing in a Smart Link Group

As shown in Figure 33-1, a dual-homing networking is used to enhance network reliability. Data flows of multiple VLANs are transmitted on the network. To use the uplinks more efficiently, the customer wants data flows to be transmitted on both uplinks and requires that the service interruption time should be restricted to the millisecond level if an uplink fails.

Figure 33-1  Load balancing in a Smart Link group

# Create VLANs on SwitchA, and configure interfaces to allow packets of these VLANs to pass through. The configurations of SwitchB, SwitchC, and SwitchD are similar to the configuration of SwitchA and are not mentioned here.

<HUAWEI> system-view
[~HUAWEI] sysname SwitchA
[*HUAWEI] commit
[~SwitchA] vlan batch 10 100 500 
[*SwitchA] interface 10ge 1/0/1
[*SwitchA-10GE1/0/1] port link-type trunk
[*SwitchA-10GE1/0/1] port trunk allow-pass vlan 10 100 500
[*SwitchA-10GE1/0/1] commit
[~SwitchA-10GE1/0/1] quit
[~SwitchA] interface 10ge 1/0/2
[~SwitchA-10GE1/0/2] port link-type trunk
[*SwitchA-10GE1/0/2] port trunk allow-pass vlan 10 100 500
[*SwitchA-10GE1/0/2] commit
[~SwitchA-10GE1/0/2] quit

# Map VLAN 500 to instance 10 on SwitchA.

[~SwitchA] stp region-configuration
[~SwitchA-mst-region] instance 10 vlan 500
[*SwitchA-mst-region] commit
[~SwitchA-mst-region] quit

# Disable STP on uplink interfaces, add the interfaces to the Smart Link group, and specify the master and slave interfaces.

[~SwitchA] interface 10ge 1/0/1
[~SwitchA-10GE1/0/1] stp disable
[*SwitchA-10GE1/0/1] commit
[~SwitchA-10GE1/0/1] quit
[~SwitchA] interface 10ge 1/0/2
[~SwitchA-10GE1/0/2] stp disable
[*SwitchA-10GE1/0/2] commit
[~SwitchA-10GE1/0/2] quit
[~SwitchA] smart-link group 1
[*SwitchA-smlk-group1] port 10ge 1/0/1 master
[*SwitchA-smlk-group1] port 10ge 1/0/2 slave
[*SwitchA-smlk-group1] commit

# Configure load balancing on SwitchA.

[~SwitchA-smlk-group1] load-balance instance 10 slave
[*SwitchA-smlk-group1] commit

# Enable SwitchA to send Flush packets.

[~SwitchA-smlk-group1] flush send control-vlan 10 password hmac-sha256 123
[*SwitchA-smlk-group1] commit

# Enable interfaces of SwitchB, SwitchC, and SwitchD to receive Flush packets.

[~SwitchB] interface 10ge 1/0/1
[~SwitchB-10GE1/0/1] stp disable
[*SwitchB-10GE1/0/1] smart-link flush receive control-vlan 10 password hmac-sha256 123
[*SwitchB-10GE1/0/1] commit
[~SwitchB-10GE1/0/1] quit
[~SwitchB] interface 10ge 1/0/2
[~SwitchB-10GE1/0/2] smart-link flush receive control-vlan 10 password hmac-sha256 123
[*SwitchB-10GE1/0/2] commit
[~SwitchB-10GE1/0/2] quit

# Enable the Smart Link group on SwitchA.

[~SwitchA-smlk-group1] smart-link enable
[*SwitchA-smlk-group1] commit
[~SwitchA-smlk-group1] quit
Translation
Download
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 196000

Downloads: 3214

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