《开放英语I形成性考核册作业答案154.ppt》由会员分享,可在线阅读,更多相关《开放英语I形成性考核册作业答案154.ppt(44页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、0Tutorial OutlineOverviewLabel EncapsulationsLabel Distribution ProtocolsMPLS&ATMConstraint Based Routing with CR-LDPSummary1“Label Substitution what is it?BROADCAST:Go everywhere,stop when you get to B,never ask for directions.HOP BY HOP ROUTING:Continually ask whos closer to B go there,repeat stop
2、 when you get to B.“Going to B?Youd better go to X,its on the way.SOURCE ROUTING:Ask for a list(that you carry with you)of places to go that eventually lead you to B.“Going to B?Go straight 5 blocks,take the next left,6 more blocks and take a right at the lights.One of the many ways of getting from
3、A to B:2Label SubstitutionHave a friend go to B ahead of you using one of the previous two techniques.At every road they reserve a lane just for you.At ever intersection they post a big sign that says for a given lane which way to turn and what new lane to take.LANE#1LANE#2LANE#1 TURN RIGHT USE LANE
4、#23A label by any other name.There are many examples of label substitution protocols already in existence.ATM-label is called VPI/VCI and travels with cell.Frame Relay-label is called a DLCI and travels with frame.TDM-label is called a timeslot its implied,like a lane.X25-a label is an LCN Proprieta
5、ry PORS,TAG etc.One day perhaps Frequency substitution where label is a light frequency?4SO WHAT IS MPLS?Hop-by-hop or source routing to establish labels Uses label native to the media Multi level label substitution transport5ROUTE AT EDGE,SWITCH IN COREIP ForwardingLABEL SWITCHINGIP ForwardingIPIP#
6、L1IP#L2IP#L3IP6MPLS:HOW DOES IT WORK UDP-HelloUDP-HelloTCP-openTIMETIMELabel requestIPLabel mapping#L2Initialization(s)7WHY MPLS?Leverage existing ATM hardwareUltra fast forwarding IP Traffic EngineeringConstraint-based RoutingVirtual Private NetworksControllable tunneling mechanismVoice/Video on IP
7、Delay variation+QoS constraints8BEST OF BOTH WORLDSPACKETROUTINGCIRCUITSWITCHINGMPLS+IP form a middle ground that combines the best of IP and the best of circuit switching technologies.ATM and Frame Relay cannot easily come to the middle so IP has!MPLS+IPIPATMHYBRID9MPLS TerminologyLDP:Label Distrib
8、ution Protocol LSP:Label Switched PathFEC:Forwarding Equivalence ClassLSR:Label Switching RouterLER:Label Edge Router(Useful term not in standards)10Forwarding Equivalence ClassesFEC=“A subset of packets that are all treated the same way by a routerThe concept of FECs provides for a great deal of fl
9、exibility and scalabilityIn conventional routing,a packet is assigned to a FEC at each hop(i.e.L3 look-up),in MPLS it is only done once at the network ingressPackets are destined for different address prefixes,but can bemapped to common pathIP1IP2IP1IP2LSRLSRLERLERLSPIP1#L1IP2#L1IP1#L2IP2#L2IP1#L3IP
10、2#L311MPLS BUILT ON STANDARD IP47.147.247.3123123123 Destination based forwarding tables as built by OSPF,IS-IS,RIP,etc.12IP FORWARDING USED BY HOP-BY-HOP CONTROL47.147.247.3IP 47.1.1.11231212313MPLS Label Distribution47.147.247.3123121233Mapping:0.40Request:47.1Mapping:0.50Request:47.114Label Switc
11、hed Path(LSP)47.147.247.3123121233IP 47.1.1.1IP 47.1.1.11547.147.247.3123121233IP 47.1.1.1IP 47.1.1.1EXPLICITLY ROUTED LSP ER-LSP16Tutorial OutlineOverviewLabel EncapsulationsLabel Distribution ProtocolsMPLS&ATMConstraint Based Routing with CR-LDPSummary17Label EncapsulationATMFREthernetPPPMPLS Enca
12、psulation is specified over various media types.Top labels may use existing format,lower label(s)use a new“shim label format.VPI VCIDLCI“Shim LabelL2Label“Shim Label.IP|PAYLOAD18MPLS Link LayersMPLS is intended to run over multiple link layersSpecifications for the following link layers currently ex
13、ist:ATM:label contained in VCI/VPI field of ATM header Frame Relay:label contained in DLCI field in FR header PPP/LAN:uses shim header inserted between L2 and L3 headersTranslation between link layers types must be supportedMPLS intended to be“multi-protocol below as well as above19MPLS Encapsulatio
14、n-ATMATM LSR constrained by the cell format imposed by existing ATM standardsVPIPTCLPHEC5 OctetsATM HeaderFormatVCIAAL5 TrailerNetwork Layer Headerand Packet(eg.IP)1nAAL 5 PDU Frame(nx48 bytes)Generic Label Encap.(PPP/LAN format)ATMSARATM HeaderATM Payload Top 1 or 2 labels are contained in the VPI/
15、VCI fields of ATM header-one in each or single label in combined field,negotiated by LDP Further fields in stack are encoded with shim header in PPP/LAN format-must be at least one,with bottom label distinguished with explicit NULL TTL is carried in top label in stack,as a proxy for ATM header(that
16、lacks TTL)48 Bytes48 BytesLabelLabelOption 1Option 2Combined LabelOption 3LabelATM VPI(Tunnel)20MPLS Encapsulation-Frame Relayn1DLCIC/READLCIFECNBECNDEEAQ.922HeaderGeneric Encap.(PPP/LAN Format)Layer 3 Header and PacketDLCI Size=10,17,23 BitsCurrent label value carried in DLCI field of Frame Relay h
17、eaderCan use either 2 or 4 octet Q.922 Address(10,17,23 bytes)Generic encapsulation contains n labels for stack of depth n-top label contains TTL(which FR header lacks),explicit NULL label value21MPLS Encapsulation-PPP&LAN Data LinksLabelExp.STTLLabel:Label Value,20 bits (0-16 reserved)Exp.:Experime
18、ntal,3 bits(was Class of Service)S:Bottom of Stack,1 bit (1=last entry in label stack)TTL:Time to Live,8 bitsLayer 2 Header(eg.PPP,802.3)Network Layer Headerand Packet(eg.IP)4 OctetsMPLS Shim Headers(1-n)1nNetwork layer must be inferable from value of bottom label of the stackTTL must be set to the
19、value of the IP TTL field when packet is first labelledWhen last label is popped off stack,MPLS TTL to be copied to IP TTL fieldPushing multiple labels may cause length of frame to exceed layer-2 MTU-LSR must support“Max.IP Datagram Size for Labelling parameter-any unlabelled datagram greater in siz
20、e than this parameter is to be fragmentedMPLS on PPP links and LANs uses Shim Header Inserted Between Layer 2 and Layer 3 HeadersLabel StackEntry Format22Tutorial OutlineOverviewLabel EncapsulationsLabel Distribution ProtocolsLabel Distribution ProtocolsMPLS&ATMIETF StatusNortels ActivitySummary23La
21、bel Distribution ProtocolsOverview of Hop-by-hop&ExplicitLabel Distribution Protocol(LDP)Constraint-based Routing LDP(CR-LDP)Extensions to RSVPExtensions to BGP24Comparison-Hop-by-Hop vs.Explicit RoutingHop-by-Hop RoutingExplicit RoutingSource routing of control trafficBuilds a path from source to d
22、estRequires manual provisioning,or automated creation mechanisms.LSPs can be ranked so some reroute very quickly and/or backup paths may be pre-provisioned for rapid restorationOperator has routing flexibility(policy-based,QoS-based,Adapts well to traffic engineeringDistributes routing of control tr
23、afficBuilds a set of trees either fragment by fragment like a random fill,or backwards,or forwards in organized manner.Reroute on failure impacted by convergence time of routing protocolExisting routing protocols are destination prefix basedDifficult to perform traffic engineering,QoS-based routingE
24、xplicit routing shows great promise for traffic engineering25Explicit Routing-MPLS vs.Traditional RoutingConnectionless nature of IP implies that routing is based on information in each packet header Source routing is possible,but path must be contained in each IP headerLengthy paths increase size o
25、f IP header,make it variable size,increase overheadSome gigabit routers require slow path option-based routing of IP packets Source routing has not been widely adopted in IP and is seen as impracticalSome network operators may filter source routed packets for security reasonsMPLSs enables the use of
26、 source routing by its connection-oriented capabilities -paths can be explicitly set up through the network -the label can now represent the explicitly routed pathLoose and strict source routing can be supportedMPLS makes the use of source routing in the Internet practical26Label Distribution Protoc
27、olsOverview of Hop-by-hop&ExplicitLabel Distribution Protocol(LDP)Constraint-based Routing LDP(CR-LDP)Extensions to RSVPExtensions to BGP27Label Distribution Protocol(LDP)-PurposeLabel distribution ensures that adjacent routers havea common view of FEC label bindingsRouting Table:Addr-prefix Next Ho
28、pLSR1LSR2LSR3IP PacketRouting Table:Addr-prefix Next Hopuse label 17Label Information Base:Label-In FEC Label-OutLabel Information Base:Label-In FEC Label-OutStep 1:LSR creates bindingbetween FEC and label valueStep 2:LSR communicatesbinding to adjacent LSRStep 3:LSR inserts labelvalue into forwardi
29、ng baseCommon understanding of which FEC the label is referring to!Label distribution can either piggyback on top of an existing routing protocol,or a dedicated label distribution protocol(LDP)can be created28Label Distribution-MethodsLSR1LSR2Label Distribution can take place using one of two possib
30、le methodsDownstream Label DistributionLabel-FEC BindingLSR2 and LSR1 are said to have an“LDP adjacency(LSR2 being the downstream LSR)LSR2 discovers a next hop for a particular FECLSR2 generates a label for the FEC and communicates the binding to LSR1LSR1 inserts the binding into its forwarding tabl
31、esIf LSR2 is the next hop for the FEC,LSR1 can use that label knowing that its meaning is understoodLSR1LSR2Downstream-on-Demand Label DistributionLabel-FEC BindingLSR1 recognizes LSR2 as its next-hop for an FECA request is made to LSR2 for a binding between the FEC and a labelIf LSR2 recognizes the
32、 FEC and has a next hop for it,it creates a binding and replies to LSR1Both LSRs then have a common understandingRequest for BindingBoth methods are supported,even in the same network at the same timeFor any single adjacency,LDP negotiation must agree on a common method29#963#14#99#311#311#311DOWNST
33、REAM ON DEMAND MAKING SPF TREE COPY IN H/W#462D#311D#963D#14D#99D#216D#612D#5DD?D?D?D?D?D?D?D?30Label Distribution ProtocolsOverview of Hop-by-hop&ExplicitLabel Distribution Protocol(LDP)Constraint-based Routing LDP(CR-LDP)Extensions to RSVP31Constraint-based LSP Setup using LDPUses LDP Messages(req
34、uest,map,notify)Shares TCP/IP connection with LDPCan coexist with vanilla LDP and inter-work with it,or can exist as an entity on its ownIntroduces additional data to the vanilla LDP messages to signal ER,and other“Constraints 32ER-LSP Setup using CR-LDPLSR BLSR CLER DLER AER Label Switched PathIngr
35、essEgress4.Label mapping message originates.3.Request message terminates.2.Request message processed and next node determined.Path list modified to 1.Label Request message.It contains ER path 5.LSR C receives label to use for sending data to LER D.Label table updated6.When LER A receives label mappi
36、ng,the ER established.33CR-LDP PREEMPTIONA CR-LSP carries an LSP priority.This priority can be used to allow new LSPs to bump existing LSPs of lower priority in order to steal their resources.This is especially useful during times of failure and allows you to rank the LSPs such that the most importa
37、nt obtain resources before less important LSPs.These are called the setupPriority and a holdingPriority and 8 levels are provided.34CR-LDP PREEMPTIONWhen an LSP is established its setupPriority is compared with the holdingPriority of existing LSPs,any with lower holdingPriority may be bumped to obta
38、in their resources.This process may continue in a domino fashion until the lowest holdingPriority LSPs either clear or are on the worst routes.35ER-LSP setup using RSVPLSR BLSR CLER DLER A1.Path message.It contains ER path 2.New path state.Path message sent to next node3.Resv message originates.Cont
39、ain the label to use and the required traffic/QoS para.4.New reservation state.Resv message propagated upstream5.When LER A receives Resv,the ER established.Per-hop Path and Resv refresh unless suppressedPer-hop Path and Resv refresh unless suppressedPer-hop Path and Resv refresh unless suppressed36
40、Tutorial OutlineOverviewLabel EncapsulationsLabel Distribution ProtocolsMPLS&ATMConstraint Based Routing with CR-LDP SummarySummary37Traffic EngineeringABCDTraffic engineering is the process of mapping traffic demand onto a networkDemandNetworkTopologyPurpose of traffic engineering:Maximize utilizat
41、ion of links and nodes throughout the networkEngineer links to achieve required delay,grade-of-serviceSpread the network traffic across network links,minimize impact of single failureEnsure available spare link capacity for re-routing traffic on failureMeet policy requirements imposed by the network
42、 operatorTraffic engineering key to optimizing cost/performance38Traffic Engineering AlternativesCurrent methods of traffic engineering:Manipulating routing metricsUse PVCs over an ATM backboneOver-provision bandwidthDifficult to manageNot scalableNot economicalMPLS combines benefits of ATM and IP-l
43、ayer traffic engineering Chosen by routing protocol(least cost)Chosen by Traffic Eng.(least congestion)Example Network:MPLS provides a new method to do traffic engineering(traffic steering)Ingress nodeexplicitly routestraffic over uncongested pathPotential benefits of MPLS for traffic engineering:-a
44、llows explicitly routed paths-no“n-squared problem-per FEC traffic monitoring-backup paths may be configured operator controlscalable granularity of feedback redundancy/restorationCongested Node39MPLS Traffic Engineering MethodsMPLS can use the source routing capability to steer traffic on desired p
45、athOperator may manually configure these in each LSR along the desired path-analogous to setting up PVCs in ATM switchesIngress LSR may be configured with the path,RSVP used to set up LSP-some vendors have extended RSVP for MPLS path set-upIngress LSR may be configured with the path,LDP used to set
46、up LSP-many vendors believe RSVP not suitedIngress LSR may be configured with one or more LSRs along the desired path,hop-by-hop routing may be used to set up the rest of the path -a.k.a loose source routing,less configuration requiredIf desired for control,route discovered by hop-by-hop routing can
47、 be frozen -a.k.a“route pinningIn the future,constraint-based routing will offload traffic engineering tasks from the operator to the network itself40MPLS:Scalability Through Routing HierarchyBR1BR2BR3BR4TR1TR2TR3TR4AS1AS2AS3Border routers BR1-4 run an EGP,providing inter-domain routingInterior tran
48、sit routers TR1-4 run an IGP,providing intra-domain routingNormal layer 3 forwarding requires interior routers to carry full routing tables -transit router must be able to identify the correct destination ASBR(BR1-4)Carrying full routing tables in all routers limits scalability of interior routing -
49、slower convergence,larger routing tables,poorer fault isolationMPLS enables ingress node to identify egress router,label packet based on interior routeInterior LSRs would only require enough information to forward packet to egressIngress routerreceives packetPacket labelled based onegress routerForw
50、arding in the interiorbased on IGP routeEgress borderrouter popslabel and fwds.MPLS increases scalability by partitioning exterior routing from interior routing41MPLS:Partitioning Routing and ForwardingRoutingForwardingOSPF,IS-IS,BGP,RIPMPLSForwarding TableBased on:Classful Addr.Prefix?Classless Add