SlideShare a Scribd company 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

More Related Content

What's hot

Juniper mpls best practice part 2
Juniper mpls best practice   part 2Juniper mpls best practice   part 2
Juniper mpls best practice part 2
Febrian ‎
 
Juniper mpls best practice part 1
Juniper mpls best practice   part 1Juniper mpls best practice   part 1
Juniper mpls best practice part 1
Febrian ‎
 
MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)
Vipin Sahu
 
MPLS & BASIC LDP
MPLS & BASIC LDPMPLS & BASIC LDP
MPLS & BASIC LDP
Reza Farahani
 
MPLS - Multiprotocol Label Switching
MPLS - Multiprotocol Label SwitchingMPLS - Multiprotocol Label Switching
MPLS - Multiprotocol Label Switching
Peter R. Egli
 
IS-IS Protocol Introduction
IS-IS Protocol IntroductionIS-IS Protocol Introduction
IS-IS Protocol Introduction
NetProtocol Xpert
 
MPLS (Multi-Protocol Label Switching)
MPLS  (Multi-Protocol Label Switching)MPLS  (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)
NetProtocol Xpert
 
IS-IS Protocol Adjacency
IS-IS Protocol Adjacency IS-IS Protocol Adjacency
IS-IS Protocol Adjacency
NetProtocol Xpert
 
SEGMENT Routing
SEGMENT RoutingSEGMENT Routing
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44
Jisc
 
MPLS Traffic Engineering
MPLS Traffic EngineeringMPLS Traffic Engineering
MPLS Traffic Engineering
APNIC
 
EVPN Introduction
EVPN IntroductionEVPN Introduction
MPLS
MPLSMPLS
MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)
Netwax Lab
 
MPLS L3 VPN Deployment
MPLS L3 VPN DeploymentMPLS L3 VPN Deployment
MPLS L3 VPN Deployment
APNIC
 
IS-IS vs OSPF
IS-IS vs OSPFIS-IS vs OSPF
IS-IS vs OSPF
NetProtocol Xpert
 
MPLS Layer 3 VPN
MPLS Layer 3 VPN MPLS Layer 3 VPN
MPLS Layer 3 VPN
NetProtocol Xpert
 
Multiprotocol label switching
Multiprotocol label switchingMultiprotocol label switching
Multiprotocol label switching
Sumita Das
 

What's hot (20)

Juniper mpls best practice part 2
Juniper mpls best practice   part 2Juniper mpls best practice   part 2
Juniper mpls best practice part 2
 
Juniper mpls best practice part 1
Juniper mpls best practice   part 1Juniper mpls best practice   part 1
Juniper mpls best practice part 1
 
MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)
 
MPLS & BASIC LDP
MPLS & BASIC LDPMPLS & BASIC LDP
MPLS & BASIC LDP
 
MPLS - Multiprotocol Label Switching
MPLS - Multiprotocol Label SwitchingMPLS - Multiprotocol Label Switching
MPLS - Multiprotocol Label Switching
 
IS-IS Protocol Introduction
IS-IS Protocol IntroductionIS-IS Protocol Introduction
IS-IS Protocol Introduction
 
MPLS (Multi-Protocol Label Switching)
MPLS  (Multi-Protocol Label Switching)MPLS  (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)
 
IS-IS Protocol Adjacency
IS-IS Protocol Adjacency IS-IS Protocol Adjacency
IS-IS Protocol Adjacency
 
Ether channel fundamentals
Ether channel fundamentalsEther channel fundamentals
Ether channel fundamentals
 
SEGMENT Routing
SEGMENT RoutingSEGMENT Routing
SEGMENT Routing
 
Mpls concepts. Time to Certify
Mpls concepts. Time to CertifyMpls concepts. Time to Certify
Mpls concepts. Time to Certify
 
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44
 
MPLS Traffic Engineering
MPLS Traffic EngineeringMPLS Traffic Engineering
MPLS Traffic Engineering
 
EVPN Introduction
EVPN IntroductionEVPN Introduction
EVPN Introduction
 
MPLS
MPLSMPLS
MPLS
 
MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)
 
MPLS L3 VPN Deployment
MPLS L3 VPN DeploymentMPLS L3 VPN Deployment
MPLS L3 VPN Deployment
 
IS-IS vs OSPF
IS-IS vs OSPFIS-IS vs OSPF
IS-IS vs OSPF
 
MPLS Layer 3 VPN
MPLS Layer 3 VPN MPLS Layer 3 VPN
MPLS Layer 3 VPN
 
Multiprotocol label switching
Multiprotocol label switchingMultiprotocol label switching
Multiprotocol label switching
 

Similar to 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 by vidhu
Mpls by vidhuMpls by vidhu
Mpls by vidhu
CU
 
MPLS Presentation
MPLS PresentationMPLS Presentation
MPLS Presentation
Unni Kannan VijayaKumar
 
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
 
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
 
01 introduction to mpls
01 introduction to mpls 01 introduction to mpls
01 introduction to mpls
Achmad Mardiansyah
 
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
 
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 pptNitin Gehlot
 

Similar to 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
 
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
 
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
 
01 introduction to mpls
01 introduction to mpls 01 introduction to mpls
01 introduction to mpls
 
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
 

Recently uploaded

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 

Recently uploaded (20)

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 

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