System information
Configuring BGP
12-21
Example
The following commands create the route map:
MOT(config)#router bgp 100
MOT(config-bgp)#bgp dampening route-map dallas
MOT(config-bgp)#route-map dallas permit 10
MOT(config-bgp)#ip as-path access-list 1
MOT(config-bgp)#set dampening 5 1000 1500 15
These commands specify AS path access list 1 as the filter to determine the permitted
ASs.
MOT(config)#ip as-path access-list 1 deny ^300
MOT(config)#ip as-path access-list 1 permit any
Clearing Route Flap Dampening
1. To clear all route dampening information, use the clear ip bgp dampening
command in Privileged EXEC mode, as shown below:
MOT#clear ip bgp dampening
2. To unsuppress a suppressed route, use the clear ip bgp dampening command in
Router BGP Configuration mode, as shown below:
MOT(config-bgp)#clear ip bgp dampening <address> <mask>
where:
address is the network IP address.
mask is the network mask applied to the address.
Example
The following example clears route dampening information about the route to
network 170.0.0.0 and unsuppresses its suppressed routes. If you do not specify the
address and mask arguments, the clear ip bgp dampening command clears route
dampening information for the entire BGP routing table.
MOT(config-bgp)#clear ip bgp dampening 170.0.0.0 255.255.0.0