MPLS10S02-MPLS Concepts.ppt_第1页
MPLS10S02-MPLS Concepts.ppt_第2页
MPLS10S02-MPLS Concepts.ppt_第3页
MPLS10S02-MPLS Concepts.ppt_第4页
MPLS10S02-MPLS Concepts.ppt_第5页
已阅读5页,还剩57页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、MPLS Concepts,Module 2,Objectives,Upon completion of this chapter, you will be able to perform the following tasks: Identify the drawbacks of traditional IP routing Describe basic MPLS concepts and LSR types. Understand how different MPLS applications can coexist on the same platform using the same

2、underlying technology. List the standard bodies that are working on MPLS technology and the relationship between Tag Switching and MPLS.,Drawbacks of Traditional IP Routing, 2001, Cisco Systems, Inc.,MPLS v1.02-3,Objectives,Upon completion of this section, you will be able to identify the drawbacks

3、of traditional IP routing.,Traditional IP Forwarding,Traditional IP forwarding is based on the following: Routing protocols are used to distribute Layer 3 routing information. Forwarding is based on the destination address only. Routing lookups are performed on every hop.,Traditional IP Forwarding(c

4、ont.),Destination-based routing lookup is needed on every hop. Every router may need full Internet routing information (more than 100,000 routes).,Update: /8,Update: /8,,,,,Routing lookup,Routing lookup,Routing lookup,IP over ATM,Layer 2 topology may b

5、e different from Layer 3 topology, resulting in suboptimal paths and link utilization. Layer 2 devices have no knowledge of Layer 3 routing informationvirtual circuits must be manually established. Even if the two topologies overlap, the hub and spoke topology is usually used because of easier manag

6、ement.,,,,,,,,,,Traffic Engineering with Traditional IP Forwarding,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

7、unequal paths. Policy-based routing can be used to forward packets based on other parameters, but this is not a scalable solution.,Primary OC192 link,Large Site A,Large Site B,Small Site C,BackupOC48 link,Summary,After completing this section, you should be able to identify the drawbacks of traditio

8、nal IP routing,Review Questions,List major drawbacks of traditional IP routing. Based on what information do routers forward IP packets? What mechanism can be used to forward packets based on other parameters? Why is this mechanism not suitable for large networks?,Basic MPLS Concepts, 2001, Cisco Sy

9、stems, Inc.,MPLS v1.02-11,Objectives,Upon completion of this section, you will be able to perform the following tasks: Describe MPLS architecture. Describe the MPLS approach to IP routing. Describe the difference between data plane and control plane in MPLS. Describe the difference between packet-mo

10、de and cell-mode MPLS. List Label Switch Router (LSR) types. Describe LSR architecture.,Basic MPLS Concepts,MPLS is a new forwarding mechanism in which packets are forwarded based on labels. Labels may correspond to IP destination networks (equal to traditional IP forwarding). Labels can also corres

11、pond to other parameters, such as quality of service (QoS) or source address. MPLS was designed to support forwarding of other protocols as well.,MPLS Example,Only edge routers must perform a routing lookup. Core routers switch packets based on simple label lookups and swap labels.,L=5,L=3,,

12、,Routing lookup and label assignment /8 L=5,Label swapping L=5 L=3,MPLS Versus IP over ATM,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.,,L=5,L=3,L=17,,Laye

13、r 2 devices run a Layer 3 routing protocol and establish virtual circuits dynamically based on Layer 3 information,Traffic Engineering with MPLS,Traffic can be forwarded based on other parameters (QoS, source, .). Load sharing across unequal paths can be achieved.,Primary OC192 link,Large Site A,Lar

14、ge Site B,Small Site C,SecondaryOC48 link,MPLS Architecture,MPLS has two major components: Control planeexchanges Layer 3 routing information and labels Data planeforwards packets based on labels Control plane contains complex mechanisms to exchange routing information, such as Open Shortest Path Fi

15、rst (OSPF), Enhanced Interior Gateway Routing Protocol (EIGRP), Intermediate System-to-Intermediate System (IS-IS), and BGP, and to exchange labels, such as Tag Distribution Protocol (TDP), label distribution protocol (LDP), BGP, and Resource Reservation Protocol (RSVP). Data plane has a simple forw

16、arding engine. Control plane maintains contents of the label-switching table (label forwarding information base, or LFIB).,MPLS Architecture,Router functionality is divided into two major parts: control plane and data plane,Data Plane,Control Plane,OSPF: /8,LDP: /8 Label 17,OSPF,LDP,

17、LFIB,LDP: /8 Label 4,OSPF: /8,Labeled packet Label 4,Labeled packet Label 17,MPLS Modes of Operation,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 (

18、frame-mode). MPLS over ATM uses the ATM header as the label (cell-mode).,Label Format,MPLS uses a 32-bit label field that contains the following information: 20-bit label 3-bit experimental field 1-bit bottom-of-stack indicator 8-bit time-to-live (TTL) field,LABEL,EXP,S,TTL,0,19,22,23,31,20,24,Frame

19、-Mode MPLS,Routing lookup and label assignment,IP Header,Cell_Mode MPLS,ATM Adaptation Layer 5 (AAL5) Header,Label,Payload,Layer 2,Layer 2,Layer 3,ATM Header,Cell 1,Payload,ATM Header,Cell 2,VPI/VCI fields are used for label switching,Label Switch Router,Label switch router (LSR) primarily forwards

20、labeled packets (label swapping) Edge LSR primarily labels IP packets and forwards them into MPLS domain, or removes labels and forwards IP packets out of the MPLS domain,MPLS Domain,Edge LSR,LSR,,L=3,L=5,L=43,L=31,,,,ATM Label Switch Router,ATM LSR can only forward c

21、ells 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,MPLS Domain,ATM Edge LSR,ATM LSR,,L=1/3,L=1/6,,,,L=1/3,L=1/3,L=1/5,L=1/5,L=1/5,L=1/6,L=1/6,L=1/9,L=1/

22、9,L=1/9,Architecture of LSRs,LSRs, regardless of the type, perform the following three functions: Exchange routing information Exchange labels Forward packets (LSRs and edge LSRs) or cells (ATM LSRs and ATM edge LSRs) The first two functions are part of the control plane. The last function is part o

23、f the data plane.,Architecture of LSRs,LSRs primarily forward labeled packets or cells (ATM LSRs).,LSR,Control Plane,Data Plane,Routing Protocol,Label Distribution Protocol,Label Forwarding Table,IP Routing Table,Exchange of routing information,Exchange of labels,Incoming labeled packets,Outgoing la

24、beled packets,Architecture of Edge LSRs,Note: ATM edge LSRs can only forward cells.,Edge LSR,Control Plane,Data Plane,Routing Protocol,Label Distribution Protocol,Label Forwarding Table,IP Routing Table,Exchange of routing information,Exchange of labels,Incoming labeled packets,Outgoing labeled pack

25、ets,IP Forwarding Table,Incoming IP packets,Outgoing IP packets,Summary,After completing this section, you should be able to perform the following tasks: Describe MPLS architecture. Describe MPLS approach to IP routing. Describe the difference between data plane and control plane in MPLS. Describe t

26、he difference between packet-mode and cell-mode MPLS. List Label Switch Router (LSR) types. Describe LSR architecture.,Review Questions,What are the major drawbacks of traditional IP forwarding and how does MPLS solve them? What functions does an LSR perform? List the types of LSRs. Name the two mod

27、es of MPLS. Explain the difference between an LSR and an Edge LSR. Explain the difference between an LSR and an ATM LSR.,MPLS Labels and Label Stack, 2001, Cisco Systems, Inc.,MPLS v1.02-30,Objectives,Upon completion of this section, you will be able to perform the following tasks: Describe the form

28、at of MPLS label. Explain the concept of the MPLS Label Stack. Describe the way MPLS labels are used in Packet-mode and ATM environment.,MPLS Label Format,MPLS uses a 32-bit label field that contains the following information: 20-bit label (a number) 3-bit experimental field (usually used to carry I

29、P precedence value) 1-bit bottom-of-stack indicator (indicates whether this is the last label before the IP header) 8-bit TTL (equal to the TTL in IP header),LABEL,EXP,S,TTL,0,19,22,23,31,20,24,MPLS Labels,Labels are inserted between the Layer 2 (frame) header and the Layer 3 (packet) header. There

30、can be more than one label (label stack). The bottom-of-stack bit indicates if the label is the last label in the label stack. The TTL field is used to prevent indefinite looping of packets. Experimental bits are usually used to carry the IP precedence value.,MPLS Label Stack,Protocol identifier in

31、a Layer 2 header specifies that the payload starts with a label (labels) and is followed by an IP header Bottom-of-stack bit indicates whether the next header is another label or a Layer 3 header Receiving router uses the top label only,Frame Header,Label 1,IP Header,Payload,Label 2,Label 3,S=0,S=0,

32、S=1,PID=MPLS-IP,MPLS Label Stack,Usually only one label assigned to a packet. The following scenarios may produce more than one label: MPLS VPNs (two labelsthe top label points to the egress routers and the second label identifies the VPN) MPLS TE (two or more labelsthe top label points to the endpo

33、int of the traffic engineering tunnel and the second label points to the destination) MPLS VPNs combined with MPLS TE (three or more labels),MPLS Forwarding,An LSR can perform the following functions: Insert (impose) a label or a stack of labels on ingress. Swap a label with a next-hop label or a st

34、ack of labels in the core. Remove (pop) a label on egress. ATM LSRs can only swap a label with one label (VPI/VCI fields change).,MPLS Domain,MPLS Forwarding(Frame-Mode),On ingress a label is assigned and imposed by the IP routing process. LSRs in the core swap labels based on the contents of the la

35、bel forwarding table. On egress the label is removed and a routing lookup is used to forward the packet.,,MPLS Domain,MPLS Forwarding(Cell-Mode),Labels (VPI/VCI) are imposed during the IP lookup process on ingress ATM edge LSRs. Packets are segmented into cells. ATM LSRs in the core swap lab

36、els based on the contents of the ATM switching table. ATM LSRs cannot forward IP packets. On egress ATM edge LSRs the labels are removed (cells are reassembled into packets) and a routing lookup is used to forward packets.,,Summary,After completing this section, you should be able to perform

37、 the following tasks: Describe the format of MPLS label. Explain the concept of the MPLS Label Stack. Describe the way MPLS labels are used in Packet-mode and ATM environment.,Review Questions,What fields does a label have? How does a receiving router know if the packet is labeled or not? How does a

38、 receiving router know if there is another label? Why is more than one label needed? What are the major differences between frame-mode and cell-mode MPLS?,MPLS Applications, 2001, Cisco Systems, Inc.,MPLS v1.02-41,Objectives,Upon completion of this section, you will be able to perform the following

39、tasks: Identify various MPLS applications. Describe the overall structure of each MPLS application. Explain the interactions between several MPLS applications running on the same platform.,MPLS Applications,MPLS is already used in many different applications: Unicast IP routing Multicast IP routing

40、Traffic Engineering (MPLS TE) QoS Virtual private networks (MPLS VPN) Regardless of the application, the functionality is always split into the control plane and the data plane: The applications differ only in the control plane. They all use a common label-switching data plane. Edge LSR Layer 3 data

41、 planes may differ. In general, a label is assigned to a forwarding equivalence class (FEC).,Unicast IP Routing,Two mechanisms are needed on the control plane: IP routing protocol (OSPF, IS-IS, EIGRP, .) Label distribution protocol (LDP or TDP) A routing protocol carries the information about the re

42、achability of networks. The label distribution protocol binds labels to networks learned via a routing protocol. The forwarding equivalence class (FEC) is equal to a destination network, stored in the IP routing table.,Multicast IP Routing,A dedicated protocol is not needed to support multicast traf

43、fic across an MPLS domain. peripheral interface manager (PIM) version 2 with extensions for MPLS is used to propagate routing information as well as labels. FEC is equal to a destination multicast address, stored in the multicast routing table.,MPLS TE,MPLS traffic engineering requires OSPF or ISIS

44、with extensions for MPLS TE as the IGP. OSPF and IS-IS with extensions hold the entire topology in their databases. OSPF and IS-IS should also have some additional information about network resources and constraints. RSVP or CR-LDP is used to establish traffic engineering tunnels (TE tunnels) and pr

45、opagate labels.,Quality of Service,Differentiated QoS is an extension to unicast IP routing that provides differentiated services. Extensions to TDP or LDP are used to propagate different labels for different classes. FEC is a combination of a destination network and a class of service.,Virtual Priv

46、ate Networks,Networks are learned via an IGP (OSPF, EBGP, RIP version 2 RIPv2 or static) from a customer or via BGP from other internal routers. Labels are propagated via MP-BGP. Two labels are used: Top label points to the egress router (assigned through LDP or TDP). Second label identifies the out

47、going interface on the egress router or a routing table where a routing lookup is performed. FEC is equal to a VPN site descriptor or VPN routing table.,Control Plane,Multicast IP Routing,MPLS Traffic Engineering,Quality of Service,MPLS/VPN,Unicast IP Routing,Interaction Between MPLS Applications,Da

48、ta Plane,Any IGP,LDP or TDP,Label forwarding table,Unicast IP routing table,PIM version 2,Multicast IP routing table,OSPF or IS-IS,LDP,Unicast IP routing table,RSVP,Any IGP,LDP or TDP,Unicast IP routing table,Any IGP,LDP,Unicast IP routing tables,BGP,Summary,After completing this section, you should

49、 be able to perform the following tasks: Identify various MPLS applications. Describe the overall structure of each MPLS application. Explain the interactions between several MPLS applications running on the same platform.,Review Questions,Where is MPLS used today? Where can MPLS potentially be used

50、 in the future? What do the different applications of MPLS have in common? What are the differences between the various applications of MPLS?,Differences Between Tag Switching and MPLS, 2001, Cisco Systems, Inc.,MPLS v1.02-52,Objectives,Upon completion of this section, you will be able to perform th

51、e following tasks: Explain the differences between Tag Switching and MPLS. List the IETF standards defining MPLS.,MPLS Standardization,MPLS functionality has been available in Cisco routers since Cisco IOS Release 11.1CT. It was called tag switching, and the switching part is equal to standard MPLS.

52、 The only difference between MPLS and tag switching is in the label distribution protocol: Cisco proprietary implementation uses TDP. IETF specifies LDP as the standard label distribution protocol. Although TDP and LDP are also functionally equivalent, they are not compatible. They can, however, coe

53、xist in an MPLS domain as long as any two peers are using the same protocol.,MPLS Standards,MPLS is basically a standardized version of tag switching. The following are just some of the many drafts defining MPLS: draft-ietf-mpls-arch draft-ietf-mpls-label-encaps draft-ietf-mpls-ldp Many other drafts can be found at /html.charters/mpls-charter.html,TDP vs. LDP,MPLS and tag switchi

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论