Operation Manual – VRRP
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1
VRRP Configuration
1-16
# Create backup group 1.
[LSW-A-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
# Set the priority for backup group 1.
[LSW-A-Vlan-interface2] vrrp vrid 1 priority 150
# Create backup group 2.
[LSW-A-Vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112
z Configure Switch B.
# Configure VLAN 2.
<LSW-B> system-view
System View: return to User View with Ctrl+Z.
[LSW-B] vlan 2
[LSW-B-vlan2] port Ethernet 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 backup group 1.
[LSW-B-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
# Create backup group 2.
[LSW-B-Vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112
# Set the priority for backup group 2.
[LSW-B-Vlan-interface2] vrrp vrid 2 priority 110
Note:
Normally, multiple backup groups are used in actual use.
1.4.4 Port Tracking Configuration Example
I. Network requirements
z Backup group 1 comprises two switches, which operate as the master switch and
the backup switch.
z The actual IP addresses of the master and the backup switches are 10.100.10.2
and 10.100.10.3 respectively.
z The master switch is connected to the upstream network through its Ethernet1/0/1
port. The backup switch is connected to the upstream network through its
Ethernet1/0/2 port.
z The virtual router IP address of the backup group is 10.100.10.1.