beautypg.com

Configuring bgp route dampening, Configuring a shortcut route – H3C Technologies H3C SR8800 User Manual

Page 233

background image

217

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter BGP view.

bgp as-number

N/A

3.

Configure the maximum
number of prefixes allowed to

be received from a peer/peer

group.

Apporach 1:

peer { group-name |

ip-address } route-limit
prefix-number

[ percentage-value ]

Apporach 2:

peer { group-name |

ip-address } route-limit

prefix-number alert-only
[ percentage-value ]

Apporach 3:

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

prefix-number reconnect

reconnect-time
[ percentage-value ]

Use one of the approaches.
No limit is configured by default.

I

f the specified maximum number is

reached:

For approach 1,

the router

breaks down the BGP
connection to the peer.

For

approach

2, the router

outputs alert information but
does not break down the BGP

connection to the peer.

For

approach

3, 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