S7712交换机配置NQA与静态路由联动,NQA采用ICMP指针已失效,静态路由未失效

发布时间:  2014-12-18 浏览次数:  156 下载次数:  0
问题描述
以下是我NQA脚本:
使能NQA客户端:
nqa test-instance bloomberg icmp
   test-type icmp
frequency 5
   destination-address ipv4 zzz.zzz.zzz.zzz     
start now
display nqa results test-instance bloomberg icmp
关联静态路由:
ip route-static xxx.xxx.xxx.xxx 255.255.255.255 yyy.yyy.yyy.yyy preference 30 track nqa bloomberg icmp

NQA状态:
dis nqa results

NQA entry(bloomberg, icmp) :testflag is active ,testtype is icmp
  1 . Test 126 result   The test is finished
   Send operation times: 2              Receive response times: 0         
   Completion:no result                 RTD OverThresholds number: 0      
   Attempts number:1                    Drop operation number:2           
   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:4.4.4.4                                       
   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 127 result   The test is finished
   Send operation times: 2              Receive response times: 0         
   Completion:no result                 RTD OverThresholds number: 0      
   Attempts number:1                    Drop operation number:2           
   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:4.4.4.4                                       
   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 %  
如下:路由没有切换
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 10       Routes : 10      

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        1.1.1.1/32  Direct  0    0           D   127.0.0.1       LoopBack0
        2.2.2.2/32  Static  30   0          RD   12.12.12.2      GigabitEthernet0
/0/0
        3.3.3.3/32  OSPF    110  1           D   13.13.13.3      GigabitEthernet0
/0/1
     12.12.12.0/24  Direct  0    0           D   12.12.12.1      GigabitEthernet0
/0/0
     12.12.12.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet0
/0/0
     13.13.13.0/24  Direct  0    0           D   13.13.13.1      GigabitEthernet0
/0/1
     13.13.13.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet0
/0/1
     23.23.23.0/24  OSPF    110  2           D   13.13.13.3      GigabitEthernet0
/0/1
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0


解决方案
nqa test-instance bloomberg icmp
   test-type icmp
frequency 15--------这个值大于11就可以了,因为默认情况下每次探测发3个报文,每个报文的间隔默认是4s,即三个报文全部发出需要8s,再加上最后一个报文要等3秒超时,所以配置的值要大于11秒

END