4-7-Introducing-Traffic-Policing-and-Shaping

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

ImplementtheDiffServQoSModelIntroducingTrafficPolicingandShapingTrafficPolicingandShapingOverviewTrafficPolicingandShapingOverview•Thesemechanismsmustclassifypacketsbeforepolicingorshapingthetrafficrate.•Trafficpolicingtypicallydropsormarksexcesstraffictostaywithinatrafficratelimit.•Trafficshapingqueuesexcesspacketstostaywithinthedesiredtrafficrate.WhyUsePolicing?•Tolimitaccesstoresourceswhenhigh-speedaccessisusedbutnotdesired(subrateaccess)•Tolimitthetrafficrateofcertainapplicationsortrafficclasses•Tomarkdown(recolor)exceedingtrafficatLayer2orLayer3WhyUseShaping?•TopreventandmanagecongestioninATM,FrameRelay,andMetroEthernetnetworks,whereasymmetricbandwidthsareusedalongthetrafficpath•Toregulatethesendingtrafficratetomatchthesubscribed(committed)rateinATM,FrameRelay,orMetroEthernetnetworks•ToimplementshapingatthenetworkedgeWhyUseTrafficConditioners?TrafficPolicingExample•Donotrate-limittrafficfrommission-criticalserver.•Rate-limitfile-sharingapplicationtrafficto56kbps.TrafficPolicingExample•Donotrate-limittrafficfrommission-criticalserver.•Rate-limitfile-sharingapplicationtrafficto56kbps.TrafficPolicingandShapingExampleTrafficPolicingandShapingExample•CentraltoremotesitespeedmismatchTrafficPolicingandShapingExample•Centraltoremotesitespeedmismatch•RemotetocentralsiteoversubscriptionTrafficPolicingandShapingExample•Centraltoremotesitespeedmismatch•Remotetocentralsiteoversubscription•Bothsituationsresultinbufferingandindelayedordroppedpackets.Policingvs.ShapingPolicingvs.Shaping•Incomingandoutgoingdirections.•Out-of-profilepacketsaredropped.•DroppingcausesTCPretransmits.•Policingsupportspacketmarkingorre-marking.•Outgoingdirectiononly.•Out-of-profilepacketsarequeueduntilabuffergetsfull.•BufferingminimizesTCPretransmits.•Markingorre-markingnotsupported.•ShapingsupportsinteractionwithFrameRelaycongestionindication.MeasuringTrafficRatesSingleTokenBucketIfsufficienttokensareavailable(conformaction):•Tokensequivalenttothepacketsizeareremovedfromthebucket.•Thepacketistransmitted.SingleTokenBucket(Cont.)Ifsufficienttokensarenotavailable(exceedaction):•Drop(ormark)thepacket.SingleTokenBucket(Cont.)Ifsufficienttokensarenotavailable(exceedaction):•Drop(ormark)thepacket.SingleTokenBucketClass-BasedPolicingSingleTokenBucketClass-BasedPolicing•Bcisnormalburstsize.•Tcisthetimeinterval.•CIRisthecommittedinformationrate.•CIR=Bc/TcCiscoIOSTrafficPolicingandShapingMechanismsCiscoIOSTrafficPolicingMechanismClass-BasedPolicingEnablemethodEnabledinpolicymapConditionsActionsConform,exceed,violateDrop,set,transmitImplementationsSingleordualtokenbucket,single-ordual-ratepolicing,multiactionsCiscoIOSTraffic-ShapingMechanismsClass-BasedShapingFRTSRestrictionShaperforanysubinterfaceShaperforFrameRelayonlyClassificationClass-basedPerDLCIorsubinterfaceLinkfragmentationandinterleavingNosupportforFRF.12SupportsFRF.12FrameRelaySupportUnderstandsBECNandFECNUnderstandsBECNandFECNConfigurationSupportedviaMQCSupportedviaMQCApplyingTrafficConditionersApplyingRateLimitingSummary•Trafficshapingandpolicingaremechanismsthatuseclassificationtolimittrafficrate.•Trafficshapingqueuesexcesspacketstostaywithinthecontractualrate.Trafficpolicingtypicallydropsexcesstraffictostaywithinthelimit;alternatively,itcanre-mark,thensendexcesstraffic.•Bothtrafficpolicingandshapingensurethattrafficdoesnotexceedabandwidthlimit,buttheyhavedifferentimpactsonthetraffic.•Thetokenbucketisamathematicalmodelthatisusedbyroutersandswitchestoregulatetrafficflow.•Withasingletokenbucketmodel,themeasuredtrafficratecanconformtoorexceedthespecifiedtrafficrate.•Class-basedpolicingisthelatestCiscoIOStraffic-policingmechanism.Class-basedshapingandFRTSaretwoCiscoIOStraffic-shapingmechanisms.•Policingisoftenimplementedattheaccessordistributionlayer,shapingisimplementedattheWANedge.

1 / 27
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功