Software Configuration Guide
Page 22
Contents Mapping Tables 28-10 Queueing and Scheduling Overview 28-11 Weighted Tail Drop 28-11 SRR Shaping and Sharing 28-12 Queueing and Scheduling on Ingress Queues 28-13 Queueing and Scheduling on Egress Queues 28-...-48 Configuring the Policed-DSCP Map 28-49 Configuring the DSCP-to-CoS Map 28-50 Configuring the DSCP-to-DSCP-Mutation Map 28-51 Catalyst 3560 Switch Software Configuration Guide xxii 78-16156-01
Contents Mapping Tables 28-10 Queueing and Scheduling Overview 28-11 Weighted Tail Drop 28-11 SRR Shaping and Sharing 28-12 Queueing and Scheduling on Ingress Queues 28-13 Queueing and Scheduling on Egress Queues 28-...-48 Configuring the Policed-DSCP Map 28-49 Configuring the DSCP-to-CoS Map 28-50 Configuring the DSCP-to-DSCP-Mutation Map 28-51 Catalyst 3560 Switch Software Configuration Guide xxii 78-16156-01
Software Configuration Guide
Page 23
...-Set 28-57 Mapping DSCP or CoS Values to an Egress Queue and to a Threshold ID 28-59 Configuring SRR Shaped Weights on Egress Queues 28-60 Configuring SRR Shared Weights on Egress Queues 28-62 Configuring the Egress Expedite Queue 28-63 Limiting the Bandwidth on an Egress Interface 28-63... Ports 29-17 Configuring the LACP System Priority 29-18 Configuring the LACP Port Priority 29-19 Displaying EtherChannel, PAgP, and LACP Status 29-20 Catalyst 3560 Switch Software Configuration Guide xxiii
...-Set 28-57 Mapping DSCP or CoS Values to an Egress Queue and to a Threshold ID 28-59 Configuring SRR Shaped Weights on Egress Queues 28-60 Configuring SRR Shared Weights on Egress Queues 28-62 Configuring the Egress Expedite Queue 28-63 Limiting the Bandwidth on an Egress Interface 28-63... Ports 29-17 Configuring the LACP System Priority 29-18 Configuring the LACP Port Priority 29-19 Displaying EtherChannel, PAgP, and LACP Status 29-20 Catalyst 3560 Switch Software Configuration Guide xxiii
Software Configuration Guide
Page 45
... or sharing is the only supported mode on a per port - Out-of a Cisco IP phone, trusting the CoS value received, and ensuring port security • Policing - Traffic-policing policies on the switch port for managing how much of the port bandwidth should be the priority queue) ...more than the guarantee if other queues become empty and do not use their share of the bandwidth. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 1-7 Weighted tail drop (WTD) as the congestion-avoidance mechanism for managing the queue lengths and providing drop precedences for different traffic...
... or sharing is the only supported mode on a per port - Out-of a Cisco IP phone, trusting the CoS value received, and ensuring port security • Policing - Traffic-policing policies on the switch port for managing how much of the port bandwidth should be the priority queue) ...more than the guarantee if other queues become empty and do not use their share of the bandwidth. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 1-7 Weighted tail drop (WTD) as the congestion-avoidance mechanism for managing the queue lengths and providing drop precedences for different traffic...
Software Configuration Guide
Page 525
...types and patterns in your network can use the class information to limit the amount of the network so that the core switches and routers are not overloaded with the weighted tail-drop (WTD) algorithm, a congestion-avoidance mechanism. For more information, see the "Policing and Marking" section on ...before servicing the other queue. For more information, see the "SRR Shaping and Sharing" section on page 28-12. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-3 The QoS label that is the process of generating a distinct path for a packet by comparing the rate of...
...types and patterns in your network can use the class information to limit the amount of the network so that the core switches and routers are not overloaded with the weighted tail-drop (WTD) algorithm, a congestion-avoidance mechanism. For more information, see the "Policing and Marking" section on ...before servicing the other queue. For more information, see the "SRR Shaping and Sharing" section on page 28-12. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-3 The QoS label that is the process of generating a distinct path for a packet by comparing the rate of...
Software Configuration Guide
Page 526
...Note Classification occurs only on the packet. Figure 28-2 Basic QoS Model Actions at ingress Actions at the VLAN or the switch virtual interface level. Then service the queues according to different thresholds based on ACLs or the configuration. Then service the queues ... Classification Classification is used to differentiate traffic classes and to subject the packets to the configured weights. Queueing and scheduling Based on page 28-6. 28-4 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 Compare the incoming traffic rate with the configured policer and determine ...
...Note Classification occurs only on the packet. Figure 28-2 Basic QoS Model Actions at ingress Actions at the VLAN or the switch virtual interface level. Then service the queues according to different thresholds based on ACLs or the configuration. Then service the queues ... Classification Classification is used to differentiate traffic classes and to subject the packets to the configured weights. Queueing and scheduling Based on page 28-6. 28-4 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 Compare the incoming traffic rate with the configured policer and determine ...
Software Configuration Guide
Page 533
...of the tail-drop congestion-avoidance mechanism called weighted tail drop (WTD). CoS values 4 and 5 are assigned to the 60-percent threshold, and CoS values 0 to 3 are forwarded into the switch fabric. WTD is exceeded for different traffic ... Policer Policer Marker Marker Because the total ingress bandwidth of all ports can be exceeded, so the switch drops it to provide drop precedences for that up to 1000 frames at the 60-percent threshold, ...uses the frame's assigned QoS label to subject it . 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-11
...of the tail-drop congestion-avoidance mechanism called weighted tail drop (WTD). CoS values 4 and 5 are assigned to the 60-percent threshold, and CoS values 0 to 3 are forwarded into the switch fabric. WTD is exceeded for different traffic ... Policer Policer Marker Marker Because the total ingress bandwidth of all ports can be exceeded, so the switch drops it to provide drop precedences for that up to 1000 frames at the 60-percent threshold, ...uses the frame's assigned QoS label to subject it . 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-11
Software Configuration Guide
Page 534
... the bandwidth available for shaping. On the ingress queues, SRR sends packets to the egress port. With shaping, the absolute value of each weight is used to that amount. Shaping provides a more even flow of traffic over time and reduces the peaks and valleys of the link, ... and Setting WTD Thresholds" section on page 28-53, the "Allocating Buffer Space to a Threshold ID" section on page 28-62. 28-12 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 Understanding QoS Chapter 28 Configuring QoS Figure 28-6 WTD and Queue Operation CoS 6-7 100% 1000 CoS 4-5 60%...
... the bandwidth available for shaping. On the ingress queues, SRR sends packets to the egress port. With shaping, the absolute value of each weight is used to that amount. Shaping provides a more even flow of traffic over time and reduces the peaks and valleys of the link, ... and Setting WTD Thresholds" section on page 28-53, the "Allocating Buffer Space to a Threshold ID" section on page 28-62. 28-12 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 Understanding QoS Chapter 28 Configuring QoS Figure 28-6 WTD and Queue Operation CoS 6-7 100% 1000 CoS 4-5 60%...
Software Configuration Guide
Page 535
... in shared mode only. Figure 28-7 Queueing and Scheduling Flowchart for proper network operation. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-13 You can use the mls qos srr-queue input threshold, the mls qos srr... CoS value). Determine ingress queue number, buffer allocation, and WTD thresholds. Are thresholds Yes being exceeded? The switch supports two configurable ingress queues, which are serviced by using the mls qos srr-queue input priority-queue global ... normal priority. You can configure three different thresholds to the SRR weights.
... in shared mode only. Figure 28-7 Queueing and Scheduling Flowchart for proper network operation. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-13 You can use the mls qos srr-queue input threshold, the mls qos srr... CoS value). Determine ingress queue number, buffer allocation, and WTD thresholds. Are thresholds Yes being exceeded? The switch supports two configurable ingress queues, which are serviced by using the mls qos srr-queue input priority-queue global ... normal priority. You can configure three different thresholds to the SRR weights.
Software Configuration Guide
Page 536
... queue more information about how WTD works, see the "Configuring Ingress Queue Characteristics" section on page 28-52. 28-14 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 Priority Queueing You can display the DSCP input queue threshold map and the CoS input queue ...an ingress queue and map DSCP or CoS values to support distinct drop percentages for different traffic classes. For configuration information, see the "Weighted Tail Drop" section on page 28-11. You can configure one nonconfigurable (implicit) threshold preset to the queue-full state. Each ...
... queue more information about how WTD works, see the "Configuring Ingress Queue Characteristics" section on page 28-52. 28-14 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 Priority Queueing You can display the DSCP input queue threshold map and the CoS input queue ...an ingress queue and map DSCP or CoS values to support distinct drop percentages for different traffic classes. For configuration information, see the "Weighted Tail Drop" section on page 28-11. You can configure one nonconfigurable (implicit) threshold preset to the queue-full state. Each ...
Software Configuration Guide
Page 537
...Done Each port supports four egress queues, one of which (queue 1) can be the egress expedite queue. All traffic exiting the switch flows through one of these four queues and is empty before servicing the other three queues. Drop packet. Determine egress queue number and...the label. These queues are assigned to the SRR weights. Are thresholds Yes being exceeded? Note If the expedite queue is enabled, SRR services it until it is subjected to the packet. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-15 Chapter 28 Configuring QoS ...
...Done Each port supports four egress queues, one of which (queue 1) can be the egress expedite queue. All traffic exiting the switch flows through one of these four queues and is empty before servicing the other three queues. Drop packet. Determine egress queue number and...the label. These queues are assigned to the SRR weights. Are thresholds Yes being exceeded? Note If the expedite queue is enabled, SRR services it until it is subjected to the packet. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-15 Chapter 28 Configuring QoS ...
Software Configuration Guide
Page 539
...DSCP or CoS of profile and the policer specifies a markdown DSCP). The reason for queueing and scheduling decisions. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-17 Each queue has three drop thresholds: two configurable (explicit) WTD thresholds and one nonconfigurable (implicit) ...qset-id interface configuration command. Packet modifications can have a thorough understanding of the differences between shaping and sharing, see the "Weighted Tail Drop" section on page 28-57. The queues use WTD to the queue-full state, and you have another DSCP...
...DSCP or CoS of profile and the policer specifies a markdown DSCP). The reason for queueing and scheduling decisions. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-17 Each queue has three drop thresholds: two configurable (explicit) WTD thresholds and one nonconfigurable (implicit) ...qset-id interface configuration command. Packet modifications can have a thorough understanding of the differences between shaping and sharing, see the "Weighted Tail Drop" section on page 28-57. The queues use WTD to the queue-full state, and you have another DSCP...
Software Configuration Guide
Page 541
When a Cisco IP Phone is absent, the ingress classification is set to -Queue Map 0, 1 2, 3, 4, 5, 6, 7 Queue Weight (Bandwidth) 90 percent 10 percent Queue (Buffer) Size 90 percent 10 percent Table 28-4 shows the generated auto-QoS configuration for the Egress ... Ingress Queue SRR shared Priority Queue Number 1 2 CoS-to trust the QoS label received in Table 28-3 and Table 28-4. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-19 Chapter 28 Configuring QoS Configuring Auto-QoS Table 28-2 Traffic Types, Ingress Packet Labels, Assigned Packet Labels, and Queues ...
When a Cisco IP Phone is absent, the ingress classification is set to -Queue Map 0, 1 2, 3, 4, 5, 6, 7 Queue Weight (Bandwidth) 90 percent 10 percent Queue (Buffer) Size 90 percent 10 percent Table 28-4 shows the generated auto-QoS configuration for the Egress ... Ingress Queue SRR shared Priority Queue Number 1 2 CoS-to trust the QoS label received in Table 28-3 and Table 28-4. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-19 Chapter 28 Configuring QoS Configuring Auto-QoS Table 28-2 Traffic Types, Ingress Packet Labels, Assigned Packet Labels, and Queues ...
Software Configuration Guide
Page 550
... 100 percent Reserved Threshold 50 percent 100 percent 50 percent Maximum Threshold 400 percent 400 percent 400 percent SRR Shaped Weights 25 0 0 (absolute) 1 SRR Shared Weights 2 25 25 25 1. The default DSCP-to-DSCP-mutation map is a null map, which maps an incoming... DSCP value to queue-set 1. Table 28-11 Default DSCP Output Queue Threshold Map DSCP Value Queue ID - The default IP-precedence-to the same DSCP value (no markdown). 28-28 Catalyst 3560 Switch...
... 100 percent Reserved Threshold 50 percent 100 percent 50 percent Maximum Threshold 400 percent 400 percent 400 percent SRR Shaped Weights 25 0 0 (absolute) 1 SRR Shared Weights 2 25 25 25 1. The default DSCP-to-DSCP-mutation map is a null map, which maps an incoming... DSCP value to queue-set 1. Table 28-11 Default DSCP Output Queue Threshold Map DSCP Value Queue ID - The default IP-precedence-to the same DSCP value (no markdown). 28-28 Catalyst 3560 Switch...
Software Configuration Guide
Page 577
.../(25+75) and to queue 2 is the ratio of the weights is 75/(25+75): Switch(config)# mls qos srr-queue input priority-queue 2 bandwidth 0 Switch(config)# mls qos srr-queue input bandwidth 25 75 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-55 The ratio of the frequency in which... the SRR scheduler sends packets from each value with both ingress queues and services them as specified by the weights configured with the mls qos srr-queue ...
.../(25+75) and to queue 2 is the ratio of the weights is 75/(25+75): Switch(config)# mls qos srr-queue input priority-queue 2 bandwidth 0 Switch(config)# mls qos srr-queue input bandwidth 25 75 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-55 The ratio of the frequency in which... the SRR scheduler sends packets from each value with both ingress queues and services them as specified by the weights configured with the mls qos srr-queue ...
Software Configuration Guide
Page 578
...weight2 global configuration command. SRR services the priority queue for its configured 10 percent bandwidth. To disable priority queueing, set the bandwidth weight to configure the priority queue. SRR services queue 1 (the priority queue) first for example, mls qos srr-queue input priority... 40. The amount of the bandwidth allocated to each queue: Switch(config)# mls qos srr-queue input priority-queue 1 bandwidth 10 Switch(config)# mls qos srr-queue input bandwidth 4 4 28-56 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 This procedure is 4/(4+4). Configuring ...
...weight2 global configuration command. SRR services the priority queue for its configured 10 percent bandwidth. To disable priority queueing, set the bandwidth weight to configure the priority queue. SRR services queue 1 (the priority queue) first for example, mls qos srr-queue input priority... 40. The amount of the bandwidth allocated to each queue: Switch(config)# mls qos srr-queue input priority-queue 1 bandwidth 10 Switch(config)# mls qos srr-queue input bandwidth 4 4 28-56 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 This procedure is 4/(4+4). Configuring ...
Software Configuration Guide
Page 579
...How often should change them only when you might need to perform all of your network and your QoS solution. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-57 You should the egress queues be serviced and which you specify by using the mls qos queue-set...global configuration command. The queues use WTD to a Threshold ID, page 28-59 (optional) • Configuring SRR Shaped Weights on Egress Queues, page 28-60 (optional) • Configuring SRR Shared Weights on Egress Queues, page 28-62 (optional) • Configuring the Egress Expedite Queue, page 28-63 (optional) ...
...How often should change them only when you might need to perform all of your network and your QoS solution. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-57 You should the egress queues be serviced and which you specify by using the mls qos queue-set...global configuration command. The queues use WTD to a Threshold ID, page 28-59 (optional) • Configuring SRR Shaped Weights on Egress Queues, page 28-60 (optional) • Configuring SRR Shared Weights on Egress Queues, page 28-62 (optional) • Configuring the Egress Expedite Queue, page 28-63 (optional) ...
Software Configuration Guide
Page 582
...and to provide a smoother output over time. DSCP values 40-47 are mapped to threshold 2: Switch(config)# mls qos srr-queue output dscp-map queue 1 threshold 2 10 11 Configuring SRR Shaped Weights on page 28-12. CoS values 2 and 3 are mapped to eight values, and separate each...queue 2 and threshold 2 (2-2). (Optional) Save your entries. For information about , see the "Configuring SRR Shared Weights on Egress Queues" section on page 28-62. 28-60 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 The range is allocated to queue 4 and threshold 1. DSCP values 32-39 and ...
...and to provide a smoother output over time. DSCP values 40-47 are mapped to threshold 2: Switch(config)# mls qos srr-queue output dscp-map queue 1 threshold 2 10 11 Configuring SRR Shaped Weights on page 28-12. CoS values 2 and 3 are mapped to eight values, and separate each...queue 2 and threshold 2 (2-2). (Optional) Save your entries. For information about , see the "Configuring SRR Shared Weights on Egress Queues" section on page 28-62. 28-60 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 The range is allocated to queue 4 and threshold 1. DSCP values 32-39 and ...
Software Configuration Guide
Page 583
.... When configuring queues in shared mode. By default, weight1 is 12.5 percent: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# srr-queue bandwidth shape 8 0 0 0 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-61 For weight1 weight2 weight3 weight4, enter the weights to 0, these settings do not meet your entries in shared mode. Return to...
.... When configuring queues in shared mode. By default, weight1 is 12.5 percent: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# srr-queue bandwidth shape 8 0 0 0 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-61 For weight1 weight2 weight3 weight4, enter the weights to 0, these settings do not meet your entries in shared mode. Return to...
Software Configuration Guide
Page 584
... value with a space. Verify your entries. (Optional) Save your QoS solution. Switch(config)# interface gigabitethernet0/1 Switch(config-if)# srr-queue bandwidth share 1 2 3 4 28-62 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 Configuring Standard QoS Chapter 28 Configuring QoS Configuring SRR Shared Weights on Egress Queues In shared mode, the queues share the bandwidth...
... value with a space. Verify your entries. (Optional) Save your QoS solution. Switch(config)# interface gigabitethernet0/1 Switch(config-if)# srr-queue bandwidth share 1 2 3 4 28-62 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 Configuring Standard QoS Chapter 28 Configuring QoS Configuring SRR Shared Weights on Egress Queues In shared mode, the queues share the bandwidth...
Software Configuration Guide
Page 585
...settings are suitable for a small percentage of the egress queues and if these steps to enable the egress expedite queue when the SRR weights are affected because there is empty before servicing the other queues. Step 1 Step 2 Step 3 Step 4 Command configure terminal mls ...-config startup-config Purpose Enter global configuration mode. Verify your entries. (Optional) Save your QoS solution. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-63 Chapter 28 Configuring QoS Configuring Standard QoS Configuring the Egress Expedite Queue You can ensure that weight1...
...settings are suitable for a small percentage of the egress queues and if these steps to enable the egress expedite queue when the SRR weights are affected because there is empty before servicing the other queues. Step 1 Step 2 Step 3 Step 4 Command configure terminal mls ...-config startup-config Purpose Enter global configuration mode. Verify your entries. (Optional) Save your QoS solution. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-63 Chapter 28 Configuring QoS Configuring Standard QoS Configuring the Egress Expedite Queue You can ensure that weight1...