Cisco Systems 2960 Model Vehicle User Manual


  Open as PDF
of 1004
 
33-28
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 33 Configuring QoS
Configuring Auto-QoS
Auto-QoS Generated Configuration For VoIP Devices
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.
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-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
The switch automatically sets up
the ingress queues, with queue 2
as the priority queue and queue 1
in shared mode. The switch also
configures the bandwidth and
buffer size for the ingress queues.
Note Catalyst 2960-S switches
do not support ingress
queueing.
Switch(config)# no mls qos srr-queue
input priority-queue 1
Switch(config)# no mls qos srr-queue
input priority-queue 2
Switch(config)# mls qos srr-queue
input bandwidth 90 10
Switch(config)# mls qos srr-queue
input threshold 1 8 16
Switch(config)# mls qos srr-queue
input threshold 2 34 66
Switch(config)# mls qos srr-queue
input buffers 67 33
Switch(config)# no mls qos srr-queue
input priority-queue 1
Switch(config)# no mls qos srr-queue
input priority-queue 2
Switch(config)# mls qos srr-queue
input bandwidth 70 30
Switch(config)# mls qos srr-queue
input threshold 1 80 90
Switch(config)# mls qos srr-queue
input priority-queue 2 bandwidth 30
The switch automatically
configures the egress queue
buffer sizes. It configures the
bandwidth and the SRR mode
(shaped or shared) on the egress
queues mapped to the port.
Switch(config)# 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-queue out
Switch(config-if)# srr-queue
bandwidth share 10 10 60 20
Switch(config)# mls qos queue-set
output 1 threshold 2 100 100 50 200
Switch(config)# mls qos queue-set
output 1 threshold 2 125 125 100 400
Switch(config)# mls qos queue-set
output 1 threshold 3 100 100 100 400
Switch(config)# mls qos queue-set
output 1 threshold 4 60 150 50 200
Switch(config)# mls qos queue-set
output 1 buffers 15 25 40 20
Table 33-5 Generated Auto-QoS Configuration (continued)
Description Automatically Generated Command {voip}
Enhanced Automatically Generated
Command{Video|Trust|Classify}