MPLS Presentation
MPLS Presentation
MPLS Presentation
Introduction
Overview
Introduction
Needfor MPLS
MPLS and it’s Components
MPLS Basics
MPLS Operation
MPLS Benefits
Need for Multiprotocol Label
Switching (MPLS)
Conventional network forwarding
Each router analyzes the coming packet’s header and
BB – Backbone Router
BO – Branch office Router
1. Technology used in computer networks
2. Allows multiple instances of a routing table to co-exist within
the same router at the same time.
3. A VRF may be implemented in a network device by having
distinct routing tables, also known as forwarding information
bases (FIBs), one per VRF
In a large network this can result in the CPU load on the LER
reaching unacceptable levels.
By having PHP for an LER done on the LSRs connected to it,
the load is effectively distributed among its neighbour routers
E-LSR (Edge LSR)
An LSR that is either an ingress or egress LSR
Label
A label is a short, fixed length, locally significant identifier
used to identify a FEC
MPLS Node
A node that is running on MPLS. An MPLS node will be aware of
MPLS control protocols, will operate one or more L3 routing
protocols, and will be capable of forwarding packets based on
labels.
Setting up the LSP
Topology determination
LSR2 LSR3
LER1 LSR4
LSRs use routing protocols LER5
to discover network topology
eg. OSPF, ISIS, (BGP) LSR6
MPLS Domain
Setting up the LSP (contd.)
Adding an IP network
LSR2 LSR3
LER1 LSR4
IP networks advertise their LER5
addresses using routing
protocols into MPLS cloud LSR6
MPLS Domain
Upstream and Downstream LSR
Suppose Ru and Rd have agreed to bind label L to FEC F, for
packets from Ru to Rd. Then with respect to this binding, Ru is
the “Upstream LSR”, and Rd is the “downstream LSR”
Unsolicited downstream
where an LSR is allowed to distribute label bindings to LSRs
that have not explicitly requested them
Label Label
Assignment Distribution
Control Traffic
Downstream Upstream
Driven Driven
LSR2 LSR3
LER1 LSR4
An LSP is set up LER5
between these LSR6
networks
MPLS Domain
What signaling protocol to use?
LDP (Label Distribution Protocol)
• Designed specifically for MPLS, maps unicast IP
destinations to labels
• Requires manual mesh configuration
RSVP (ReSource reserVation Protocol)
• Already used for resource reservation
• Scalability?
BGP (Border Gateway Protocol)
• Already in use for routing information exchange
• Automatic mesh configuration
• Will every router run BGP?
LDP vs. RSVP battle rages on in IETF, but each protocol is
rapidly improving, incorporating features from each other into
their newer versions
Data path
Unlabelled IP packet enters MPLS domain
LSR2 LSR3
LER1 LSR4
LER5
LSR6
MPLS Domain
Data path (contd.)
Ingress LSR assigns a label
B 5
LSR2 LSR3
LER1 LSR4
LER5
LSR6
Dest Out (port, lab) Action
MPLS Domain
B.0 2, 5 Push
Data path (contd.)
Labeled packet is forwarded LSR2 LSR3
B 17
LSR2 LSR3
LER1 LSR4
LER5
LSR6
In (port, lab) Out (port, lab) Action
MPLS Domain
1, 5 3, 17 Swap
Data path (contd.)
Labeled packet is forwarded LSR3 LSR5
B 7
LSR2 LSR3
LER1 LSR4
LER5
LSR6
In (port, lab) Out (port, lab) Action
MPLS Domain
1, 17 2, 7 Swap
Data path (contd.)
Label is popped and packet is routed
LSR2 LSR3
LER1 LSR4
LER5
LSR6
In (port, lab) Out (port, lab) Action
MPLS Domain
3, 7 4, none Pop
Label Retention Mode
Any upstream LSR Ru may receive (or may have received) a label
binding for a particular FEC from a downstream LSR Rd, even
though Rd is not Ru's next hop ( or is no longer Ru's next hop ) for
that FEC.
Ru then has the choice of whether to keep track the choice of
whether to keep track of such bindings, or whether to discard such
bindings. If Ru keeps track of such bindings, then it may
immediately begin using the binding again if Rd eventually becomes
its next hop for the FEC in question.
If LSR Ru maintains the bindings between the label and FEC,
which it received from LSR Rd, then it is said to support "
Liberal Label Retention Mode". If LSR Rd discards the
bindings between the label and the FEC, which it received from
LSR Rd, then it is said to support "Conservative Label
Retention Mode“
Labeled packets are forwarded through LSPs that have been set up
from ingress LSR to egress LSR. The setup of these LSPs can be
achieved either through:
Hop-by-hop routing
Explicit routing
In explicit routing the ingress LSR or the egress LSR
specify the LSRs in the LSP
5. The ingress LSR or egress LSR may specify several or all
of the LSPs
6. If all the LSRs are specified, the LSP is a “Strictly” explicitly
routed LSP
7. If some LSRs are not specified, the LSP is a “loosely”
explicitly routed LSP.
MPLS – Route Selection
Time to Live (TTL)
VPN B/Site 1
CE1B1 CEA2
CEB2
VPN B/Site 2
P1 PE2
CE2B1
P2 MPLS
PE1 PE3
CEA1 CEA3
P3
CEB3
VPN A/Site 3
VPN A/Site 1
VPN B/Site 3
MPL S B enef its
Builds interoperable networks
MPLS is a standards-based solution that achieves synergy
between
IP and ATM networks.
Supports network scalability
MPLS can be used to avoid the Network overlay problem
associated with meshed IP–ATM networks.
Scaling in L2/L3 Networks