Operation Manual – VRRP
Quidway S3900 Series Ethernet Switches-Release 1510
[LSW-A-vlan2] quit
[LSW-A] interface Vlan-interface 2
[LSW-A-Vlan-interface2] ip address 202.38.160.1 255.255.255.0
# 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
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
Backup group 1 comprises two switches, which operate as the master switch and
a backup switch.
The actual IP addresses of the master and the backup switches are 10.100.10.2
and 10.100.10.3.
Huawei Technologies Proprietary
1-16
Chapter 1 VRRP Configuration