■
Use the
no
version to delete the set clause from a route map.
■
See set metric.
Missing MED Values
By default, a route that arrives with no MED value is treated as if it had a MED of 0,
the most preferred value. You can use the
bgp bestpath missing-as-worst
command
to specify that a route with any MED value is always preferred to a route that is
missing the MED value.
bgp bestpath missing-as-worst
■
Use to set a missing MED value to infinity, the least preferred value.
■
After issuing this command, a route missing the MED is always preferred less
than any route that has a MED configured.
■
Example
host1(config-router)#
bgp bestpath missing-as-worst
■
Changes apply automatically whenever BGP subsequently runs the best-path
decision process for a destination prefix; that is, whenever a best route is picked
for a given prefix.
To force BGP to run the decision process on routes already received, you must
use the
clear ip bgp
command to perform an inbound soft clear or hard clear
of the current BGP session.
■
Use the
no
version to restore the default condition, where a missing MED value
is set to 0, the most preferred value.
■
See bgp bestpath missing-as-worst.
Comparing MED Values Within a Confederation
A BGP speaker within a confederation of sub-ASs might need to compare routes to
determine the best path to a destination. By default, BGP does not use the MED value
when comparing routes originated in different sub-ASs within the confederation to
which the BGP speaker belongs. (Within the confederation, routes learned from
different sub-ASs are treated as having originated in different places.) You can use
the
bgp bestpath med confed
command to force MED values to be taken into account
within a confederation.
bgp bestpath med confed
■
Use to specify that BGP take into account the MED when comparing routes
originated in different sub-ASs within the confederation to which the BGP speaker
belongs.
■
This command does not affect the comparison of routes that are originated in
other ASs and does not affect the comparison of routes that are originated in
other confederations.
■
Example
Selecting the Best Path
■
125
Chapter 1: Configuring BGP Routing
Summary of Contents for JUNOSE
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Page 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 719: ...Part 6 Index Index on page 685 Index 683...
Page 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...