BGP Dampening
       
   
BGP Dampening
发信人: ietobe()
整理人: ietobe

  IOS 11.0中首先用到BGP Dampening 来减轻路由状态不稳定对大网的影响。这里要提到route flapping 的概念,何谓route flapping? 它是指某段路由信息一会儿有,一会儿无,当去到某个网络的变为不可达之后,Internet的其余部分也应该知道这个情况,所以BGP将这个状态变化信息传递给Internet其余部分。但是倘若这个状态变化太频繁了(可能是由于物理电路有问题,不停up、down),或者是一条配错了的路由(IGP注入到EGP中),Internet就会经受1秒钟之内几百几千次的BGP状态变化,每次状态变化,BGP都要耗费CPU和进程资源去处理,因此对骨干路由器的冲击非常之大。BGP Dampening功能的出现,为解决这一问题提供了有效的工具。

 结合route map,可以更好地实现BGP Dampening的功能。Route map可以用到的评判准则有:

 指定的路由;
 AS 路径;
 BGP 字符串

 这样ISP就可以有效地防止震荡路由对网络的影响。有兴趣的读者可以参阅由Bassam Halabi.撰写的Internet Routing Architectures。

相关的指令有:

show ip bgp flap-statistics
show ip bgp flap-statistics regexp
show ip bgp flap-stastistics filter-list
show ip bgp flap-statistics x.x.x.x
show ip bgp flap-statistics x.x.x.x m.m.m.m longer-prefix
show ip bgp neighbor x.x.x.x flap-statistics
clear ip bgp flap-statistics
clear ip bgp flap-statistics regexp
clear ip bgp flap-statistics filter-list
clear ip bgp flap-statistics x.x.x.x
clear ip bgp x.x.x.x flap-statistics


 

  
    
     

<>  www.rosyou.com <>