Vrrp with multiple vlans configuration example, Network requirements – H3C Technologies H3C S7500E Series Switches User Manual
Page 158
10-25
Virtual IP : 202.38.160.111
Master IP : 202.38.160.1
The above information shows that in VRRP group 1 Switch A is the master, Switch B is the
backup and packets sent from Host A to Host B are forwarded by Switch A.
If interface VLAN-interface 3 through which Switch A connects to the Internet is not available,
you can still ping Host B successfully on Host A. To view the detailed information of the VRRP
group, use the display vrrp verbose command.
# If VLAN-interface 3 on Switch A is not available, the detailed information of VRRP group 1 on
Switch A is displayed.
[SwitchA-Vlan-interface2] display vrrp verbose
IPv4 Standby Information:
Run Mode : Standard
Run Method : Virtual MAC
Total number of virtual routers : 1
Interface Vlan-interface2
VRID : 1 Adver Timer : 4
Admin Status : Up State : Backup
Config Pri : 110 Running Pri : 80
Preempt Mode : Yes Delay Time : 5
Auth Type : Simple Key : hello
Virtual IP : 202.38.160.111
Master IP : 202.38.160.2
VRRP Track Information:
Track Interface: Vlan3 State : Down Pri Reduced : 30
# When VLAN-interface 3 on Switch A is not available, the detailed information of VRRP group
1 on Switch B is displayed.
[SwitchB-Vlan-interface2] display vrrp verbose
IPv4 Standby Information:
Run Mode : Standard
Run Method : Virtual MAC
Total number of virtual routers : 1
Interface Vlan-interface2
VRID : 1 Adver Timer : 4
Admin Status : Up State : Master
Config Pri : 100 Running Pri : 100
Preempt Mode : Yes Delay Time : 5
Auth Type : Simple Key : hello
Virtual IP : 202.38.160.111
Virtual MAC : 0000-5e00-0101
Master IP : 202.38.160.2
The above information shows that when VLAN-interface 3 on Switch A is not available, the
priority of Switch A is reduced to 80 and it becomes the backup. Switch B becomes the master
and packets sent from Host A to Host B are forwarded by Switch B.
VRRP with Multiple VLANs Configuration Example
Network requirements
z
Hosts in VLAN 2 use 202.38.160.100/25 as their default gateway and hosts in VLAN 3 use
202.38.160.200/25 as their default gateway.