39-27
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 39 Configuring QoS Configuring Auto-QoS
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-que out
Switch(config-if)# srr-queue bandwidth share 10 10
60 20
If you entered the auto qos voip trust command, the switch
automatically sets the ingress classification to trust the CoS
value received in the packet on a nonrouted port by using the
mls qos trust cos command or to trust the DSCP value
received in the packet on a routed port by using the mls qos
trust dscp command.
Switch(config-if)# mls qos trust cos
Switch(config-if)# mls qos trust dscp
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
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
Table 39-5 Generated Auto-QoS Configuration (continued)
Description Automatically Generated Command