SlideShare une entreprise Scribd logo
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved
www.huawei.com
Internal
ODC010001 MPLS Basic
Knowledge
ISSUE 1.5
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 1
The course introduce the basic concept
of MPLS, including MPLS label, MPLS
switching, MPLS label allocating.
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 2
Upon completion of this course, you
will be able to:
Describe the switching process of
MPLS, the method to allocate and
control the label.
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 3
Chapter 1 MPLS Overview
Chapter 2 Label and Label Stack
Chapter 3 Label Forwarding and Allocation
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 4
MPLS
 MPLS——Multi-Protocol Label Switching
Multi-Protocol
Support multiple Layer-3 protocols, such as IP, IPv6, IPX,
SNA
Label Switching
Label packets, and replace IP forwarding with label
switching
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 5
Origin: To Integrate IP with ATM
Connectionless
control plane
Connectionless
forwarding plane
IP
Connection-oriented
control plane
Connection-oriented
forwarding plane
ATM
Connectionless
control plane
Connection-oriented
forwarding plane
MPLS
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 6
Connection-oriented Features
Connectionless: packet route
 Path 1 = S1, S2, S6, S8
 Path 2 = S1, S4, S7, S8
 The data reach their destination
out of order along different
paths
connection-oriented: cell switching
 VC = S1, S4, S7, S8
 The data reach their destination in
order along the same connection
 Fixed time delay, easy to control
 Connection types: PVC SVC
S2 S6
S4 S7
S3 S5
S1 S8
1
1
1
2 2
2
S2 S6
S4 S7
VC
S1 S8
S3 S5
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 7
Traditional IP Forwarding
 IP header is parsed at each hop, resulting in low efficiency.
 It is hard to deploy QoS and the efficiency is rather low.
 All routers are expected to know all routes in the entire network.
Parse IP header
mapped to next hop
Parse IP header
mapped to next hop
Parse IP header
mapped to next hop
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 8
Virtual Channel Connection (VCC)
VC
switching
VC
switching
NNI NNI
VPI = 2
VCI = 44
VPI = 1
VCI = 1
VPI = 26
VCI = 44
VPI = 20
VCI = 30
UNI
UNI
ATM Switching Process
 Connection-oriented, N2 problem
 Routing depending on link layer, based on VPI/VCI or label
 Ensure QoS and real-time service
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 9
Technology Combining the Advantages of ATM and IP
+ X
R = X
Router ATM switch MPLS
Router
MPLS——multi-protocol label switching
 Layer 3 routing – scalable and flexible
 Layer 2 switching – High reliability and traffic engineering
management
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 10
Basic MPLS Concepts
 LSR: Label Switch Router
 LER: Label Edge Router
 LSP: Label Switch Path
LER
LER
LER
LER
LSR LSR
LSR
MPLS domain
IP
MPLS
LSP
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 11
Core LSR
Basic Working Process of MPLS
IP IP L1 IP L2 IP L3 IP
Traditional IP
forwarding
Traditional
IP forwarding Label forwarding
Edge LSR Edge LSR
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 12
MPLS Advantages
 Replace IP header with short and fixed-length labels as
forwarding basis to improve forwarding speed
 Better integrate IP with ATM
 Provide value-added service without prejudice to efficiency:
VPN
Traffic engineering
QOS
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 13
Exercise-1
1. What is MPLS?
2. Describe the core function of MPLS
3. Describe LER, LSR and LSP
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 14
Chapter 1 MPLS Overview
Chapter 2 Label and Label Stack
Chapter 3 Label Forwarding and Allocation
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 15
MPLS Encapsulation Format and Label
MPLS header
Layer 2
header
IP header Data
Label S
EXP TTL
20
0 23 24 31
32 bits
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 16
Label Values
Special use and reserved range
− 0: IPv4 explicit null, label stack must be popped
− 1: Router alert, local processing operation
− 2: IPv6 explicit null, label stack must be popped
− 3: Implicit null, triggers label stack pop, overrides label swap
− 4 to 15: reserved
General use range
− 16 to 1,048,575
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 17
Label Position in Packet
Ethernet header
/PPP header Label Layer-3 data
Ethernet
/SONET
/SDH packet
ATM header Label Layer-3 data
Frame mode
ATM packet
Cell mode
ATM packet VPI/VCI Layer-3 data
 Two types of MPLS encapsulation for ATM and FR:
shim encapsulation: similar to other link layers
Cell mode: VC (VPI/VCI for ATM, DLCI for FR) is directly
used as the label
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 18
Label Spaces and Identifiers
 Label space is a set of interface-specific or platform-wide labels
Platform-wide: One pool of labels is shared across all interfaces
Per-interface: Label values can be reused on each interface
 Label space
Label space ID—Zero for platform-wide label space (2 octets)
For example, 192.168.1.1:0 (platform-wide), 192.168.1.1:5 (per-interface)
MPLS based frame mode use Platform-wide label space, such as IP,
Ethernet.
MPLS based cell mode use Per-interface label space, such as ATM.
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 19
MPLS TTL Processing
Regard the entire MPLS domain as one hop
IP TTL --
MPLS TTL=255 MPLS TTL -- IP TTL --
Ingress LER LSR Egress LER
Include MPLS TTL in IP TTL
IP TTL --
MPLS TTL=IP TTL MPLS TTL --
MPLS TTL --
IP TTL=MPLS TTL
Ingress LER LSR Egress LER
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 20
LSP Loop Detection
 Path looping shall be avoided even in setting up LSP within the
MPLS domain.
 LSP path looping can be avoided in two ways:
Maximum hop number;
Path vector
LSRA LSRB LSRC LSRX
1 2 3 32
LSRA LSRB
LSRA
LSRC
LSRA,LSRB
LSRA,LSRB…..
LSRA,LSRB…..LSRC
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 21
Label Stack
 Theoretically, label stack enables limitless nesting to provide
infinite service support. This is simply the greatest advantage
of MPLS technology.
MPLS
header
Layer2
header IP header Data
MPLS
header
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 22
Exercise-2
1. Describe MPLS label structure
2. Describe label position with different encapsulation mode
3. Describe two LSP loop detection methods
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 23
Chapter 1 MPLS Overview
Chapter 2 Label and Label Stack
Chapter 3 Label Forwarding and Allocation
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 24
Basic Concepts of Label Forwarding
 FEC (Forwarding Equivalence Class): Import the packets with
identical characteristics into the same LSP
 NHLFE (Next Hop Label Forwarding Entry): Describe label
operations
 next hop
 label operation types: push/pop/swap/null
 Link layer encapsulation types
 FTN (FEC to NHLFE): Map FEC to NHLFE
 ILM (Incoming Label Map): Map MPLS label to NHLFE
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 25
Label Forwarding
 The traditional routing protocol and Label Distribution Protocol (LDP) serve to create routing table
and label mapping table (FEC-Label mapping) in each LSR for FECs with service requirement,
i.e. create LSP successfully.
 Ingress LER receives a packet, determines the FEC that the packet belongs to, and label the
packet
 In MPLS domain, packets are forwarded in accordance with labels and label forwarding table via
the forwarding unit
 Egress LER removes the label and continues forwarding the packet
Parse IP header
FEC bound with LSP
FTN->NHLFE
ILM->NHLFE
ILM->NHLFE
Parse IP header
distribute FEC
mapped to next hop
ILM->NHLFE
Ingress LER LSR LSR Egress LER
Label operation: push
Label operation: swap Label operation: swap
label operation: pop
A B C D
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 26
NHLFE
A:
…
Add label L1
E1
B
10.0.1.0/24
Others
Label operation
Transmitting interface
next hop
NHLFE
FEC
…
Remove the previous label and add L2
E1
C
L1
Others
label operation
Transmitting interface
Next hop
NHLFE
Ingress
label
B:
…
Remove the previous label and add L3
D
L2
Others
Label operation
Next hop
NHLFE
Ingress
label
C:
E1
Transmitting interface
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 27
Penultimate Hop Popping (PHP)
 The label at the outmost layer does not make any sense to the last hop. Thus, it
is advisable to pop the label at the last hop but one to ease the burden of the last
hop.
 If there is only one layer of label, the last hop will perform IP forwarding directly;
otherwise, it will perform the internal label forwarding.
Parse IP header
Distribute FEC
Mapped to next hop
Label operation: pop
Parse IP header
FEC bound with LSP
FTN->NHLFE ILM->NHLFE ILM->NHLFE
Ingress LER LSR LSR Egress LER
Label operation: push
Label operation: swap
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 28
Creating LSP
 LSP drive modes:
 Driven by stream: incoming packets drive LSP creation
 Driven by topology: topology information (route) drives LSP creation
 Driven by application: application (like QoS) drives LSP creation
 Signaling protocol is used to distribute labels between LSRs and
establish LSP:
 LDP: Label Distribution Protocol
 CR-LDP: Constrained Route LDP
 RSVP-TE
 MP-BGP
 PIM
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 29
Several Issues Concerning Label Distribution
 Label allocation mode
 DoD : downstream-on-demand
 DU: downstream unsolicited
 Label control mode
 Ordered
 Independent
 Label retention mode
 Conservative retention mode : upon receiving a label, if there is no
route destined for corresponding FEC, discard the label.
 Liberal mode: upon receiving a label, if there is no route destined for
the corresponding FEC, hold the label for later use.
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 30
Label Allocation Mode: DoD
Upstream Downstream
The upstream LSR sends a label request (containing FEC description
information) to the downstream LSR.
The downstream LSR allocates a label to this FEC and feeds back the bound
label to the upstream LSR via the label mapping message.
171.68.10.0/24
171.68.40.0/24
LSR1 LSR2 LSR3
请求到目的地址
171.68.10/24 的标签
Requesting labels destined
for 171.68.10.0/24 的标签
Requesting labels
destined for 171.68.10.0/24
分配到171.68.10/24
的标签为
20
Label 20 is allocated
to 171.68.10.0/24
分配到171.68.10/24
的标签为18
Label 18 is
allocated to
171.68.10.0/24
Route triggering
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 31
Label Allocation Mode: DU
Upstream
Downstream
Route
triggering
Once the LDP session is set up successfully, the downstream LSR will
initiatively advertise the label mapping message to its upstream LSR.
The upstream router will save the label in the label mapping table.
到171.68.10/24
可以使用标签 20
Label 20 can be used
to reach
171.68.10.0/24
171.68.10.0/24
171.68.40.0/24
Label 18 can be used
to reach
171.68.10.0/24
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 32
Label Control Mode: Ordered
Not until it receives a label mapping message from its downstream
LSP will it send the message upstream
Upstream Downstream
DOD+ Ordered
Upstream Downstream
DU+ Ordered
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 33
Label Control Mode: Independent
Upstream Downstream
Whether it receives a label mapping message from its downstream LSR, it will
send upstream a label mapping message immediately.
Upstream Downstream
DOD+ independent
DU+ independent
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 34
Label Retention: Conservative Retention Mode
 An LSR stores only the labels received from next-hop LSRs; all
other labels are ignored.
LSR1 LSR2 LSR3 LSR4
LSR5
172.16.2/24
mapping
label 20
mapping
label 30
mapping
label 17
mapping
label 16
Drop
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 35
Label Retention: Liberal Retention Mode
LSR1 LSR2 LSR3 LSR4
LSR5
172.16.2/24
mapping
label 20
mapping
label 30
mapping
label 17
mapping
label 16
store
 Every LSR stores the received label in its LIB, even when the label
is not received from a next-hop LSR.
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 36
Common Collocation 1: DoD + Ordered + Conservative
Upstream Downstream
 It is relatively easy to control the use of labels and the creation of LSPs
 ATM/FR frame mode can only use DoD
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 37
Common Collocation 2: DU + Ordered + Liberal
Upstream Downstream
 A waste of label resources
 Useless LSPs would be created
 Label merge is required at branches
 LSPs can be set up quickly and reliably
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 38
Label Forwarding Table
IN interface IN label Prefix/MASK OUT interface
(next hop)
OUT label
Serial0 50 10.1.1.0/24 Eth0(3.3.3.3) 80
Serial1 51 10.1.1.0/24 Eth0(3.3.3.3) 80
Serial1 62 70.1.2.0/24 Eth0(3.3.3.3) 52
Serial1 52 20.1.2.0/24 Eth1(4.4.4.4) 52
Serial2 77 30.1.2.0/24 Serial3(5.5.5.5) 3(pop)
 The “in” and “out” is correspond to the label swap,not the label
distribution.
 The in label is that I distribute to the others, I will not put it to
the packet
 The out label is the others distribute to me, I will put it to the
packet
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 39
Exercise-3
1. Describe MPLS label switching process
2. Describe MPLS label distribution work mode: allocation, control
and retention.
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 40
 Grasp the basic concepts and working
process of MPLS
 Grasp label allocation and distribution
Summary
www.huawei.com
Thank You

Contenu connexe

Tendances

Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010
Febrian ‎
 
01 introduction to mpls
01 introduction to mpls 01 introduction to mpls
01 introduction to mpls
Achmad Mardiansyah
 
An introduction to MPLS networks and applications
An introduction to MPLS networks and applicationsAn introduction to MPLS networks and applications
An introduction to MPLS networks and applications
Shawn Zandi
 
SEGMENT Routing
SEGMENT RoutingSEGMENT Routing
Label Distribution Protocol
Label Distribution ProtocolLabel Distribution Protocol
Label Distribution Protocol
Kashif Latif
 
Waris l2vpn-tutorial
Waris l2vpn-tutorialWaris l2vpn-tutorial
Waris l2vpn-tutorial
rakiva29
 
MPLS Deployment Chapter 1 - Basic
MPLS Deployment Chapter 1 - BasicMPLS Deployment Chapter 1 - Basic
MPLS Deployment Chapter 1 - Basic
Ericsson
 
MPLS & BASIC LDP
MPLS & BASIC LDPMPLS & BASIC LDP
MPLS & BASIC LDP
Reza Farahani
 
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44
Jisc
 
Juniper MPLS Tutorial by Soricelli
Juniper MPLS Tutorial by SoricelliJuniper MPLS Tutorial by Soricelli
Juniper MPLS Tutorial by Soricelli
Febrian ‎
 
Implementing cisco mpls
Implementing cisco mplsImplementing cisco mpls
Implementing cisco mpls
Matiullah Jamil
 
MPLS + BGP Presentation
MPLS + BGP PresentationMPLS + BGP Presentation
MPLS + BGP Presentation
Gino McCarty
 
MPLS - Multiprotocol Label Switching
MPLS - Multiprotocol Label SwitchingMPLS - Multiprotocol Label Switching
MPLS - Multiprotocol Label Switching
Peter R. Egli
 
Segment routing tutorial
Segment routing tutorialSegment routing tutorial
Segment routing tutorial
Yi-Sung Chiu
 
MPLS
MPLSMPLS
Carrier Ethernet
Carrier EthernetCarrier Ethernet
Carrier Ethernet
Azhar Khuwaja
 
Segment Routing
Segment RoutingSegment Routing
Segment Routing
APNIC
 
MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)
Netwax Lab
 
Next Generation IP Transport
Next Generation IP TransportNext Generation IP Transport
Next Generation IP Transport
MyNOG
 
MPLS VPN
MPLS VPNMPLS VPN
MPLS VPN
Wilfried Tiani
 

Tendances (20)

Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010Deploying IP/MPLS VPN - Cisco Networkers 2010
Deploying IP/MPLS VPN - Cisco Networkers 2010
 
01 introduction to mpls
01 introduction to mpls 01 introduction to mpls
01 introduction to mpls
 
An introduction to MPLS networks and applications
An introduction to MPLS networks and applicationsAn introduction to MPLS networks and applications
An introduction to MPLS networks and applications
 
SEGMENT Routing
SEGMENT RoutingSEGMENT Routing
SEGMENT Routing
 
Label Distribution Protocol
Label Distribution ProtocolLabel Distribution Protocol
Label Distribution Protocol
 
Waris l2vpn-tutorial
Waris l2vpn-tutorialWaris l2vpn-tutorial
Waris l2vpn-tutorial
 
MPLS Deployment Chapter 1 - Basic
MPLS Deployment Chapter 1 - BasicMPLS Deployment Chapter 1 - Basic
MPLS Deployment Chapter 1 - Basic
 
MPLS & BASIC LDP
MPLS & BASIC LDPMPLS & BASIC LDP
MPLS & BASIC LDP
 
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44
 
Juniper MPLS Tutorial by Soricelli
Juniper MPLS Tutorial by SoricelliJuniper MPLS Tutorial by Soricelli
Juniper MPLS Tutorial by Soricelli
 
Implementing cisco mpls
Implementing cisco mplsImplementing cisco mpls
Implementing cisco mpls
 
MPLS + BGP Presentation
MPLS + BGP PresentationMPLS + BGP Presentation
MPLS + BGP Presentation
 
MPLS - Multiprotocol Label Switching
MPLS - Multiprotocol Label SwitchingMPLS - Multiprotocol Label Switching
MPLS - Multiprotocol Label Switching
 
Segment routing tutorial
Segment routing tutorialSegment routing tutorial
Segment routing tutorial
 
MPLS
MPLSMPLS
MPLS
 
Carrier Ethernet
Carrier EthernetCarrier Ethernet
Carrier Ethernet
 
Segment Routing
Segment RoutingSegment Routing
Segment Routing
 
MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)
 
Next Generation IP Transport
Next Generation IP TransportNext Generation IP Transport
Next Generation IP Transport
 
MPLS VPN
MPLS VPNMPLS VPN
MPLS VPN
 

Similaire à ODC010001 MPLS Basic Knowledge ISSUE1.5.ppt

Multi Protocol Label Switching. (by Rahil Reyaz)
Multi Protocol Label Switching. (by Rahil Reyaz)Multi Protocol Label Switching. (by Rahil Reyaz)
Multi Protocol Label Switching. (by Rahil Reyaz)
RAHIL REYAZ
 
MPLS-jpl.ppt
MPLS-jpl.pptMPLS-jpl.ppt
MPLS-jpl.ppt
demon667714
 
MPLS
MPLSMPLS
Mpls by vidhu
Mpls by vidhuMpls by vidhu
Mpls by vidhu
CU
 
MPLS Presentation
MPLS PresentationMPLS Presentation
MPLS Presentation
Unni Kannan VijayaKumar
 
Broadband Network Presentation
Broadband Network PresentationBroadband Network Presentation
Broadband Network Presentation
Muhammad Faisal
 
Mpls Services
Mpls ServicesMpls Services
Mpls Services
Kristof De Brouwer
 
Cisco Exam # 642 611 Mpls Study Notes
Cisco Exam # 642 611 Mpls Study NotesCisco Exam # 642 611 Mpls Study Notes
Cisco Exam # 642 611 Mpls Study Notes
Duane Bodle
 
Branching out with SDN
Branching out with SDNBranching out with SDN
Branching out with SDN
APNIC
 
Digital network lecturer3
Digital network  lecturer3Digital network  lecturer3
Digital network lecturer3
Jumaan Ally Mohamed
 
Mpls101
Mpls101Mpls101
Mpls101
Anees Jaffar
 
yun-MPLS.ppt
yun-MPLS.pptyun-MPLS.ppt
yun-MPLS.ppt
ssuserd0c720
 
2) Routing Protocol Basis.pdf
2) Routing Protocol Basis.pdf2) Routing Protocol Basis.pdf
2) Routing Protocol Basis.pdf
RandyDookheran2
 
2) Routing Protocol Basis.pdf
2) Routing Protocol Basis.pdf2) Routing Protocol Basis.pdf
2) Routing Protocol Basis.pdf
RandyDookheran1
 
MPLS101.ppt
MPLS101.pptMPLS101.ppt
MPLS101.ppt
ssuserd0c720
 
IIR VPN London
IIR VPN LondonIIR VPN London
IIR VPN London
Krishnamoorthy Arvind
 
MPLS-extra.ppt
MPLS-extra.pptMPLS-extra.ppt
MPLS-extra.ppt
SidharthSharma546629
 
Mpls Traffic Engineering ppt
Mpls Traffic Engineering pptMpls Traffic Engineering ppt
Mpls Traffic Engineering ppt
Nitin Gehlot
 
Mpls vpn
Mpls vpnMpls vpn
Mpls vpn
rel comm
 
mpls.ppt
mpls.pptmpls.ppt
mpls.ppt
IbraheimZidan
 

Similaire à ODC010001 MPLS Basic Knowledge ISSUE1.5.ppt (20)

Multi Protocol Label Switching. (by Rahil Reyaz)
Multi Protocol Label Switching. (by Rahil Reyaz)Multi Protocol Label Switching. (by Rahil Reyaz)
Multi Protocol Label Switching. (by Rahil Reyaz)
 
MPLS-jpl.ppt
MPLS-jpl.pptMPLS-jpl.ppt
MPLS-jpl.ppt
 
MPLS
MPLSMPLS
MPLS
 
Mpls by vidhu
Mpls by vidhuMpls by vidhu
Mpls by vidhu
 
MPLS Presentation
MPLS PresentationMPLS Presentation
MPLS Presentation
 
Broadband Network Presentation
Broadband Network PresentationBroadband Network Presentation
Broadband Network Presentation
 
Mpls Services
Mpls ServicesMpls Services
Mpls Services
 
Cisco Exam # 642 611 Mpls Study Notes
Cisco Exam # 642 611 Mpls Study NotesCisco Exam # 642 611 Mpls Study Notes
Cisco Exam # 642 611 Mpls Study Notes
 
Branching out with SDN
Branching out with SDNBranching out with SDN
Branching out with SDN
 
Digital network lecturer3
Digital network  lecturer3Digital network  lecturer3
Digital network lecturer3
 
Mpls101
Mpls101Mpls101
Mpls101
 
yun-MPLS.ppt
yun-MPLS.pptyun-MPLS.ppt
yun-MPLS.ppt
 
2) Routing Protocol Basis.pdf
2) Routing Protocol Basis.pdf2) Routing Protocol Basis.pdf
2) Routing Protocol Basis.pdf
 
2) Routing Protocol Basis.pdf
2) Routing Protocol Basis.pdf2) Routing Protocol Basis.pdf
2) Routing Protocol Basis.pdf
 
MPLS101.ppt
MPLS101.pptMPLS101.ppt
MPLS101.ppt
 
IIR VPN London
IIR VPN LondonIIR VPN London
IIR VPN London
 
MPLS-extra.ppt
MPLS-extra.pptMPLS-extra.ppt
MPLS-extra.ppt
 
Mpls Traffic Engineering ppt
Mpls Traffic Engineering pptMpls Traffic Engineering ppt
Mpls Traffic Engineering ppt
 
Mpls vpn
Mpls vpnMpls vpn
Mpls vpn
 
mpls.ppt
mpls.pptmpls.ppt
mpls.ppt
 

Plus de RandyDookheran1

4) ODC112012 OSPF Special Areas ISSUE1.00.ppt
4) ODC112012 OSPF Special Areas ISSUE1.00.ppt4) ODC112012 OSPF Special Areas ISSUE1.00.ppt
4) ODC112012 OSPF Special Areas ISSUE1.00.ppt
RandyDookheran1
 
IPv6 Basis Training Presentation - Huawei
IPv6 Basis Training Presentation - HuaweiIPv6 Basis Training Presentation - Huawei
IPv6 Basis Training Presentation - Huawei
RandyDookheran1
 
ODC112017 Adjacency Relationship of IS-IS Protocol ISSUE1.00 (2).ppt
ODC112017 Adjacency Relationship of IS-IS Protocol ISSUE1.00 (2).pptODC112017 Adjacency Relationship of IS-IS Protocol ISSUE1.00 (2).ppt
ODC112017 Adjacency Relationship of IS-IS Protocol ISSUE1.00 (2).ppt
RandyDookheran1
 
HCIA-HNTD Intermediate Training Materials V2.2.pdf
HCIA-HNTD Intermediate Training Materials V2.2.pdfHCIA-HNTD Intermediate Training Materials V2.2.pdf
HCIA-HNTD Intermediate Training Materials V2.2.pdf
RandyDookheran1
 
Exploring IP Routing and Ethernet Bridging.pdf
Exploring IP Routing and Ethernet Bridging.pdfExploring IP Routing and Ethernet Bridging.pdf
Exploring IP Routing and Ethernet Bridging.pdf
RandyDookheran1
 
Configuration Guide - IP Multicast(V600R001C00_04) - NE80E40E.pdf
Configuration Guide - IP Multicast(V600R001C00_04) - NE80E40E.pdfConfiguration Guide - IP Multicast(V600R001C00_04) - NE80E40E.pdf
Configuration Guide - IP Multicast(V600R001C00_04) - NE80E40E.pdf
RandyDookheran1
 
acl configuration
acl configurationacl configuration
acl configuration
RandyDookheran1
 
ospf initial configuration
ospf initial configurationospf initial configuration
ospf initial configuration
RandyDookheran1
 

Plus de RandyDookheran1 (8)

4) ODC112012 OSPF Special Areas ISSUE1.00.ppt
4) ODC112012 OSPF Special Areas ISSUE1.00.ppt4) ODC112012 OSPF Special Areas ISSUE1.00.ppt
4) ODC112012 OSPF Special Areas ISSUE1.00.ppt
 
IPv6 Basis Training Presentation - Huawei
IPv6 Basis Training Presentation - HuaweiIPv6 Basis Training Presentation - Huawei
IPv6 Basis Training Presentation - Huawei
 
ODC112017 Adjacency Relationship of IS-IS Protocol ISSUE1.00 (2).ppt
ODC112017 Adjacency Relationship of IS-IS Protocol ISSUE1.00 (2).pptODC112017 Adjacency Relationship of IS-IS Protocol ISSUE1.00 (2).ppt
ODC112017 Adjacency Relationship of IS-IS Protocol ISSUE1.00 (2).ppt
 
HCIA-HNTD Intermediate Training Materials V2.2.pdf
HCIA-HNTD Intermediate Training Materials V2.2.pdfHCIA-HNTD Intermediate Training Materials V2.2.pdf
HCIA-HNTD Intermediate Training Materials V2.2.pdf
 
Exploring IP Routing and Ethernet Bridging.pdf
Exploring IP Routing and Ethernet Bridging.pdfExploring IP Routing and Ethernet Bridging.pdf
Exploring IP Routing and Ethernet Bridging.pdf
 
Configuration Guide - IP Multicast(V600R001C00_04) - NE80E40E.pdf
Configuration Guide - IP Multicast(V600R001C00_04) - NE80E40E.pdfConfiguration Guide - IP Multicast(V600R001C00_04) - NE80E40E.pdf
Configuration Guide - IP Multicast(V600R001C00_04) - NE80E40E.pdf
 
acl configuration
acl configurationacl configuration
acl configuration
 
ospf initial configuration
ospf initial configurationospf initial configuration
ospf initial configuration
 

Dernier

Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
Pravash Chandra Das
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
HarisZaheer8
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Tatiana Kojar
 

Dernier (20)

Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
 

ODC010001 MPLS Basic Knowledge ISSUE1.5.ppt

  • 1. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved www.huawei.com Internal ODC010001 MPLS Basic Knowledge ISSUE 1.5
  • 2. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 1 The course introduce the basic concept of MPLS, including MPLS label, MPLS switching, MPLS label allocating.
  • 3. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 2 Upon completion of this course, you will be able to: Describe the switching process of MPLS, the method to allocate and control the label.
  • 4. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 3 Chapter 1 MPLS Overview Chapter 2 Label and Label Stack Chapter 3 Label Forwarding and Allocation
  • 5. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 4 MPLS  MPLS——Multi-Protocol Label Switching Multi-Protocol Support multiple Layer-3 protocols, such as IP, IPv6, IPX, SNA Label Switching Label packets, and replace IP forwarding with label switching
  • 6. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 5 Origin: To Integrate IP with ATM Connectionless control plane Connectionless forwarding plane IP Connection-oriented control plane Connection-oriented forwarding plane ATM Connectionless control plane Connection-oriented forwarding plane MPLS
  • 7. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 6 Connection-oriented Features Connectionless: packet route  Path 1 = S1, S2, S6, S8  Path 2 = S1, S4, S7, S8  The data reach their destination out of order along different paths connection-oriented: cell switching  VC = S1, S4, S7, S8  The data reach their destination in order along the same connection  Fixed time delay, easy to control  Connection types: PVC SVC S2 S6 S4 S7 S3 S5 S1 S8 1 1 1 2 2 2 S2 S6 S4 S7 VC S1 S8 S3 S5
  • 8. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 7 Traditional IP Forwarding  IP header is parsed at each hop, resulting in low efficiency.  It is hard to deploy QoS and the efficiency is rather low.  All routers are expected to know all routes in the entire network. Parse IP header mapped to next hop Parse IP header mapped to next hop Parse IP header mapped to next hop
  • 9. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 8 Virtual Channel Connection (VCC) VC switching VC switching NNI NNI VPI = 2 VCI = 44 VPI = 1 VCI = 1 VPI = 26 VCI = 44 VPI = 20 VCI = 30 UNI UNI ATM Switching Process  Connection-oriented, N2 problem  Routing depending on link layer, based on VPI/VCI or label  Ensure QoS and real-time service
  • 10. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 9 Technology Combining the Advantages of ATM and IP + X R = X Router ATM switch MPLS Router MPLS——multi-protocol label switching  Layer 3 routing – scalable and flexible  Layer 2 switching – High reliability and traffic engineering management
  • 11. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 10 Basic MPLS Concepts  LSR: Label Switch Router  LER: Label Edge Router  LSP: Label Switch Path LER LER LER LER LSR LSR LSR MPLS domain IP MPLS LSP
  • 12. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 11 Core LSR Basic Working Process of MPLS IP IP L1 IP L2 IP L3 IP Traditional IP forwarding Traditional IP forwarding Label forwarding Edge LSR Edge LSR
  • 13. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 12 MPLS Advantages  Replace IP header with short and fixed-length labels as forwarding basis to improve forwarding speed  Better integrate IP with ATM  Provide value-added service without prejudice to efficiency: VPN Traffic engineering QOS
  • 14. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 13 Exercise-1 1. What is MPLS? 2. Describe the core function of MPLS 3. Describe LER, LSR and LSP
  • 15. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 14 Chapter 1 MPLS Overview Chapter 2 Label and Label Stack Chapter 3 Label Forwarding and Allocation
  • 16. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 15 MPLS Encapsulation Format and Label MPLS header Layer 2 header IP header Data Label S EXP TTL 20 0 23 24 31 32 bits
  • 17. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 16 Label Values Special use and reserved range − 0: IPv4 explicit null, label stack must be popped − 1: Router alert, local processing operation − 2: IPv6 explicit null, label stack must be popped − 3: Implicit null, triggers label stack pop, overrides label swap − 4 to 15: reserved General use range − 16 to 1,048,575
  • 18. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 17 Label Position in Packet Ethernet header /PPP header Label Layer-3 data Ethernet /SONET /SDH packet ATM header Label Layer-3 data Frame mode ATM packet Cell mode ATM packet VPI/VCI Layer-3 data  Two types of MPLS encapsulation for ATM and FR: shim encapsulation: similar to other link layers Cell mode: VC (VPI/VCI for ATM, DLCI for FR) is directly used as the label
  • 19. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 18 Label Spaces and Identifiers  Label space is a set of interface-specific or platform-wide labels Platform-wide: One pool of labels is shared across all interfaces Per-interface: Label values can be reused on each interface  Label space Label space ID—Zero for platform-wide label space (2 octets) For example, 192.168.1.1:0 (platform-wide), 192.168.1.1:5 (per-interface) MPLS based frame mode use Platform-wide label space, such as IP, Ethernet. MPLS based cell mode use Per-interface label space, such as ATM.
  • 20. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 19 MPLS TTL Processing Regard the entire MPLS domain as one hop IP TTL -- MPLS TTL=255 MPLS TTL -- IP TTL -- Ingress LER LSR Egress LER Include MPLS TTL in IP TTL IP TTL -- MPLS TTL=IP TTL MPLS TTL -- MPLS TTL -- IP TTL=MPLS TTL Ingress LER LSR Egress LER
  • 21. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 20 LSP Loop Detection  Path looping shall be avoided even in setting up LSP within the MPLS domain.  LSP path looping can be avoided in two ways: Maximum hop number; Path vector LSRA LSRB LSRC LSRX 1 2 3 32 LSRA LSRB LSRA LSRC LSRA,LSRB LSRA,LSRB….. LSRA,LSRB…..LSRC
  • 22. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 21 Label Stack  Theoretically, label stack enables limitless nesting to provide infinite service support. This is simply the greatest advantage of MPLS technology. MPLS header Layer2 header IP header Data MPLS header
  • 23. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 22 Exercise-2 1. Describe MPLS label structure 2. Describe label position with different encapsulation mode 3. Describe two LSP loop detection methods
  • 24. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 23 Chapter 1 MPLS Overview Chapter 2 Label and Label Stack Chapter 3 Label Forwarding and Allocation
  • 25. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 24 Basic Concepts of Label Forwarding  FEC (Forwarding Equivalence Class): Import the packets with identical characteristics into the same LSP  NHLFE (Next Hop Label Forwarding Entry): Describe label operations  next hop  label operation types: push/pop/swap/null  Link layer encapsulation types  FTN (FEC to NHLFE): Map FEC to NHLFE  ILM (Incoming Label Map): Map MPLS label to NHLFE
  • 26. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 25 Label Forwarding  The traditional routing protocol and Label Distribution Protocol (LDP) serve to create routing table and label mapping table (FEC-Label mapping) in each LSR for FECs with service requirement, i.e. create LSP successfully.  Ingress LER receives a packet, determines the FEC that the packet belongs to, and label the packet  In MPLS domain, packets are forwarded in accordance with labels and label forwarding table via the forwarding unit  Egress LER removes the label and continues forwarding the packet Parse IP header FEC bound with LSP FTN->NHLFE ILM->NHLFE ILM->NHLFE Parse IP header distribute FEC mapped to next hop ILM->NHLFE Ingress LER LSR LSR Egress LER Label operation: push Label operation: swap Label operation: swap label operation: pop A B C D
  • 27. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 26 NHLFE A: … Add label L1 E1 B 10.0.1.0/24 Others Label operation Transmitting interface next hop NHLFE FEC … Remove the previous label and add L2 E1 C L1 Others label operation Transmitting interface Next hop NHLFE Ingress label B: … Remove the previous label and add L3 D L2 Others Label operation Next hop NHLFE Ingress label C: E1 Transmitting interface
  • 28. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 27 Penultimate Hop Popping (PHP)  The label at the outmost layer does not make any sense to the last hop. Thus, it is advisable to pop the label at the last hop but one to ease the burden of the last hop.  If there is only one layer of label, the last hop will perform IP forwarding directly; otherwise, it will perform the internal label forwarding. Parse IP header Distribute FEC Mapped to next hop Label operation: pop Parse IP header FEC bound with LSP FTN->NHLFE ILM->NHLFE ILM->NHLFE Ingress LER LSR LSR Egress LER Label operation: push Label operation: swap
  • 29. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 28 Creating LSP  LSP drive modes:  Driven by stream: incoming packets drive LSP creation  Driven by topology: topology information (route) drives LSP creation  Driven by application: application (like QoS) drives LSP creation  Signaling protocol is used to distribute labels between LSRs and establish LSP:  LDP: Label Distribution Protocol  CR-LDP: Constrained Route LDP  RSVP-TE  MP-BGP  PIM
  • 30. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 29 Several Issues Concerning Label Distribution  Label allocation mode  DoD : downstream-on-demand  DU: downstream unsolicited  Label control mode  Ordered  Independent  Label retention mode  Conservative retention mode : upon receiving a label, if there is no route destined for corresponding FEC, discard the label.  Liberal mode: upon receiving a label, if there is no route destined for the corresponding FEC, hold the label for later use.
  • 31. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 30 Label Allocation Mode: DoD Upstream Downstream The upstream LSR sends a label request (containing FEC description information) to the downstream LSR. The downstream LSR allocates a label to this FEC and feeds back the bound label to the upstream LSR via the label mapping message. 171.68.10.0/24 171.68.40.0/24 LSR1 LSR2 LSR3 请求到目的地址 171.68.10/24 的标签 Requesting labels destined for 171.68.10.0/24 的标签 Requesting labels destined for 171.68.10.0/24 分配到171.68.10/24 的标签为 20 Label 20 is allocated to 171.68.10.0/24 分配到171.68.10/24 的标签为18 Label 18 is allocated to 171.68.10.0/24 Route triggering
  • 32. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 31 Label Allocation Mode: DU Upstream Downstream Route triggering Once the LDP session is set up successfully, the downstream LSR will initiatively advertise the label mapping message to its upstream LSR. The upstream router will save the label in the label mapping table. 到171.68.10/24 可以使用标签 20 Label 20 can be used to reach 171.68.10.0/24 171.68.10.0/24 171.68.40.0/24 Label 18 can be used to reach 171.68.10.0/24
  • 33. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 32 Label Control Mode: Ordered Not until it receives a label mapping message from its downstream LSP will it send the message upstream Upstream Downstream DOD+ Ordered Upstream Downstream DU+ Ordered
  • 34. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 33 Label Control Mode: Independent Upstream Downstream Whether it receives a label mapping message from its downstream LSR, it will send upstream a label mapping message immediately. Upstream Downstream DOD+ independent DU+ independent
  • 35. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 34 Label Retention: Conservative Retention Mode  An LSR stores only the labels received from next-hop LSRs; all other labels are ignored. LSR1 LSR2 LSR3 LSR4 LSR5 172.16.2/24 mapping label 20 mapping label 30 mapping label 17 mapping label 16 Drop
  • 36. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 35 Label Retention: Liberal Retention Mode LSR1 LSR2 LSR3 LSR4 LSR5 172.16.2/24 mapping label 20 mapping label 30 mapping label 17 mapping label 16 store  Every LSR stores the received label in its LIB, even when the label is not received from a next-hop LSR.
  • 37. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 36 Common Collocation 1: DoD + Ordered + Conservative Upstream Downstream  It is relatively easy to control the use of labels and the creation of LSPs  ATM/FR frame mode can only use DoD
  • 38. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 37 Common Collocation 2: DU + Ordered + Liberal Upstream Downstream  A waste of label resources  Useless LSPs would be created  Label merge is required at branches  LSPs can be set up quickly and reliably
  • 39. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 38 Label Forwarding Table IN interface IN label Prefix/MASK OUT interface (next hop) OUT label Serial0 50 10.1.1.0/24 Eth0(3.3.3.3) 80 Serial1 51 10.1.1.0/24 Eth0(3.3.3.3) 80 Serial1 62 70.1.2.0/24 Eth0(3.3.3.3) 52 Serial1 52 20.1.2.0/24 Eth1(4.4.4.4) 52 Serial2 77 30.1.2.0/24 Serial3(5.5.5.5) 3(pop)  The “in” and “out” is correspond to the label swap,not the label distribution.  The in label is that I distribute to the others, I will not put it to the packet  The out label is the others distribute to me, I will put it to the packet
  • 40. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 39 Exercise-3 1. Describe MPLS label switching process 2. Describe MPLS label distribution work mode: allocation, control and retention.
  • 41. HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 40  Grasp the basic concepts and working process of MPLS  Grasp label allocation and distribution Summary