Cisco Catalyst 2960 Software Configuration Manual page 769

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 33
Configuring QoS
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-SoftPhone
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
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).
OL-26520-01
auto qos video cts
auto qos video ip-camera
auto qos trust
auto qos trust cos
auto qos trust dscp
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Configuring Auto-QoS
33-31

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents