发布时间: 2019-03-27 | 浏览次数: 318 | 下载次数: 0 | 作者: yWX466250 | 文档编号: EKB1100009713
AR2200(V200R007版本)设备配置双出口等价路由,联动NQA不生效。
配置的是NQA探测网关ICMP,手动shutdown其中移动外网口,内网用户上网出现中断。
关键配置如下:
ip route-static 0.0.0.0 0.0.0.0 1.x.x.254 track nqa liantong liantongwangguan
ip route-static 0.0.0.0 0.0.0.0 2.x.x.254 track nqa yidong yidongwangguan
nqa test-instance yidong yidongwangguan
test-type icmp
destination-address ipv4 2.x.x.254
frequency 20
start now
nqa test-instance liantong liantongwangguan
test-type icmp
destination-address ipv4 1.x.x.254
frequency 20
start now
无
查看NQA的测试结果,可以看到“Lost packet ratio: 0 %”,测试结果是success,这说明链路状态完好。
<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 17:09:18.1
Lost packet ratio: 0 %
但是路由表里移动接口对应的路由依然存在:
<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 //移动
Static 60 0 D 1.x.x.254 GigabitEthernet0/0/2 //联通
shutdown移动接口,但是联通的接口是UP,移动链路NQA示例状态是正常,因为ICMP报文从联通接口发出,
查找路由表能转发到移动网关。NQA探测ICMP正常,路由表不失效,但是移动接口是down,导致内网用户上网异常。
在NQA示例里指定探测的源地址,使得探测ICMP报文从指定接口发出,经测试shutdown其中一个端口,
路由失效,达到链路故障切换目的。
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
无