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
R1 configuration
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
neighbor 10.1.14.4 next-hop-self
no auto-summary
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 15 800 3000 50
R1#sh ip bg dampening parameters
dampening 15 800 3000 50 (route-map DAMPEN 10)
Half-life time : 15 mins Decay Time : 1280 secs
Max suppress penalty: 8051 Max suppress time: 50 mins
Suppress penalty : 3000 Reuse penalty : 800
dampening 15 800 3000 50 (route-map DAMPEN 20)
Half-life time : 15 mins Decay Time : 1280 secs
Max suppress penalty: 8051 Max suppress time: 50 mins
Suppress penalty : 3000 Reuse penalty : 800
R1#
R2 configuration
router bgp 123
no synchronization
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
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
r2# sh ip bgp dampening parameters
dampening 15 800 3000 50 (route-map DAMPEN 10)
Half-life time : 15 mins Decay Time : 1280 secs
Max suppress penalty: 8051 Max suppress time: 50 mins
Suppress penalty : 3000 Reuse penalty : 800
dampening 20 700 2500 90 (route-map DAMPEN 20)
Half-life time : 20 mins Decay Time : 3190 secs
Max suppress penalty: 15816 Max suppress time: 90 mins
Suppress penalty : 2500 Reuse penalty : 700