3.3 Identifying Methods for Implementing QoS

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

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

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

资源描述

©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-1IntroductiontoIPQoSIdentifyingMethodsforImplementingQoS©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-2MethodsforImplementingQoSPolicy©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-3MethodsforImplementingQoSPolicyMethodDescriptionLegacyCLI•CLI•ConfiguresQoSoninterfacelevel•Time-consumingMQC•CLI•Makesconfigurationsmodular•BestwayforQoSfinetuningCiscoAutoQoS•AppliesapossibleQoSconfigurationtotheinterfaces•FastestwaytoimplementQoSCiscoSDMQoSwizard•ApplicationforsimpleQoSconfigurations©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-4LegacyCLI©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-5LegacyCLI•UsestheCLIviaconsoleandTelnet•Traditionalmethod•Nonmodular•Cannotseparatetrafficclassificationfrompolicydefinitions•Time-consumingandpotentiallyerror-pronetask•Usedtoaugment,fine-tunenewerCiscoAutoQoSmethod©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-6LegacyCLIUsageGuidelines•Buildatrafficpolicy:–Identifythetrafficpattern.–Classifythetraffic.–Prioritizethetraffic.–SelectaproperQoSmechanism:•Queuing•Compression•Applythetrafficpolicytotheinterface.©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-7LegacyCLIExampleForinteractivetraffic,CQandTCPheadercompressioncanbeused.interfacemultilinkipaddress10.1.61.1255.255.255.0load-interval30custom-queue-list1pppmultilinkpppmultilinkfragment-delay10pppmultilinkinterleavemultilink-group1iptcpheader-compressioniphc-format!queue-list1protocolip2tcp23©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-8ModularQoSCLI©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-9ModularQoSCLI•AcommandsyntaxforconfiguringQoSpolicy•Reducesconfigurationstepsandtime•Configurespolicy,not“raw”per-interfacecommands•UniformCLIacrossmajorCiscoIOSplatforms•UniformCLIstructureforallQoSfeatures•Separatesclassificationenginefromthepolicy©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-10ModularQoSCLIComponents©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-11ModularQoSCLIComponents©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-12ModularQoSCLIComponents©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-13ClassMaps•“Whattrafficdowecareabout?”•Eachclassisidentifiedusingaclassmap.•Atrafficclasscontainsthreemajorelements:–Acase-sensitivename–Aseriesofmatchcommands–Aninstructiononhowtoevaluatethematchcommandsifmorethanonematchcommandexistsinthetrafficclass•Classmapscanoperateintwomodes:–Matchall:Allconditionshavetosucceed.–Matchany:Atleastoneconditionmustsucceed.•Thedefaultmodeismatchall.©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-14ConfiguringClassMaps•Entersclass-mapconfigurationmode.•Specifiesthematchingstrategy.class-map[match-all|match-any]class-map-namerouter(config)#matchanyrouter(config-cmap)#descriptiondescriptionrouter(config-cmap)#•Useatleastoneconditiontomatchpackets.•Youshouldusedescriptionsinlargeandcomplexconfigurations.•Thedescriptionhasnooperationalmeaning.matchnotmatch-criteria©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-15ACLsforTrafficClassification•StandardACLaccess-listaccess-list-number{permit|deny|remark}source[mask]router(config)#access-listaccess-list-number{permit|deny}protocolsourcesource-wildcard[operatorport]destinationdestination-wildcard[operatorport][established][log]router(config)#matchaccess-groupaccess-list-numberrouter(config-cmap)#•ExtendedACL•UsesanACLasamatchcriterion.©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-16PolicyMaps•“Whatwillbedonetothistraffic?”•Definesatrafficpolicy,whichconfigurestheQoSfeaturesassociatedwithatrafficclasspreviouslyidentifiedusingaclassmap.•Atrafficpolicycontainsthreemajorelements:–Acase-sensitivename–Atrafficclass–TheQoSpolicyassociatedwiththattrafficclass•Upto256trafficclassescanbeassociatedwithasingletrafficpolicy.•MultiplepolicymapscanbenestedtoinfluencethesequenceofQoSactions.©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-17ConfiguringPolicyMaps•Enterspolicy-mapconfigurationmode.•Policymapsareidentifiedbyacase-sensitivename.policy-mappolicy-map-namerouter(config)#class{class-name|class-default}router(config-pmap)#classclass-nameconditionrouter(config-pmap)#•Enterstheper-classpolicyconfigurationmodebyusingthenameofapreviouslyconfiguredclassmap.•Usetheclass-defaultnametoconfigurethepolicyforthedefaultclass.•Optionally,youcandefineanewclassmapbyenteringtheconditionafterthenameofthenewclassmap.•Usesthematchanystrategy.©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-18ServicePolicy•“Wherewillthispolicybeimplemented?”•Attachesatrafficpolicyconfiguredwithapolicymaptoaninterface.•Servicepoliciescanbeappliedtoaninterfaceforinboundoroutboundpackets.©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-19AttachingServicePoliciestoInterfaces•Attachesthespecifiedservicepolicymaptotheinputoroutputinterfaceservice-policy{input|output}policy-map-namerouter(config-if)#class-mapHTTPmatchprotocolhttp!policy-mapPMclassHTTPbandwidth2000classclass-defaultbandwidth6000!interfaceSerial0/0service-policyoutputPM©2006CiscoSystems,Inc.Allrightsreserved.ONTv1.0—3-20MQCExample•Voicetraffi

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

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

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

×
保存成功