beautypg.com

Configuring a shortcut route, Configuring bgp route attributes, Prerequisites – H3C Technologies H3C S7500E Series Switches User Manual

Page 230: Specifying a preferred value for routes received, Configuring preferences for bgp routes, Specifying a preferred value for routes, Received, Configuring bgp route, Attributes

background image

6-27

Configuring a Shortcut Route

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

an eBGP route as a shortcut route that has the same priority as a local route and thus has greater

likehood 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

Prerequisites

BGP connections have been 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/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.

Configuring Preferences for BGP Routes

A router may run multiple routing protocols, each of which has a preference specified. If they find the

same route, the route found by the routing protocol with the highest preference is selected.

This task allows you configure preferences for external, internal, local BGP routes and reference a

route policy to set preferences for matching routes as needed.