Operation Manual – VRRP
H3C S5600 Series Ethernet Switches
# Set the priority for VRRP group 1.
[LSW-A-Vlan-interface2] vrrp vrid 1 priority 150
# Create VRRP group 2.
[LSW-A-Vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112
Configure Switch B.
# Configure VLAN 3.
<LSW-B> system-view
[LSW-B] vlan 3
[LSW-B-vlan3] port GigabitEthernet1/0/10
[LSW-B-vlan3] quit
[LSW-B] interface Vlan-interface 3
[LSW-B-Vlan-interface3] ip address 10.100.10.3 255.255.255.0
[LSW-B-Vlan-interface3] quit
# Configure VLAN 2.
[LSW-B] vlan 2
[LSW-B-vlan2] port GigabitEthernet 1/0/6
[LSW-B-vlan2] quit
[LSW-B] interface Vlan-interface 2
[LSW-B-Vlan-interface2] ip address 202.38.160.2 255.255.255.0
# Create VRRP group 1.
[LSW-B-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
# Create VRRP group 2.
[LSW-B-Vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112
# Set the priority for VRRP group 2.
[LSW-B-Vlan-interface2] vrrp vrid 2 priority 110
Note:
Normally, multiple VRRP groups are used in actual use.
1.4.4 Port Tracking Configuration Examples
I. Network requirements
VRRP group 1 comprises two switches, which act as the master and the backup.
The actual IP addresses of the master and the backups are 10.100.10.2 and
10.100.10.3 respectively.
1-19
Chapter 1 VRRP Configuration