
Context
In master/backup mode, only one backup group is created. The routers have different priorities
in this backup group. The router with the highest priority serves as the master and other
routers are backups.
In load balancing mode, two backup groups or more are created. Every router has different
priorities in different backup groups. Every router plays a role based on its priority in a specific
backup group. Different priorities are set for every router to allow that the masters of VRRP
backup groups are distributed on different routers.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Step 3
Run:
vrrp vrid
virtual-router-id
priority
priority-value
The priority of the router in a VRRP backup group is configured.
By default, the priority is 100. Priority 0 is reserved for special purpose. Priority 255 is reserved
for the IP address owner and this priority cannot be configured. A priority ranges from 1 to 254.
----End
2.3.4 Checking the Configuration
By viewing the VRRP backup group status, you can check whether the configurations are
successful.
Prerequisite
The configurations of the VRRP backup group are complete.
Procedure
l
Run the
display vrrp
[
interface
interface-type
interface-number
[
virtual-router-id
] ]
[
brief
] command to check the VRRP backup group status.
----End
Example
In master/backup mode, after the configuration, run the
display vrrp
command to view the
VRRP backup group status.
<Huawei>
display vrrp
GigabitEthernet1/0/0 | Virtual Router 1
State : Master
Virtual IP : 10.137.217.1
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
2 VRRP Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
72