已閱讀5頁,還剩1頁未讀, 繼續(xù)免費閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
QOS關(guān)于隊列的相關(guān)配置(PQ+CQ+WFQ+CBWFQ+LLQ)所有試驗共用的試驗拓撲:PQ:優(yōu)先級隊列(priority queue)在優(yōu)先級隊列PQ中,有高,中,普通,低優(yōu)先級4個隊列。數(shù)據(jù)包根據(jù)事先定義放在不同的隊列中,路由器按照高,中,普通,低順序服務(wù),只有高優(yōu)先級的隊列為空后,才為其他隊列服務(wù),依次類推。直接手敲的 制作匆忙。priority-list 1 protocol ip high tcp telnet /將telnet流量放在高優(yōu)先級隊列里priority-list 1 protocol ip high list 101 /將acc-list 101定義的流量放在高優(yōu)先級里priority-list 1 protocal ip medium gt 1000 /將數(shù)據(jù)包大小大于1000字節(jié)的流量放在中等優(yōu)先級隊列里priority-list 1 interface Ethernet 1/0 normal /將從Ethernet口收到的流量放在普通的優(yōu)先級隊列里priority-list 1 default low /。priority-list 1 queue-limit 20 30 40 50 /分別定義高、中、普通、低優(yōu)先級隊列長度,如果超出這些長度的數(shù)據(jù)包將被丟棄!Int s 0/0Prority-group 1Show int s 0/0、show queueing priority就能檢測了。CQ:自定義隊列(custom queue)與PQ不同,在CQ中有16個隊列數(shù)據(jù)包根據(jù)事先定義的放在不同的隊列中,路由器將為第一隊列服務(wù)一定數(shù)量的數(shù)據(jù)包、字節(jié)后就為第二個隊列服務(wù),我們定義的是深度即為每個隊列服務(wù)的那“一定數(shù)量的數(shù)據(jù)包、字節(jié)”然后轉(zhuǎn)而為下一隊列服務(wù)。注意:CQ中隊列0 比較特殊,只有0為空了才為其他隊列服務(wù)。一下是show run的內(nèi)容access-list 101 permit ip host anyqueue-list 1 protocol ip 1 tcp telnetqueue-list 1 protocol ip 2 list 101queue-list 1 protocol ip 3 gt 1000queue-list 1 interface Ethernet1/0 4queue-list 1 default 5queue-list 1 queue 1 limit 40 /定義深度隊列一的深度為40queue-list 1 queue 2 limit 35queue-list 1 queue 3 limit 30queue-list 1 queue 4 limit 25!interface Serial0/0 ip address ip ospf 1 area 0 serial restart-delay 0 custom-queue-list 1 /接口上應(yīng)用show int s 0/0Show queueing customWFQ:(weigth fair queue)加權(quán)公平隊列 WFQ是低速鏈路(低于2.048Mbps)上的默認設(shè)置,它將數(shù)據(jù)包區(qū)分為不同的流。配置相當簡單一條命令解決問題啊int s 0/0fair-queue 512 1024 10 /512為丟棄閾值,1024為動態(tài)會話數(shù) 10為RSVP預留隊列CBWFQ(class-based weight fair queue)基于類的加權(quán)公平隊列 簡單來說就是根據(jù)數(shù)據(jù)包的協(xié)議類型、ACL、IP優(yōu)先級或者輸入接口等條件實現(xiàn)定義好流量的類型,為不同的類型配置最大帶寬和占用接口帶寬的百分比。能與NBAR,WRED一起使用!!class-map match-any MYMAP1 /定義類 match protocol http match protocol ftpclass-map match-all MYMAP2 match protocol telnet!policy-map MYPOLICY /定義策略 class MYMAP1 bandwidth 60 class MYMAP2 bandwidth 10! interface Serial0/0 ip address ip ospf 1 area 0 serial restart-delay 0 service-policy output MYPOLICY /接口應(yīng)用LLQ(low latency queue)低延時隊列 該實驗需要在的基礎(chǔ)上完成即允許用戶自定義數(shù)據(jù)類別,并優(yōu)先讓這些類別的數(shù)據(jù)傳輸。R1(config)#class-map match-any MYMAP3R1(config-cmap)#match ip precedence critical R1(config-cmap)#exitR1(config)#policy-map MYPOLICYR1(config-pmap)#class MYMAP3R1(config-pmap-c)#priority 15R1#show policy-map Policy Map MYPOLICY Class MYMAP1 Bandwidth 60 (kbps) Max Threshold 64 (packets) Class MYMAP2 Bandwidth 10 (kbps) Max Threshold 64 (packets) Class MYMAP3 Strict Priority Bandwidth 15 (kbps) Burst 375 (Bytes)R1#show policy-map int s 0/0 Serial0/0 Service-policy output: MYPOLICY Class-map: MYMAP1 (match-any) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: protocol http 0 packets, 0 bytes 5 minute rate 0 bps Match: protocol ftp 0 packets, 0 bytes 5 minute rate 0 bps Queueing Output Queue: Conversation 265 Bandwidth 60 (kbps)Max Threshold 64 (packets) (pkts matched/bytes matched) 0/0 (depth/total drops/no-buffer drops) 0/0/0 Class-map: MYMAP2 (match-all) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: protocol telnet Queueing Output Queue: Conversation 266 Bandwidth 10 (kbps)Max Threshold 64 (packets) (pkts matched/bytes matched) 0/0 (depth/total drops/no-buffer drops) 0/0/0 Class-map: MYMAP3 (match-any) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: ip precedence 5 0 packets, 0 bytes 5 minute rate 0 bps Queueing Strict Priority /嚴格優(yōu)先級 Output Queue: Conversation 264 Bandwidth 15 (kbps) Burst 375 (Bytes) (p
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 江西省關(guān)于商品房買賣合同范本(2篇)
- 二零二五招標承諾書:智慧交通招標承諾協(xié)議3篇
- 二零二五年度軟件應(yīng)用優(yōu)化與售后服務(wù)合同3篇
- 10《紙的發(fā)明》第二課時說課稿-2023-2024學年三年級語文下冊統(tǒng)編版001
- 7我們有新玩法(說課稿)-部編版道德與法治二年級下冊001
- 蓄熱式高溫預熱燒嘴項目融資渠道探索
- 2025年度高科技產(chǎn)業(yè)投資風險評估與退出策略咨詢服務(wù)協(xié)議
- 2024-2025學年高二英語上學期第5周說課稿(情態(tài)動詞(一))
- 2025至2030年中國重錘式液控止回蝶閥數(shù)據(jù)監(jiān)測研究報告
- 二零二五年度南雄勞動合同法培訓合同
- 公安校園安全工作培訓課件
- PTW-UNIDOS-E-放射劑量儀中文說明書
- 保險學(第五版)課件全套 魏華林 第0-18章 緒論、風險與保險- 保險市場監(jiān)管、附章:社會保險
- 許小年:淺析日本失去的30年-兼評“資產(chǎn)負債表衰退”
- 典范英語2b課文電子書
- 17~18世紀意大利歌劇探析
- 微課制作技術(shù)與技巧要點
- β內(nèi)酰胺類抗生素與合理用藥
- 何以中國:公元前2000年的中原圖景
- 第一章:公共政策理論模型
- GB/T 4513.7-2017不定形耐火材料第7部分:預制件的測定
評論
0/150
提交評論