1. Juniper Networks TechLibrary
Junos OS VPNs Library for Routing Devices
"OSPF Sham Links Overview": This document explains the problem of OSPF backdoor links being preferred over the L3VPN backbone. It states
"By default
OSPF prefers an intra-area backdoor route over an inter-area route through the VPN backbone." This confirms that the direct link (an intra-area path) is preferred over the L3VPN path (which presents as an inter-area or external path).
2. Juniper Networks TechLibrary
Junos OS VPNs Library for Routing Devices
"Configuring OSPF in L3 VPNs": This section details the PE-CE OSPF interaction. It clarifies that "When you configure OSPF as a PE-to-CE routing protocol
the PE router advertises the routes it learns from the CE router to other PE routers through IBGP... The other PE routers forward these routes to their CE routers." These routes are injected into the CE's OSPF domain as external routes.
3. RFC 4577: OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)
Section 4.2.5.1: This RFC
which defines the standard behavior
states: "If there is a "backdoor" link between two sites of a VPN
OSPF will prefer this link over the VPN backbone path if the backdoor path is an intra-area or inter-area path." This is because the path over the VPN backbone is treated as a less-preferred inter-area or external path.