Configuring a shortcut route, Configuring bgp route attributes, Configuration prerequisites – H3C Technologies H3C S10500 Series Switches User Manual

Page 228: Specifying a preferred value for routes received

Advertising
background image

213

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Configure BGP route dampening

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

route-policy route-policy-name ] *

Required
Not configured by
default.

Configuring a shortcut route

An eBGP route received has a priority of 255, which is lower than a local route. This task allows you to
configure an eBGP route as a shortcut route. It has the same priority as a local route and is more likely

to become the optimal route.
Follow these steps to configure a shortcut route:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Configure a shortcut route

network ip-address [ mask | mask-length ]
short-cut

Optional
By default, an eBGP
route received has a

priority of 255.

Configuring BGP route attributes

Configuration prerequisites

BGP connections must be created.

Specifying a preferred value for routes received

By default, routes received from a peer have a preferred value of 0. Among multiple routes that have the

same destination and mask and are learned from different peers, the one with the greatest preferred

value is selected as the route to the destination.
Follow these steps to specify a preferred value for routes from a peer or peer group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Specify a preferred value for
routes received from a peer or

peer group

peer { group-name | ip-address }
preferred-value value

Optional
The preferred value is 0 by

default.

Advertising