ar2200配置nqa使能後不生(shēng)效

2014/12/18 15:32:01點擊:
問題描述
ar2200通(tōng)過nqa聯動靜态路由,配置成功後故障恢複後路由不能正常切換
處理(lǐ)過程
1、通(tōng)過查看配置,用戶按照配置案例配置。配置沒有(yǒu)問題
ip route-static 192.168.200.0 255.255.255.0 10.100.111.2 track nqa admin icmp
#
nqa test-instance admin icmp
test-type icmp
destination-address ipv4 10.100.111.2
frequency 2
timeout 1
start now
2、通(tōng)過查看路由,路由表都是按照正常路由進行(xíng)轉發的,但(dàn)是ping目的地址的時(shí)候是不通(tōng)的
[zdwl-R-A-nqa-admin-icmp]dis ip routing-table | include 10.100.111.2
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 120      Routes : 77      

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

  192.168.200.0/24  Static  60   0          RD   10.100.111.2    Ethernet2/0/0

[zdwl-R-A-nqa-admin-icmp]ping 10.100.111.2
  PING 10.100.111.2: 56  data bytes, press CTRL_C to break
    Request time out
    Request time out
    Request time out
    Request time out
3、通(tōng)過查看nqa的發包情況都是正常發包的
[zdwl-R-A-nqa-admin-icmp]display nqa results test-instance admin icmp

NQA entry(admin, icmp) :testflag is active ,testtype is icmp
  1 . Test 280 result   The test is finished
   Send operation times: 1              Receive response times: 0         
   Completion:no result                 RTD OverThresholds number: 0      
   Attempts number:1                    Drop operation number:0           
   Disconnect operation number:0        Operation timeout number:1        
   System busy operation number:0       Connection fail number:0          
   Operation sequence errors number:0   RTT Status errors number:0        
   Destination ip address:10.100.111.2                                  
   Min/Max/Average Completion Time: 0/0/0                               
   Sum/Square-Sum  Completion Time: 0/0                                 
   Last Good Probe Time: 0000-00-00 00:00:00.0                          
   Lost packet ratio: 100 %                                             
  2 . Test 281 result   The test is finished
   Send operation times: 1              Receive response times: 0         
   Completion:no result                 RTD OverThresholds number: 0      
   Attempts number:1                    Drop operation number:0           
   Disconnect operation number:0        Operation timeout number:1        
   System busy operation number:0       Connection fail number:0          
   Operation sequence errors number:0   RTT Status errors number:0        
   Destination ip address:10.100.111.2                                  
   Min/Max/Average Completion Time: 0/0/0                               
   Sum/Square-Sum  Completion Time: 0/0                                 
   Last Good Probe Time: 0000-00
    Request time out
4、通(tōng)過再次确認配置其中frequency 自動測試時(shí)間(jiān)間(jiān)隔配置有(yǒu)問題
根因

在ICMP、SNMP、TCP或UDP類型的測試例中,frequency取值必須大(dà)于interval和(hé)probe-count取值的乘積

默認情況下icmp的interval時(shí)間(jiān)間(jiān)隔是4秒(miǎo),缺省情況下,probe-count一次測試探針數(shù)目是3

解決方案

将frequency的數(shù)值配置大(dà)于12
建議與總結
自動執行(xíng)測試的時(shí)間(jiān)間(jiān)隔frequency取值有(yǒu)以下三種情況:
在DHCP、DNS、FTP、HTTP或Trace類型的測試例中,frequency取值必須大(dà)于timeout和(hé)probe-count取值的乘積。
在ICMP、SNMP、TCP或UDP類型的測試例中,frequency取值必須大(dà)于interval和(hé)probe-count取值的乘積。
在Jitter測試例中有(yǒu)如下關系:
frequency > probe-count × jitter-packetnum × interval + timeout
在基于硬件發包的Jitter測試例中有(yǒu)如下關系:
frequency > probe-count × jitter-packetnum × interval + 6200 + (5 × timeout/3)
6200的單位為ms。
trace和(hé)lsptrace測試例的frequency設置不能小(xiǎo)于60s。
如果沒有(yǒu)配置結束時(shí)間(jiān),測試不能自動停止,必須通(tōng)過手動停止。不能更改正在運行(xíng)的測試例的測試周期。