Pcornel
Networking · Routing › MPLS Fundamentals

Forwarding Equivalence Class

Cheat sheet · https://pcornel.dk/topic.php?topic=2642

Back to the Topic

Answer

A Forwarding Equivalence Class (FEC) is a group of packets that get the same MPLS forwarding treatment — typically all packets to one destination prefix — and therefore the same 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 mpls forwarding-table <prefix> — label for one FEC
  • show mpls ldp bindings <prefix> <mask> — local and remote labels

Verify in this order

IGP prefix → FEC → label binding → LFIB entry

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=2642

Confirmation

Confirm action

Continue?