Professional Documents
Culture Documents
06 IP - FC3010 - E01 - 1-MPLS Principle-37p
06 IP - FC3010 - E01 - 1-MPLS Principle-37p
Objectives
2
Contents
n MPLS overview
n MPLS Concepts
n Label Switch Paths
n Label assignment and distribution
n LDP overview
3
MPLS-- Multi-Protocol Label Switching
n Objective:
l MPLS combines high-speed switching technology of ATM with IP to realize
fast forwarding of IP packets
l Multi Protocol——It indicates that other protocols can be applied, including
all network layer protocols (e.g. IPV6 and IPX) and link layer protocols (e.g.
ATM, FR and PPP etc.)
l Label Switching——Attaching label with fixed length to the packet and
replacing IP forwarding process with this label
47.1 S2
47.1 S2 47.1 S2
S1 S2
47.1.1.1
S2 S1 47.1.0.0/16
S1
S2
n Shortcoming of ATM
l It is hard for all manufacturers to implement all functions due to over-
complicated technologies and ATM is unable to integrate with IP perfectly
n MPLS overview
n MPLS Concepts
n Label Switch Paths
n Label assignment and distribution
n LDP overview
9
MPLS Glossaries
n Label:
l It is a short fixed-length which is locally functioning identifier
between L2 frame header and L3 packet header and used for
packet forwarding.
n FEC: It is a collection of data streams with some common attributes. In forwarding process,
these packets are processed by LSR in the same mode, for which, these packets are
equivalence. Packets having the same forwarding and processing mode include:
n Unicast packets with the same address prefix
n Multicast packets with the same destination address
n Belong to the same service level etc
n LDP – Label Distribution Protocol, used to assign label
Ingress
LERa LSP
LERd
LDP Protocol LSRy Egress
LERb LDP LERe
LSRx LSRz
LDP
MPLS
LERc Domain LERf
0 20 23 24 31
Label EXP S TTL 32bits
L2 MPLS IP Data
Header Header Header
Label 1
Label IP
Label IP Label IP
IP IP
LSR LSR
LER LER
Traditional IP Traditional IP
Forwarding Forwarding
MPLS Domain
Label Forwarding
n MPLS overview
n MPLS Concepts
n Label Switch Paths
n Label assignment and distribution
n LDP overview
17
LSP Establishment Process
D est O ut
D est O ut 4 7 .1 1
4 7 .1 1 4 7 .2 2
4 7 .2 2 4 7 .3 3
4 7 .3 3
1 47.1
3
3
1 RC 2
RB 2
1
47.3 3 47.2
2
RA
1 47.1
3
3 RC 2
RB 1
1 Mapping: 40
2
0
47.3 3
i ng: 5 47.2
RA 2 pp
Ma
3 1
47.1
IP 47.1.1.1
1 RC
3 RB 2
1 2
47.3 3 47.2
2
IP 47.1.1.1
RA
n There will be no label switching when packets arrive at the previous hop of egress
LSR, i.e. penultimate hop and just remove the old label and transmit packets
without label.
n Since label has been removed, it is not needed to forward the labeled packet .
Just read IP packet header and send it to destination address.
RC
RB
RA
n MPLS overview
n MPLS Concepts
n Label Switch Paths
n Label assignment and distribution
n LDP overview
23
Label Assignment and Management
Upstream Downstream
171.68.4.0/24 RA RB RC 171.68.1.0/24
Triggered
Use Label 40 for destination Use Label 30 for destination
by Route
address 171.68.1.0/24 address 171.68.1.0/24
Upstream Downstream
171.68.4.0/24
RA RB RC 171.68.1.0/24
Upstream Downstream
Label Bindings
for LSR5 LSR1 LSR3
LSR4’s Label
LSR3’s Label
LSR2’s Label LSR4
Valid
Next Hop
n Mode: LSR only maintains valid label binding; if the next hop changes, it has to
request label again.
n Advantage: It occupies less memory.
n Shortcoming: It has a poor capability in applying to changes of network topology.
LSR2
Label Bindings
for LSR5 LSR1 LSR3
LSR4’s Label
LSR3’s Label
LSR2’s Label LSR4
Valid
Next Hop
n MPLS overview
n MPLS Concepts
n Label Switch Paths
n Label assignment and distribution
n LDP overview
30
LDP Concept
n the PWid FEC Element (FEC type 128) and the Generalized PWid
FEC Element (FEC type 129) are the new FEC added to Ext-LDP