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 VRRP Single-Gateway Load Balancing

Configuring VRRP Single-Gateway Load Balancing

In Figure 32-2, HostA and HostC are dual-homed to SwitchA and SwitchB through the Switch. Some hosts are required to forward data through SwitchA, and SwitchB is used as the backup. Some hosts are required to forward data through SwitchB, and SwitchA is used as the backup. SwitchA and SwitchB back up each other and load balance data traffic.

Figure 32-2  Configuring VRRP single-gateway load balancing

# Disable ARP fast reply.

<HUAWEI> system-view
[~HUAWEI] sysname SwitchA
[*HUAWEI] commit
[~SwitchA] arp fast-reply disable
[*SwitchA] commit
<HUAWEI> system-view
[~HUAWEI] sysname SwitchB
[*HUAWEI] commit
[~SwitchB] arp fast-reply disable
[*SwitchB] commit

# Create VRRP groups 1 and 2 on VLANIF 100 of SwitchA, and set the priority of SwitchA to 120 in VRRP group 1 (SwitchA is the master) and to 100 in VRRP group 2 (SwitchA is the backup).

[~SwitchA] interface vlanif 100
[~SwitchA-Vlanif100] vrrp vrid 1 virtual-ip 10.1.1.111
[*SwitchA-Vlanif100] vrrp vrid 1 priority 120
[*SwitchA-Vlanif100] vrrp vrid 2

# Configure VRRP group 1 as the Load-Balance Redundancy Group (LBRG) on VLANIF 100 of SwitchA, and configure VRRP group 2 as the member VRRP group of the LBRG.

[*SwitchA-Vlanif100] vrrp vrid 1 load-balance
[*SwitchA-Vlanif100] vrrp vrid 2 join load-balance-vrrp vrid 1
[*SwitchA-Vlanif100] commit
[~SwitchA-Vlanif100] quit

# Create VRRP groups 1 and 2 on VLANIF 100 of SwitchB, and set the priority of SwitchB to 100 in VRRP group 1 (SwitchB is the backup) and to 120 in VRRP group 2 (SwitchB is the master).

[~SwitchB] interface vlanif 100
[~SwitchB-Vlanif100] vrrp vrid 1 virtual-ip 10.1.1.111
[*SwitchB-Vlanif100] vrrp vrid 2
[*SwitchB-Vlanif100] vrrp vrid 2 priority 120

# Configure VRRP group 1 as the LBRG on VLANIF 100 of SwitchB, and configure VRRP group 2 as the member VRRP group of the LBRG.

[*SwitchB-Vlanif100] vrrp vrid 1 load-balance
[*SwitchB-Vlanif100] vrrp vrid 2 join load-balance-vrrp vrid 1
[*SwitchB-Vlanif100] commit
[~SwitchB-Vlanif100] quit
Translation
Download
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 141149

Downloads: 3155

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