You can use policy-based route flap dampening to apply different dampening criteria to different routes. Establish one or more match clauses for an instance of a route map. Then use the set dampening command to specify the dampening values that apply to routes that pass all the match clauses for that route map. Consider the following example:
- host1(config)#route-map 21 permit 5
- host1(config-route-map)#match as-path 1
- host1(config-route-map)#set dampening 5 1000
1500 45 15
- host1(config-route-map)#exit
- host1(config)#ip as-path access-list 1 permit ^300_
Access list 1 permits routes that originate in AS 300. Instance 5 of route map 21 permits routes that match access list 1 and applies the set of dampening criteria to only those routes; in this case, routes that originate in AS 300.
You can restore the advertisement of routes suppressed as a result of policy-based route flap dampening by issuing the neighbor unsuppress-map command. You can unsuppress routes from a specified neighbor or peer group. You must specify a route map; only those routes that match the route map are unsuppressed.
neighbor unsuppress-map
- host1(config-router)#neighbor berlin5 unsuppress-map
inmap3
set dampening
- host1(config)#route-map nyc1 permit 10
- host1(config-route-map)#set dampening 5 1000
1500 45 15