Tuesday, May 10, 2011

Lab 133 - BGP Dampening using Route-Map

Prerequisites: CCNP level skills.


Topology

Pic. 1 - Topology Diagram.
Icons designed by: Andrzej Szoblik - http://www.newo.pl

Task 1
Configure R1 and R2 should apply the route dampening for prefixes 40.x.x.x according to the following:
  • Max-Suppres=50 minutes
  • Suppress=2000 points
  • Reuse=800 points
  • Half-Time=10 minutes
Prefixes 44.4.x.x should use the following dampening policy:

  • Max-Suppres=90 minutes
  • Suppress=2500 points
  • Reuse=700 points
  • Half-Time=20 minutes
Solution

Task 1
Configure R1 and R2 should apply the route dampening for prefixes 40.x.x.x according to the following:
  • Max-Suppres=50 minutes
  • Suppress=3000 points
  • Reuse=800 points
  • Half-Time=15 minutes
Prefixes 44.x.x.x should use the following dampening policy:
  • Max-Suppres=90 minutes
  • Suppress=2500 points
  • Reuse=700 points
  • Half-Time=20 minutes
R1 Configuration:
!
ip prefix-list NET_40 seq 5 permit 40.0.0.0/8 le 32
!
ip prefix-list NET_44 seq 5 permit 44.0.0.0/8 le 32
!
route-map DAMPEN permit 10
 match ip address prefix-list NET_40
 set dampening 15 800 3000 50
!        
route-map DAMPEN permit 20
 match ip address prefix-list NET_44
 set dampening 20 700 2500 90
!
router bgp 123
 no synchronization
 bgp router-id 172.16.101.1
 bgp log-neighbor-changes
 bgp dampening route-map DAMPEN
 network 172.16.101.0 mask 255.255.255.0
 neighbor 10.1.13.3 remote-as 123
 neighbor 10.1.14.4 remote-as 40
 no auto-summary
!

Verification:
Pic. 2 - R1 Dampening Policy.

R2 Configuration:
!
ip prefix-list NET_40 seq 5 permit 40.0.0.0/8 le 32
!
ip prefix-list NET_44 seq 5 permit 44.0.0.0/8 le 32
!
route-map DAMPEN permit 10
 match ip address prefix-list NET_40
 set dampening 15 800 3000 50
!        
route-map DAMPEN permit 20
 match ip address prefix-list NET_44
 set dampening 20 700 2500 90
!
router bgp 123
 no synchronization
 bgp router-id 172.16.102.2
 bgp log-neighbor-changes
 bgp dampening route-map DAMPEN
 network 172.16.102.0 mask 255.255.255.0
 neighbor 10.1.23.3 remote-as 123
 neighbor 10.1.23.3 next-hop-self
 neighbor 10.1.24.4 remote-as 40
 no auto-summary
!

Verification:
Pic. 2 - R2 Dampening Policy.