MPLS Basic Knowledge
MPLS Basic Knowledge
Knowledge
ISSUE 1.0
IP MPLS ATM
Connectionless Connectionless
control plane control plane Connection-oriented
control plane
S2 1 S6 S2 S6
1 1
S1 S8 S1 S3 S5 S8
S3 S5 VC
2 2
S4 2 S7 S4 S7
UNI
UNI
NNI NNI
VC VP VC
switching switching switching
Connection-oriented
Routing depending on link layer, based on VPI/VCI or label
Ensure QoS and real-time service
Technology Combining the Advantages of ATM and
IP
R + X = X
Core LSR
Edge LSR Edge LSR
IP IP L1 IP L2 IP L3 IP
Traditional Traditional IP
IP forwarding Label forwarding forwarding
Basic MPLS Concepts
LER
MPLS domain
IP
LER LSR LSR
LER
LSP
LSR
MPLS
LER
0 20 23 24 31
Layer 2
header MPLS header IP header Data
Ethernet
Ethernet header
/SONET
/PPP header Label Layer-3 data
/SDH packet
Cell mode
ATM packet VPI/VCI Layer-3 data
Label Stack
A B C D
Ingress LER LSR LSR Egress LER
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 succe
ssfully.
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 forwar
ding unit
Egress LER removes the label and continues forwarding the packet
NHLFE
A:
NHLFE
FEC next hop Label operation Others
Transmitting interface
10.0.1.0/24 B E1 Add label L1 …
B,C:
Ingress NHLFE
Transmitting
label Next hop interface label operation Others
L1 C E1 Remove the previous label and add L2 …
D:
Ingress NHLFE
label Next hop
Transmitting
interface Label operation Others
L2 D Remove label …
PHP
Label 18 is 171.68.10/24
Route 分配到171.68.10/24 分配到20
Label is allocated
allocated to
triggering 的标签为18
171.68.10/24 的标签为20
to 171.68.10/24
171.68.40/24 171.68.10/24
Route
triggering
到18
Label 171.68.10/24
can be used 到 171.68.10/24
Label 20 can be used
to reach 171.68.10/24 Downstream
Upstream 可以使用标签 18 可以使用标签
to 20
reach 171.68.10/24
171.68.40/24 171.68.10/24
Upstream Downstream
Upstream Downstream
Upstream Downstream
Upstream Downstream
UDP-Hello
Discovery stage
UDP-Hello
TCP connection establishment
Session creation
and maintenance
Session initialization
Label request
FEC
LSP creation and
maintenance Label
Label mapping
Basic MPLS Configurations (1)