Multiprotocol Label Switching (MPLS) is a routing technique in
telecommunications network
A telecommunications network is a group of nodes interconnected by telecommunications links that are used to exchange messages between the nodes. The links may use a variety of technologies based on the methodologies of circuit switching, message ...
s that directs data from one
node
In general, a node is a localized swelling (a "knot") or a point of intersection (a vertex).
Node may refer to:
In mathematics
*Vertex (graph theory), a vertex in a mathematical graph
*Vertex (geometry), a point where two or more curves, lines, ...
to the next based on labels rather than network addresses. Whereas network addresses identify
endpoints the labels identify established paths between endpoints. MPLS can encapsulate packets of various
network protocol
A communication protocol is a system of rules that allows two or more entities of a communications system to transmit information via any kind of variation of a physical quantity. The protocol defines the rules, syntax, semantics and synchroniza ...
s, hence the ''multiprotocol'' component of the name. MPLS supports a range of access technologies, including
T1/
E1,
ATM,
Frame Relay
Frame Relay is a standardized wide area network (WAN) technology that specifies the physical and data link layers of digital telecommunications channels using a packet switching methodology. Originally designed for transport across Integrated Se ...
, and
DSL
Digital subscriber line (DSL; originally digital subscriber loop) is a family of technologies that are used to transmit digital data over telephone lines. In telecommunications marketing, the term DSL is widely understood to mean asymmetric dig ...
.
Role and functioning
In an MPLS network, labels are assigned to data packets. Packet-forwarding decisions are made solely on the contents of this label, without the need to examine the packet itself. This allows one to create end-to-end circuits across any type of transport medium, using any protocol. The primary benefit is to eliminate dependence on a particular
OSI model
The Open Systems Interconnection model (OSI model) is a conceptual model that 'provides a common basis for the coordination of SOstandards development for the purpose of systems interconnection'. In the OSI reference model, the communications ...
data link layer
The data link layer, or layer 2, is the second layer of the seven-layer OSI model of computer networking. This layer is the protocol layer that transfers data between nodes on a network segment across the physical layer. The data link layer p ...
(layer 2) technology, and eliminate the need for multiple layer-2 networks to satisfy different types of traffic. Multiprotocol label switching belongs to the family of
packet-switched network
In telecommunications, packet switching is a method of grouping data into '' packets'' that are transmitted over a digital network. Packets are made of a header and a payload. Data in the header is used by networking hardware to direct the pack ...
s.
MPLS operates at a layer that is generally considered to lie between traditional definitions of OSI Layer 2 (
data link layer
The data link layer, or layer 2, is the second layer of the seven-layer OSI model of computer networking. This layer is the protocol layer that transfers data between nodes on a network segment across the physical layer. The data link layer p ...
) and Layer 3 (
network layer
In the seven-layer OSI model of computer networking, the network layer is layer 3. The network layer is responsible for packet forwarding including routing through intermediate routers.
Functions
The network layer provides the means of transfe ...
), and thus is often referred to as a ''layer 2.5'' protocol. It was designed to provide a unified data-carrying service for both
circuit-based clients and packet-switching clients which provide a
datagram
A datagram is a basic transfer unit associated with a packet-switched network. Datagrams are typically structured in header and payload sections. Datagrams provide a connectionless communication service across a packet-switched network. The del ...
service model. It can be used to carry many different kinds of traffic, including IP
packets, as well as native
Asynchronous Transfer Mode
Asynchronous Transfer Mode (ATM) is a telecommunications standard defined by American National Standards Institute (ANSI) and ITU-T (formerly CCITT) for digital transmission of multiple types of traffic. ATM was developed to meet the needs of ...
(ATM),
Frame Relay
Frame Relay is a standardized wide area network (WAN) technology that specifies the physical and data link layers of digital telecommunications channels using a packet switching methodology. Originally designed for transport across Integrated Se ...
,
Synchronous Optical Networking
Synchronous optical networking (SONET) and synchronous digital hierarchy (SDH) are standardized protocols that transfer multiple digital bit streams synchronously over optical fiber using lasers or highly coherent light from light-emitting diode ...
(SONET) or
Ethernet
Ethernet () is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in 198 ...
.
A number of different technologies were previously deployed with essentially identical goals, such as Frame Relay and ATM. Frame Relay and ATM use ''labels'' to move
frames or cells through a network. The header of the Frame Relay frame and the ATM cell refers to the
virtual circuit
A virtual circuit (VC) is a means of transporting data over a data network, based on packet switching and in which a connection is established within the network between two endpoints. The network, rather than having a fixed data rate reservation ...
that the frame or cell resides on. The similarity between Frame Relay, ATM, and MPLS is that at each hop throughout the network, the ''label'' value in the header is changed. This is different from the
forwarding of IP packets. MPLS technologies have evolved with the strengths and weaknesses of ATM in mind. MPLS is designed to have lower overhead than ATM while providing
connection-oriented service
Connection-oriented communication is a network communication mode in telecommunications and computer networking, where a communication session or a semi-permanent connection is established before any useful data can be transferred. The establishe ...
s for variable-length frames, and has replaced much use of ATM in the market. MPLS dispenses with the cell-switching and signaling-protocol baggage of ATM. MPLS recognizes that small ATM cells are not needed in the core of modern networks, since modern optical networks are fast enough that even full-length 1500 byte packets do not incur significant real-time queuing delays. At the same time, MPLS attempts to preserve the
traffic engineering (TE) and
out-of-band control
Out-of-band control is a characteristic of network protocols with which data control is regulated. Out-of-band control passes control data on a separate connection from main data. Protocols such as FTP use out-of-band control.
FTP sends its cont ...
that made Frame Relay and ATM attractive for deploying large-scale networks.
History
* 1994:
Toshiba
, commonly known as Toshiba and stylized as TOSHIBA, is a Japanese multinational conglomerate corporation headquartered in Minato, Tokyo, Japan. Its diversified products and services include power, industrial and social infrastructure system ...
presented Cell Switch Router (CSR) ideas to
IETF BOF
The Internet Engineering Task Force (IETF) is a standards organization for the Internet and is responsible for the technical standards that make up the Internet protocol suite (TCP/IP). It has no formal membership roster or requirements and a ...
* 1996: Ipsilon, Cisco and IBM announced label switching plans
* 1997: Formation of the IETF MPLS working group
* 1999: First MPLS VPN (L3VPN) and TE deployments
* 2000: MPLS Traffic Engineering
* 2001: First MPLS
Request for Comments
A Request for Comments (RFC) is a publication in a series from the principal technical development and standards-setting bodies for the Internet, most prominently the Internet Engineering Task Force (IETF). An RFC is authored by individuals or g ...
(RFCs) published
* 2002: AToM (L2VPN)
* 2004: GMPLS; Large-scale L3VPN
* 2006: Large-scale TE "Harsh"
* 2007: Large-scale L2VPN
* 2009: Label Switching Multicast
* 2011:
MPLS transport profile
In 1996 a group from
Ipsilon Networks
Ipsilon Networks was a computer networking company which specialised in IP switching during the 1990s.
The first product called the IP Switch ATM 1600 was announced in March 1996 for US$46,000.
Its switch used Asynchronous Transfer Mode (ATM) h ...
proposed a ''flow management protocol''. Their ''IP Switching'' technology, which was defined only to work over ATM, did not achieve market dominance.
Cisco Systems
Cisco Systems, Inc., commonly known as Cisco, is an American-based multinational corporation, multinational digital communications technology conglomerate (company), conglomerate corporation headquartered in San Jose, California. Cisco develo ...
introduced a related proposal, not restricted to ATM transmission, called ''Tag Switching'' with its Tag Distribution Protocol (TDP). It was a Cisco proprietary proposal, and was renamed ''Label Switching''. It was handed over to the
Internet Engineering Task Force
The Internet Engineering Task Force (IETF) is a standards organization for the Internet and is responsible for the technical standards that make up the Internet protocol suite (TCP/IP). It has no formal membership roster or requirements and a ...
(IETF) for open standardization. The IETF work involved proposals from other vendors, and development of a consensus protocol that combined features from several vendors' work.
One original motivation was to allow the creation of simple high-speed switches since for a significant length of time it was impossible to forward IP packets entirely in hardware. Advances in
VLSI
Very large-scale integration (VLSI) is the process of creating an integrated circuit (IC) by combining millions or billions of MOS transistors onto a single chip. VLSI began in the 1970s when MOS integrated circuit (Metal Oxide Semiconductor) c ...
have made hardware forwarding of IP packets possible and common. The current advantages of MPLS primarily revolve around the ability to support multiple service models and perform traffic management. MPLS also offers a robust recovery framework that goes beyond the simple protection rings of
synchronous optical networking
Synchronous optical networking (SONET) and synchronous digital hierarchy (SDH) are standardized protocols that transfer multiple digital bit streams synchronously over optical fiber using lasers or highly coherent light from light-emitting diode ...
(SONET/SDH).
Operation
MPLS works by prefixing packets with an MPLS header, containing one or more labels. This is called a label
stack.
Each entry in the label stack contains four fields:
* A 20-bit ''label'' value. A label with the value of 1 represents the
router alert label.
* A 3-bit ''Traffic Class'' field for QoS (
quality of service
Quality of service (QoS) is the description or measurement of the overall performance of a service, such as a telephony or computer network, or a cloud computing service, particularly the performance seen by the users of the network. To quantitat ...
) priority and ECN (
Explicit Congestion Notification
Explicit Congestion Notification (ECN) is an extension to the Internet Protocol and to the Transmission Control Protocol and is defined in RFC 3168 (2001). ECN allows end-to-end notification of network congestion without dropping packets. ECN is ...
). Prior to 2009 this field was called EXP.
* A 1-bit ''bottom of stack'' flag. If this is set, it signifies that the current label is the last in the stack.
* An 8-bit ''TTL'' (
time to live
Time to live (TTL) or hop limit is a mechanism which limits the lifespan or lifetime of data in a computer or network. TTL may be implemented as a counter or timestamp attached to or embedded in the data. Once the prescribed event count or times ...
) field.
These MPLS-labeled packets are switched based on the label instead of a lookup in the IP routing table. When MPLS was conceived,
label switching Label switching is a technique of network relaying to overcome the problems perceived by traditional IP-table switching (also known as traditional layer 3 hop-by-hop routing). Here, the switching of network packets occurs at a lower level, namely ...
was faster than a
routing table
In computer networking, a routing table, or routing information base (RIB), is a data table stored in a router or a network host that lists the routes to particular network destinations, and in some cases, metrics (distances) associated with tho ...
lookup because switching could take place directly within the
switched fabric and avoided CPU and software involvement.
The presence of such a label has to be indicated to the switch. In the case of Ethernet frames this is done through the use of
EtherType
EtherType is a two-Octet (computing), octet field in an Ethernet frame. It is used to indicate which Communications protocol, protocol is Encapsulation (networking), encapsulated in the payload of the frame and is used at the receiving end by th ...
values 0x8847 and 0x8848, for
unicast
Unicast is data transmission from a single sender (red) to a single receiver (green). Other devices on the network (yellow) do not participate in the communication.
In computer networking, unicast is a one-to-one transmission from one point in ...
and
multicast
In computer networking, multicast is group communication where data transmission is addressed to a group of destination computers simultaneously. Multicast can be one-to-many or many-to-many distribution. Multicast should not be confused with ...
connections respectively.
Label switch router
An MPLS router that performs routing based only on the label is called a label switch router (LSR) or transit router. This is a type of router located in the middle of an MPLS network. It is responsible for switching the labels used to route packets.
When an LSR receives a packet, it uses the label included in the packet header as an index to determine the next hop on the label-switched path (LSP) and a corresponding label for the packet from a
lookup table. The old label is then removed from the header and replaced with the new label before the packet is routed forward.
Label edge router
A label edge router (LER, also known as edge LSR) is a router that operates at the edge of an MPLS network and acts as the entry and exit points for the network. LERs ''push'' an MPLS label onto an incoming packet and ''pop'' it off an outgoing packet. Alternatively, under
penultimate hop popping this function may instead be performed by the LSR directly connected to the LER.
When forwarding an
IP datagram
A datagram is a basic transfer unit associated with a packet-switched network. Datagrams are typically structured in header and payload sections. Datagrams provide a connectionless communication service across a packet-switched network. The deli ...
into the MPLS domain, an LER uses routing information to determine the appropriate label to be affixed, labels the packet accordingly, and then forwards the labeled packet into the MPLS domain. Likewise, upon receiving a labeled packet that is destined to exit the MPLS domain, the LER strips off the label and forwards the resulting IP packet using normal IP forwarding rules.
Provider router
In the specific context of an MPLS-based
virtual private network
A virtual private network (VPN) extends a private network across a public network and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network. The be ...
(VPN), LERs that function as
ingress
Ingress may refer to:
Science and technology
* Ingress (signal leakage), the passage of an outside signal into a coaxial cable
* Ingress filtering, a computer network packet filtering technique
* Ingress protection rating, a protection level that ...
or
egress router An egress router is a Label Switch Router that is an end point (drain) for a given Label Switched Path (LSP). An egress router may be an ingress router or an intermediate router for any other LSP(s). Hence the role of egress and ingress routers is ...
s to the VPN are often called
provider edge (PE) routers. Devices that function only as transit routers are similarly called
provider (P) routers.
The job of a P router is significantly easier than that of a PE router.
Label Distribution Protocol
Labels may be distributed between LERs and LSRs using the
Label Distribution Protocol
Label Distribution Protocol (LDP) is a protocol in which routers capable of Multiprotocol Label Switching (MPLS) exchange label mapping information. Two routers with an established session are called LDP peers and the exchange of information is bi- ...
(LDP) or
Resource Reservation Protocol (RSVP). LSRs in an MPLS network regularly exchange label and reachability information with each other using standardized procedures in order to build a complete picture of the network so that they can then use that information to forward the packets.
Label-switched paths
Label-switched paths (LSPs) are established by the network operator for a variety of purposes, such as to create network-based IP virtual private networks or to route traffic along specified paths through the network. In many respects, LSPs are not different from
permanent virtual circuit
A virtual circuit (VC) is a means of transporting data over a data network, based on packet switching and in which a connection is established within the network between two endpoints. The network, rather than having a fixed data rate reservation ...
s (PVCs) in ATM or Frame Relay networks, except that they are not dependent on a particular layer-2 technology.
Routing
When an unlabeled packet enters the ingress router and needs to be passed on to an MPLS
tunnel
A tunnel is an underground passageway, dug through surrounding soil, earth or rock, and enclosed except for the entrance and exit, commonly at each end. A pipeline is not a tunnel, though some recent tunnels have used immersed tube cons ...
, the router first determines the
forwarding equivalence class A forwarding equivalence class (FEC) is a term used in Multiprotocol Label Switching (MPLS) to describe a set of packets with similar or identical characteristics which may be forwarded the same way; that is, they may be bound to the same MPLS label ...
(FEC) for the packet and then inserts one or more labels in the packet's newly created MPLS header. The packet is then passed on to the next hop router for this tunnel.
The MPLS Header is added between the
network layer
In the seven-layer OSI model of computer networking, the network layer is layer 3. The network layer is responsible for packet forwarding including routing through intermediate routers.
Functions
The network layer provides the means of transfe ...
header and
link layer header of the
OSI model
The Open Systems Interconnection model (OSI model) is a conceptual model that 'provides a common basis for the coordination of SOstandards development for the purpose of systems interconnection'. In the OSI reference model, the communications ...
.
When a labeled packet is received by an MPLS router, the topmost label is examined. Based on the contents of the label a ''swap'', ''push'' (''impose'') or ''pop'' (''dispose'') operation is performed on the packet's label stack. Routers can have prebuilt lookup tables that tell them which kind of operation to do based on the topmost label of the incoming packet so they can process the packet very quickly.
* In a ''swap'' operation the label is swapped with a new label, and the packet is forwarded along the path associated with the new label.
* In a ''push'' operation a new label is pushed on top of the existing label, effectively "encapsulating" the packet in another layer of MPLS. This allows
hierarchical routing
Hierarchical routing is a method of routing in networks that is based on hierarchical addressing.
Background
Most Transmission Control Protocol/Internet Protocol (TCP/IP) routing is based on a two-level hierarchical routing in which an IP addres ...
of MPLS packets. Notably, this is used by
MPLS VPN
MPLS VPN is a family of methods for using Multiprotocol Label Switching (MPLS) to create virtual private networks (VPNs). MPLS VPN is a flexible method to transport and route several types of network traffic using an MPLS backbone.
There are thre ...
s.
* In a ''pop'' operation the label is removed from the packet, which may reveal an inner label below. This process is called "decapsulation". If the popped label was the last on the label stack, the packet "leaves" the MPLS tunnel. This can be done by the egress router, but see Penultimate Hop Popping (PHP) below.
During these operations, the contents of the packet below the MPLS Label stack are not examined. Indeed, transit routers typically need only to examine the topmost label on the stack. The forwarding of the packet is done based on the contents of the labels, which allows "protocol-independent packet forwarding" that does not need to look at a protocol-dependent routing table and avoids the expensive IP
longest prefix match
Longest prefix match (also called Maximum prefix length match) refers to an algorithm used by Router (computing), routers in Internet Protocol (IP) networking to select an entry from a routing table.
Because each entry in a forwarding table may s ...
at each hop.
At the egress router, when the last label has been popped, only the payload remains. This can be an IP packet or any of a number of other kinds of payload packet. The egress router must, therefore, have routing information for the packet's payload since it must forward it without the help of label lookup tables. An MPLS transit router has no such requirement.
Usually (by default with only one label in the stack, accordingly to the MPLS specification), the last label is popped off at the penultimate hop (the hop before the egress router). This is called penultimate hop popping (PHP). This may be interesting in cases where the egress router has many packets leaving MPLS tunnels, and thus spends inordinate amounts of CPU time on this. By using PHP, transit routers connected directly to this egress router effectively offload it, by popping the last label themselves. In the label distribution protocols, this PHP label pop action is advertised as label value 3 « implicit-null» (which is never found in a label, since it means that the label is to be popped).
This optimisation is no longer that useful (like for initial rationales for MPLS – easier operations for the routers). Several MPLS services (including end-to-end
QoS management, and
6PE) imply to keep a label even between the penultimate and the last MPLS router, with a label disposition always done on the last MPLS router: the «Ultimate Hop Popping» (UHP). Some specific label values have been notably reserved for this use:
* 0: «explicit-null» for IPv4
* 2: «explicit-null» for IPv6
Label-switched path
A label-switched path (LSP) is a path through an MPLS network, set up by the
NMS or by a signaling protocol such as
LDP,
RSVP-TE
Resource Reservation Protocol - Traffic Engineering is an extension of the Resource Reservation Protocol (RSVP) for traffic engineering. It supports the reservation of resources across an IP network. Applications running on IP end systems can us ...
,
BGP
Border Gateway Protocol (BGP) is a standardized exterior gateway protocol designed to exchange routing and reachability information among autonomous systems (AS) on the Internet. BGP is classified as a path-vector routing protocol, and it mak ...
(or the now deprecated
CR-LDP
Constraint-based Routing Label Distribution Protocol (CR-LDP) is a control protocol used in some computer networks.
As of February 2003, the IETF MPLS working group deprecated CR-LDP and decided to focus purely on RSVP-TE.
It is an extension of th ...
). The path is set up based on criteria in the
FEC.
The path begins at a
label edge router (LER), which makes a decision on which label to prefix to a packet, based on the appropriate FEC. It then forwards the packet along to the next router in the path, which swaps the packet's outer label for another label, and forwards it to the next router. The last router in the path removes the label from the packet and forwards the packet based on the header of its next layer, for example
IPv4
Internet Protocol version 4 (IPv4) is the fourth version of the Internet Protocol (IP). It is one of the core protocols of standards-based internetworking methods in the Internet and other packet-switched networks. IPv4 was the first version de ...
. Due to the forwarding of packets through an LSP being opaque to higher network layers, an LSP is also sometimes referred to as an MPLS tunnel.
The router which first prefixes the MPLS header to a packet is called an
ingress router An "ingress router" is a Label Switch Router that is a starting point (source) for a given Label Switched Path (LSP). An ingress router may be an egress router or an intermediate router for any other LSP(s). Hence the role of ingress and egress rout ...
. The last router in an LSP, which pops the label from the packet, is called an
egress router An egress router is a Label Switch Router that is an end point (drain) for a given Label Switched Path (LSP). An egress router may be an ingress router or an intermediate router for any other LSP(s). Hence the role of egress and ingress routers is ...
. Routers in between, which need only swap labels, are called transit routers or
label switch router
Multiprotocol Label Switching (MPLS) is a routing technique in telecommunications networks that directs data from one node to the next based on labels rather than network addresses. Whereas network addresses identify endpoints the labels identif ...
s (LSRs).
Note that LSPs are unidirectional; they enable a packet to be label switched through the MPLS network from one endpoint to another. Since bidirectional communication is typically desired, the aforementioned dynamic signaling protocols can set up an LSP in the other direction to compensate for this.
When protection is considered, LSPs could be categorized as primary (working), secondary (backup) and tertiary (LSP of last resort). As described above, LSPs are normally P2P (point to point). A new concept of LSPs, which are known as P2MP (point to multi-point), was introduced recently. These are mainly used for multicasting purposes.
Installing and removing paths
There are two standardized protocols for managing MPLS paths: the
Label Distribution Protocol
Label Distribution Protocol (LDP) is a protocol in which routers capable of Multiprotocol Label Switching (MPLS) exchange label mapping information. Two routers with an established session are called LDP peers and the exchange of information is bi- ...
(LDP) and
RSVP-TE
Resource Reservation Protocol - Traffic Engineering is an extension of the Resource Reservation Protocol (RSVP) for traffic engineering. It supports the reservation of resources across an IP network. Applications running on IP end systems can us ...
, an extension of the
Resource Reservation Protocol (RSVP) for traffic engineering. Furthermore, there exist extensions of the
Border Gateway Protocol
Border Gateway Protocol (BGP) is a standardized exterior gateway protocol designed to exchange routing and reachability information among autonomous systems (AS) on the Internet. BGP is classified as a path-vector routing protocol, and it makes ...
(BGP) that can be used to manage an MPLS path.
An MPLS header does not identify the type of data carried inside the MPLS path. If one wants to carry two different types of traffic between the same two routers, with different treatment by the core routers for each type, one has to establish a separate MPLS path for each type of traffic.
Multicast addressing
Multicast was, for the most part, an after-thought in MPLS design. It was introduced by point-to-multipoint RSVP-TE. It was driven by
service provider
A service provider (SP) is an organization that provides services, such as consulting, legal, real estate, communications, storage, and processing services, to other organizations. Although a service provider can be a sub-unit of the organization t ...
requirements to transport broadband video over MPLS. Since the inception of there has been a tremendous surge in interest and deployment of MPLS multicast and this has led to several new developments both in the IETF and in shipping products.
The hub&spoke multipoint LSP is also introduced by IETF, short as
HSMP LSP
HSMP LSP is hub & spoke multipoint Label Switched Path ( LSP), which allows traffic both from root to leaf through point-to-multipoint (P2MP) LSP and also leaf to root along the reverse path. That means traffic entering the HSMP LSP from applic ...
. HSMP LSP is mainly used for multicast, time synchronization, and other purposes.
Relationship to Internet Protocol
MPLS works in conjunction with the Internet Protocol (IP) and its routing protocols, usually
Interior Gateway Protocol
An interior gateway protocol (IGP) or Interior routing protocol is a type of routing protocol used for exchanging routing table information between gateways (commonly routers) ''within'' an autonomous system (for example, a system of corpora ...
s (IGPs). MPLS LSPs provide dynamic, transparent virtual networks with support for traffic engineering, the ability to transport layer-3 (IP) VPNs with overlapping address spaces, and support for layer-2
pseudowires using
Pseudowire Emulation Edge-to-Edge (PWE3) that are capable of transporting a variety of transport payloads (
IPv4
Internet Protocol version 4 (IPv4) is the fourth version of the Internet Protocol (IP). It is one of the core protocols of standards-based internetworking methods in the Internet and other packet-switched networks. IPv4 was the first version de ...
,
IPv6
Internet Protocol version 6 (IPv6) is the most recent version of the Internet Protocol (IP), the communication protocol, communications protocol that provides an identification and location system for computers on networks and routes traffic ...
, ATM, Frame Relay, etc.). MPLS-capable devices are referred to as LSRs. The paths an LSR knows can be defined using explicit hop-by-hop configuration, or are dynamically routed by the
constrained shortest path first (CSPF) algorithm, or are configured as a loose route that avoids a particular IP address or that is partly explicit and partly dynamic.
In a pure IP network, the shortest path to a destination is chosen even when the path becomes congested. Meanwhile, in an IP network with MPLS Traffic Engineering CSPF routing, constraints such as the RSVP bandwidth of the traversed links can also be considered, such that the shortest path with available bandwidth will be chosen. MPLS Traffic Engineering relies upon the use of TE extensions to
Open Shortest Path First
Open Shortest Path First (OSPF) is a routing protocol for Internet Protocol (IP) networks. It uses a link state routing (LSR) algorithm and falls into the group of interior gateway protocols (IGPs), operating within a single autonomous syst ...
(OSPF) or
Intermediate System To Intermediate System
Intermediate System to Intermediate System (IS-IS, also written ISIS) is a routing protocol designed to move information efficiently within a computer network, a group of physically connected computers or similar devices. It accomplishes this b ...
(IS-IS) and RSVP. In addition to the constraint of RSVP bandwidth, users can also define their own constraints by specifying link attributes and special requirements for tunnels to route (or not to route) over links with certain attributes.
For end-users the use of MPLS is not visible directly, but can be assumed when doing a
traceroute
In computing, traceroute and tracert are computer network diagnostic commands for displaying possible routes (paths) and measuring transit delays of packets across an Internet Protocol (IP) network. The history of the route is recorded as th ...
: only nodes that do ''full'' IP routing are shown as hops in the path, thus not the MPLS nodes used in between, therefore when you see that a packet ''hops'' between two very distant nodes and hardly any other 'hop' is seen in that provider's network (or
AS) it is very likely that network uses MPLS.
MPLS local protection
In the event of a network element failure when recovery mechanisms are employed at the IP layer, restoration may take several seconds which may be unacceptable for real-time applications such as
VoIP
Voice over Internet Protocol (VoIP), also called IP telephony, is a method and group of technologies for the delivery of voice communications and multimedia sessions over Internet Protocol (IP) networks, such as the Internet. The terms Internet t ...
.
In contrast,
MPLS local protection
MPLS Fast Reroute (also called MPLS local restoration or MPLS local protection) is a local restoration network resiliency mechanism. It is actually a feature of resource reservation protocol (RSVP) traffic engineering (RSVP-TE). In MPLS local pro ...
meets the requirements of real-time applications with recovery times comparable to those of
shortest path bridging networks or
SONET
Synchronous optical networking (SONET) and synchronous digital hierarchy (SDH) are standardized protocols that transfer multiple digital bit streams synchronously over optical fiber using lasers or highly coherent light from light-emitting diode ...
rings of less than 50 ms.
Comparisons
MPLS can make use of existing ATM network or Frame Relay infrastructure, as its labeled flows can be mapped to ATM or Frame Relay virtual-circuit identifiers, and vice versa.
Frame Relay
Frame Relay
Frame Relay is a standardized wide area network (WAN) technology that specifies the physical and data link layers of digital telecommunications channels using a packet switching methodology. Originally designed for transport across Integrated Se ...
aimed to make more efficient use of existing physical resources, which allow for the underprovisioning of data services by
telecommunications companies
A telephone company, also known as a telco, telephone service provider, or telecommunications operator, is a kind of communications service provider (CSP), more precisely a telecommunications service provider (TSP), that provides telecommunicat ...
(telcos) to their customers, as clients were unlikely to be utilizing a data service 100 percent of the time. Consequently, oversubscription of capacity by the telcos (excessive bandwidth
overbooking
Overselling or overbooking is sale of a volatile good or service in excess of actual supply. Overselling is a common practice in the travel and hospitality sectors, in which it is expected that some people will cancel. The practice occurs as an in ...
), while financially advantageous to the provider, can directly affect overall performance.
Telcos often sell Frame Relay to businesses looking for a cheaper alternative to
dedicated line
In computer networks and telecommunications, a dedicated line is a communications cable or other facility dedicated to a specific application, in contrast with a shared resource such as the telephone network or the Internet. It is a communication ...
s; its use in different geographic areas depended greatly on governmental and telecommunication companies' policies.
Many customers migrated from Frame Relay to MPLS over IP or Ethernet, which in many cases will reduce costs and improve manageability and performance of their wide area networks.
Asynchronous Transfer Mode
While the underlying protocols and technologies are different, both MPLS and
ATM provide a connection-oriented service for transporting data across computer networks. In both technologies, connections are signaled between endpoints, the connection state is maintained at each node in the path, and encapsulation techniques are used to carry data across the connection. Excluding differences in the signaling protocols (RSVP/LDP for MPLS and
PNNI
The Private Network-to-Network Interface (PNNI) is a link-state routing protocol used in Asynchronous Transfer Mode (ATM) networks. PNNI is similar to the open shortest path first (OSPF) used for IP routing.
PNNI is a suite of network protocols th ...
:Private Network-to-Network Interface for ATM) there still remain significant differences in the behavior of the technologies.
The most significant difference is in the transport and encapsulation methods. MPLS is able to work with variable length packets while ATM transports fixed-length (53 bytes) cells. Packets must be segmented, transported and re-assembled over an ATM network using an adaptation layer, which adds significant complexity and overhead to the data stream. MPLS, on the other hand, simply adds a label to the head of each packet and transmits it on the network.
Differences exist, as well, in the nature of the connections. An MPLS connection (LSP) is unidirectional—allowing data to flow in only one direction between two endpoints. Establishing two-way communications between endpoints requires a pair of LSPs to be established. Because 2 LSPs are required for connectivity, data flowing in the forward direction may use a different path from data flowing in the reverse direction. ATM point-to-point connections (virtual circuits), on the other hand, are
bidirectional
Bidirectional may refer to:
* Bidirectional, a roadway that carries traffic moving in opposite directions
* Bi-directional vehicle, a tram or train or any other vehicle that can be controlled from either end and can move forward or backward with e ...
, allowing data to flow in both directions over the same path (Both SVC and PVC ATM connections are bidirectional. Check
ITU-T
The ITU Telecommunication Standardization Sector (ITU-T) is one of the three sectors (divisions or units) of the International Telecommunication Union (ITU). It is responsible for coordinating standards for telecommunications and Information Commu ...
I.150 3.1.3.1).
Both ATM and MPLS support tunneling of connections inside connections. MPLS uses label stacking to accomplish this while ATM uses ''virtual paths''. MPLS can stack multiple labels to form tunnels within tunnels. The ATM virtual path indicator (VPI) and virtual circuit indicator (VCI) are both carried together in the cell header, limiting ATM to a single level of tunneling.
The biggest advantage that MPLS has over ATM is that it was designed from the start to be complementary to IP. Modern routers are able to support both MPLS and IP natively across a common interface allowing network operators great flexibility in
network design Network planning and design is an iterative process, encompassing
topological design, network-synthesis, and network-realization, and is aimed at ensuring that a new telecommunications network or service meets the needs of the subscriber and op ...
and operation. ATM's incompatibilities with IP require complex adaptation, making it comparatively less suitable for today's predominantly IP networks.
Deployment
MPLS is currently (as of March 2012) in use in IP-only networks and is standardized by the IETF in . It is deployed to connect as few as two facilities to very large deployments.
In practice, MPLS is mainly used to forward
IP protocol data units (PDUs) and Virtual Private LAN Service (VPLS) Ethernet traffic. Major applications of MPLS are telecommunications traffic engineering, and
MPLS VPN
MPLS VPN is a family of methods for using Multiprotocol Label Switching (MPLS) to create virtual private networks (VPNs). MPLS VPN is a flexible method to transport and route several types of network traffic using an MPLS backbone.
There are thre ...
.
Evolution
MPLS has been originally proposed to allow high-performance traffic forwarding and
traffic engineering in IP networks. However it evolved in
Generalized MPLS (GMPLS) to allow the creation of label-switched paths (LSPs) also in non-native IP networks, such as
SONET/SDH networks and
wavelength switched optical network
Wavelength switched optical network (WSON) is a type of telecommunications network.
A WSON consist of two planes: the data and the control planes. The data plane comprises wavelength-division multiplexing (WDM) fiber links connecting optical cro ...
s.
Competitor protocols
MPLS can exist in both an
IPv4
Internet Protocol version 4 (IPv4) is the fourth version of the Internet Protocol (IP). It is one of the core protocols of standards-based internetworking methods in the Internet and other packet-switched networks. IPv4 was the first version de ...
and an
IPv6
Internet Protocol version 6 (IPv6) is the most recent version of the Internet Protocol (IP), the communication protocol, communications protocol that provides an identification and location system for computers on networks and routes traffic ...
environment, using appropriate routing protocols. The major goal of MPLS development was the increase of routing speed. This goal is no longer relevant because of the usage of newer switching methods (able to forward plain IPv4 as fast as MPLS labelled packets), such as
ASIC,
TCAM and
CAM
Calmodulin (CaM) (an abbreviation for calcium-modulated protein) is a multifunctional intermediate calcium-binding messenger protein expressed in all eukaryotic cells. It is an intracellular target of the secondary messenger Ca2+, and the bin ...
-based switching. Now, therefore, the main application of MPLS is to implement limited traffic engineering and layer 3 / layer 2 “service provider type” VPNs over IPv4 networks.
See also
*
Generalized Multi-Protocol Label Switching Generalized Multi-Protocol Label Switching (GMPLS) is a protocol suite extending MPLS to manage further classes of interfaces and switching technologies other than packet interfaces and switching, such as time-division multiplexing, layer-2 switchi ...
*
Label Information Base
*
MPLS VPN
MPLS VPN is a family of methods for using Multiprotocol Label Switching (MPLS) to create virtual private networks (VPNs). MPLS VPN is a flexible method to transport and route several types of network traffic using an MPLS backbone.
There are thre ...
*
Per-hop behavior
*
Virtual private LAN service
Virtual Private LAN Service (VPLS) is a way to provide Ethernet-based multipoint to multipoint communication over IP or MPLS networks. It allows geographically dispersed sites to share an Ethernet broadcast domain by connecting sites through ps ...
Notes
References
Further reading
* "Deploying IP and MPLS QoS for Multiservice Networks: Theory and Practice" by John Evans, Clarence Filsfils (Morgan Kaufmann, 2007, )
* Rick Gallaher's MPLS Training Guide ({{ISBN, 1932266003)
External links
MPLS Working Group IETF.
MPLS IP Specifications Broadband Forum.
RIPE
MPLS networking
Internet Standards
Tunneling protocols