33-29
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 33 Configuring QoS
Configuring Auto-QoS
Switch(config-pmap)# class AutoQoS-VoIP-Control-Trust
Switch(config-pmap-c)# set dscp cs3
Switch(config-pmap-c)# police 32000 8000 exceed-action policed-dscp-transmit
After creating the class maps and policy maps, the switch automatically applies the policy map called
AutoQoS-Police-SoftPhone to an ingress interface on which auto-QoS with the Cisco SoftPhone feature
is enabled.
Switch(config-if)# service-policy input AutoQoS-Police-SoftPhone
If you entered the auto qos voip cisco-phone command, the switch automatically creates class maps and
policy maps.
Switch(config-if)# mls qos trust device cisco-phone
If you entered the auto qos voip cisco-softphone command, the switch automatically creates class maps
and policy maps.
Switch(config)# mls qos map policed-dscp 24 26 46 to 0
Switch(config)# class-map match-all AutoQoS-VoIP-RTP-Trust
Switch(config-cmap)# match ip dscp ef
Switch(config)# class-map match-all AutoQoS-VoIP-Control-Trust
Switch(config-cmap)# match ip dscp cs3 af31
Switch(config)# policy-map AutoQoS-Police-CiscoPhone
Switch(config-pmap)# class AutoQoS-VoIP-RTP-Trust
Switch(config-pmap-c)# set dscp ef
Switch(config-pmap-c)# police 320000 8000 exceed-action policed-dscp-transmit
Switch(config-pmap)# class AutoQoS-VoIP-Control-Trust
Switch(config-pmap-c)# set dscp cs3
Switch(config-pmap-c)# police 32000 8000 exceed-action policed-dscp-transmit
After creating the class maps and policy maps, the switch automatically applies the policy map called
AutoQoS-Police-SoftPhone to an ingress interface on which auto-QoS with the Cisco SoftPhone feature
is enabled.
Switch(config-if)# service-policy input AutoQoS-Police-SoftPhone
Auto-QoS Generated Configuration For Enhanced Video, Trust, and Classify Devices
If you entered these enhanced auto-QoS commands, the switch automatically configures the
CoS-to-DSCP map (maps CoS values in incoming packets to a DSCP value).
auto qos video cts
auto qos video ip-camera
auto qos trust
auto qos trust cos
auto qos trust dscp
Switch(config)# mls qos map cos-dscp 0 8 16 24 32 46 48 56
Note No class maps and policy maps are configured.