Multiple-Vrrp Group Configuration - H3C S5600 SERIES Operation Manual

Hide thumbs Also See for S5600 SERIES:
Table of Contents

Advertisement

When VLAN-interface 3 recovers, switch A will resume its gateway function as the master.

Multiple-VRRP Group Configuration

Network requirements
A switch can function as a backup of multiple VRRP groups.
Multiple-VRRP group configuration can implement load balancing. For example, Switch A acts as the
master of VRRP group 1 and a backup in VRRP group 2. Similarly, Switch B acts as the master of VRRP
group 2 and a backup in VRRP group 1. Some hosts in the network take virtual router 1 as the gateway,
while others take virtual router 2 as the gateway. In this way, both load balancing and mutual backup are
implemented.
Network diagram
Figure 1-5 Network diagram for multiple-VRRP group configuration
202.38.160.1/24
Virtual IP address
202.38.160.111/24
Configuration procedure
Configure Switch A.
# Configure VLAN 3.
<LSW-A> system-view
[LSW-A] vlan 3
[LSW-A-vlan3] port GigabitEthernet1/0/10
[LSW-A-vlan3] quit
[LSW-A] interface Vlan-interface 3
[LSW-A-Vlan-interface3] ip address 10.100.10.2 255.255.255.0
[LSW-A-Vlan-interface3] quit
# Configure VLAN 2.
[LSW-A] vlan 2
Host B
Internet
Vlan-int3
10.100.10.2/24
Switch A
Vlan-int2
VRRP group 1
202.38.160.3/24
Host A
10.2.3.1/24
Vlan-int3
10.100.10.3/24
Switch B
VLAN-int2
202.38.160.2/24
VRRP group 2
Virtual IP address 202.38.160.112/24
202.38.160.4/24
Host C
1-15

Advertisement

Table of Contents
loading

Table of Contents