Vrrp load balancing mode configuration example, Network requirements – H3C Technologies H3C S12500 Series Switches User Manual

Page 172

Advertising
background image

161

Admin Status : Up State : Backup

Config Pri : 100 Running Pri : 100

Preempt Mode : Yes Delay Time : 0

Become Master : 2200ms left

Auth Type : None

Virtual IP : 202.38.160.200

Master IP : 202.38.160.131

# Display the detailed information of the VRRP group on Switch B.

[SwitchB-Vlan-interface3] display vrrp verbose

IPv4 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 2

Interface Vlan-interface2

VRID : 1 Adver Timer : 1

Admin Status : Up State : Backup

Config Pri : 100 Running Pri : 100

Preempt Mode : Yes Delay Time : 0

Become Master : 2200ms left

Auth Type : None

Virtual IP : 202.38.160.100

Master IP : 202.38.160.1

Interface Vlan-interface3

VRID : 2 Adver Timer : 1

Admin Status : Up State : Master

Config Pri : 110 Running Pri : 110

Preempt Mode : Yes Delay Time : 0

Auth Type : None

Virtual IP : 202.38.160.200

Virtual MAC : 0000-5e00-0102

Master IP : 202.38.160.131

The output shows that in VRRP group 1 Switch A is the master, Switch B is the backup and hosts
with the default gateway of 202.38.160.100/25 accesses the Internet through Switch A; in VRRP

group 2 Switch A is the backup, Switch B is the master and hosts with the default gateway of

202.38.160.200/25 accesses the Internet through Switch B.

VRRP load balancing mode configuration example

Network requirements

Switch A, Switch B, and Switch C belong to VRRP group 1 with the virtual IP address of 10.1.1.1/24.
Hosts on network segment 10.1.1.0/24 use 10.1.1.1/24 as their default gateway. Use the VRRP group to
make sure that when a gateway (Switch A, Switch B, or Switch C) fails, the hosts on the LAN can access

external networks through another gateway.
VRRP group 1 is operating in load balancing mode to make good use of network resources.
Configure a track entry on Switch A, Switch B, and Switch C to monitor their own VLAN-interface 3.

When the interface on Switch A, Switch B, or Switch C fails, the weight of the corresponding switch
decreases so that another switch with a higher weight can take over.

Advertising
This manual is related to the following products: