Multicast and Routing Guide K/KA/KB.15.15
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.
Enabling client-to-client route reflection
Syntax:
[no] bgp client-to-client-reflection
Enables or disables client-to-client route reflection. When acting as a route-reflector,
this functionality is enabled by default.
Specifying cluster ID when BGP router is route-reflector
Syntax:
[no] bgp cluster-id ip-address
Specifies the cluster ID to be used when the BGP router is used as a route-reflector.
The cluster ID default is the router ID.
294 Border Gateway Protocol (BGP)










