ar2200配置nqa使能后不生效
2014/12/18 15:32:01點(diǎn)擊:
問題描述
ar2200通過nqa聯(lián)動(dòng)靜態(tài)路由,配置成功后故障恢復(fù)后路由不能正常切換
處理過程
1、通過查看配置,用戶按照配置案例配置。配置沒有問題
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、通過查看路由,路由表都是按照正常路由進(jìn)行轉(zhuǎn)發(fā)的,但是ping目的地址的時(shí)候是不通的
[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、通過查看nqa的發(fā)包情況都是正常發(fā)包的
[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、通過再次確認(rèn)配置其中frequency 自動(dòng)測試時(shí)間間隔配置有問題
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、通過查看路由,路由表都是按照正常路由進(jìn)行轉(zhuǎn)發(fā)的,但是ping目的地址的時(shí)候是不通的
[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、通過查看nqa的發(fā)包情況都是正常發(fā)包的
[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、通過再次確認(rèn)配置其中frequency 自動(dòng)測試時(shí)間間隔配置有問題
根因
在ICMP、SNMP、TCP或UDP類型的測試?yán),frequency取值必須大于interval和probe-count取值的乘積
默認(rèn)情況下icmp的interval時(shí)間間隔是4秒,缺省情況下,probe-count一次測試探針數(shù)目是3
解決方案
將frequency的數(shù)值配置大于12
建議與總結(jié)
自動(dòng)執(zhí)行測試的時(shí)間間隔frequency取值有以下三種情況:
在DHCP、DNS、FTP、HTTP或Trace類型的測試?yán),frequency取值必須大于timeout和probe-count取值的乘積。
在ICMP、SNMP、TCP或UDP類型的測試?yán),frequency取值必須大于interval和probe-count取值的乘積。
在Jitter測試?yán)杏腥缦玛P(guān)系:
frequency > probe-count × jitter-packetnum × interval + timeout
在基于硬件發(fā)包的Jitter測試?yán)杏腥缦玛P(guān)系:
frequency > probe-count × jitter-packetnum × interval + 6200 + (5 × timeout/3)
6200的單位為ms。
trace和lsptrace測試?yán)膄requency設(shè)置不能小于60s。
如果沒有配置結(jié)束時(shí)間,測試不能自動(dòng)停止,必須通過手動(dòng)停止。不能更改正在運(yùn)行的測試?yán)臏y試周期。
在DHCP、DNS、FTP、HTTP或Trace類型的測試?yán),frequency取值必須大于timeout和probe-count取值的乘積。
在ICMP、SNMP、TCP或UDP類型的測試?yán),frequency取值必須大于interval和probe-count取值的乘積。
在Jitter測試?yán)杏腥缦玛P(guān)系:
frequency > probe-count × jitter-packetnum × interval + timeout
在基于硬件發(fā)包的Jitter測試?yán)杏腥缦玛P(guān)系:
frequency > probe-count × jitter-packetnum × interval + 6200 + (5 × timeout/3)
6200的單位為ms。
trace和lsptrace測試?yán)膄requency設(shè)置不能小于60s。
如果沒有配置結(jié)束時(shí)間,測試不能自動(dòng)停止,必須通過手動(dòng)停止。不能更改正在運(yùn)行的測試?yán)臏y試周期。
- 上一篇:某局點(diǎn)ar2200 R3升級(jí)到R5內(nèi)網(wǎng)用戶通過公網(wǎng)訪問內(nèi)部服 2014/12/18
- 下一篇:AR2200雙WAN口路由配置 2014/12/18