Step
Enter BGP view or
2.
BGP-VPN instance view.
Specify the maximum
3.
number of routes that a
router can receive from a
peer or peer group.
Configuring BGP route dampening
By configuring BGP route dampening, you can suppress unstable routes from being added to the
local routing table or from being advertised to BGP peers.
To configure BGP route dampening:
Step
Enter system view.
1.
Enter BGP view or
2.
BGP-VPN instance view.
Configure BGP route
3.
dampening.
Controlling BGP path selection
By configuring BGP path attributes, you can control BGP path selection.
Specifying a preferred value for routes received
This task allows you to modify the preferred value of a route to control BGP path selection.
Among multiple routes that have the same destination/mask and are learned from different peers,
the one with the greatest preferred value is selected as the route to the destination.
To specify a preferred value for routes from a peer or peer group:
Step
Enter system view.
1.
Command
•
Enter BGP view:
bgp as-number
•
Enter BGP-VPN instance
view:
a. bgp as-number
b. ipv4-family
vpn-instance
vpn-instance-name
peer { group-name | ip-address }
route-limit prefix-number
[ { alert-only | reconnect
reconnect-time } |
percentage-value ] *
Command
system-view
•
Enter BGP view:
bgp as-number
•
Enter BGP-VPN instance view:
a. bgp as-number
b. ipv4-family vpn-instance
vpn-instance-name
dampening [ half-life-reachable
half-life-unreachable reuse
suppress ceiling | route-policy
route-policy-name ] *
Command
system-view
194
Remarks
Use either approach.
By default, the number of routes
that a router can receive from a
peer or peer group is not limited.
Remarks
N/A
Use either approach.
Not configured by default.
Remarks
N/A