Figure 113: OSPF Sham Link
Use the
remote-neighbor
command to configure the OSPF sham link on both VRFs
joined by the link. If a BGP route and an OSPF route to the same destination are both
installed in the IP routing table, OSPF uses the OSPF route because it has a better
administrative distance by definition.
If you redistribute OSPF routes into BGP in each VRF, you do not want the OSPF
routes that point to sham links to be redistributed into BGP. If they were redistributed,
multiple BGP routes for a single OSPF route would exist: one BGP route at each
endpoint of a sham link.
Use the
dont-install-routes
command to prevent OSPF routes pointing to the sham
link from being installed in the IP routing table of the VRF, and thus to prevent them
from being redistributed into BGP. Forwarding still works using the MP-IBGP routes
received from the remote PE router.
Use the
ttl
command to configure a TTL for the remote neighbor because the neighbor
might be more than a single hop away. Use the
update-source
command to specify
the loopback address used as the source address for the OSPF connection to the
remote neighbor.
If you do not configure a sham link between each pair of PE routers for which a
backdoor link exists, then you need to redistribute BGP routes back into OSPF.
For more information about OSPF remote neighbors, see
Remote Neighbors
in the
JUNOSe IP, IPv6, and IGP Configuration Guide
.
dont-install-routes
■
Use to prevent any OSPF routes that point directly to the OSPF remote neighbor
from being installed in the IP routing table of the VR or VRF in which OSPF is
running.
■
Using this command avoids having many BGP routes to the same prefix by
preventing OSPF routes learned over the sham link from being redistributed
back into BGP even when you have configured redistribution of OSPF routes into
BGP.
478
■
OSPF and BGP/MPLS VPNs
JUNOSe 11.0.x BGP and MPLS Configuration Guide
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...