Networking · Routing › MPLS Fundamentals
LER / LSR
Cheat sheet · https://pcornel.dk/topic.php?topic=2643
Answer
A Label Edge Router (LER) pushes labels on packets entering the MPLS network and pops them on exit; Label Switch Routers (LSRs) in the core only swap labels.
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 mpls forwarding-table— push/swap/pop actionsshow ip cef vrf <vrf> <prefix> detail— label push at the edge
Commands
show mpls interfacesshow bgp vpnv4 unicast all summaryshow mpls forwarding-table
Verify in this order
ingress LER push → LSR swap → penultimate pop → egress LER IP lookup
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=2643