Professional Documents
Culture Documents
Class 6
110
48 – 55
Network Control
Class 7
111
56 – 63
CoS
ToS – IP Precedence
ToS – DSCP
Switch(config)#policy-map policy1
Switch(config-pmap)#class cisco
Switch(config-pmap-c)#bandwidth 3000
Switch(config-pmap-c)#exit
Switch(config-pmap)#class class-default
Switch(config-pmap-c)#bandwidth 2000
Switch(config-pmap)#exit
Trusted
Untrusted
Trusted
Switch(config)#class-map reducedservice
Switch(config-cmap)#match access-group 100
© 2003, Cisco Systems, Inc. All rights reserved. 49
Policing and Marking
“out of profile”
• WFQ is IP precedence-aware.
• WFQ can detect higher priority packets marked
with precedence and schedule them faster.
– Higher priority packets are assigned a lower
weight and a greater share of the total bandwidth
• In order for WFQ to be truly fair, every flow
would have to have the same precedence.
Router(config)#mls qos
Router(config)#class-map prioritytraffic
Router(config-cmap)#match dscp 50
Router(config)#policy-map prioritybw
Router(config-pmap)#class class-default fair-queue
Router(config-pmap-c)#class prioritytraffic bandwidth percent 40
queue-limit 200
Router(config)#interface gigabitethernet0/1
Router(config-if)#service-policy output prioritybw