2 mars 2010

BGP Dampening - Part 3/3

Le dampening s'applique également lorsqu'un attribut bgp change sur un préfixe donné.
Dans ce cas, la pénalité n'est que de 500 (contre 1000 pour un flap classique).

Sur la même maquette que précédemment, on modifie l'attribut MED du préfixe 4.3.2.0/24:
R1:
!
ip prefix-list ModifyMED seq 5 permit 4.3.2.0/24 le 32
!
route-map RM_ModifyMED permit 10
match ip address prefix-list ModifyMED
set metric 12345
!
route-map RM_ModifyMED permit 20
!


Sur R2:
Avant :
R2#show ip bgp 4.3.2.0/24
BGP routing table entry for 4.3.2.0/24, version 8
Paths: (1 available, best #1, table default)
Flag: 0x10800
Not advertised to any peer
1
192.168.1.1 from 192.168.1.1 (10.1.1.254)
Origin IGP, metric 0, localpref 100, valid, external, best
!

Après application de la route-map:
R2#
*Mar 2 17:05:15.130: EvD: charge penalty 500, new accum. penalty 500, flap count 1
*Mar 2 17:05:15.134: EvD: unsuppress item left in reuse timer array with penalty 500
*Mar 2 17:05:15.138: BGP(0): charge penalty for 4.3.2.0/24 path 1 with halflife-time 15 reuse/suppress 750/2000
*Mar 2 17:05:15.138: BGP(0): flapped 1 times since 00:00:00. New penalty is 500
*Mar 2 17:05:15.142: EvD: accum. penalty 500, not suppressed
R2#show ip bgp 4.3.2.0/24
BGP routing table entry for 4.3.2.0/24, version 10
Paths: (1 available, best #1, table default)
Flag: 0x10800
Not advertised to any peer
1
192.168.1.1 from 192.168.1.1 (10.1.1.254)
Origin IGP, metric 12345, localpref 100, valid, external, best
Dampinfo: penalty 500, flapped 1 times in 00:00:04
!

NTP - ACL

NTP - Network Time Protocol Packet types: -  Control messages : don't bother with this. -  NTP request/update messages: used for time sy...