Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Configuration Examples for Auto-Qos
Description
If you entered the auto qos voip cisco-phone command, the switch automatically enables the trusted boundary
feature, which uses the CDP to detect the presence or absence of a Cisco IP Phone (as shown below).
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 (as shown below).
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 (as shown below).
Switch(config-if)# service-policy input AutoQoS-Police-SoftPhone

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

660
Automatically Generated Command (VoIP)
SwitchSwitchconfig)# mls qos queue-set output 1 threshold 1 138
138 92 138
Switch(config)# mls qos queue-set output 1 threshold 2 138
138 92 400
Switch(config)# mls qos queue-set output 1 threshold 3 36 77
100 318
Switch(config)# mls qos queue-set output 1 threshold 4 20 50
67 400
Switch(config)# mls qos queue-set output 2 threshold 1 149
149 100 149
Switch(config)# mls qos queue-set output 2 threshold 2 118
118 100 235
Switch(config)# mls qos queue-set output 2 threshold 3 41 68
100 272
Switch(config)# mls qos queue-set output 2 threshold 4 42 72
100 242
Switch(config)# mls qos queue-set output 1 buffers 10 10 26
54
Switch(config)# mls qos queue-set output 2 buffers 16 6 17
61
Switch(config-if)# priority-que out
Switch(config-if)# srr-queue bandwidth share 10 10 60 20

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents