Got it

NQA configuration doesn’t take effect on AR2200

Latest reply: May 7, 2020 05:13:08 352 1 1 0 0

Description:

NQA binded with two equal cost routes doesn’t take effect.

NQA is configured to probe the connection of the link. Users cannot get to the internet after the interface which connects to ISP1 is shutdown.

Corresponding configuration:

ip route-static 0.0.0.0 0.0.0.0 1.x.x.254 track nqa ISP2 ISP2_GW

ip route-static 0.0.0.0 0.0.0.0 2.x.x.254 track nqa IPS1 ISP1_GW

nqa test-instance ISP1 ISP1_GW

test-type icmp

destination-address ipv4 2.x.x.254

frequency 20

start now

 

nqa test-instance ISP2 ISP2_GW

test-type icmp

destination-address ipv4 1.x.x.254

frequency 20

start now

 

Process

From the testing result of the NQA, lost packet ratio is 0, which means the reasult is success and the link state is fine,

<Huawei> display nqa results test-instance yidong yidongwangguan

  NQA entry(admin, icmp) :testflag is inactive ,testtype is icmp                 

  1 . Test 1 result   The test is finished                                     

   Send operation times: 3           Receive response times: 3              

   Completion:success              RTD OverThresholds number: 0           

   Attempts number:1               Drop operation number:0                

   Disconnect operation number:0   Operation timeout number:0             

   System busy operation number:0      Connection fail number:0                

   Operation sequence errors number:0  RTT Status errors number:0             

   Destination ip address:2.x.x.254                                         

   Min/Max/Average Completion Time: 2/2/2                                      

   Sum/Square-Sum  Completion Time: 6/12                                       

   Last Good Probe Time: 2015-09-18 09:09.1                                 

   Lost packet ratio: 0 %

 

The route towards to the ISP1 exists.

<AR>dis ip routing-table

Route Flags: R - relay, D - download to fib

------------------------------------------------------------------------------

Routing Tables: Public

         Destinations : 6       Routes : 6

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

     0.0.0.0/0   Static  60   0           D   2.x.x.254     GigabitEthernet0/0/1    //ISP1

                Static  60   0           D   1.x.x.254   GigabitEthernet0/0/2    //ISP2

 

Root cause

G0/0/2 is up though the interface G0/0/1 is shutdown. The NQA testing result is normal because of the probe packet is sent from interface G0/0/2, which doesn’t deactivate the ISP1 route.

 

Solution

Assign the source IP address of the probe packets.

nqa test-instance yidong yidongwangguan

test-type icmp

destination-address ipv4 2.x.x.254

source-address ipv4 2.x.x.1

frequency 20

start now

 

nqa test-instance liantong liantongwangguan

test-type icmp

destination-address ipv4 1.x.x.254

source-address ipv4 1.x.x.1

frequency 20

start now


Interesting solution!
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.