Professional Documents
Culture Documents
MPLS Basis: Optical Network Product Service Department
MPLS Basis: Optical Network Product Service Department
05/09/15
MPLS Basis
Optical Network Product Service Department
www.huawei.com
Huawei Confidential
Preface
This course is developed on
the basis of multi-protocol
label switching technology
(MPLS).
The purpose of this course is
to introduce basic knowledge
on the MPLS technology and
describe actual application of
MPLS in MSTP transport
network.
Huawei Confidential
Page 2
Guidelines
Huawei Confidential
Page 3
References
Huawei Confidential
Page 4
Objectives
Huawei Confidential
Page 5
Contents
Introduction to MPLS
Huawei Confidential
Page 6
MPLS
Huawei Confidential
Page 7
MPLS
Connectionl
ess-oriented
control
Connectionle
plane
ss-oriented
forward
plane
Connectionle
ss-oriented
control
plane
Connectionoriented
forward
plane
Huawei Confidential
ATM
Connectionoriented
control
plane
Connectionoriented
forward
plane
Page 8
Traditional IP Forwarding
Analyze the IP header
and map the header
to the next hop
Huawei Confidential
Page 9
UNI
UNI
NNI
VC
switching
VPI = 1
VCI = 1
NNI
VP
switching
VPI = 2
VCI = 44
VC
switching
VPI = 26
VCI = 44
VPI = 20
VCI = 30
Huawei Confidential
Page 10
Router
ATM switch
X
MPLS
Router
Huawei Confidential
Page 11
LER
MPLS domain
LSR
LSR
LER
LSP
MPLS
LSR
LER
Huawei Confidential
Page 12
IP
IP
Edge LSR
L1
traditional IP
forwarding
IP
L2
Label
forwarding
Huawei Confidential
IP
L3
IP
traditional IP
forwarding
Page 13
Advantages of MPLS
The short and fixed-length label replaces the IP header as the forwarding
basis to improve the forwarding speed.
VPN
Traffic engineering
QoS
Huawei Confidential
Page 14
MPLS combines flexible connection and expandability of the network layer with
reliable transmission and QoS of ATM label forwarding.
MPLS supports multiple standard routing protocols, such as BGP and OSPF.
MPLS supports multiple label generation protocols, such as LDP and RSVP.
MPLS supports multiple network layer protocols, such as IPv4, IPv6 and IPX.
MPLS solves the problem of QoS.
MPLS features high performance of label forwarding.
LSP is the tunnel of the public network, so MPLS has natural dominance of implementing
VPN. MPLS avoids N2 problems of traditional VPN in configuration and management.
The control on VPN is implemented on PE, thus facilitating management and expansion.
Each VPN forms an independent address; that is, VPNs can reuse their addresses.
Control service isolation and interconnection between services of VPN.
Huawei Confidential
Page 15
Questions
Huawei Confidential
Page 16
Summary
Huawei Confidential
Page 17
Contents
Introduction to MPLS
Huawei Confidential
Page 18
19
Label
COS
22
S
23
31
TTL
32 bits
Data
Huawei Confidential
Page 19
Label Stack
Huawei Confidential
Page 20
PPP Header
MPLS Header
Layer 3 Header
Ethernet Hdr
MPLS Header
Layer 3 Header
C/R EA
Frame relay
Flags DLCI
FECN DE
DATA
DLCI
FCS Flags
BECN EA
Label
ATM Cell Header
GFC
VPI
VCI
DATA
Label
HUAWEI TECHNOLOGIES CO., LTD.
Huawei Confidential
Page 21
SA
VLAN TAG
0x8847(0x8848Broadcast)
Label
L3Data
SA
0x8847(0x8848Broadcast)
Tunnel
VC
Ethernet
Data
Tunnel
VC
Ethernet
Data
SA
0x8100
VLAN
VLAN TAG
L3Data
Huawei Confidential
Page 22
LSP: Label Switch Path: an FEC data stream is endowed with specific labels at
different nodes. Data forwarding is performed based on the labels. The path of
FEC data stream is LSP.
LSR: Label Switching Router. LSR is the core switch of the MPLS network,
providing label switching and distribution functions.
LER: Label Switching Edge Router. On the edge of MPLS network, the traffic
in the MPLS network is divided into different FEC by LER and relevant labels
are requested for FEC. LER provides the traffic classification, label mapping
and label removal functions.
Huawei Confidential
Page 23
LSP
LSP
LPS
LSP
LSP
Ingres
s
LSR
Egress
Huawei Confidential
Page 24
PE
P
Ingress
P P
Intermediate
PE
Egress
Port P (Provider):
This port refers to a port accessing the core network of the service provider. The port for
Huawei equipment refers to a port accessing data packets encapsulated in MPLS format.
Port PE (Provider Edge):
This port is an edge port of the service provider and connects to the user equipment. The
port here accesses common Ethernet frames. If data packets encapsulated in MPLS format
are accessed and no processing on MPLS encapsulation is needed, the port can be
configured as PE.
HUAWEI TECHNOLOGIES CO., LTD.
Huawei Confidential
Page 25
Tunnel
Huawei Confidential
Page 26
1. The packets in the network are divided into forwarding equivalence class (FEC)
according to the characteristics. The packets featuring the same FEC pass the
same path (LSP) in the MPLS domain. LER assigns a short and fixed-length label
for the FEC packets and then forwards the label from a relevant port.
2. The input/output label mapping table is created on the LSR along the LSP. For
the received label packets, LSR follows the label to find out relevant NHLFE in
the table and replaces the old label with a new one. Then LSR forwards the label
by packets.
3. At the exit of the MPLS domain, the label is removed and the standard IP
packet is recovered.
At the network entrance, MPLS assigns FEC featuring special packets and the
router can simply forward these packets, compared with regular network layer
forwarding. As a result, the forwarding speed is improved.
Huawei Confidential
Page 27
Tunne
VC
Data A
24
40
LER
LSP
Port 1
Port 2
Port 3
Data B
P
Tunnel
LSR
Port 1
VC
Tunne
VC
Port 2
l
1
24
24
40
40
Tunnel
VC
PE
24
Port 1
Port 2
Port 2
Port 1
Data A
Port 3
Port 1
P
1
Tunnel
3
VC
40
PE
2
Port 2
Tunnel
VC
Tunne
l
24
24
40
40
Data B
HUAWEI TECHNOLOGIES CO., LTD.
VC
Huawei Confidential
Page 28
Huawei Confidential
Page 29
Questions
Q1: Describe the structure of the MPLS packet header and know
the range of labels (maximum value).
Q2: Describe operations of LSP.
Huawei Confidential
Page 30
Summary
Huawei Confidential
Page 31
Contents
Introduction to MPLS
Huawei Confidential
Page 32
VC
VC
VLAN 88
Port 1
VLAN 88
Tunnel
VCTRUNK
VCTRUNK
Port 2
VLAN 88
Port 2
MAC
MAC
Huawei Confidential
Page 33
VB2
LP
VC
VC
VCTRUNK
VB1
nn l
Tu e
Tu
nn
e
VCTRUNK
VC
VC
Port 1
VC
VC
Port 2
MAC
VB2
LP
VB1
Port 2
Tunnel
VCTRUNK
LP
Port 1
VB2
MAC
In the preceding figure, the VCTRUNK between two sites forms an LSP.
Encapsulate relevant labels (Tunnel+VC) for different Port data to share
bandwidth and isolate from each other.
HUAWEI TECHNOLOGIES CO., LTD.
Huawei Confidential
Page 34
Questions
Huawei Confidential
Page 35
Summary
Huawei Confidential
Page 36
Thank you
www.huawei.com