214
Configuring BGP route dampening
Route dampening enables BGP to not select unstable routes as optimal routes. This feature applies
to EBGP routes but not to IBGP routes.
To configure BGP route dampening (IPv4):
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP view or BGP-VPN
instance view.
• Enter BGP view:
bgp as-number
• Enter BGP-VPN instance
view:
a. bgp as-number
b. ip vpn-instance
vpn-instance-name
N/A
3. Enter BGP IPv4 unicast
address family view or
BGP-VPN IPv4 unicast
address family view.
address-family ipv4
[
unicast
] N/A
4. Configure BGP route
dampening.
dampening
[ half-life-reachable
half-life-unreachable reuse
suppress ceiling |
route-policy
route-policy-name ] *
By default, BGP route
dampening is not configured.
To configure BGP route dampening (IPv6):
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP view or BGP-VPN
instance view.
• Enter BGP view:
bgp as-number
• Enter BGP-VPN instance
view:
a. bgp as-number
b. ip vpn-instance
vpn-instance-name
N/A
3. Enter BGP IPv6 unicast
address family view or
BGP-VPN IPv6 unicast
address family view.
address-family ipv6
[
unicast
] N/A
4. Configure IPv6 BGP route
dampening.
dampening
[ half-life-reachable
half-life-unreachable reuse
suppress ceiling |
route-policy
route-policy-name ] *
By default, IPv6 BGP route
dampening is not configured.
Controlling BGP path selection
By configuring BGP path attributes, you can control BGP path selection.
Specifying a preferred value for routes received
Perform this task to set a preferred value for specific routes to control BGP path selection.