Method used to configure association between BFD and VRRP on the AR

3

Run the vrrp vrid virtual-router-id track bfd-session session-id peer command to enable VRRP to monitor the BFD session status to implement an active/standby switchover.

Example:
#
interface Vlanif1
ip address 192.168.0.253 255.255.255.0
vrrp vrid 1 virtual-ip 192.168.0.1
vrrp vrid 1 priority 90
vrrp vrid 1 track bfd-session 20 increased 20 //Associate VRRP with BFD to implement a rapid active/standby switchover.
vrrp vrid 2 virtual-ip 192.168.0.2 //VRRP groups 1 and 2 implement load balancing.
vrrp vrid 2 track bfd-session 20 reduced 20
traffic-policy 0 inbound //Implement differentiated service through PBR.

Other related questions:
BFD and VRRP association on S series switch
For details about BFD for VRRP configuration on an S series switch, except S1700, see Example for Configuring Association Between VRRP and BFD to Implement a Rapid Active/Standby Switchover in the S1720&S2700&S3700&S5700&S6700&S7700&S9700 Typical Configuration of Typical Features.The configurations on all models are the same.

How do I configure association between VRRP and NQA test instances on an S series switch
To configure association between VRRP and NQA test instances on an S series switch (except the S1700), perform the following operations: 1. Run the system-view command to enter the system view. 2. Run the interface interface-type interface-number[.subinterface-number ] command to enter the view of the interface to which the VRRP group belongs. 3. Run the vrrp vrid virtual-router-id track nqa admin-name test-name [ reduced value-reduced ] command to configure VRRP to track an NQA test instance. By default, when the tracked NQA test instance becomes Down, the priority decreases by 10. reduced value-reduced: specifies the value by which the VRRP priority reduces if the tracked NQA test instance becomes Down. The value ranges from 1 to 255. The minimum value of the priority is 0. Priority value 0 is reserved for special use. If a backup device receives a VRRP IPv6 Advertisement packet carrying the priority value of 0, the backup device immediately preempts the Master state. Note: The NQA function is controlled by a license. The commands related to NQA can be used on a newly purchased device but does not take effect. To use the NQA function, apply for and purchase a license from a Huawei local office. VRRP can also associate with BFD or a routing protocol to implement an active/standby switchover. For detailed configuration procedure, see section "Common VRRP Operations" at S1720&S2700&S3700&S5700&S6700&S7700&S9700 Common Operation Guide. The configuration method for the S9300 is the same as that for other switch models.

Method used to configure association between the static route and NQA on the AR router
The procedure for configuring association between the static route and NQA on the AR router is as follows: Networking example: RouterA (10.1.1.1)-----(10.1.1.2) RouterB (10.2.2.0/24)---- Requirements: Association between the static route and NQA needs to be configured from RouterA to the network segment of 10.2.2.0/24. 1. Enable the NQA function on RouterA. The NQA test instance of ICMP type is used as an example: [RouterA] nqa test-instance admin icmp //Create an NQA test instance, with the administrator name admin and test instance name icmp. [RouterA-nqa-admin-icmp] test-type icmp //Specify the test instance type as ICMP. [RouterA-nqa-admin-icmp] destination-address ipv4 10.1.1.2 //Specify the IP address of the remote end. [RouterA-nqa-admin-icmp] start now //Start the NQA test instance. 2. Configure a static route and associate it with the NQA test instance. [RouterA]ip route-static 10.2.2.0 24 10.1.1.2 track nqa admin icmp Note: 1. Before configuring association between the IPv4 static route and NQA test instance, configure link layer protocol parameters of the interface so that the link protocol status is Up. 2. When NQA is associated with the static route, only the ICMP test instance can be used to check whether a route from the source to the destination is reachable. 3. When the static route is associated with NQA, the destination address of the NQA test instance must be different from that of the static route. 4. If the static route that has been associated with one NQA test instance is associated with another NQA test instance, the static route is disassociated from the original NQA test instance.

Whether AR routers support association between static routes and BFD
All AR models support association between static routes and BFD.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top