Skip to main content

Multiprotocol Label Switching (MPLS)


Multiprotocol Label Switching (MPLS) is a protocol-agnostic routing technique designed to speed up and shape traffic flows across enterprise wide area and service provider networks.
MPLS allows most data packets to be forwarded at Layer 2 -- the switching level -- rather than having to be passed up to Layer 3 -- the routing level. For this reason, it is often informally described as operating at Layer 2.5.

MPLS was created in the late 1990s as a more efficient alternative to traditional IP routing, which requires each router to independently determine a packet's next hop by inspecting the packet's destination IP address before consulting its own routing table. This process consumes time and hardware resources, potentially resulting in degraded performance for real-time applications such as voice and video.

In an MPLS network, the very first router to receive a packet determines the packet's entire route upfront, the identity of which is quickly conveyed to subsequent routers using a label in the packet header.

While router hardware has improved exponentially since MPLS was first developed -- somewhat diminishing its significance as a more efficient traffic management technology-- it remains important and popular due to its various other benefits, particularly security, flexibility and traffic engineering.

Components of MPLS

One of the defining features of MPLS is its use of labels -- the L in MPLS. Sandwiched between Layers 2 and 3, a label is a four-byte -- 32-bit -- identifier that conveys the packet's predetermined forwarding path in an MPLS network. Labels can also contain information related to quality of service (QoS), indicating a packet's priority level.

MPLS labels consist of four parts:
  • Label value: 20 bits
  • Experimental: 3 bits
  • Bottom of stack: 1 bit
  • Time to live: 8 bits



The paths, which are called label-switched paths (LSPs), enable service providers to decide ahead of time the best way for certain types of traffic to flow within a private or public network.

How an MPLS network works

In an MPLS network, each packet gets labeled on entry into the service provider's network by the ingress router, also known as the label edge router (LER). This is also the router that decides the LSP the packet will take until it reaches its destination address.

All the subsequent label-switching routers (LSRs) perform packet forwarding based only on those MPLS labels -- they never look as far as the IP header. Finally, the egress router removes the labels and forwards the original IP packet toward its final destination.

When an LSR receives a packet, it performs one or more of the following actions:
  • Push: Adds a label. This is typically performed by the ingress router.
  • Swap: Replaces a label. This is usually performed by LSRs between the ingress and egress routers.
  • Pop: Removes a label. This is most often done by the egress router.



Advantages of MPLS

Service providers and enterprises can use MPLS to implement QoS by defining LSPs that can meet specific service-level agreements on traffic latency, jitter, packet loss and downtime. For example, a network might have three service levels that prioritize different types of traffic -- e.g., one level for voice, one level for time-sensitive traffic and one level for best effort traffic.

MPLS also supports traffic separation and the creation of virtual private networks (VPNs), virtual private LAN services and virtual leased lines.

One of the most notable benefits of MPLS is that it is not tied to any one protocol or transport medium. It supports transport over Internet Protocol (IP), Ethernet, Asynchronous Transfer Mode (ATM) and frame relay; any of these protocols can be used to create an LSP. Generalized Multi-Protocol Label Switching (GMPLS) extends MPLS to manage time-division multiplexing (TDM), lambda switching and other classes of switching technologies beyond packet switching.

Comments

Popular posts from this blog

Black swan

A  black swan event  is an incident that occurs randomly and unexpectedly and has wide-spread ramifications. The event is usually followed with reflection and a flawed rationalization that it was inevitable. The phrase illustrates the frailty of inductive reasoning and the danger of making sweeping generalizations from limited observations. The term came from the idea that if a man saw a thousand swans and they were all white, he might logically conclude that all swans are white. The flaw in his logic is that even when the premises are true, the conclusion can still be false. In other words, just because the man has never seen a black swan, it does not mean they do not exist. As Dutch explorers discovered in 1697, black swans are simply outliers -- rare birds, unknown to Europeans until Willem de Vlamingh and his crew visited Australia. Statistician Nassim Nicholas Taleb uses the phrase black swan as a metaphor for how humans deal with unpredictable events in his 2007...

A Graphics Processing Unit (GPU)

A graphics processing unit (GPU) is a computer chip that performs rapid mathematical calculations, primarily for the purpose of rendering images. A GPU may be found integrated with a central processing unit (CPU) on the same circuit, on a graphics card or in the motherboard of a personal computer or server. In the early days of computing, the CPU performed these calculations. As more graphics-intensive applications such as AutoCAD were developed; however, their demands put strain on the CPU and degraded performance. GPUs came about as a way to offload those tasks from CPUs, freeing up their processing power. NVIDIA, AMD, Intel and ARM are some of the major players in the GPU market. GPU vs. CPU A graphics processing unit is able to render images more quickly than a central processing unit because of its parallel processing architecture, which allows it to perform multiple calculations at the same time. A single CPU does not have this capability, although multi...

6G (sixth-generation wireless)

6G (sixth-generation wireless) is the successor to 5G cellular technology. 6G networks will be able to use higher frequencies than 5G networks and provide substantially higher capacity and much lower latency. One of the goals of the 6G Internet will be to support one micro-second latency communications, representing 1,000 times faster -- or 1/1000th the latency -- than one millisecond throughput. The 6G technology market is expected to facilitate large improvements in the areas of imaging, presence technology and location awareness. Working in conjunction with AI, the computational infrastructure of 6G will be able to autonomously determine the best location for computing to occur; this includes decisions about data storage, processing and sharing.  Advantages of 6G over 5G 6G is expected to support 1 terabyte per second (Tbps) speeds. This level of capacity and latency will be unprecedented and wi...