版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、 2006 Cisco Systems, Inc. All rights reserved.QoS v2.26-1 Congestion Avoidance Configuring Explicit Congestion Notification 2006 Cisco Systems, Inc. All rights reserved.QoS v2.26-2 Explicit Congestion Notification TCP congestion controls are not suited to applications that are sensitive to delay or
2、packet loss. ECN (RFC 3168) removes need to rely on packet loss as a congestion indicator. ECN marks packets instead of dropping them when the average queue length exceeds a specific threshold value. Routers and end hosts can use ECN marking as a signal that the network is congested and send packets
3、 at a slower rate. 2006 Cisco Systems, Inc. All rights reserved.QoS v2.26-3 ECN Field Defined 2006 Cisco Systems, Inc. All rights reserved.QoS v2.26-4 ECN and WRED ECN is an extension to WRED. Congestion in WRED is indicated based on the average queue length exceeding a specific threshold value. If
4、the number of packets in the queue is below the minimum threshold, packets are transmitted. Treatment is identical to a network using only WRED. If the number of packets in the queue is above the maximum threshold, packets are tail-dropped. Treatment is identical to a network using only WRED. 2006 C
5、isco Systems, Inc. All rights reserved.QoS v2.26-5 ECN and WRED (Cont.) If the number of packets in the queue is between the minimum and maximum threshold, one of three scenarios can occur: ECN-capable endpoints and WRED determine that the packet should be dropped based on the drop probability: ECT
6、and CE bits for the packet are changed to 1 and the packet is transmitted. Non ECN-capable endpoints: The packet may be dropped based on the WRED drop probability. The network is experiencing congestion: Both the ECT and CE are already set. The packet is transmitted and no further marking is require
7、d. 2006 Cisco Systems, Inc. All rights reserved.QoS v2.26-6 Configuring ECN-Enabled WRED random-detect ecn router(config-pmap-c)# Enables ECN. ECN can be used whether WRED is based on the IP precedence or DSCP value. ECN must be configured through MQC. router(config)# policy-map MyPolicy router(conf
8、ig-pmap)# class class-default router(config-pmap-c)# bandwidth percent 70 router(config-pmap-c)# random-detect router(config-pmap-c)# random-detect ecn 2006 Cisco Systems, Inc. All rights reserved.QoS v2.26-7 Monitoring ECN-Enabled WRED show policy-map policy-map router# Displays the configuration o
9、f all classes for a specified service policy map or all classes for all existing policy maps router#show policy-map Policy Map MyPolicy Class class-default Weighted Fair Queueing Bandwidth 70 (%) exponential weight 9 explicit congestion notification class min-threshold max-threshold mark-probability
10、 - - 0 -1/10 1 -1/10 2 -1/10 3 -1/10 . . . 2006 Cisco Systems, Inc. All rights reserved.QoS v2.26-8 show policy-map interface interface-name router# Displays the configuration of all classes configured for all service policies on the specified interface router#show policy-map interface Serial4/1 Ser
11、ial4/1 Service-policy output:policy_ecn Class-map:prec1 (match-all) 1000 packets, 125000 bytes 30 second offered rate 14000 bps, drop rate 5000 bps Match:ip precedence 1 Weighted Fair Queueing Output Queue:Conversation 42 Bandwidth 20 (%) Bandwidth 100 (kbps) (pkts matched/bytes matched) 989/123625
12、(depth/total drops/no-buffer drops) 0/455/0 exponential weight:9 explicit congestion notification Monitoring ECN-Enabled WRED (Cont.) 2006 Cisco Systems, Inc. All rights reserved.QoS v2.26-9 mean queue depth:0 class Transmitted Random drop Tail drop Minimum Maximum Mark pkts/bytes pkts/bytes pkts/by
13、tes threshold threshold probability 0 0/0 0/0 0/0 20 40 1/10 1 545/68125 0/0 0/0 22 401/10 2 0/0 0/0 0/0 24 401/10 3 0/0 0/0 0/0 26 40 1/10 4 0/0 0/0 0/0 28 401/10 5 0/0 0/0 0/0 30 401/10 6 0/0 0/0 0/0 32 401/10 7 0/0 0/0 0/0 34 401/10 rsvp 0/0 0/0 0/0 36 401/10 class ECN Mark pkts/bytes 0 0/0 1 43/
14、5375 2 0/0 3 0/0 4 0/0 5 0/0 6 0/0 7 0/0 rsvp 0/0 Monitoring ECN-Enabled WRED (Cont.) 2006 Cisco Systems, Inc. All rights reserved.QoS v2.26-10 Summary ECN marks packets instead of dropping them when the average queue length exceeds a specific threshold value. ECN defines two flow control bits as extensions to the DiffServ field: The ECT bit and the CE bit. ECN is an extension to WRED that removes the need to rely on packet loss as a congestion in
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 《地球的内部结构导学案-2023-2024学年科学人教鄂教版》
- 《人际关系的协调作业设计方案》
- 《小毛虫导学案-2023-2024学年语文统编版》
- 乐器行业发展方向分析报告
- 2024年1月浙江省普通高校招生选考物理试题和答案
- 小学三年级读书心得
- 患者晕倒应急预案演练记录
- 农村山塘防汛应急预案范本
- 中职班主任年终工作总结
- 2024届山东省阳谷县第二中学高三第一次调研测试化学试卷含解析
- 异物取出术知情同意书
- 市政工程基础知识
- 事业单位聘用合同(范本).doc
- 广东省标准营养病历
- 拨叉的加工工艺及铣拨叉脚两端面夹具设计
- 预防艾滋病、梅毒、乙肝各种制度
- 连续性颗粒烘干机的设计
- 水库除险加固工程监理大纲
- 袁隆平爷爷的禾下乘凉梦
- 土木工程专业毕业论文高性能混凝土的研发与应用
- 浅谈企业物资采购的经济效益
评论
0/150
提交评论