资源描述:
《rate-limit详解(detailed explanation of rate-limit)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、rate-limit详解(Detailedexplanationofrate-limit)Detailedexplanationofrate-limit1.openCEFinglobalmode:Router(config)#ipCEFCEF(Ciscoexpressforwarding,Ciscoexpressexchange)2.definestandardsorextendaccesslists:Router(config)#access-list2permit192.168.6.00.0.0.2553.r
2、ate-limitinthehopeoflimitingport:Rounter(config-if)#rate-limitoutputaccess-group21280001600016000conform-actiontransmitexceed-actiondropThecommandformatofrate-limit:#rate-limit{input
3、output}[access-groupnumber]BPSburst-normalburst-maxconform-actionactionexcee
4、d-actionactionInput
5、output:Thisisthedefinitionofdataflowdirection.Access-groupnumber:thedefinitionofaccesslistnumber.BPS:definetheflowratelimit,theunitisbps.Burst-normalburst-max:thedefinitionofdatasize,generallyuse80001600032000bytes,whenarrivingdataexceedst
6、hiscapacity,willtriggeranaction,discardingorforwarding,soastoachievethepurposeofspeedlimit.Conform-actionandexceed-action:processingstrategiesfortrafficbelowtheratelimitandoverratetraffic,respectively.Action:treatmentstrategies,includingdropandtransmitetc..Co
7、nfiguringthespecifiedaccessrateandthedistributedaccessratepolicy,youcanconfigurethecommandusingtherate-limitportRemovetheratelimitconfiguration,andremovenointheoriginalorder.Instruction:Rate-limit{inputoutput}[access-group[rate-limit]acl-index]BPSburst-
8、Norma
9、lburst-maxconform-actionconform-actionexceed-actionexceed-actionNorate-limit{inputoutput}[access-group[rate-limit]acl-index]BPSburst-
10、Normalburst-maxconform-actionconform-actionexceed-actionconform-actionParameterDescription:input????attheentrancetoacceptapac
11、ketsapplicationaccessratestrategyOutput??intheexportofpacketsapplicationtosendavisitratestrategyAccess-groupoptional,accessratepolicyisappliedonthespecifiedaccesscontrollist-usuallyinthespecifiedIPandApplicationTheuseofspeedlimitsTherate-limitoption,thisisthe
12、rate-limitaccesscontrolstrategyAcl-indexoptional,Accesslistnumber.TheaveragerateofBPS(bits/,8kbptimespersecond)Themaximumrateofburst-normalTheminimumvalueistheBPSdividedby2000.Themaximumr