beautypg.com

Multiple vrrp groups configuration example, Network requirements – H3C Technologies H3C S12500-X Series Switches User Manual

Page 61

background image

53

Virtual MAC : 0000-5e00-0101

Master IP : 10.1.1.2

The output shows that when Switch A fails, Switch B takes over to forward packets from Host A to

Host B.
# Recover the link between Host A and Switch A, and display detailed information about VRRP
group 1 on Switch A.

[SwitchA-Vlan-interface2] display vrrp verbose

IPv4 Virtual Router Information:

Running Mode : Standard

Total number of virtual routers : 1

Interface Vlan-interface2

VRID : 1 Adver Timer : 100

Admin Status : Up State : Master

Config Pri : 110 Running Pri : 110

Preempt Mode : Yes Delay Time : 5

Auth Type : None

Virtual IP : 10.1.1.111

Virtual MAC : 0000-5e00-0101

Master IP : 10.1.1.1

The output shows that after Switch A resumes normal operation, it becomes the master to forward
packets from Host A to Host B.

Multiple VRRP groups configuration example

This section provides an example of configuring multiple VRRP groups on switches.

Network requirements

Switch A and Switch B form two VRRP groups. VRRP group 1 uses the virtual IP address 10.1.1.100/25 to

provide gateway service for hosts in VLAN 2, and VRRP group 2 uses the virtual IP address
10.1.1.200/25 to provide gateway service for hosts in VLAN 3, as shown in

Figure 17

.

Assign a higher priority to Switch A than Switch B in VRRP group 1, but a lower priority in VRRP group

2, to distribute the traffic from VLAN 2 and VLAN 3 between the two switches. When one of the switches

fails, the healthy switch provides gateway service for both VLANs.