
Data Preparation
To configure a fast VRRP switchover, you need the following data.
No.
Data
1
Backup group ID
2
The local and remote BFD session identifier
2.9.2 Tracking the BFD Session Status
By tracking the status of a BFD session, a VRRP backup group can perform a fast VRRP
switchover if the BFD session status changes.
Context
NOTE
When configuring a VRRP backup group to track the status of a BFD session, note the following points:
l
If the parameter
session-name
bfd-configure-name
is specified, the VRRP backup group can track
the status of only dynamic BFD sessions.
l
If the parameter
session-id
is specified, the VRRP backup group can track the status of only static
BFD sessions.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The view of the interface configured with a VRRP backup group is displayed.
Step 3
Run:
vrrp vrid
virtual-router-id
track
bfd-session
{
session-name
bfd-session-id
|
bfd-
configure-name
} [
increased
value-increased
|
reduced
value-reduced
]
A normal BFD session is tracked by the VRRP backup group.
increased
value-increased
: specifies the value by which the priority level increases if the tracked
BFD session goes Down. The value ranges from 1 to 255 for the IP address owner.
reduced
value-reduced
: specifies the value by which the priority level decreases if the tracked
BFD session goes Down. The value ranges from 1 to 255. The minimum value of the priority is
1. The priority 0 is reserved in the system for special use. When the backup device receives a
VRRP Advertisement packet with the priority 0, it immediately becomes the master device. By
default, if the tracked BFD sessions go Down, the value of the priority level decreases by 10.
After configuring the value by which the priority level increases or decreases, ensure that a
backup device in a backup group has a higher priority level than a master device after the master
device's priority has been changed. In this manner, the VRRP status switches rapidly.
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.
88