Do VRRP configuration and NQA configuration on an AR router conflict

8

On an AR router, use VRRP and NQA association to detect uplink faults and switch over between master/backup gateways. The configurations do not conflict.
For details about the configuration, see the URL: Example for Configuring Association Between VRRP and NQA to Monitor the Uplink Status.

Other related questions:
How to associate VRRP and NQA on an AR router
On an AR router, use VRRP and NQA association to detect uplink faults and switch over between master/backup gateways. The configuration roadmap is as follows: 1. Configure IP addresses and routing protocols for different device interfaces to enable network-layer routers to be reachable. 2. Configure a VRRP group on Router A and Router B. Set priority to 120 and preemption delay to 20s on Router A and configure Router A as a master device. Set priority to a default value and configure Router B as a backup device to implement active/standby backup of gateways. 3. On Router A, configure an ICMP-type NQA test case and an IP address of a Router E interface as the destination, and check the link connectivity between Router A and Router E interfaces. 4. On Router A, configure VRRP and NQA association. When the NQA detects a link fault, it triggers the VRRP group to implement master/backup switchover. For details about the configuration, see the URL: Example for Configuring Association Between VRRP and NQA to Monitor the Uplink Status.

How do I configure NQA on the AR router
The procedure for configuring NQA on the AR router is as follows: 1. Run the system-view command to enter the system view. 2. Run the nqa test-instance command to create an NQA test instance. 3. Run the test-type command to configure the type of the NQA test instance. 4. Configure mandatory parameters based on the type of the NQA test instance. (For the NQA test instance of ICMP, the destination IP address needs to be specified. For the NQA test instance of DHCP, the source interface for sending DHCP Request messages needs to be specified. For the NQA test instance of DNS, the destination domain name needs to be specified. 5. Configure optional parameters as needed, for example, test period and timeout interval. 6. Configure association. The NQA test instance can be associated with VRRP and static route.

Example of configuring VRRP active/standby backup on an AR router
The roadmap of configuring VRRP active/standby backup on an AR router to implement gateway redundancy is as follows: 1. Configure IP addresses and routing protocols for different device interfaces to enable network-layer connection among different devices. 2. Configure a VRRP group on Router A and Router B, respectively. Configure a high priority and set preemption delay to 20s on Router A and configure Router A as a master device to bear and forward traffic. Configure a low priority and configure Router B as a backup device to implement gateway redundancy. Configure a VRRP group. # Create VRRP 1 on Router A, set its priority to 120, and set the preemption delay to 20s. [RouterA] interface gigabitethernet 2/0/0 [RouterA-GigabitEthernet2/0/0] vrrp vrid 1 virtual-ip 10.1.1.111 //Configure a virtual IP address. [RouterA-GigabitEthernet2/0/0] vrrp vrid 1 priority 120 //Set priority to 120. [RouterA-GigabitEthernet2/0/0] vrrp vrid 1 preempt-mode timer delay 20 //Set the preemption delay to 20s. [RouterA-GigabitEthernet2/0/0] quit # Create VRRP 1 on Router B, and set its priority to a default value 100. [RouterB] interface gigabitethernet 2/0/0 [RouterB-GigabitEthernet2/0/0] vrrp vrid 1 virtual-ip 10.1.1.111 [RouterB-GigabitEthernet2/0/0] quit For details about the configuration, see the URL: Example for Configuring a VRRP Group in Active/Standby Mode.

Example for associating a static route with NQA on the AR router
Requirements: There are two egresses from the AR to the destination network segment. By default, services are transmitted through the primary egress. If the primary egress fails, services are switched to the backup egress. Because intermediate devices are deployed, the AR may not detect the fault of the intermediate link or device. In this case, services cannot be immediately switched to the backup link, causing service interruptions. The procedure for associating NQA with static route on the AR router is as follows: 1. Configure an NQA test instance of ICMP. 2. Associate the static route with the NQA test instance. Example: Associate the static route with the NQA test instance admin test. When the destination IP address is unreachable, the static route is ineffective. [HUAWEI] nqa test-instance admin test //The test instance administrator is admin. Associate the static route with the NQA test instance and the test instance name is test. The two parameters can be user-defined. [HUAWEI-nqa-admin-test] test-type icmp //Configure the NQA test instance of ICMP. [HUAWEI-nqa-admin-test] destination-address ipv4 192.168.10.1 //Configure the destination address of the NQA test instance. [HUAWEI-nqa-admin-test] frequency 10 //Configure the interval between two tests. [HUAWEI-nqa-admin-test] probe-count 2 //Configure the probe count. [HUAWEI-nqa-admin-test] start now //Start the NQA test instance immediately. [HUAWEI-nqa-admin-test] q [HUAWEI] ip route-static 10.0.0.0 255.255.0.0 192.168.0.254 track nqa admin test //sociate the static route with the NQA test instance. [HUAWEI] ip route-static 10.0.0.0 255.255.0.0 192.168.1.254 preference 80 //Configure the static route of 10.0.0.0/16 and set the priority to 80.

Example of configuring VRRP load sharing of multiple gateways on an AR router
An example of configuring VRRP load sharing of multiple gateways on an AR router is as follows: In VRRP load sharing, multiple VRRP groups bear services, and each VRRP group contains a master device and multiple backup devices. The basic principle and packet negotiation procedure of VRRP load sharing are the same as those of VRRP active/standby backup. Unlike VRRP active/standby backup, multiple VRRP groups must be created to share load, the master devices of the groups can be different, and a VRRP device can be added into multiple groups and have different priorities in the groups. For details about the configuration, see the URL: Example for Configuring a VRRP Group in Multi-gateway Load Balancing Mode.

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