mpls technology overview. outline mpls overview mpls framework mpls applications mpls architecture...

67
MPLS Technology Overview

Post on 22-Dec-2015

390 views

Category:

Documents


25 download

TRANSCRIPT

Page 1: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

MPLS

Technology Overview

Page 2: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Outline

• MPLS Overview• MPLS Framework• MPLS Applications• MPLS Architecture• Conclusion

Page 3: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

MPLS Overview -- How it works• The IETF MPLS working group (created in 1997) is to standardize a

base technology that integrates the label swapping forwarding paradigm with network layer routing.

• Current status:– A framework document has been published as Internet draft. This draft

discusses technical issue and requirements for the MPLS.– An architecture document has been published as Internet draft. This

draft contains a draft protocol architecture for MPLS. The proposed architecture is based on the MPLS framework document.

– An Internet draft that discuss MPLS with Frame Relay has been published.

• Cisco System Inc. is the major contributor to the MPLS working group.– substitute “Label” for “Tag” in Tag Switching MPLS

Page 4: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Core mechanisms of MPLS

• Semantics assigned to a stream label– Labels are associated with specific streams of data.

• Forwarding Methods– Forwarding is simplified by the use of the short fixed length labels to

identify streams.– Forwarding may require simple functions such as looking up a label

in a table, swapping labels, and possibly decrementing and checking a TTL.

– In some case MPLS may direct uses of underlying layer 2 forwarding.

• Label Distribution Methods– Allow nodes to determine which labels to use for specific streams.– This may use some sort of control exchange, and/or be piggybacked

on a routing protocol.

Page 5: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Motivation for MPLS• Benefits relative to use of a Router Core

– Simplified forwarding– Efficient explicit routing– Traffic reengineering– QoS routing– Complex mappings from IP packet to forwarding equivalence class (FEC)– Partitioning of functionality– Single forwarding paradigm with several level differentiation

• Benefits relative to use of an ATM or Frame Relay Core– Scaling of the routing protocol– Common operation over packet and cell media– Easier Management– Elimination of the ‘routing over Large Clouds’ issue

Page 6: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

MPLS Related Protocols

• Data forwarding– Label encapsulation– Label operations: PUSH, SWAP and POP

• Label distribution protocols (RFC 3036)– Provide procedures by which one LSR informs another of the

label/FEC binding

• Extensions to routing protocols– Existing routing protocols can be extended to distribute traffic

engineering information

Page 7: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

MPLS Framework

• The framework document discusses the core MPLS components, observations, issues, assumptions, and technical approach.

• Core MPLS components:– the Basic routing approach, Labels, and Encapsulation

• Observations, Issues, and Assumptions– Layer 2 versus Layer 3 forwarding, Scaling issues, Types of streams, and

Data driven versus control driven label assignment.

• Technical approach– Label distribution, Stream Merging, Loop handling, Interoperation with

NHRP, Operation in a hierarchy, Interoperation with “conventional “ ATM, Multicast, Mutipath, Host interactions, Explicit Routing, Traceroute, LSP Control: Egress versus local, and security.

Page 8: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Key Terminology in MPLS

• FEC (Forwarding Equivalence Class)– A group of IP packets which are forwarded in the same manner

(e.g., over the same path, with the same priority and the same label)

• Label– A short fixed length identifier which is used to identify a FEC

• Label Swapping– Looking up the incoming label to determine the outgoing label,

encapsulation and port

• Label Switched Path (LSP)– Path through one or more LSRs for a particular FEC

• Label Switching Router (LSR)– An MPLS capable router

Page 9: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

What is a Label

• The label can be carried in a layer 2 header (e.g., ATM and frame relay) or in a “shim” that sits between the layer 2 header and IP (e.g., LAN and PPP)

PayloadIP“shim”Layer 2

Label value (20 bits) ExpS TTL

Exp: Experimental (3 bits)S: Bottom of label stack (1 bit)TTL: Time-To-Live (8 bits)

4 Octets

Page 10: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Data Forwarding

Edge LSR(Ingress)

Edge LSR(Egress)

LSR

Label

IP

LSR(Penultimate)

PUSH POPSWAP SWAP

L2 header

Page 11: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

A simplified LSR forwarding engine

MPLS label MPLS payload

SwitchingTable

SwitchingTable

InputPorts

OutputPorts

Next hop + portQueuing and

Scheduling rules

Page 12: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Ingress and Transit Operation

Port 1 Port 4

Ingress LSR LSR

Port 2 Port 3

FEC Output10.60.0.0/16 port 4

PUSH label 40

To: 10.60.30.4

Input Outputport 2 label 40 port 3

SWAP label 45

Label: 40 Label: 40 Label: 45

Page 13: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Egress Operation

Port 1 Port 4

Egress LSR

Input Outputport 1 label 45 POP

Label: 45To: 10.60.30.4

To: 10.60.30.4

FEC Output Next Hop10.60.0.0/16 Port 4 10.1.2.6

• The egress router has to do two table lookups• There is a concern that this might cause a

performance penalty on the egress router– Solution: Penultimate Hop Popping (PHP)

Page 14: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Routing Aggregation

R1

Access 1

Access 2 R2 R3

R4

R5

R6

Destination D

Access 3

1

2

35

4

Page 15: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Per-Hop classification, queuing, and scheduling

Queue

S

ClassifyPort 1

Port N

Port M

Page 16: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

PHP with Explicit NULL

Port 2 Port 3

Penultimate LSR Egress LSR

Port 1 Port 4

Label: 0 To: 10.60.30.4

Input OutputPort 2 label 40 Port 3

SWAP label 0

Label: 40 Label: 0

FEC Output Next Hop10.60.0.0/16 Port 4 10.1.2.6

• Egress router returns a label value of 0 during signaling

Page 17: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

PHP with Implicit NULL

Port 2 Port 3

Penultimate LSR Egress LSR

Port 1 Port 4

To: 10.60.30.4

Input Outputport 2 label 40 port 3

POP

Label: 40

FEC Output Next Hop10.60.0.0/16 Port 4 10.1.2.6

To: 10.60.30.4 To: 10.60.30.4

• Egress router returns a label value of 3 during signaling

• Penultimate LSR pops the label

Page 18: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Label Distribution Protocols

• How do routers know what labels to use?– They need a label distribution protocol

• There are a number of possible label distribution methods:– Manual– MPLS-BGP (MP-iBGP-4)– Resource Reservation Protocol-Traffic Engineering

(RSVP-TE) (RFC 2205, RFC 2210)– Label Distribution Protocol (LDP)– Constraint-Based LDP (CR-LDP)

Page 19: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Label Distribution Modes

• Downstream-on-Demand– LSR requests its next hop for a label for a

particular FEC

• Downstream Unsolicited– LSR distributes bindings to LSRs that have

not explicitly requested them– For example, topology driven– Only LDP and MPLS-BGP support

Downstream Unsolicited mode

Page 20: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Manual Configuration

• Labels are manually configured• Useful in testing or to get around signaling

problemsR1

(Ingress)R4

(Egress)R2 R3

LSP

10.60.0.0/16Nexthop R2Push 40

Label 40Nexthop R3Swap 45

Label 45Nexthop R4Swap 50

Label 50Pop

Page 21: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

MPLS-BGP

• Use MP-iBGP-4 to distribute label information as well as VPN routes

• BGP peers can send route updates and the associated labels at the same time

• Route reflectors can also be used to distribute labels to increase scalability

Page 22: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Forwarding Component• Label Stack and Forwarding Operations

– The basic forwarding operation consists of looking up the incoming label to determine the outgoing label, encapsulation, port, and any additional information which may pertain to the stream such as a particular queue or other QoS related treatment. This operation is referred as label swap.

– When a packet first enters an MPLS domain, the packet is associated with a label. It is referred as a label push. When a packet leaves an MPLS domain, the label is removed. It is referred as a label pop.

– The label stack is useful within hierarchical routing domain.

Page 23: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Encapsulation

• Label-based forwarding makes use of various pieces of information, including a label or stack of labels, and possibly additional information such as a TTL field.

• These information can be carried in several forms.• The term “MPLS encapsulation” is used to refer to

whatever form is used to encapsulate the label information and information used for label based forwarding.

• An encapsulation scheme may make use of the following fields:– label, TTL, class of service, stack indicator, next header

type indicator, and checksum

Page 24: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

MPLS label stack encoding

Label(20 bits)

Exp(3 bits)

S(1 bit)

TTL(8 bits)

Label(20 bits)

Exp(3 bits)

S(1 bit)

TTL(8 bits)

Label(20 bits)

Exp(3 bits)

S(1 bit)

TTL(8 bits)

Original Packet

...

Stack top Stack bottom

MPLS frame delivered to link layer

COS

Page 25: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Label Assignment• Topology driven (Tag)

– In response to normal processing of routing protocol control traffic

– Labels are pre-assigned; no label setup latency at forwarding time.

• Request driven (RSVP)– In response to normal processing of request based control

traffic

– May require a large number of labels to be assigned.

• Traffic driven (Ipsilon)– The arrival of data at an LSR triggers label assignment and

distribution.

– Label setup latency; potential for packet reordering.

Page 26: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Label Distribution

• Explicit Label Distribution– Downstream label allocation

• label allocation is done by the downstream LSR• most natural mechanism for unicast traffic

– Upstream label allocation• label allocation is done by the upstream LSR• may be used for optimality for some multicast traffic

– A unique label for an egress LSR within the MPLS domain• Any stream to a particular MPLS egress node could use the label

of that node.

Page 27: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Label Distribution

• Explicit Label Distribution Protocol (LDP)– Reliability : by transport protocol (TCP) or as part of LDP.– Separate routing computation and label distribution.

• Piggybacking on Other Control Messages– Use existing routing/control protocol for distributing

routing/control and label information.– OSPF, BGP, RSVP, PIM– Combine routing and label distribution.

• Label purge mechanisms– By time out– Exchange of MPLS control packets

Page 28: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Label Distribution Protocol• LDP Peer:

– Two LSRs that exchange label/stream mapping information via LDP

• LDP messages– Discovery messages (via UDP)

• announce and maintain the presence of LSR– Session messages

• maintain session between LDP peers– Advertisement message

• label operation (Label distribution)– Notification message

• advisory information and signal error information• Error notification: signal fatal errors• Advisory notification: status of the LDP session or some previous

message received from the peer.

Page 29: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

RSVP-TE

• Traffic engineering extensions added to RSVP– Sender and receiver are ingress and egress LSRs– New objects have been defined

• Supports Downstream on Demand label distribution

• PATH messages used by sender to solicit a label from downstream LSRs

• RESV messages used by downstream LSRs to pass label upstream towards the sender

Page 30: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

RSVP-TE Operation

Edge LSR(Ingress)

Edge LSR(Egress)

LSR LSR

PATH(Label Request)

PATH(Label Request)

PATH(Label Request)

RESVLabel = 40

RESVLabel = 45

RESVLabel = 50

RESVCONF RESVCONF RESVCONF

Page 31: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

RSVP-TE Operation with PHP

Edge LSR(Ingress)

Edge LSR(Egress)

LSR LSR(Penultimate)

PATH(Label Request)

PATH(Label Request)

PATH(Label Request)

RESVLabel = 40

RESVLabel = 45

RESVLabel = 0 or 3

RESVCONF RESVCONF RESVCONF

Page 32: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

LDP

• Supports Downstream on Demand and Downstream Unsolicited

• No support for QoS or traffic engineering• UDP used for peer discovery• TCP used for session, advertisement and

notification messages• Uses Type-Length-Value (TLV) encoding

Page 33: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

CR – LDP

• Extensions to LDP that convey resource reservation requests for user and network constraints

• CR-LDP uses TCP sessions between LSR peers to send LDP messages

• A mechanism for establishing explicitly routed LSPs• An Explicit Route is a Constrained Route

– Ingress LSR calculates entire route based on Traffic Engineering Database (TED) and known constraints

Page 34: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

CR-LDP Operation

Edge LSR(Ingress)

Edge LSR(Egress)

LSR LSR

Label Request Label Request Label Request

Label MappingLabel = 40

Label MappingLabel = 45

Label MappingLabel = 50

Page 35: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

CR-LDP vs RSVP-TE

• Signaling Attributes

• LSP Attributes

• Traffic Engineering Attributes

• Reliability & Security Mechanisms

Page 36: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Signaling Attributes

CR-LDP

LDP

TCP

Hard

Yes

No

RSVP-TE

RSVP

Raw IP

Soft

Yes

No

Underlying Protocol

Transport Protocol

Protocol State

Multipoint-to-Point

Multicasting

Page 37: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

LSP Attributes

CR-LDP

Strict & LooseYesYesYesYesYesYes

RSVP-TE

Strict & LooseYesYesYesYesYesYes

Explicit RoutingRoute PinningLSP Re-RoutingLSP PreemptionLSP ProtectionLSP MergingLSP Stacking

Page 38: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Traffic Engineering Attributes

• CR-LDP– Negotiates resources during the Request process– Confirms resources during the Mapping process– LSPs are setup only if resources are available– Ability exists to allow for negotiation of resources

CR-LDP

Forward Path

RSVP-TE

Reverse Path Traffic Control

Page 39: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Traffic Engineering Attributes

• RSVP-TE– Passes resource requirements to the Egress LER– Egress LER converts the Tspec into a Rspec– Resource reservations occur on RESV process

CR-LDP

Forward Path

RSVP-TE

Reverse Path Traffic Control

Page 40: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Reliability & Security Attributes

CR-LDP

Yes

Yes

Yes

RSVP-TE

Yes

Yes

Yes

Link Failure Detection

Failure Recovery

Security Support

Page 41: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Signaling Protocols

• Each protocol has strengths & weaknesses• CR-LDP is based upon LDP giving it an

advantage of using a common protocol• RSVP-TE is more deployed than CR-LDP giving

it an early lead in the marketplace

Page 42: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Modifications to Routing Protocols

• Modifications are also required to distribute traffic engineering topology including bandwidth and administrative constraints– Information used to build up the traffic engineering database– Available bandwidth– Metric– Resource class/color

• OSPF-TE– Opaque LSAs used to carry TE information

• IS-IS-TE– New TLVs used to carry TE information

Page 43: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Traffic Engineering Database

BW=100MG,B,OMetric=1

BW=50MG,RMetric=1

BW=1MB,G,RMetric=1

BW=50MR,OMetric=2

BW=100MG,R,OMetric=1

BW=100MR,OMetric=1

BW=10MG,OMetric=5

BW=10MG,RMetric=2

G=GreenR=RedO=OrangeB=Blue

Ingress Egress

Page 44: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Selecting a Path

• How to select a 2M path which excludes any blue links?

• First prune the links

BW=50MG,RMetric=1

BW=50MR,OMetric=2

BW=100MG,R,OMetric=1

BW=100MR,OMetric=1

BW=10MG,OMetric=5

BW=10MG,RMetric=2

Ingress Egress

Page 45: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Selecting a Path

• Now select the shortest path

BW=50MG,RMetric=1

BW=50MR,OMetric=2

BW=100MG,R,OMetric=1

BW=100MR,OMetric=1

BW=10MG,OMetric=5

BW=10MG,RMetric=2

Ingress Egress

Page 46: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Explicit Route

• Once the path has been determined, the ingress router will typically signal the path using the Explicit Route Option (ERO) or ER-TLV

R1

R2 R3

R4 R5

R6

LSP to R6 strict R4 strict R5

PATH

PATH

PATH

Page 47: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

FEC and LSP

• How does an LSR associate a FEC with an LSP?– RFC3031 (Multiprotocol Label Switching

Architecture)defines two possible methods

• Independent– Each LSR, upon recognizing a particular FEC, makes

an independent decision to bind a label to it

• Ordered – An LSR binds a label to a FEC only if it is the egress

LSR for that FEC, or if it has already received a label binding for that FEC from its next hop

Page 48: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Example: BGP and LSP

• R1 learns about the prefixes of AS2 from R2 via I-BGP and creates

a LSP

R1R2

AS 1 AS 2

192.168.0.0/16192.168.0.0/16

R3

LSP1

LSP2

Page 49: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Example: BGP and LSP

• R1 learns about the prefixes of AS2 from R2 over IBGP session

• Without MPLS, R1 forwards traffic destined for AS2 towards R2 based on the IGP topology database

• With MPLS, one (or more) LSP tunnels are pre-established between R1 and R2– This is usually a manual process taking into account

traffic engineering requirements– If multiple LSPs exist between the two BGP routers,

route filtering can be used to direct the traffic• R1 binds the FEC (192.168/16) to LSP1 and

uses it to forward traffic to R2

Page 50: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

MPLS Applications

• Traffic engineering• Virtual Private Networks (VPNs)

– Layer 3 (BGP/MPLS VPN’s, RFC 2547)– Layer 2, point to point, Virtual Private Lan (Martini, Kompella,

etc.)

• Enhanced route protection• MPLS and DiffServ

Page 51: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Traffic Engineering

• Traditional routing selects the shortest path– All traffic between the ingress and egress nodes passes through

the same links causing congestion

• Traffic engineering allows a high degree of control over the path that packets take

• Allows more efficient use of network resources– Traffic redirection through BGP or IGP shortcut– Improved resource utilization– Load balancing

Page 52: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Example: Traffic Redirection

• LSPs can be established so that BGP and IGP traffic traverse different links

LSP Tunnel

BGProuter

BGProuter

BGPtraffic BGP

traffic

BGPtraffic

IGPtraffic

IGPtraffic

IGPtraffic

In this example, only BGP trafficis allowed to usethe LSP

Page 53: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Example: Improved Utilization

• Engineer LSP tunnels to avoid resources that are already congested

• BGP or IGP will use LSP tunnel instead of the normal routed path

LSP Tunnel

Congested node

Page 54: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Load Balancing

• Two LSPs established along two paths• BGP traffic routed along both paths

R1 R5

Page 55: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

MPLS VPN Components

• Customer Edge device: device located on customer premises

• Provider Edge device: maintains VPN-related information, exchanges VPN information with other Provider Edge devices, encapsulates/decapsulates VPN traffic

• Provider router: forwards traffic VPN-unaware

PEPE

CE

PE

P

PCE

VPN Site Provider

Router

CE

Provider EdgeCustomer Edge

Page 56: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Layer 2 and Layer 3 MPLS VPNs

• VPNs based on a layer 2 (Data Link Layer) technology and managed at that layer are defined as layer 2 VPNs– Martini, Kompella etc.

• VPNs based on tunneling at layer 3 (Network or IP Layer) are Layer 3 VPNs– RFC 2547 bis

Page 57: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

PE – CE Routing Connections

• VPN Routing & Forwarding instance (VRF) for each VPN on each PE– Flexible addressing

• Support overlapping IP addresses and private IP address space– Secure

• Customer packets are only placed in customers VPN– Customers can use different IGP; Static, RIP, OSPF or BGP

• Each VRF contains customer routes

PEPE

CE

PE

P

PCE

CE

Page 58: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

PE – PE Routing Connections

• MP-iBGP used between PE’s to distribute VPN routing information.– PE routers are full mesh MP-iBGP

– Multiprotocol Extensions of BGP propagate VPN-IPv4 routes

• PE and P routers run IGP and label distribution protocol• P routers are VPN unaware

PEPE

CE

PE

P

PCE

CE

Page 59: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Traffic Forwarding

• Ingress PE router receives IP packet/Frame from CE• Ingress PE router does lookup and adds label stack• P router switches the packet/frame based on the top label

(gray)• Egress PE router removes the top label• Egress PE router uses bottom label (red) to select VPN• Egress PE removes bottom label and forwards IP

packet/frame to CE

PEPE

CE

PE

P

PCE

CE

IP packetIP packet IP packet

Page 60: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Enhanced Route Protection

• Head-end Reroute– If a link along the path fails, the ingress node is notified– The ingress node must recompute another path and then

set up the new path

• Protection Switching– Pre-establish two paths for an LSP for redundancy– If a link along the primary path fails, the ingress node

switches over to the secondary path

• Fast Reroute– Each node precomputes and preestablishes a path to

bypass potential failures in the downstream link or node

Page 61: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Example: Protection Switching

IngressRouter

Primary Path

Secondary Path

Link failure

Failure

Failure

When ingress router is notified of the link failure, it switches all traffic to the secondary path.

Page 62: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

DiffServ Scalability via Aggregation

• DiffServ scalability comes from:- aggregation of traffic on Edge- processing of Aggregate only in Core

Flows

Aggregation on EdgeMany flows associated witha Class (marked with DSCP) Aggregated Processing in Core

Scheduling/Dropping (PHB) based on DSCP

Page 63: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

MPLS Scalability via Aggregation

• MPLS scalability comes from:- aggregation of traffic on Edge- processing of Aggregate only in Core

Flows

Aggregation on EdgeMany flows associatedwith a Forwarding Equivalent Class (marked with label)

Aggregated Processing in CoreForwarding based on label

Page 64: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

MPLS and Diffserv

• Same scalability goals:- aggregation of traffic on Edge- processing of Aggregate only in Core

Flows

MPLS: flows associated with FEC, mapped into one labelDS: flows associated with Class, mapped to DSCP MPLS: Switching based on Label

DS: scheduling/Dropping based on DSCP

Page 65: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

E-LSP and L-LSP

• Information on DiffServ must be made visible to LSR in MPLS.

• E-LSP (<= 8 PHB) (PHB = Per Hob Behavior)– EXP-Inferred-PSC LSP – A single LSP can support up to eight BA’s– EXP (3-bits) maps LSP using drop precedence (3-bits)

• L-LSP (<= 64 PHB ) – Label-Only-Inferred-PSC LSP– A separate LSP for a single FEC / BA (OA) pair– Label maps LSP using DSCP (6-bits)

• Defined for both CR-LDP and RSVP-TE

Page 66: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

MPLS Architecture

• The draft MPLS architecture is based on the MPLS framework.

• MPLS architecture document gives precise definitions and operations of the MPLS.

• The details of this architecture are not introduced here.

Page 67: MPLS Technology Overview. Outline MPLS Overview MPLS Framework MPLS Applications MPLS Architecture Conclusion

Conclusion

• MPLS has emerged as a promising technology that will improve the scalability of hop-by-hop routing and forwarding, and provide traffic engineering capabilities for better network provisioning.

• It decouples forwarding from routing and allows multiprotocol support without requiring changes to the basic forwarding paradigm.