© 2003, Cisco Systems, Inc. All Rights Reserved
© 2003, Cisco Systems, Inc. All Rights Reserved
© 2003, Cisco Systems, Inc. All Rights Reserved
MPLS Concepts
Outline
Overview Drawbacks of Traditional IP Routing Basic MPLS Concepts MPLS Versus IP over ATM Traffic Engineering with MPLS
MPLS Architecture
MPLS Labels Label Switch Routers
Lesson Summary
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-3
Is based on:
Routing protocols are used to distribute Layer 3 routing information.
MPLS v2.01-4
Every router may need full Internet routing information (more than 100,000 routes).
MPLS v2.01-5
Every router may need full Internet routing information (more than 100,000 routes). Destination-based routing lookup is needed on every hop.
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-6
Layer 2 devices have no knowledge of Layer 3 routing informationvirtual circuits must be manually established.
MPLS v2.01-7
Layer 2 devices have no knowledge of Layer 3 routing informationvirtual circuits must be manually established.
Layer 2 topology may be different from Layer 3 topology, resulting in suboptimal paths and link use.
Even if the two topologies overlap, the hub-and-spoke topology is usually used because of easier management.
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-8
Most traffic goes between large sites A and B, and uses only the primary link. Destination-based routing does not provide any mechanism for load balancing across unequal paths. Policy-based routing can be used to forward packets based on other parameters, but this is not a scalable solution.
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-9
Labels can also correspond to other parameters, such as QoS or source address.
MPLS was designed to support forwarding of other protocols as well.
MPLS v2.01-10
MPLS v2.01-11
MPLS v2.01-12
Only edge routers must perform a routing lookup. Core routers switch packets based on simple label lookups and swap labels.
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-13
MPLS v2.01-14
Layer 2 devices are IP-aware and run a routing protocol. There is no need to manually establish virtual circuits.
MPLS v2.01-15
Layer 2 devices are IP-aware and run a routing protocol. There is no need to manually establish virtual circuits. MPLS provides a virtual full-mesh topology.
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-16
MPLS Architecture
Control plane contains complex mechanisms to exchange routing information, such as OSPF, EIGRP, IS-IS, and BGP, and to exchange labels, such as TDP, LDP, BGP, and RSVP. Data plane has a simple forwarding engine.
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-18
Router functionality is divided into two major parts: control plane and data plane
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-19
Router functionality is divided into two major parts: control plane and data plane
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-20
Router functionality is divided into two major parts: control plane and data plane
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-21
Router functionality is divided into two major parts: control plane and data plane
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-22
Router functionality is divided into two major parts: control plane and data plane
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-23
MPLS Labels
MPLS technology is intended to be used anywhere regardless of Layer 1 media and Layer 2 protocol. MPLS uses a 32-bit label field that is inserted between Layer 2 and Layer 3 headers (frame-mode).
MPLS over ATM uses the ATM header as the label (cell-mode).
MPLS v2.01-24
MPLS uses a 32-bit label field that contains the following information:
20-bit label 3-bit experimental field
MPLS v2.01-25
MPLS v2.01-26
MPLS v2.01-27
MPLS v2.01-28
MPLS v2.01-29
MPLS v2.01-30
LSR primarily forwards labeled packets (label swapping). Edge LSR primarily labels IP packets and forwards them into the MPLS domain, or removes labels and forwards IP packets out of the MPLS domain.
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-31
ATM LSR can forward only cells. ATM edge LSR segments packets into cells and forwards them into an MPLS ATM domain, or reassembles cells into packets and forwards them out of an MPLS ATM domain.
2003, Cisco Systems, Inc. All rights reserved. MPLS v2.01-32
The first two functions are part of the control plane. The last function is part of the data plane.
MPLS v2.01-33
MPLS v2.01-34
MPLS v2.01-35
Summary
A major drawback of traditional IP routing is that packets are always forwarded based on the destination address. MPLS forwards packets based on labels. MPLS can be implemented in ATM networks. MPLS allows traffic engineering to provide load balancing across unequal paths. Packets are forwarded using labels from the LFIB table rather than the IP routing table. Labels are inserted between the L2 and L3 headers in frame-mode networks and use the VPI/VCI field in cell-mode networks. All LSRs perform three functions:
Exchange routing information Exchange labels
MPLS v2.01-36