BGP Optimization, Peer Groups, Peer Templates, Route Dampening and Route Refresh - part4

This is part 4 of 4. My shortish summarized version of Cisco BGP Optimization, Peer Groups, Peer Templates, Route Dampening and Route Refresh.
Optimizations:
1
| |
1 2 | |
The BGP process scans the BGP table for changes for triggered updates.
1 2 3 | |
Setting a maximum prefix limit:
1 2 3 | |
Peer Groups:
- Can be used to make neighbor configurations more effecient by using templates.
- CANNOT combine iBGP and eBGP peer-groups
Example:
1 2 3 4 5 6 7 | |
Peer Templates:
- Generates single outbound update for all peers.
- Individual configurations supported for inbound updates.
Example: (peer-session)
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
Example: (peer-policy)
1 2 3 4 5 6 7 8 | |
Route Dampening:
- Controls flapping routes
- Default 5 seconds WAIT for iBGP and 30 seconds WAIT for eBGP
- Flapping route will be dampened after 3 successive flaps and for 30 minutes default.
- Every route will receive the following by default:
- Penalty = 1000
- Suppress Limit = 750
- Reuse limit = 750
- Decay algorithm = 15 minutes (Half-life)
- Maximum penalty = 4x decay algorithm = 60 minutes
Example:
1 2 3 4 5 | |
Refreshing neighbor changes without tearing down the BGP session:
- Outbound soft reconfigure =
clear ip bgp x.x.x.x soft-out(NO extra configuration needed) - Inbound soft reconfigure =
clear ip bgp x.x.x.x soft-in(MUST be pre-configured:neighbor x.x.x.x soft-reconfiguration inbound) - Route refresh ONLY =
clear ip bgp x.x.x.x soft-in(WITHOUT neighbor config as above)