1. Opening
Option C removes customer VPN routes from the ASBRs. The border routers carry labeled transport reachability—typically PE or RR loopbacks—while the actual VPNv4/vpnv6 routes are exchanged end to end between PEs or route reflectors using multihop BGP. This is more scalable at the ASBR but demands tighter coordination and trust between provider domains.
The hard part of inter-AS VPN engineering is deciding where VPN knowledge stops, where labels are exchanged, and which routers must trust one another. Option A, Option B and Option C all extend VPN service across AS boundaries, but they put radically different state on ASBRs. Carrier Supporting Carrier changes the business role of the customer, while 6PE and 6VPE extend MPLS services to IPv6 without forcing a wholesale redesign of the provider core.
A useful design review therefore asks four questions before any configuration is written: which nodes hold VPN routes, which nodes exchange labels, which nodes require per-VRF state, and which administrative domains must trust one another's routing information.
2. Concept and standards behavior
RFC 4364 procedure (c) describes this split: ASBRs distribute labeled IPv4 /32 reachability across ASes, creating an LSP toward remote PEs, while VPN routes are exchanged by multihop eBGP between PE/RR systems. RFC 8277 is the current labeled-unicast reference and obsoletes RFC 3107 cited by older VPN specifications. Cisco IOS XR implements the architecture using labeled-unicast transport plus VPN route exchange.
A modern reading must preserve the older architecture RFCs while applying current references where later standards superseded individual mechanisms. In particular, labeled-unicast discussion uses RFC 8277 as the current baseline even when RFC 4364, RFC 4798 or RFC 4659 historically cite RFC 3107.
3. Scenario
CE-A -- PE1 -- P1 -- ASBR1 ===== ASBR2 -- P2 -- PE2 -- CE-B
Provider AS65000 Provider AS65100
Documentation-safe addressing is used throughout: PE/ASBR loopbacks are taken from 192.0.2.0/24, the inter-AS link from 198.51.100.0/30, customer IPv4 from 203.0.113.0/24, customer IPv6 from 2001:db8::/32, and only private ASNs are used.
Success criteria
- Customer routes cross the AS/service boundary only through the intended model.
- ASBR state matches the chosen architecture.
- Required service and transport labels are present.
- Route policy cannot broaden VPN scope silently.
- End-to-end forwarding succeeds.
- A negative cross-VPN or wrong-service test fails as intended.
4. Topology diagram
A matching SVG and PNG are stored under media/diagrams/.
5. Prerequisites
- IOS XR 24.x feature support verified on the exact hardware/image.
- Intra-AS MPLS transport healthy before inter-AS testing.
- Local L3VPN or IPv6 service works inside each AS first.
- Explicit IOS XR route-policy at eBGP boundaries.
- Independent management/rollback access.
- RD/RT and infrastructure-prefix inventories under change control.
- Documentation-safe addresses and private ASNs only.
6. Baseline configuration
route-policy PASS
pass
end-policy
!
router bgp 65000
address-family ipv4 unicast
allocate-label all
!
neighbor 198.51.100.2
remote-as 65100
address-family ipv4 labeled-unicast
route-policy PASS in
route-policy PASS out
!
!
!
! VPNv4/vpnv6 multihop eBGP is established between approved PE/RR endpoints.
This is a topic-specific excerpt, not a complete deployment. Validate exact syntax and label behavior on the selected IOS XR platform.
7. Verification before modification
show bgp summary
show bgp vpnv4 unicast
show bgp vpnv6 unicast
show bgp ipv4 labeled-unicast
show bgp ipv6 labeled-unicast
show mpls forwarding
show route
The verification goal is to correlate route state with label forwarding. A route in BGP does not prove an MPLS path exists.
8. Controlled modification
First build labeled reachability to the remote PE/RR loopback. Only after the /32 resolves through MPLS, establish the multihop VPNv4/vpnv6 session. This order deliberately separates transport proof from VPN proof.
Predict the exact BGP table, next hop and label change before committing. Preserve a before/after evidence bundle.
9. Fault injection
Illustrative lab — not a real incident.
Withdraw the labeled route to PE2 while keeping the multihop VPN route in the control plane long enough to capture evidence. The VPN next hop becomes unresolved or unusable.
Inject one failure only; keep all other variables unchanged so the result proves causality.
10. Step-by-step troubleshooting
- Verify the ingress customer/global route.
- Verify the expected BGP address family.
- Trace the route toward the AS/service boundary.
- Confirm what state the boundary router should hold.
- Inspect RD/RT where VPN routes are present.
- Inspect next-hop changes.
- Inspect service-label and transport-label state.
- Verify MPLS forwarding across the boundary/core.
- Verify the remote PE receives/imports the route.
- Verify PE-to-CE/global advertisement.
- Test forwarding.
- Run the negative isolation/scope test.
- Correct the first failed invariant only.
- Repeat the same route-and-label trace.
11. Root cause and correction
The first failed invariant is Option-C transport reachability to the VPN next hop. Restore the labeled PE /32 rather than adding VPN state to the ASBR.
12. Post-fix verification
Verify BGP family state, next hops, RTs where applicable, MPLS labels, forwarding, and negative isolation. IPv6 topics also require IPv6-specific MTU and next-hop validation.
13. Rollback
Restore the previous route-policy, VRF handoff, VPN session or labeled-unicast transport configuration. Preserve the failing evidence before rollback. Do not widen route policy merely to restore reachability.
Rollback immediately if a route leaks across VPNs, the ASBR state model changes unintentionally, a label resolves to the wrong context, or an inter-AS fault begins affecting unrelated local services.
14. Deep-dive engineering notes
ASBR state reduction
ASBRs do not carry every VPN route. Their scale is dominated by the infrastructure prefixes and labels needed to build inter-AS LSPs. VPN scale remains concentrated on PE/RR systems.
Two BGP planes
Option C has a transport BGP plane and a VPN BGP plane. Treat them as separate monitoring domains. A green VPN session with a broken labeled next hop is possible; a healthy labeled transport with a failed VPN policy is also possible.
Trust implications
Provider ASes must agree on which infrastructure loopbacks are advertised and which PE/RR endpoints may establish multihop VPN sessions. RFC 4364 explicitly notes that appropriate trust relationships are necessary. Infrastructure prefix allowlists should be exact, not broad summaries unless the design requires them.
Route reflector use
Large deployments commonly use RRs so every PE does not establish direct inter-AS multihop VPN sessions. The route-reflector architecture must still preserve the intended VPN route visibility and next-hop handling.
Security limitation at ASBR
Because the ASBR does not hold VPN context, it cannot perform per-VPN policing/filtering/accounting the same way an Option-A boundary can. That loss of per-VPN boundary visibility is part of the architecture, not an implementation bug.
14A. Option-C trust and transport acceptance
Document the Option-C trust contract explicitly. It should list the only PE/RR loopback prefixes permitted through labeled-unicast, the ASes allowed to originate those infrastructure prefixes, the multihop VPN BGP endpoints, authentication/GTSM posture where supported, maximum-prefix values, and whether transit ASes are permitted.
Test route leakage at the infrastructure layer. Inject a labeled prefix that is not an approved PE/RR loopback. The ASBR import policy should reject it even though it is syntactically valid labeled-unicast. This negative test is critical because an accepted labeled infrastructure prefix can alter the LSP used by VPN next hops across many customers.
Then test VPN-layer isolation separately. Keep labeled transport healthy and inject an unauthorized VPN RT/prefix over the multihop VPN session. The PE/RR VPN policy should reject it. These two failures belong to different BGP planes and should trigger different alerts.
Option C also benefits from path-redundancy testing. If two ASBR interconnects advertise labeled reachability to the same remote PE, fail one and observe whether the transport LSP reconverges without resetting the VPN session. The ideal result is that the VPN control plane remains stable while only transport resolution changes.
Finally, note the operational trade: ASBRs are simpler from a VPN-state perspective, but troubleshooting spans more layers and administrative devices. Clear ownership between transport and VPN teams is part of the design.
15. Production workflow
- Inventory approved PE/RR loopbacks.
- Establish labeled-unicast across ASBRs.
- Verify MPLS reachability to remote PE/RR /32s.
- Establish multihop VPN BGP.
- Exchange one VPN route.
- Map VPN next hop onto the labeled transport.
- Break one PE /32 advertisement.
- Verify only services using that egress are affected as expected.
- Restore transport.
- Audit infrastructure allowlists and trust.
16. Production lessons
- Option C keeps VPN routes off ASBRs.
- BGP-LU transport and VPN BGP are separate planes.
- RFC 8277 is the modern label-distribution reference.
- Trust expands across provider infrastructure endpoints.
- Troubleshoot transport reachability before VPN policy.
17. Knowledge check
- Which routers should hold VPN routes in this design?
- Which BGP family carries the critical route/label information?
- What negative test proves the service boundary remains correct?
Answers
- The answer is architecture-specific; the state-placement decision is the core of the topic.
- The relevant VPN or labeled-unicast family, depending on the design.
- Verify an unrelated VPN or unauthorized infrastructure prefix remains absent across the boundary.
18. Sources
- RFC 4364 — Inter-AS procedure (c)
- RFC 8277 — BGP labeled-unicast; obsoletes RFC 3107
- RFC 4760 — Multiprotocol BGP
- Cisco IOS XR 24.x L3VPN documentation — Inter-AS Option C
No comments:
Post a Comment