3Com Switch 8800 Advanced Software V5 Configuration Guide
IPv4-Based VRRP Configuration Example 781
Network diagram
Figure 237 Network diagram for multiple VRRP standby groups configuration
Configuration procedure
1 Configure Switch A
# Configure VLAN 2.
<SysnameA> system-view
[SysnameA] vlan 2
[SysnameA-vlan2] port ethernet 2/1/3
[SysnameA-vlan2] quit
[SysnameA] interface vlan-interface 2
[SysnameA-Vlan-interface2] ip address 202.38.160.1 255.255.255.0
# Create standby group 1 and configure its virtual IP address as 202.38.160.111.
[SysnameA-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
# Set the priority of Switch A in standby group 1 to 110.
[SysnameA-Vlan-interface2] vrrp vrid 1 priority 110
# Create standby group 2 and configure its virtual IP address as 202.38.160.112.
[SysnameA-Vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112
[SysnameA-Vlan-interface2] return
2 Configure Switch B
# Configure VLAN 2.
<SysnameB> system-view
[SysnameB] vlan 2
[SysnameB-vlan2] port ethernet 2/1/3
[SysnameB-vlan2] quit
[SysnameB] interface vlan-interface 2
[SysnameB-Vlan-interface2] ip address 202.38.160.2 255.255.255.0
Host A
Host B
Host C
Switch A
Switch B
Virtual IP address 1:
202.38.160.111/24
Virtual IP address 2:
202.38.160.112/24
Vlan-int2
202.38.160 .1/24
Vlan-int2
202.38.160.2/24
Gateway:
202.38.160 .111/24
Gateway:
202.38.160 .112/24
Gateway:
202.38.160 .111/24
Internet