An ordinary router looks up a route at every hop by the destination IP address, using the longest prefix match. In MPLS, the ingress router assigns a packet to a forwarding equivalence class once and attaches a label to it, and every later hop looks only at that label. Traffic therefore follows a defined path, without a full routing table lookup at each node.
How it works
The path that labelled traffic follows is called an LSP (Label Switched Path). It is set up in advance by a label distribution protocol such as LDP, BGP or RSVP-TE. Labels are arranged in a stack, which RFC 3031 defines as an ordered set of labels; for example, the top label is for transit across the operator’s network and the bottom one is for a particular customer’s VPN.
| Element | What it is |
|---|---|
| LER | edge router: pushes a label at the ingress and pops it at the egress |
| LSR | transit router: swaps the top label for the next one and forwards the packet |
| LSP | the path of a labelled packet through the network, from the ingress node to the egress node |
| FEC | forwarding equivalence class: a group of packets that are assigned a common label and a common path |
The technology is called “multiprotocol” because its methods apply to any network protocol, not just IP. The label normally sits in a short shim header between the link-layer and network-layer headers, but it can also be carried in link-layer header fields: the VPI/VCI of ATM or the DLCI of Frame Relay.
What is built on it
- L3VPN and L2VPN: private networks over the operator’s shared network; each customer has its own routing tables and labels, packets travel over the same links, but the networks are isolated from one another
- Traffic engineering: traffic is steered along specific paths around congested sections, and if a line breaks, fast reroute takes over
- Pseudowires: emulation of leased lines and transport of Ethernet, ATM and Frame Relay frames over the operator’s packet network
The foundations of the technology were described in RFC 3031, published by the IETF in January 2001.
Sources
the term is written from these pagesVerified 9 Nov