Beruflich Dokumente
Kultur Dokumente
Page 2 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
Upon completion of this course, you will be able to:
Describe the background and typical applications of MPLS.
Page 3 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. MPLS Overview
Page 4 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Traditional IP forwarding
Network Nexthop Network Nexthop Network Nexthop Network Nexthop
.2
10.2.0.0/30
10.1.0.0/30
.2 .1
.1
10.1.0.0/24 10.2.0.0/24
Page 5 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
ATM cell forwarding
8/62
ATM
Port1
Networking
Port3 6/59
Port2
ATM switch
table
In Out
port VPI/VCI port VPI/VCI
1 4/55 3 8/62
2 5/58 3 6/59
3 8/62 1 4/55
3 6/59 2 5/58
Page 6 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
MPLS label forwarding
IP IP IP
1024 Data 1029 Data 1039 Data
Header Header Header
1.1.1.1/32
RTA RTB RTC RTD
s0 s0 s3 s2 s3 s3
.1 10.1.1.0/30 .2 .5 10.1.1.4/30 .6 .9 10.1.1.8/30 .10
Header
Header
IP
IP
MPLS Domain
Data
Data
10.1.0.0/24 10.2.0.0/24
Page 7 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
MPLS VPN Application
VPNA VPNA
CE CE
PE P P PE
VPNB VPNB
CE CE
CE PE P P PE
CE
VPNA VPNA
CE MPLS Domain CE
VPNB VPNB
Page 8 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
MPLS TE Application
Network A
RTC
70% Traffic
RTA
30% Traffic GE GE
RTF
FE FE
70% Traffic
Page 9 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. MPLS Overview
Page 10 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
MPLS network model
RTF RTG
IP IP IP
1024 Data 1029 Data 1039 Data
Header Header Header
RTA RTB RTC RTD
LSP
LER
LER
Header
Header
LSR
IP
IP
RTE
Data
Data
MPLS Domain
Page 11 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
MPLS control plane and forwarding plane
Routing Protocol
Control plane
IP Routing Table
Label Distribution
Protocol
Data plane
Page 12 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. MPLS Overview
Page 13 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Frame mode MPLS
MPLS has two encapsulation modes: Frame mode and cell mode (ATM uses
the MPLS cell encapsulation mode, which is not involved in this course). In
frame encapsulation mode, an MPLS label header is added between the
Layer 2 header and Layer 3 header of a packet. Ethernet and PPP use this
encapsulation mode.
Frame
IP Header Payload
Header
Frame MPLS
IP Header Payload
Header Header
Page 14 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
MPLS Header
0 19 20 22 23 24 31
Page 15 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
MPLS Label Nesting
Frame
Label 1 Label 2 Label 3 IP Header Payload
Header
PID=MPLS-IP
S=1
S=0 S=0
MPLS TE
Page 16 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. MPLS Overview
Page 17 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
FEC and NHLFE
FEC (Forwarding Equivalence Class) is a set of data flows with certain
common characteristics. These data flows are processed by the LSR in the
same way during the forwarding process.
FEC can be classified based on the address, service type, and QoS. For
example, in the traditional IP forwarding that uses the longest matching
algorithm, all packets to the same route are an FEC.
NHLFE(Next Hop Label Forwarding Entry):The NHLFE is used for label forwarding. It
contains the following basic information:
Next hop of the packet
How to perform a tag operation (including pushing a new tag, popping a tag, and swapping the original tag with
a new tag).
The NHLFE may also contain other information, such as the link layer encapsulation used for sending packets.
Page 18 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Example of FEC and NHLFE
FEC:Forwarding Equivalence Classes
NHLFE:Next Hop Label Forwarding Entry
Page 19 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
MPLS Forwarding-Ingress LER(RTA)
IP
1030 Data
Header
1.1.1.1/32
RTA RTB RTC RTD
s0 s0 s3 s2 s3 s3
.1 10.1.1.0/30 .2 .5 10.1.1.4/30 .6 .9 10.1.1.8/30 .10
10.2.0.1 Data
.2
10.2.0.0/30
.2
10.1.0.0/30
MPLS Domain
.1
.1
10.1.0.0/24 10.2.0.0/24
NHLFE
FEC
NextHop Out Interface Label Operation Others
Page 20 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
MPLS Forwarding-LSR(RTB)
On the transit node, the ILM(Incoming Label Map) table and NHLFE table
are queried to guide MPLS packet forwarding.
IP IP
1030 Data 1030 Data
Header Header
.2
10.2.0.0/30
.2
10.1.0.0/30
MPLS Domain
.1
.1
10.1.0.0/24 10.2.0.0/24
NHLFE
InLabel
NextHop Out Interface Label Operation Others
.2
10.2.0.0/30
.2
10.1.0.0/30
MPLS Domain
.1
.1
10.1.0.0/24 10.2.0.0/24
NHLFE
InLabel
NextHop Out Interface Label Operation Others
10.2.0.1 Data
10.2.0.1 Data
.2
10.2.0.0/30
.2
10.1.0.0/30
MPLS Domain
.1
.1
10.1.0.0/24 10.2.0.0/24
NHLFE
InLabel
NextHop Out Interface Label Operation Others
B. EXP
C. S
D. TTL
2. Which of the following actions can be performed when packets are forwarded
based on MPLS labels? ( )
A. Push
B. Pop
C. Swap
D. Switch
Page 24 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Summary
Background of MPLS
Page 25 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Thank You
www.huawei.com