34-23
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 34 Configuring QoS
Configuring Auto-QoS
The switch automatically maps DSCP values to an egress queue and to a threshold ID.
Switch(config)# no mls qos srr-queue output dscp-map
Switch(config)# mls qos srr-queue output dscp-map
queue 1 threshold 3 40 41 42 43 44 45 46 47
Switch(config)# mls qos srr-queue output dscp-map
queue 2 threshold 3 24 25 26 27 28 29 30 31
Switch(config)# mls qos srr-queue output dscp-map
queue 2 threshold 3 48 49 50 51 52 53 54 55
Switch(config)# mls qos srr-queue output dscp-map
queue 2 threshold 3 56 57 58 59 60 61 62 63
Switch(config)# mls qos srr-queue output dscp-map
queue 3 threshold 3 16 17 18 19 20 21 22 23
Switch(config)# mls qos srr-queue output dscp-map
queue 3 threshold 3 32 33 34 35 36 37 38 39
Switch(config)# mls qos srr-queue output dscp-map
queue 4 threshold 1 8
Switch(config)# mls qos srr-queue output dscp-map
queue 4 threshold 2 9 10 11 12 13 14 15
Switch(config)# mls qos srr-queue output dscp-map
queue 4 threshold 3 0 1 2 3 4 5 6 7
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.
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
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

Table 34-5 Generated Auto-QoS Configuration (continued)

Description Automatically Generated Command