Preventing Routing Loops
PE routes disregard OSPF routes received from a CE router if the routes are advertised
by:
■
A type 3 LSA with the most-significant bit set in the LSA options field.
■
A type 5 LSA that has a tag value equal to the VPN route tag associated with the
OSPF VRF on that PE router.
When the destination PE router originates a type 3 LSA learned from BGP to a CE
router, the PE router sets the most-significant bit in the LSA options field to identify
the LSA as being generated from a PE router. Doing this prevents the LSA from being
passed back to the BGP/MPLS VPN through a different PE router.
When the destination PE router originates a type 5 LSA learned from BGP to a CE
router, the PE router replaces the external route tag in the LSA with the VPN route
tag. You configure the VPN route tag for the OPSF VRF on the PE router with the
domain-tag
command. The value of a VPN route tag must be unique within an OSPF
domain, so that the same external route is not propagated back to the BGP/MPLS
VPN backbone through another PE-CE link.
Using Remote Neighbors to Configure OSPF Sham Links
When you employ OSPF as the PE-CE routing protocol in a BGP/MPLS VPN and also
configure OSPF backdoor links between VPN sites outside the backbone, the backdoor
links are always preferred over the backbone paths between the VPN links. OSPF
sham links prevent this problem, and you can implement them with OSPF remote
neighbors. Consider the topology shown in Figure 112 on page 476.
Figure 112: OSPF Topology with Backdoor Link
The PE routers are each running a separate logical OSPF instance for each VRF. Each
of these OSPF instances has adjacencies with their directly connected CE routers
and exchanges LSAs with those CE routers. The OSPF routes that are learned from
476
■
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...