A Forwarding Equivalence Class (FEC) represents a collection of packets that receive equivalent forwarding treatment within a network. In traditional destination-based IP routing, packets are commonly classified into an FEC according to their destination addresses and the corresponding routing-table entries.
When a router receives an IP packet, it performs a longest-prefix-match lookup to determine the appropriate forwarding path. Packets associated with the same forwarding destination and treatment can be considered members of the same FEC.
MPLS extends this concept by assigning a label to represent an FEC. Once packets have been classified and labeled by the ingress Label Edge Router, intermediate Label Switching Routers can forward them using MPLS label lookups rather than repeatedly examining their IP destination addresses.
Packets do not necessarily belong to the same FEC simply because they arrive on the same interface, originate from the same source, or leave through the same interface.
The defining characteristic of an FEC is equivalent forwarding treatment. This principle enables efficient classification and label-based forwarding across an MPLS network, including equivalent multipath forwarding where configured.
[Reference:Nokia MPLS Guide — Forwarding Equivalence Classes and Label Switching; RFC 3031.]
Submit