版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、乾颐堂网络实验室QoS 服务质量了解Policy-mapModular QoS CLIObjectivesUpon completing this module, you will be able to: Describe the policy part of the Modular QoS CLIConfigure packet marking with the modular CLIConfigure policing and shaping with the modular CLIConfigure class-based WFQ with the modular CLIConfigur
2、e congestion avoidance mechanisms (WRED) with the modular CLIConfigure low-latency queuingMonitor and troubleshoot policy mapsService PolicyObjectivesUpon completing this lesson, you will be able to: Describe and configure policy mapsList all the QoS mechanisms currently available in the MQCMonitor
3、and troubleshoot policy mapsService PolicyOne aspect of MQC modularity is configuration.The MQC is split into two configuration modules,两大模块化:Configuration of classification-配置分类Configuration of service policies-配置策略Classification is configured by using class maps.Service policy is configured by usi
4、ng policy maps.Modular QoS CLIClassificationService PolicyClass 1?Class 2?Class N?CBWFQCBLLQClass-Based PolicingService policy implements per-hop behaviors (PHBs) for all traffic classes.Supported mechanisms:CBWFQCBLLQClass-Based PolicingClass-Based ShapingClass-Based MarkingUp to 256 classes can be
5、 used within one service policy一个policy-map中可以有256个class-mapPHB MechanismsThe MQC supports these QoS mechanisms:Class-based weighted fair queuing (CBWFQ) to guarantee bandwidth保证带宽Class-based low-latency queuing (CBLLQ) to guarantee bandwidth and low latency保证带宽和低时延Class-based policing to limit traf
6、fic rate by dropping excess traffic丢弃超过的流量Class-based shaping to limit traffic rate by delaying excess traffic通过延时超过的流量限制流量速率Class-based marking to mark packets标记报文Configuring Policy Mapspolicy-map nameRouter(config)#Enter policy-map configuration mode.Policy maps are identified by a case-sensitive
7、name.class class-mapRouter(config-pmap)#Enter the per-class policy configuration mode by using the name of a previously configured class map.Use the name “class-default” to configure the policy for the default class.class class-map conditionRouter(config-pmap)#Optionally, you can define a new class
8、map by entering the condition after the name of the new class map.The class map will use the match-any strategy.Configuring Policy Maps (cont.)description descriptionRouter(config-pmap)#It is mended to use descriptions in large and complex configurations. The description has no operational meaning.r
9、ename policy-mapRouter(config-pmap)#Complex policy maps can be renamed by using the rename policy-map command.All references to the policy map are also renamed.Router(config-pmap-c)#Per-class service policies are configured within the per-class policy map configuration mode.Configuring Policy Maps (
10、cont.)service-policy input | output policy-mapRouter(config-if)#Attaches the specified service policy map to the input or output interfaceThe interface should be in the default queuing mode prior to using this command if it is used on outputclass-map HTTP match protocol http!policy-map PM class HTTP
11、 bandwidth 2000 class class-default bandwidth 6000!interface Serial0/0 service-policy output PM!Attaching Policy Maps to Frame Relay Interfaces service-policy input | output policy-mapRouter(config-subif)#Service policy can be attached to an interface/subinterface.Service policy attached to a subint
12、erface cannot include CBWFQ or CBLLQ except in the distributed (VIP-based) version.policy-map中应用CB-WFQ和CBLLQ不能用于子接口Using service policies on the main interface and subinterfaces at the same time is not supported in the distributed (VIP-based) version.Attaching Policy Maps to Frame Relay PVCs service
13、-policy input | output policy-mapRouter(config-map-class)#Service policy can be attached to a Frame Relay map class.class-map Voice match protocol vofr!policy-map LLQ class Voice priority 100!interface Serial0/0 encapsulation frame-relay!interface Serial0/0.1 point-to-point frame-relay class Voice!m
14、ap-class frame-relay Voice service-policy output LLQ!Policy MapExampleclass-map match-all Test1 match protocol http match access-group 100class-map match-any Test2 match protocol http match access-group 101!policy-map Test class Test1 bandwidth 100 class Test2 bandwidth 200 class Test3 access-group
15、100 bandwidth 300!access-list 100 permit tcp any host access-list 101 permit tcp any host Monitoring and Troubleshooting Policy Mapsshow policy-map policy-mapRouter#Router#show policy-map Policy Map Test Class Test1 Weighted Fair Queueing Bandwidth 100 (kbps) Max Threshold 64 (packets) Class Test2 W
16、eighted Fair Queueing Bandwidth 200 (kbps) Max Threshold 64 (packets) Class Test3 Weighted Fair Queueing Bandwidth 300 (kbps) Max Threshold 64 (packets)Monitoring and Troubleshooting Policy Maps (cont.)show policy-map interface intf input | outputRouter#Router#show policy-map interface FastEthernet0
17、/0 output FastEthernet0/0 Service-policy output: Test (1101) Class-map: Test1 (match-all) (1103/3) 0 packets, 0 bytes 5 minute offered rate 0 bps, drop rate 0 bps Match: access-group 101 (1107) Match: access-group 102 (1111) Match: protocol http (1115) Weighted Fair Queueing Output Queue: Conversation 265 Bandwidth 100 (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) (1143/0) 25 packets, 19310 bytes 5 minute offered rate 1000 bps, drop rate 0 bps Match: any (1147)SummaryU
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年Openai优化公司TOP3权威测评:9年资质壁垒+128家央媒直连谁的公司实力最硬
- 肝切除术围手术期管理专家共识解读
- 烧伤外科主治医师2025年专项训练卷
- 商业活动医疗保障服务协议
- 冷链药品监管法规精要
- 2025年临沂市市直医疗卫生事业单位招聘卫生类岗位工作人员考试真题
- 2025年中国能源建设集团安徽省电力设计院有限公司招聘真题
- 2025年红河州蒙自市人民医院等招聘考试真题
- 《数控加工编程与操作2》课件-3.1.3 基准点
- 2026江苏南京大学BW20260409物理学院科研人员招聘考试备考试题及答案解析
- 北京市第七届中小学生气象知识竞赛题及答案
- 数字经济赋能传统产业转型路径分析
- GB/T 12221-2025金属阀门结构长度
- 雨课堂学堂云在线《焊接结构(西安石大 )》单元测试考核答案
- 万用表原理及使用方法
- 5年(2021-2025)重庆中考物理真题分类汇编:专题24 力学实验(二)(解析版)
- 抵制和防范宗教向校园渗透
- 14.超声刀使用及维护中国医学装备协会团体标准TCAME19-2020
- GB/T 222-2025钢及合金成品化学成分允许偏差
- 眼科手术分级详细目录
- 幼儿园大班数学《玩具店开张》课件
评论
0/150
提交评论