Build a full MPLS L3VPN with LDP label distribution, MP-BGP VPNv4, and multi-protocol PE-CE routing.
show mpls ldp neighborshow mpls label rangeshow ip vrf detail CORPshow bgp vpnv4 unicast all summaryshow ip route vrf CORPmpls traceroute 10.255.6.2/32MPLS L3VPN separates customer traffic using VRFs (Virtual Routing and Forwarding instances) on PE routers. Each VRF has a Route Distinguisher (RD) to make customer prefixes globally unique in MP-BGP, and Route Targets (RT) to control which prefixes are imported/exported between VRFs — enabling both full mesh and hub-and-spoke VPN topologies.
LDP (Label Distribution Protocol) assigns and distributes labels for IP prefixes in the MPLS domain. Each LSR (Label Switch Router) builds a Label Forwarding Information Base (LFIB) mapping incoming labels to outgoing labels and interfaces. The outermost label (transport) is popped at the penultimate router (PHP) before delivering to PE, leaving only the VPN label.
MP-BGP carries VPNv4 routes (RD + IPv4 prefix) with extended community attributes (Route Targets). PE routers are iBGP peers; Route Reflectors eliminate the need for full iBGP mesh. The VPN label carried in MP-BGP tells the egress PE which VRF to deliver the packet to.
LDP uses TCP port 646. Verify OSPF adjacency is up first (LDP needs IGP reachability to peer). Check 'show mpls ldp discovery' — if no neighbors found, check multicast 224.0.0.2 reachability.
Check RT import/export match between PE routers. Use 'show bgp vpnv4 unicast all' to see if routes are received but filtered. Verify 'send-community both' is configured for VPNv4 neighbors.
PHP (penultimate hop popping) removes the transport label one hop before PE — this is normal. If ALL hops show '!', MPLS is not forwarding — check 'show mpls interfaces'.
Attempt the tasks yourself before viewing solutions.
Type SOLUTION to unlock.
CORE-1 (P Router)
! See solution-configs/CORE-1.cfg
EDGE-1 (PE Router)
! See solution-configs/EDGE-1.cfg
Research and direction by Ioannis (John) Konstas; compiled and finalized with AI assistance.