
or becomes inactive, the route management (RM) module notifies the VRRP backup group of
the change. After receiving the notification, the VRRP backup group changes its master device's
VRRP priority, and performs a master/backup switchover.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
[
.subinterface-number
]
The view of the interface where the VRRP backup group is configured is displayed.
Step 3
Run:
vrrp vrid
virtual-router-id
track ip route
ip-address
{
mask-address
|
mask-
length
} [
vpn-instance
vpn-instance-name
] [
reduced
value-reduced
]
The VRRP backup group is configured to track the route.
By default, if the tracked route is withdrawn or becomes inactive, the master device in the VRRP
backup group reduces its VRRP priority value by 10.
reduced
value-reduced
specifies the value by which the VRRP priority decreases if the tracked
route is withdrawn or becomes inactive. The value ranges from 1 to 255. The priority value 0 is
reserved. If a VRRP Advertisement packet carrying the priority value of 0 is received, the backup
device immediately preempts the Master state.
----End
2.9.5 Checking the Configuration
By viewing the status of a BFD session tracked by a VRRP backup group, you can check whether
the configurations are successful.
Prerequisite
The configurations of the VRRP fast switchover function are complete.
Procedure
l
Run the
display vrrp
[
interface
interface-type
interface-number
[
virtual-router-id
] ]
command to check the VRRP status.
----End
Example
Run the
display vrrp
command, and you can view that the BFD session that is tracked by VRRP
is Up. The command output is as follows:
<Huawei>
display vrrp
GigabitEthernet0/0/1 | Virtual Router 10
State : Backup
Virtual IP : 10.1.1.3
Master IP : 10.1.1.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.
91