Breaking ties between routes based on originator ID value
Syntax:
[no] bgp bestpath compare-originator-id
Specifies to break ties between routes based the Originator ID value instead of the neighbor’s router ID. Use the
no form of the command to not compare routes based on originator ID.
Comparing identical routes received from different external peers
Syntax:
[no] bgp bestpath compare-router-id
To configure a Border Gateway Protocol (BGP) routing process to compare identical routes received from different
external peers during the best path selection process and to select the route with the lowest router ID as the best
path, use the
bgp bestpath compare-routerid
command in router configuration mode. To return the BGP
routing process to the default operation, use the no form of this command.
The behavior of this command is disabled by default; BGP selects the route that was received first when two
routes with identical attributes are received.
Assigning value of infinity to routes missing MED attribute
Syntax:
[no] bgp bestpath med-missing-as-worst
To configure a Border Gateway Protocol (BGP) routing process to assign a value of infinity (max possible) to
routes that are missing the Multi Exit Discriminator (MED) attribute (making the path without a MED value the
least desirable path), use the
bgp bestpath med missing-as-worst
command in router configuration
mode. To return the router to the default behavior (assign a value of 0 to the missing MED), use the no form of
this command.
Setting BGP MED on routes when advertised to peers
Syntax:
[no] bgp default-metric
med-out
Causes a BGP MED to be set on routes when they are advertised to peers. This value applies to all BGP peers. It
can be overridden on a per-peer basis. The no form of this command,
no default-metric
, removes the
configured value.
Specifying a route's preference
Syntax:
[no] distance bgp
ext-dist
int-dist
loc-dist
A route’s preference specifies how active routes that are learned from BGP (compared to other protocols) will be
selected. When a route has been learned from more than one protocol, the active route will be selected from the
protocol with the lowest preference. Each protocol has a default preference in this selection. This preference can
be overridden by a preference value specified on the peer.
362
Aruba 3810 / 5400R Multicast and Routing Guide for ArubaOS-
Switch 16.08