NQA+Track configuration of Routers

2022-12-01 03:45:44 Published
  • 0 Followed
  • 0Collected ,1084Browsed

Network Topology


Problem Description

The configuration is as follows, but when you ping test, NQA does not start and TRACK does not work:

RTA:

#

 version 7.1.064, Release 0821P11

#

 sysname RA

#

track 1 nqa entry admin test reaction 1

#

 system-working-mode standard

 xbar load-single

 password-recovery enable

 lpu-type f-series

#

vlan 1

#

nqa entry admin test

 type icmp-echo

  destination ip 10.2.1.4

  frequency 100

  next-hop ip 10.1.1.2

  reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only

#

 nqa schedule admin test start-time now lifetime forever

#

interface GigabitEthernet0/0

 port link-mode route

 combo enable copper

#

interface GigabitEthernet0/1

 port link-mode route

 combo enable copper

 ip address 10.1.1.1 255.255.255.0

#

interface GigabitEthernet0/2

 port link-mode route

 combo enable copper

 ip address 10.3.1.1 255.255.255.0

#

interface GigabitEthernet5/0

 port link-mode route

 combo enable copper

 ip address 20.1.1.1 255.255.255.0

#

 scheduler logfile size 16

#

 ip route-static 10.2.1.0 24 10.1.1.2

 ip route-static 30.1.1.0 24 10.1.1.2 track 1

 ip route-static 30.1.1.0 24 10.3.1.3 preference 80

#

return


RTB:

#

 version 7.1.064, Release 0821P11

#

 sysname RD

#

track 1 nqa entry admin test reaction 1

#

 system-working-mode standard

 xbar load-single

 password-recovery enable

 lpu-type f-series

#

nqa entry admin test

 type icmp-echo

  destination ip 10.1.1.1

  frequency 100

  next-hop ip 10.2.1.2

  reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only

#

 nqa schedule admin test start-time now lifetime forever

#

interface GigabitEthernet0/0

 port link-mode route

 combo enable copper

#

interface GigabitEthernet0/1

 port link-mode route

 combo enable copper

 ip address 10.2.1.4 255.255.255.0

#

interface GigabitEthernet0/2

 port link-mode route

 combo enable copper

 ip address 10.4.1.4 255.255.255.0

#

interface GigabitEthernet5/0

 port link-mode route

 combo enable copper

 ip address 30.1.1.1 255.255.255.0

#

 scheduler logfile size 16

#

 ip route-static 10.1.1.0 24 10.2.1.2

 ip route-static 20.1.1.0 24 10.2.1.2 track 1

 ip route-static 20.1.1.0 24 10.4.1.3 preference 80

#

return

Process Analysis

 Because you do not use frequency to specify the interval at which the NQA operation repeats, if you have configured the icmp echo detection type, the frequncy'interval between two consecutive operations of other types is 0 milliseconds, one detection does not reflect the real situation in the network, nqa detection works but the track module may not detect it, resulting in the track's status being Notready.

Solution

The configuration is modified as follows:

 RTA:

#

nqa entry admin test

  type icmp-echo

  destination ip 10.2.1.4

  frequency 100

  next-hop ip 10.1.1.2

  reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only

#

 RTB:

#

 nqa entry admin test

  type icmp-echo

  destination ip 10.1.1.1

  frequency 100

  next-hop ip 10.2.1.2

  reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only

 #

Please rate this case:   
0 Comments

No Comments

Add Comments: