hcnp12班qos部分乾颐堂qos04-0using mqc policy map_第1页
hcnp12班qos部分乾颐堂qos04-0using mqc policy map_第2页
hcnp12班qos部分乾颐堂qos04-0using mqc policy map_第3页
hcnp12班qos部分乾颐堂qos04-0using mqc policy map_第4页
hcnp12班qos部分乾颐堂qos04-0using mqc policy map_第5页
已阅读5页,还剩14页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论