Networking · Routing › MPLS Fundamentals
MPLS VPN Context
Cheat sheet · https://pcornel.dk/topic.php?topic=2647
Answer
MPLS L3VPN uses VRFs on PE routers and MP-BGP to exchange customer routes with route distinguishers and route targets, plus a VPN label that sits under the transport label.
Remember
- Labels are locally significant and normally change hop by hop
- LERs impose/remove labels; LSRs swap labels
- LDP commonly follows IGP reachability, so router-ID/transport reachability must work first
- LIB/control-plane bindings and LFIB/data-plane actions are separate
- Penultimate-hop popping is normal; MPLS VPN requires additional VRF/MP-BGP state.
First checks
show bgp vpnv4 unicast all summary— VPNv4 peersshow ip route vrf <vrf>— customer routesshow ip cef vrf <vrf> <prefix> detail— VPN and transport labels
Commands
show bgp vpnv4 unicast allshow ip route vrf <name>show mpls forwarding-table vrf <name>show bgp vpnv4 unicast vrf CUST-A 10.101.1.0show bgp vpnv4 unicast all labelsshow ip route vrf CUST-A 10.101.1.0show ip cef vrf CUST-A 10.101.1.0 detailtraceroute mpls
Verify in this order
CE route → VRF → VPNv4 with RD/RT and VPN label → remote PE imports → two-label forwarding
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2647