SlideShare a Scribd company logo
MPLS Intro
An Introduction to MPLS Networks and Applications
by Shawn Zandi
MPLS History
 1994: Toshiba presented Cell Switch Router as IETF
BOF
 1996: Ipsilon, Cisco and IBM supported the idea
 1997: Formation of the IETF MPLS working group
 IETF released RFC 2547 "BGP/MPLS VPNs" in
1999
2
Terminology
Cisco
Terminology
New Terminology
Tag Switching MPLS
Tag Label
TDP LDP (Label Distribution Protocol)
TFIB LFIB (Label Forwarding Information
Base)
TSR LSR (Label Switch Router)
TSC LSC (Label Switch Controller)
TSP LSP (Label Switched Path)
3
MPLS Applications
 MPLS VPN
 Most Popular Application of MPLS
 Traffic Engineering
 First called RRR or R3 (Routing & Resource
Reservation)
 AToM (Any Transport over MPLS)
 Point-to-point circuits over MPLS – Frame Relay, ATM,
PPP, HDLC, Ethernet and IEEE 802.1Q
 VPLS (Virtual Private LAN Service)
 Ethernet Supported in a multipoint fashion.
4
Advantages of MPLS
 MPLS VPN
 VRF routing tables and ease of growth.
 Unified infrastructure
 Carrier for any technology - ATM, FR, PPP, Ethernet, IPv4 and
IPv6.
 Better IP over ATM than pervious solutions
 AAL5 - RFC1483, LANE, Multiprotocol over ATM - MPOA
 BGP-free core
 providers need IP routing but BGP is only required on edges.
 Optimal Traffic Flow
 Connections logically are fully mesh and no extra circuit
mapping is required.
 Traffic Engineering
 Different path from least cost path, Source-based routing &
Fast Re-Routing (FRR)
5
MPLS Label
 32 bits header (4 Bytes) = each stack
 Unlimited Stacks supported, The last stack BOS flag=1
 Label: 20 bits
 EXP: 3 bits
 BOS: 1 bit (bottom of stack)
 TTL: 8 bits
Label EXP TTL
BOS6
Label Stack
 Top label and bottom label on a stack:
Label EXP TTL0
Label EXP TTL0
Label EXP TTL1
…
7
Label Stack (cont.)
 Some MPLS applications like MPLS VPNs require
more than one label in the label stack to forward the
packets.
 MPLS VPNs and AToM put two labels in the label
stack.
 MPLS is not a Layer 2 Protocol, not even Layer 3
 MPLS is viewed as a Layer 2.5 protocol.
Label 0 Label 1 IPv4PPP
8
Protocol Identifier
 Data Link Layer Protocol Identifier
 ATM uses a different way for encapsulating the Label.
Layer 2 Protocol Identifier Field Value (hex)
PPP Protocol Field 0281
Ethernet SNAP Ether-type 8847
HDLC Protocol 8847
Frame Relay NLPID 80
9
Label Switch Router
 LSR is a router that supports MPLS.
 Ingress LSR
 Inserts a label (push) and sends packet to MPLS network.
 Egress LSR
 Removes the label (pop) and sends packet on a data link.
 Intermediate LSR
 Modifies the label (swap) and switches the packets.
 Edge LSR = Ingress and Egress LSRs
10
MPLS Network
Label Switch Router (cont.)
Ingress
LSR
Intermediate LSR Egress LSR
Imposing LSR Disposing
LSR
11
MPLS VPN
Label Switch Router (cont.)
Provider Edge PE CECustomer Edge P
12
MPLS Network
Label Switched Path
Ingress
LSR
LSR LSR LSR Ingress
LSR
LSP
LSP : Sequence of LSRs – a path through the MPLS
network. (Unidirectional)
13
MPLS Network
Nested LSP
Ingress
LSR
LSR LSR LSR Ingress
LSR
LSP
LSP inside LSP – The second Label spans the entire
MPLS network.
LSP
14
Forwarding Equivalence Class
 FEC is group or flow of packets classified for a
forwarding decision and have similar EXP.
 Ingress LSR decides which packet belongs to which
FEC.
 All packets with same FEC get the same label imposed
by the ingress LSR
 Same FEC = Same Label.
 Same Label <> Same FEC. (might have different
FEC)
15
FEC Classification
 Ingress LSR Classifies traffic (FEC) based on:
 Certain multicast group
 Based on DSCP or Precedence
 Based on VC (sub-interface)
 Based on Destination IP
 Based on BGP Prefixes pointing to the same Next-hop.
 In this case all traffic for an Egress LSR (iBGP Peer) can be
forwarded through a specific LSP.
16
Label Distribution
 Adjacent LSRs must agree to use specific Label for
a specific IP Prefix.
 Labels are local and have no global meaning.
 Labels are between adjacent LSRs.
 A label distribution protocol is required.
 Using IP Routing Protocol (EIGRP, ISIS, OSPF)
 Using Label Distribution Protocol (TDP, LDP, RSVP)
17
Label Distribution with Routing Protocol
 Advantage:
 Does not need a new label distribution protocol.
 Routing and Label distribution are always in sync.
 EIGRP implementation is straight forward.
 Disadvantage:
 Link state routing protocols do not function this way.
18
Label Distribution with LDP
 Label Information Base (LIB) holds remote and local
label bindings.
 One local binding per prefix.
 Label Space:
 Per platform
 Per interface (LC-ATM)
19
LIB LFIB
 LFIB is Label Forwarding Instance Base, a table
used to forward incoming and outgoing labels for
LSPs.
1. All remote bindings LIB
2. Only one possible outgoing label in LIB LFIB
LDP
Static
MPBGP
RSVP
20
MPLS Payload
 The MPLS has no Network Level Protocol Identifier.
 NLPID exists in all Layer 2 protocols (different
names)
 Intermediate LSRs do not need to know what
payload is.
 Egress LSR should know what the payload is, to
forward.
 Egress LSR is the one who created label binding for
FEC.
21
LDP Modes
 Label Distribution Mode
 DOD Downstream-on-Demand (pull mode – LC-ATM)
 UD Unsolicited Downstream (push mode – Default)
 Label Retention Mode
 LLR Liberal Label Retention (keep all bindings in LIB -
Default)
 CLR Conservative Label Retention (LC-ATM)
 LSP Control Mode
 Independent LSP (immediate local binding for FEC -
Default)
 Ordered LSP (IOS ATM switches)
22
LFIB Forwarding Commands
 show ip cef x.x.x.x
 show adjacency table
 show mpls forwarding-table
 show mpls forwarding-table x.x.x.x
 show mpls forwarding-table x.x.x.x detail
 show mpls forwarding-table vrf …
 show mpls interfaces … detail
23
Label Operation
 Pop
 Swap
 Push
 Untagged/No Label
 Aggregate
 Remove the label stack then perform IP Lookup.
24
IOS Label Range
 Default Label Range 16 to 100,000
 Router(config)# mpls label range 16 1048575
 Unknown Label: drop
 Reserved Label 0 to 15:
 Implicit NULL Label (3)
 Set by egress LSR for connected and summarized prefixes to
penultimate LSR to not send Label. “penultimate hop popping”
PHP
 Explicit NULL Label(0, for IPv6=2)
 Like implicit NULL but send label=0 to retain EXP value.
 Router Alert Label (1)
 Perform software Lookup instead of hardware
 OAM Alert Label (14) RFC 3429 – not supported on IOS
25
TTL and MPLS
 TTL (-1) is copied from IP header to MPLS and vice
versa.
 Don’t copy if TTL value is greater than packet TTL.
Label to
IP
Igress
LSR
LSR LSR
TTL=25
4
TTL=25
3
TTL=25
3
TTL=25
3
TTL=25
3
TTL=25
2
TTL=25
3
TTL=25
1
TTL=25
2
IP to
Label
TTL=25
3
Label to
Label
26
TTL – Label to Label
Intermediate LSR does not change TTL in IP header or underlying
labels.
POP
LS
R
LSR LSR
TTL=25
3
TTL=25
3
TTL=24
9
TTL=24
8
TTL=25
3
TTL=25
3
TTL=25
1
TTL=25
3
TTL=25
3
TTL=25
1
TTL=25
1
TTL=25
0
SWAP
TTL=25
2
TTL=25
1
PUSH
27
TTL Expire
 ICMP “time exceeded” (type 11 code 0) is forwarded along the LSP
because interim LSR might have no route to the originator of packet.
Ingress Egres
s
TTL=2 TTL=1
TTL=1
ICMP
Time
Exceede
d
TTL=25
5
TTL=25
5
TTL
Expired
!
ICMP
Time
Exceede
d
TTL=25
4
ICMP
Time
Exceede
d
TTL=25
3
ICMP
Time
Exceede
d
TTL=25
1
TTL=25
3ICMP
Time
Exceede
d
TTL=25
3
TTL=25
2ICMP
Time
Exceede
d
TTL=25
0
LSR LSRLSR
28
MPLS MTU
 Maximum size of packet that can be sent to data link
without fragmentation.
 MRU Maximum Receive Unit used in LFIB for
neighbors.
 A value per FEC (or prefix) not based on interface.
 On LSR configure MTU to 1508 (1500 + 2 Labels)
 (config-if)# mpls mtu 1508
 If on switches MTU is not increased = baby giant
drops.
 (config)# system jumbomtu
 (config)# system mtu 1508
29
Fragmentation
 Fragmentation <> Performance
 LSR strips the label and fragments payload.
 Path MTU Discovery
 Modern hosts send IP with DF bit set (Don’t Fragment) to
receive ICMP type 3 code 4 “Fragmentation needed”
 Process continues with lowering the size till no error is
received and correct MTU achieves.
 LSR sends ICMP type 3 code 4 along with LSP (just
like TTL exceeded)
30
Label Distribution Protocol
 Discovery of LSRs (hello message –
224.0.0.2/UDP/646)
 Session Establishment – TCP
 Label Mapping Advertisement
 Notifications
 LDP needs “ip cef”
 Interface configration: “mpls ip”
31
LDP - LSR Discovery
 LDP hello messages are UDP 646 to 224.0.0.2
 “all routers on this subnet”
 show mpls ldp discovery [detail]
 show mpls interfaces
 (config-if)# mpls ldp discovery
32

More Related Content

What's hot

Implementing cisco mpls
Implementing cisco mplsImplementing cisco mpls
Implementing cisco mpls
Matiullah Jamil
 
ODC010001 MPLS Basic Knowledge ISSUE1.5.ppt
ODC010001 MPLS Basic Knowledge ISSUE1.5.pptODC010001 MPLS Basic Knowledge ISSUE1.5.ppt
ODC010001 MPLS Basic Knowledge ISSUE1.5.ppt
RandyDookheran1
 
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44
Jisc
 
Juniper mpls best practice part 1
Juniper mpls best practice   part 1Juniper mpls best practice   part 1
Juniper mpls best practice part 1
Febrian ‎
 
Multiprotocol label switching
Multiprotocol label switchingMultiprotocol label switching
Multiprotocol label switching
Sumita Das
 
Segment Routing
Segment RoutingSegment Routing
Segment Routing
APNIC
 
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 ‎
 
Segment Routing: A Tutorial
Segment Routing: A TutorialSegment Routing: A Tutorial
Segment Routing: A Tutorial
APNIC
 
MPLS Lecture1(H)-102020.pdf
MPLS Lecture1(H)-102020.pdfMPLS Lecture1(H)-102020.pdf
MPLS Lecture1(H)-102020.pdf
MulugetaTsehay1
 
MPLS-TP (MPLS Transport Profile)
MPLS-TP (MPLS Transport Profile)MPLS-TP (MPLS Transport Profile)
MPLS-TP (MPLS Transport Profile)
Shivlu Jain
 
MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)
Netwax Lab
 
Mpls
MplsMpls
MPLS Concepts and Fundamentals
MPLS Concepts and FundamentalsMPLS Concepts and Fundamentals
MPLS Concepts and Fundamentals
Shawn Zandi
 
VPLS Fundamental
VPLS FundamentalVPLS Fundamental
VPLS Fundamental
Reza Farahani
 
Mpls by vidhu
Mpls by vidhuMpls by vidhu
Mpls by vidhu
CU
 
MENOG-Segment Routing Introduction
MENOG-Segment Routing IntroductionMENOG-Segment Routing Introduction
MENOG-Segment Routing Introduction
Rasoul Mesghali, CCIE RS
 
Label Distribution Protocol
Label Distribution ProtocolLabel Distribution Protocol
Label Distribution Protocol
Kashif Latif
 
Ip ran v1.1
Ip ran v1.1Ip ran v1.1
Ip ran v1.1
Muhamad Yopan
 
MPLS Traffic Engineering
MPLS Traffic EngineeringMPLS Traffic Engineering
MPLS Traffic Engineering
APNIC
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
Smriti Tikoo
 

What's hot (20)

Implementing cisco mpls
Implementing cisco mplsImplementing cisco mpls
Implementing cisco mpls
 
ODC010001 MPLS Basic Knowledge ISSUE1.5.ppt
ODC010001 MPLS Basic Knowledge ISSUE1.5.pptODC010001 MPLS Basic Knowledge ISSUE1.5.ppt
ODC010001 MPLS Basic Knowledge ISSUE1.5.ppt
 
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44
 
Juniper mpls best practice part 1
Juniper mpls best practice   part 1Juniper mpls best practice   part 1
Juniper mpls best practice part 1
 
Multiprotocol label switching
Multiprotocol label switchingMultiprotocol label switching
Multiprotocol label switching
 
Segment Routing
Segment RoutingSegment Routing
Segment Routing
 
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
 
Segment Routing: A Tutorial
Segment Routing: A TutorialSegment Routing: A Tutorial
Segment Routing: A Tutorial
 
MPLS Lecture1(H)-102020.pdf
MPLS Lecture1(H)-102020.pdfMPLS Lecture1(H)-102020.pdf
MPLS Lecture1(H)-102020.pdf
 
MPLS-TP (MPLS Transport Profile)
MPLS-TP (MPLS Transport Profile)MPLS-TP (MPLS Transport Profile)
MPLS-TP (MPLS Transport Profile)
 
MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)MPLS (Multiprotocol Label Switching)
MPLS (Multiprotocol Label Switching)
 
Mpls
MplsMpls
Mpls
 
MPLS Concepts and Fundamentals
MPLS Concepts and FundamentalsMPLS Concepts and Fundamentals
MPLS Concepts and Fundamentals
 
VPLS Fundamental
VPLS FundamentalVPLS Fundamental
VPLS Fundamental
 
Mpls by vidhu
Mpls by vidhuMpls by vidhu
Mpls by vidhu
 
MENOG-Segment Routing Introduction
MENOG-Segment Routing IntroductionMENOG-Segment Routing Introduction
MENOG-Segment Routing Introduction
 
Label Distribution Protocol
Label Distribution ProtocolLabel Distribution Protocol
Label Distribution Protocol
 
Ip ran v1.1
Ip ran v1.1Ip ran v1.1
Ip ran v1.1
 
MPLS Traffic Engineering
MPLS Traffic EngineeringMPLS Traffic Engineering
MPLS Traffic Engineering
 
Bgp protocol
Bgp protocolBgp protocol
Bgp protocol
 

Viewers also liked

Introduction to Link State Advertisements (LSA)
Introduction to Link State Advertisements (LSA)Introduction to Link State Advertisements (LSA)
Introduction to Link State Advertisements (LSA)
Shawn Zandi
 
LinkedIn's Approach to Programmable Data Center
LinkedIn's Approach to Programmable Data CenterLinkedIn's Approach to Programmable Data Center
LinkedIn's Approach to Programmable Data Center
Shawn Zandi
 
Mpls Presentation Ine
Mpls Presentation IneMpls Presentation Ine
Mpls Presentation Ine
Alp isik
 
Mpls
MplsMpls
How LinkedIn used TCP Anycast to make the site faster
How LinkedIn used TCP Anycast to make the site fasterHow LinkedIn used TCP Anycast to make the site faster
How LinkedIn used TCP Anycast to make the site faster
Shawn Zandi
 
MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)
Vipin Sahu
 
IP Routing Tutorial
IP Routing TutorialIP Routing Tutorial
IP Routing Tutorial
ShortestPathFirst
 

Viewers also liked (7)

Introduction to Link State Advertisements (LSA)
Introduction to Link State Advertisements (LSA)Introduction to Link State Advertisements (LSA)
Introduction to Link State Advertisements (LSA)
 
LinkedIn's Approach to Programmable Data Center
LinkedIn's Approach to Programmable Data CenterLinkedIn's Approach to Programmable Data Center
LinkedIn's Approach to Programmable Data Center
 
Mpls Presentation Ine
Mpls Presentation IneMpls Presentation Ine
Mpls Presentation Ine
 
Mpls
MplsMpls
Mpls
 
How LinkedIn used TCP Anycast to make the site faster
How LinkedIn used TCP Anycast to make the site fasterHow LinkedIn used TCP Anycast to make the site faster
How LinkedIn used TCP Anycast to make the site faster
 
MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)MPLS (Multi-Protocol Label Switching)
MPLS (Multi-Protocol Label Switching)
 
IP Routing Tutorial
IP Routing TutorialIP Routing Tutorial
IP Routing Tutorial
 

Similar to An introduction to MPLS networks and applications

Broadband Network Presentation
Broadband Network PresentationBroadband Network Presentation
Broadband Network Presentation
Muhammad Faisal
 
Digital network lecturer3
Digital network  lecturer3Digital network  lecturer3
Digital network lecturer3
Jumaan Ally Mohamed
 
yun-MPLS.ppt
yun-MPLS.pptyun-MPLS.ppt
yun-MPLS.ppt
ssuserd0c720
 
MPLS-extra.ppt
MPLS-extra.pptMPLS-extra.ppt
MPLS-extra.ppt
SidharthSharma546629
 
Mpls te
Mpls teMpls te
Mpls te
Ahmad Hailan
 
MPLS
MPLSMPLS
MPLS-jpl.ppt
MPLS-jpl.pptMPLS-jpl.ppt
MPLS-jpl.ppt
demon667714
 
MPLS_cisco.ppt
MPLS_cisco.pptMPLS_cisco.ppt
MPLS_cisco.ppt
ssuserd0c720
 
Mpls Services
Mpls ServicesMpls Services
Mpls Services
Kristof De Brouwer
 
01 introduction to mpls
01 introduction to mpls 01 introduction to mpls
01 introduction to mpls
Achmad Mardiansyah
 
Mpls basics introduction
Mpls basics introductionMpls basics introduction
Mpls basics introduction
Philip Agu Bah
 
MPLS
MPLSMPLS
MPLS-RFC3031-Summary.pptx
MPLS-RFC3031-Summary.pptxMPLS-RFC3031-Summary.pptx
MPLS-RFC3031-Summary.pptx
ManickavasagamDeivan
 
Mpls co s
Mpls co sMpls co s
Mpls co s
bhupinder123
 
MPLS Tutorial2
MPLS Tutorial2MPLS Tutorial2
MPLS Tutorial2
kennedy Ochieng Ndire
 
MPLS Tutorial
MPLS TutorialMPLS Tutorial
MPLS Tutorial
kennedy Ochieng Ndire
 
Label distribution protocol
Label distribution protocolLabel distribution protocol
Label distribution protocol
Atakan ATAK
 
Frame mode mpls
Frame mode mplsFrame mode mpls
Frame mode mpls
Mohamed Gamel
 
Frame mode mpls
Frame mode mplsFrame mode mpls
Frame mode mpls
Swapnil Kapate
 
Mpls technology
Mpls technologyMpls technology
Mpls technology
Naveen Sihag
 

Similar to An introduction to MPLS networks and applications (20)

Broadband Network Presentation
Broadband Network PresentationBroadband Network Presentation
Broadband Network Presentation
 
Digital network lecturer3
Digital network  lecturer3Digital network  lecturer3
Digital network lecturer3
 
yun-MPLS.ppt
yun-MPLS.pptyun-MPLS.ppt
yun-MPLS.ppt
 
MPLS-extra.ppt
MPLS-extra.pptMPLS-extra.ppt
MPLS-extra.ppt
 
Mpls te
Mpls teMpls te
Mpls te
 
MPLS
MPLSMPLS
MPLS
 
MPLS-jpl.ppt
MPLS-jpl.pptMPLS-jpl.ppt
MPLS-jpl.ppt
 
MPLS_cisco.ppt
MPLS_cisco.pptMPLS_cisco.ppt
MPLS_cisco.ppt
 
Mpls Services
Mpls ServicesMpls Services
Mpls Services
 
01 introduction to mpls
01 introduction to mpls 01 introduction to mpls
01 introduction to mpls
 
Mpls basics introduction
Mpls basics introductionMpls basics introduction
Mpls basics introduction
 
MPLS
MPLSMPLS
MPLS
 
MPLS-RFC3031-Summary.pptx
MPLS-RFC3031-Summary.pptxMPLS-RFC3031-Summary.pptx
MPLS-RFC3031-Summary.pptx
 
Mpls co s
Mpls co sMpls co s
Mpls co s
 
MPLS Tutorial2
MPLS Tutorial2MPLS Tutorial2
MPLS Tutorial2
 
MPLS Tutorial
MPLS TutorialMPLS Tutorial
MPLS Tutorial
 
Label distribution protocol
Label distribution protocolLabel distribution protocol
Label distribution protocol
 
Frame mode mpls
Frame mode mplsFrame mode mpls
Frame mode mpls
 
Frame mode mpls
Frame mode mplsFrame mode mpls
Frame mode mpls
 
Mpls technology
Mpls technologyMpls technology
Mpls technology
 

Recently uploaded

怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
rtunex8r
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
ysasp1
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
hackersuli
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
davidjhones387
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
xjq03c34
 
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
bseovas
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
uehowe
 
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
k4ncd0z
 
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
uehowe
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
Paul Walk
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
fovkoyb
 
HijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process HollowingHijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process Hollowing
Donato Onofri
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
Laura Szabó
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
uehowe
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
Toptal Tech
 
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalmanuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
wolfsoftcompanyco
 
Design Thinking NETFLIX using all techniques.pptx
Design Thinking NETFLIX using all techniques.pptxDesign Thinking NETFLIX using all techniques.pptx
Design Thinking NETFLIX using all techniques.pptx
saathvikreddy2003
 
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
3a0sd7z3
 
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
3a0sd7z3
 

Recently uploaded (19)

怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
怎么办理(umiami毕业证书)美国迈阿密大学毕业证文凭证书实拍图原版一模一样
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
 
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
不能毕业如何获得(USYD毕业证)悉尼大学毕业证成绩单一比一原版制作
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
 
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理一比一原版(USYD毕业证)悉尼大学毕业证如何办理
一比一原版(USYD毕业证)悉尼大学毕业证如何办理
 
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
 
Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?Should Repositories Participate in the Fediverse?
Should Repositories Participate in the Fediverse?
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
 
HijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process HollowingHijackLoader Evolution: Interactive Process Hollowing
HijackLoader Evolution: Interactive Process Hollowing
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
 
Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!Ready to Unlock the Power of Blockchain!
Ready to Unlock the Power of Blockchain!
 
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalmanuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
 
Design Thinking NETFLIX using all techniques.pptx
Design Thinking NETFLIX using all techniques.pptxDesign Thinking NETFLIX using all techniques.pptx
Design Thinking NETFLIX using all techniques.pptx
 
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
快速办理(Vic毕业证书)惠灵顿维多利亚大学毕业证完成信一模一样
 
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
快速办理(新加坡SMU毕业证书)新加坡管理大学毕业证文凭证书一模一样
 

An introduction to MPLS networks and applications

  • 1. MPLS Intro An Introduction to MPLS Networks and Applications by Shawn Zandi
  • 2. MPLS History  1994: Toshiba presented Cell Switch Router as IETF BOF  1996: Ipsilon, Cisco and IBM supported the idea  1997: Formation of the IETF MPLS working group  IETF released RFC 2547 "BGP/MPLS VPNs" in 1999 2
  • 3. Terminology Cisco Terminology New Terminology Tag Switching MPLS Tag Label TDP LDP (Label Distribution Protocol) TFIB LFIB (Label Forwarding Information Base) TSR LSR (Label Switch Router) TSC LSC (Label Switch Controller) TSP LSP (Label Switched Path) 3
  • 4. MPLS Applications  MPLS VPN  Most Popular Application of MPLS  Traffic Engineering  First called RRR or R3 (Routing & Resource Reservation)  AToM (Any Transport over MPLS)  Point-to-point circuits over MPLS – Frame Relay, ATM, PPP, HDLC, Ethernet and IEEE 802.1Q  VPLS (Virtual Private LAN Service)  Ethernet Supported in a multipoint fashion. 4
  • 5. Advantages of MPLS  MPLS VPN  VRF routing tables and ease of growth.  Unified infrastructure  Carrier for any technology - ATM, FR, PPP, Ethernet, IPv4 and IPv6.  Better IP over ATM than pervious solutions  AAL5 - RFC1483, LANE, Multiprotocol over ATM - MPOA  BGP-free core  providers need IP routing but BGP is only required on edges.  Optimal Traffic Flow  Connections logically are fully mesh and no extra circuit mapping is required.  Traffic Engineering  Different path from least cost path, Source-based routing & Fast Re-Routing (FRR) 5
  • 6. MPLS Label  32 bits header (4 Bytes) = each stack  Unlimited Stacks supported, The last stack BOS flag=1  Label: 20 bits  EXP: 3 bits  BOS: 1 bit (bottom of stack)  TTL: 8 bits Label EXP TTL BOS6
  • 7. Label Stack  Top label and bottom label on a stack: Label EXP TTL0 Label EXP TTL0 Label EXP TTL1 … 7
  • 8. Label Stack (cont.)  Some MPLS applications like MPLS VPNs require more than one label in the label stack to forward the packets.  MPLS VPNs and AToM put two labels in the label stack.  MPLS is not a Layer 2 Protocol, not even Layer 3  MPLS is viewed as a Layer 2.5 protocol. Label 0 Label 1 IPv4PPP 8
  • 9. Protocol Identifier  Data Link Layer Protocol Identifier  ATM uses a different way for encapsulating the Label. Layer 2 Protocol Identifier Field Value (hex) PPP Protocol Field 0281 Ethernet SNAP Ether-type 8847 HDLC Protocol 8847 Frame Relay NLPID 80 9
  • 10. Label Switch Router  LSR is a router that supports MPLS.  Ingress LSR  Inserts a label (push) and sends packet to MPLS network.  Egress LSR  Removes the label (pop) and sends packet on a data link.  Intermediate LSR  Modifies the label (swap) and switches the packets.  Edge LSR = Ingress and Egress LSRs 10
  • 11. MPLS Network Label Switch Router (cont.) Ingress LSR Intermediate LSR Egress LSR Imposing LSR Disposing LSR 11
  • 12. MPLS VPN Label Switch Router (cont.) Provider Edge PE CECustomer Edge P 12
  • 13. MPLS Network Label Switched Path Ingress LSR LSR LSR LSR Ingress LSR LSP LSP : Sequence of LSRs – a path through the MPLS network. (Unidirectional) 13
  • 14. MPLS Network Nested LSP Ingress LSR LSR LSR LSR Ingress LSR LSP LSP inside LSP – The second Label spans the entire MPLS network. LSP 14
  • 15. Forwarding Equivalence Class  FEC is group or flow of packets classified for a forwarding decision and have similar EXP.  Ingress LSR decides which packet belongs to which FEC.  All packets with same FEC get the same label imposed by the ingress LSR  Same FEC = Same Label.  Same Label <> Same FEC. (might have different FEC) 15
  • 16. FEC Classification  Ingress LSR Classifies traffic (FEC) based on:  Certain multicast group  Based on DSCP or Precedence  Based on VC (sub-interface)  Based on Destination IP  Based on BGP Prefixes pointing to the same Next-hop.  In this case all traffic for an Egress LSR (iBGP Peer) can be forwarded through a specific LSP. 16
  • 17. Label Distribution  Adjacent LSRs must agree to use specific Label for a specific IP Prefix.  Labels are local and have no global meaning.  Labels are between adjacent LSRs.  A label distribution protocol is required.  Using IP Routing Protocol (EIGRP, ISIS, OSPF)  Using Label Distribution Protocol (TDP, LDP, RSVP) 17
  • 18. Label Distribution with Routing Protocol  Advantage:  Does not need a new label distribution protocol.  Routing and Label distribution are always in sync.  EIGRP implementation is straight forward.  Disadvantage:  Link state routing protocols do not function this way. 18
  • 19. Label Distribution with LDP  Label Information Base (LIB) holds remote and local label bindings.  One local binding per prefix.  Label Space:  Per platform  Per interface (LC-ATM) 19
  • 20. LIB LFIB  LFIB is Label Forwarding Instance Base, a table used to forward incoming and outgoing labels for LSPs. 1. All remote bindings LIB 2. Only one possible outgoing label in LIB LFIB LDP Static MPBGP RSVP 20
  • 21. MPLS Payload  The MPLS has no Network Level Protocol Identifier.  NLPID exists in all Layer 2 protocols (different names)  Intermediate LSRs do not need to know what payload is.  Egress LSR should know what the payload is, to forward.  Egress LSR is the one who created label binding for FEC. 21
  • 22. LDP Modes  Label Distribution Mode  DOD Downstream-on-Demand (pull mode – LC-ATM)  UD Unsolicited Downstream (push mode – Default)  Label Retention Mode  LLR Liberal Label Retention (keep all bindings in LIB - Default)  CLR Conservative Label Retention (LC-ATM)  LSP Control Mode  Independent LSP (immediate local binding for FEC - Default)  Ordered LSP (IOS ATM switches) 22
  • 23. LFIB Forwarding Commands  show ip cef x.x.x.x  show adjacency table  show mpls forwarding-table  show mpls forwarding-table x.x.x.x  show mpls forwarding-table x.x.x.x detail  show mpls forwarding-table vrf …  show mpls interfaces … detail 23
  • 24. Label Operation  Pop  Swap  Push  Untagged/No Label  Aggregate  Remove the label stack then perform IP Lookup. 24
  • 25. IOS Label Range  Default Label Range 16 to 100,000  Router(config)# mpls label range 16 1048575  Unknown Label: drop  Reserved Label 0 to 15:  Implicit NULL Label (3)  Set by egress LSR for connected and summarized prefixes to penultimate LSR to not send Label. “penultimate hop popping” PHP  Explicit NULL Label(0, for IPv6=2)  Like implicit NULL but send label=0 to retain EXP value.  Router Alert Label (1)  Perform software Lookup instead of hardware  OAM Alert Label (14) RFC 3429 – not supported on IOS 25
  • 26. TTL and MPLS  TTL (-1) is copied from IP header to MPLS and vice versa.  Don’t copy if TTL value is greater than packet TTL. Label to IP Igress LSR LSR LSR TTL=25 4 TTL=25 3 TTL=25 3 TTL=25 3 TTL=25 3 TTL=25 2 TTL=25 3 TTL=25 1 TTL=25 2 IP to Label TTL=25 3 Label to Label 26
  • 27. TTL – Label to Label Intermediate LSR does not change TTL in IP header or underlying labels. POP LS R LSR LSR TTL=25 3 TTL=25 3 TTL=24 9 TTL=24 8 TTL=25 3 TTL=25 3 TTL=25 1 TTL=25 3 TTL=25 3 TTL=25 1 TTL=25 1 TTL=25 0 SWAP TTL=25 2 TTL=25 1 PUSH 27
  • 28. TTL Expire  ICMP “time exceeded” (type 11 code 0) is forwarded along the LSP because interim LSR might have no route to the originator of packet. Ingress Egres s TTL=2 TTL=1 TTL=1 ICMP Time Exceede d TTL=25 5 TTL=25 5 TTL Expired ! ICMP Time Exceede d TTL=25 4 ICMP Time Exceede d TTL=25 3 ICMP Time Exceede d TTL=25 1 TTL=25 3ICMP Time Exceede d TTL=25 3 TTL=25 2ICMP Time Exceede d TTL=25 0 LSR LSRLSR 28
  • 29. MPLS MTU  Maximum size of packet that can be sent to data link without fragmentation.  MRU Maximum Receive Unit used in LFIB for neighbors.  A value per FEC (or prefix) not based on interface.  On LSR configure MTU to 1508 (1500 + 2 Labels)  (config-if)# mpls mtu 1508  If on switches MTU is not increased = baby giant drops.  (config)# system jumbomtu  (config)# system mtu 1508 29
  • 30. Fragmentation  Fragmentation <> Performance  LSR strips the label and fragments payload.  Path MTU Discovery  Modern hosts send IP with DF bit set (Don’t Fragment) to receive ICMP type 3 code 4 “Fragmentation needed”  Process continues with lowering the size till no error is received and correct MTU achieves.  LSR sends ICMP type 3 code 4 along with LSP (just like TTL exceeded) 30
  • 31. Label Distribution Protocol  Discovery of LSRs (hello message – 224.0.0.2/UDP/646)  Session Establishment – TCP  Label Mapping Advertisement  Notifications  LDP needs “ip cef”  Interface configration: “mpls ip” 31
  • 32. LDP - LSR Discovery  LDP hello messages are UDP 646 to 224.0.0.2  “all routers on this subnet”  show mpls ldp discovery [detail]  show mpls interfaces  (config-if)# mpls ldp discovery 32