




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、Traffic Policing and ShapingConfiguring Class-Based ShapingClass-Based Shaping OverviewClass-based shaping is used to rate-limit packets.Class-based shaping delays exceeding packets rather than dropping them.Class-based shaping has no marking capabilities.Class-based shaping is a version of GTS usin
2、g MQC.Traffic Shaping MethodsClass-based shaping has two shaping methods:Shaping to the configured average rateShaping to the peak rateShaping to the Average rate means forwarding packets at the configured average rate with allowed bursting up to Be when there are extra tokens available. This is the
3、 more common method used.Shaping to the Peak rate means forwarding packets at the peak rate of up to Bc + Be of traffic at every Tc. However, traffic sent above the CIR may be dropped during network congestion. Peak rate shaping is mended when: Network has additional bandwidth availableApplication t
4、olerates occasional packet lossConfiguring Class-Based Shapingshape average | peak average-bit-rate Bc Berouter(config-pmap-c)#It is mended that you omit the Bc and Be to let Cisco IOS software select the optimal values for these variables.shape average | peak percent Bc Berouter(config-pmap-c)#Spec
5、ifies the bandwidth percentage. Valid range is a number from 1 to 100.It is mended that you omit the Bc and Be to let Cisco IOS software select the optimal values for these variables.The shape (percent) command cannot be configured for use in nested policy maps on 7500 routers or below.Cisco IOS sof
6、tware calculated values:Bc=Be=8000 bits, Tc=500msPeak Rate = AvgRate * (1+Be/Bc)= 16000 * (1 /8000)= 32000 bpsClass-Based Shaping Example:Average Rate, Peak Rateclass-map Shape match protocol citrix!policy-map ShapeAvg class Shape shape average 16000 !policy-map ShapePeak class Shape shape peak 1600
7、0 !interface Serial0/0 service-policy output ShapeAvg!interface Serial0/1 service-policy output ShapePeakClass-Based Shaping Example:Class-Based Shaping with CBWFQBandwidth statement provides a minimum bandwidth guarantee for the traffic class.Shape statement provides a maximum traffic rate for the
8、traffic class, and exceed traffic is queued.policy-map shape-cbwfq !class cust1 shape average 384000 bandwidth 256 !interface Serial 0/0 service-policy output shape-cbwfqClass-Based Shaping Example: Class-Based Shaping Hierarchical Policy Mapsservice out shape-allMonitoring Class-Based Shapingrouter
9、show policy-map shape-cbwfq Policy Map shape-cbwfq Class cust1 Traffic Shaping Average Rate Traffic Shaping CIR 384000 (bps) Max. Buffers Limit 1000 (Packets) Bandwidth 256 (kbps) Max Threshold 64 (packets)show policy-map policy-map-namerouterDisplays information about the indicated policy map, incl
10、uding the configuration of all classes for a specified service policy map Monitoring Class-Based Shaping (Cont.)router#show policy-map interface s0/0 Serial0/0 Service-policy output: shape-cbwfq Class-map: cust1 (match-all) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: acces
11、s-group 101 Traffic Shaping Target/Average Byte Sustain Excess Interval Increment Rate Limit bits/int bits/int (ms) (bytes) 384000/384000 1968 7872 7872 207 984 Adapt Queue Packets Bytes Packets Bytes Shaping Active Depth Delayed Delayed Active - 0 0 0 0 0 no Queueing Output Queue: Conversation 266
12、Bandwidth 256 (kbps) Max Threshold 64 (packets) (pkts matched/bytes matched) 0/0 (depth/total drops/no-buffer drops) 0/0/0 Class-map: class-default (match-any) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: anySummaryClass-based shaping delays exceeding packets rather than dropping them and has no marking capabilities.Class-based shaping can shape to the configured average rate or to the peak rate for packets satisfying the match criteria for a class. Peak Rat
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- lng合同標(biāo)準(zhǔn)文本
- 2025年全面積壓勞動(dòng)合同范本
- 農(nóng)村祠堂修建合同樣本
- 構(gòu)建靈活的公司財(cái)務(wù)規(guī)劃體系的方案計(jì)劃
- 農(nóng)藥產(chǎn)品供貨合同樣本
- 企業(yè)員工內(nèi)部生產(chǎn)合同樣本
- 減肥合同范例寫
- 代理投資咨詢合同樣本
- 第12講 人體內(nèi)物質(zhì)的運(yùn)輸 2025年會(huì)考生物學(xué)專題練習(xí)(含答案)
- 親子鑒定合同樣本
- 基于SolidWorks球閥參數(shù)化設(shè)計(jì)
- 初中綜合實(shí)踐課程標(biāo)準(zhǔn)
- 基于STC89C52單片機(jī)-紅外智能循跡小車
- 重慶森林工程林業(yè)項(xiàng)目營(yíng)造林檢查驗(yàn)收辦法(試行)
- 市政工程施工質(zhì)量檢查表
- 懸臂模板多卡模板施工手冊(cè)
- 土及部分巖石力學(xué)參數(shù)經(jīng)驗(yàn)值
- 國(guó)內(nèi)外硅鋼片牌號(hào)
- 第四章-輪廓加工的數(shù)學(xué)基礎(chǔ)A
- 談文旅融合發(fā)展的深層意義
- 自考勞動(dòng)法名詞解釋和論述歷年真題重要考點(diǎn)必須掌握
評(píng)論
0/150
提交評(píng)論