MPLS Explained: Labels, LSPs and Why Providers Still Use It
MPLS forwards packets by a short fixed-length label rather than by looking up a destination address. The label is decided once, at the edge, and every device after that makes a simple lookup in a much smaller table. It is frequently called a layer 2.5 protocol, because the label sits between the layer 2 header and the layer 3 packet. That is a useful way to remember where it lives, though the real point is that MPLS is indifferent to what it carries. How a Packet Moves Two device roles: LER (Label Edge Router) sits at the boundary. The ingress LER classifies an incoming packet, decides its path, and pushes a label. The egress LER pops the label and forwards the packet normally. LSR (Label Switch Router) sits in the core. It reads the incoming label, swaps it for the outgoing one, and forwards. It never inspects the IP header. The path a labelled packet follows is a Label Switched Path , and it is unidirectional — return traffic takes its own LSP, which may be a diff...