Configuring bgp route dampening, Configuring a shortcut route – H3C Technologies H3C SecPath F1000-E User Manual

Page 481

Advertising
background image

456

Step Command

Remarks

3.

Configure the maximum
number of prefixes allowed

to be received from a
peer/peer group.

Specify the maximum number of

prefixes that can be received
from a peer/peer group:

peer { group-name |

ip-address } route-limit
prefix-number

[ percentage-value ]

Specify the maximum number of

prefixes that can be received

from a peer/peer group:

peer { group-name |
ip-address } route-limit

prefix-number alert-only

[ percentage-value ]

Specify the maximum number of

prefixes that can be received

from a peer/peer group:
peer { group-name |

ip-address } route-limit

prefix-number reconnect
reconnect-time

[ percentage-value ]

Use one of the commands.
By default, no limit is configured.
For approach 1, if the number is
reached, the router breaks down

the BGP connection to the peer.
For approach 2, if the number is
reached, the router outputs alert

information but does not break

down the BGP connection to the
peer.
For approach 3, if the number is
reached, the router breaks down

the BGP connection to the peer and

then reestablishes a BGP
connection to the peer.

Configuring BGP route dampening

By configuring BGP route dampening, you can suppress unstable routes from being added to the local

routing table or being advertised to BGP peers.
To configure BGP route dampening:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Configure BGP route
dampening.

dampening [ half-life-reachable
half-life-unreachable reuse suppress

ceiling | route-policy
route-policy-name ] *

Not configured by default.

Configuring a shortcut route

An EBGP route received has a priority of 255, lower than a local route. This task allows you to configure

an EBGP route as a shortcut route that has the same priority as a local route and is more likely to become

the optimal route.
To configure a shortcut route:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

Advertising