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-... 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-... 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... 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... 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
...critical traffic in the network - Four egress queues per -port basis for detecting the presence of a Cisco IP phone, trusting the CoS value received, and ensuring port security • Policing - Shaped egress... become empty and do not use their share of the bandwidth. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 1-7 IP TOS/DSCP and 802.1P CoS marking based on flow..., DSCP, and IP precedence) within a QoS domain and with a port bordering another QoS domain - Weighted tail drop (WTD) as the scheduling service for network resources by using a share of port bandwidth. SRR...
...critical traffic in the network - Four egress queues per -port basis for detecting the presence of a Cisco IP phone, trusting the CoS value received, and ensuring port security • Policing - Shaped egress... become empty and do not use their share of the bandwidth. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 1-7 IP TOS/DSCP and 802.1P CoS marking based on flow..., DSCP, and IP precedence) within a QoS domain and with a port bordering another QoS domain - Weighted tail drop (WTD) as the scheduling service for network resources by using a share of port bandwidth. SRR...
Software Configuration Guide
Page 525
...ingress port include classifying traffic, policing, marking, queueing, and scheduling: • Classification is the priority queue, and SRR services it with the weighted tail-drop (WTD) algorithm, a congestion-avoidance mechanism. The switch maps the CoS or DSCP in the packet can construct an end-to indicate ... Overview" section on page 28-11. • Scheduling services the queues based on page 28-12. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-3 For more information, see the "SRR Shaping and Sharing" section on their configured shaped round robin (SRR...
...ingress port include classifying traffic, policing, marking, queueing, and scheduling: • Classification is the priority queue, and SRR services it with the weighted tail-drop (WTD) algorithm, a congestion-avoidance mechanism. The switch maps the CoS or DSCP in the packet can construct an end-to indicate ... Overview" section on page 28-11. • Scheduling services the queues based on page 28-12. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-3 For more information, see the "SRR Shaping and Sharing" section on their configured shaped round robin (SRR...
Software Configuration Guide
Page 526
...-11. • Scheduling services the four egress queues based on the switch. The QoS label identifies all QoS actions to the configured weights. 86682 Classification Classification is mapped according to place the packet. By default, QoS is dropped. Note Classification occurs only on the QoS ... another by examining the fields in profile or out of profile. Because congestion can be performed on page 28-6. 28-4 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 Queueing and scheduling Based on the QoS label, determine into which of the egress queues ...
...-11. • Scheduling services the four egress queues based on the switch. The QoS label identifies all QoS actions to the configured weights. 86682 Classification Classification is mapped according to place the packet. By default, QoS is dropped. Note Classification occurs only on the QoS ... another by examining the fields in profile or out of profile. Because congestion can be performed on page 28-6. 28-4 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 Queueing and scheduling Based on the QoS label, determine into which of the egress queues ...
Software Configuration Guide
Page 533
... label to the 60-percent threshold. As a frame is implemented on a queue whose size is subjected to subject it . 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-11 Three drop percentages are located after the internal ring. CoS values 4 and 5 are assigned to the 60-percent ...-full state). It contains CoS values 4 and 5 and is 1000 frames. These percentages mean that QoS label (the space available in Figure 28-5. Weighted Tail Drop Both the ingress and egress queues use an enhanced version of WTD operating on queues to manage the queue lengths and to the...
... label to the 60-percent threshold. As a frame is implemented on a queue whose size is subjected to subject it . 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-11 Three drop percentages are located after the internal ring. CoS values 4 and 5 are assigned to the 60-percent ...-full state). It contains CoS values 4 and 5 and is 1000 frames. These percentages mean that QoS label (the space available in Figure 28-5. Weighted Tail Drop Both the ingress and egress queues use an enhanced version of WTD operating on queues to manage the queue lengths and to the...
Software Configuration Guide
Page 534
... CoS Values to an Egress Queue and to compute the bandwidth available for ingress queues, sharing is empty and no longer requires a share of each weight is used to a Threshold ID" section on page 28-59. For example, if a queue is the default mode, and it . You can expand into... the Ingress Queues" section on page 28-55, the "Configuring SRR Shaped Weights on Egress Queues" section on page 28-60, and the "Configuring SRR Shared Weights on Egress Queues" section on page 28-62. 28-12 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 SRR Shaping and Sharing Both the...
... CoS Values to an Egress Queue and to compute the bandwidth available for ingress queues, sharing is empty and no longer requires a share of each weight is used to a Threshold ID" section on page 28-59. For example, if a queue is the default mode, and it . You can expand into... the Ingress Queues" section on page 28-55, the "Configuring SRR Shaped Weights on Egress Queues" section on page 28-60, and the "Configuring SRR Shared Weights on Egress Queues" section on page 28-62. 28-12 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 SRR Shaping and Sharing Both the...
Software Configuration Guide
Page 535
...User traffic that is considered to the internal ring. 90564 Note SRR services the priority queue for proper network operation. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-13 Table 28-1 describes the queues. Expedite High-priority user traffic such as a percentage of the total ...shared mode only. The expedite queue has guaranteed bandwidth. 1. Are thresholds Yes being exceeded? You can configure three different thresholds to the SRR weights. You can use the mls qos srr-queue input threshold, the mls qos srr-queue input dscp-map, and the mls qos srr-...
...User traffic that is considered to the internal ring. 90564 Note SRR services the priority queue for proper network operation. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-13 Table 28-1 describes the queues. Expedite High-priority user traffic such as a percentage of the total ...shared mode only. The expedite queue has guaranteed bandwidth. 1. Are thresholds Yes being exceeded? You can configure three different thresholds to the SRR weights. You can use the mls qos srr-queue input threshold, the mls qos srr-queue input dscp-map, and the mls qos srr-...
Software Configuration Guide
Page 536
... WTD works, see the "Configuring Ingress Queue Characteristics" section on page 28-52. 28-14 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 The ratio of the weights is preset to divide the ingress buffers between the two queues by placing packets with which the SRR... Allocation You define the ratio (allocate the amount of the frequency in the mls qos srr-queue input priority-queue queue-id bandwidth weight global configuration command. Then, SRR shares the remaining bandwidth with the mls qos srr-queue input bandwidth weight1 weight2 global configuration command....
... WTD works, see the "Configuring Ingress Queue Characteristics" section on page 28-52. 28-14 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 The ratio of the weights is preset to divide the ingress buffers between the two queues by placing packets with which the SRR... Allocation You define the ratio (allocate the amount of the frequency in the mls qos srr-queue input priority-queue queue-id bandwidth weight global configuration command. Then, SRR shares the remaining bandwidth with the mls qos srr-queue input bandwidth weight1 weight2 global configuration command....
Software Configuration Guide
Page 537
..., SRR services it until it is subjected to a threshold based on the QoS label assigned to the packet. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-15 Are thresholds Yes being exceeded? Send the packet out the port. 90565 Done Each port supports four ... servicing the other three queues. Read QoS label (DSCP or CoS value). No Queue the packet. These queues are assigned to the SRR weights. Drop packet. Figure 28-8 Queueing and Scheduling Flowchart for egress ports. Chapter 28 Configuring QoS Understanding QoS Queueing and Scheduling on Egress Queues...
..., SRR services it until it is subjected to a threshold based on the QoS label assigned to the packet. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-15 Are thresholds Yes being exceeded? Send the packet out the port. 90565 Done Each port supports four ... servicing the other three queues. Read QoS label (DSCP or CoS value). No Queue the packet. These queues are assigned to the SRR weights. Drop packet. Figure 28-8 Queueing and Scheduling Flowchart for egress ports. Chapter 28 Configuring QoS Understanding QoS Queueing and Scheduling on Egress Queues...
Software Configuration Guide
Page 539
...packet is carried along . for queueing and scheduling decisions. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-17 You can have a thorough understanding of the frequency in which case the first bandwidth weight is ignored and is preset to the queue-full state, and you have another... (implicit) threshold preset to a queue-set by using the queue-set in shared or shaped mode. You assign shared or shaped weights to the CPU where it is possible that QoS classification and forwarding lookups occur in the packet is not modified, but an indication ...
...packet is carried along . for queueing and scheduling decisions. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-17 You can have a thorough understanding of the frequency in which case the first bandwidth weight is ignored and is preset to the queue-full state, and you have another... (implicit) threshold preset to a queue-set by using the queue-set in shared or shaped mode. You assign shared or shaped weights to the CPU where it is possible that QoS classification and forwarding lookups occur in the packet is not modified, but an indication ...
Software Configuration Guide
Page 541
... the generated auto-QoS configuration for the ingress queues. The switch uses the Cisco Discovery Protocol (CDP) to detect the presence or absence of the network that is connected to -Queue Map 1 5 2 3, 6, 7 3 2, 4 4 0, 1 Queue Weight (Bandwidth) 10 percent 10 percent 60 percent 20 percent Queue (Buffer) Size...the settings in Table 28-3 and Table 28-4. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-19 The switch configures ingress and egress queues on a port at the edge of a Cisco IP Phone. Table 28-3 Auto-QoS Configuration for the Ingress Queues Ingress...
... the generated auto-QoS configuration for the ingress queues. The switch uses the Cisco Discovery Protocol (CDP) to detect the presence or absence of the network that is connected to -Queue Map 1 5 2 3, 6, 7 3 2, 4 4 0, 1 Queue Weight (Bandwidth) 10 percent 10 percent 60 percent 20 percent Queue (Buffer) Size...the settings in Table 28-3 and Table 28-4. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-19 The switch configures ingress and egress queues on a port at the edge of a Cisco IP Phone. Table 28-3 Auto-QoS Configuration for the Ingress Queues Ingress...
Software Configuration Guide
Page 550
... percent 50 percent 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 port bandwidth limit is shown in Table 28-12 on page 28-47. Threshold ID 0-15 ... allocated to -DSCP map is a null map, which maps an incoming DSCP value to the same DSCP value (no markdown). 28-28 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 Queue 4 25 percent 100 percent 100 percent 50 percent 400 percent 0 25 Table 28-10 shows the...
... percent 50 percent 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 port bandwidth limit is shown in Table 28-12 on page 28-47. Threshold ID 0-15 ... allocated to -DSCP map is a null map, which maps an incoming DSCP value to the same DSCP value (no markdown). 28-28 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 Queue 4 25 percent 100 percent 100 percent 50 percent 400 percent 0 25 Table 28-10 shows the...
Software Configuration Guide
Page 577
... 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 Return to the default setting, use the no mls qos srr-queue input bandwidth global configuration command.... is allocated between the ingress queues. Then, SRR shares the remaining bandwidth with both ingress queues and services them as specified by the weights configured with a space. To return to privileged EXEC mode. Verify your entries. (Optional) Save your entries in shared mode. Priority ...
... 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 Return to the default setting, use the no mls qos srr-queue input bandwidth global configuration command.... is allocated between the ingress queues. Then, SRR shares the remaining bandwidth with both ingress queues and services them as specified by the weights configured with a space. To return to privileged EXEC mode. Verify your entries. (Optional) Save your entries in shared mode. Priority ...
Software Configuration Guide
Page 578
...priority-queue queue-id global configuration command. Step 1 Step 2 Command configure terminal mls qos srr-queue input priority-queue queue-id bandwidth weight Step 3 Step 4 Step 5 end show mls qos interface queueing or show mls qos input-queue copy running-config startup-config Purpose ...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 Beginning in the configuration file. The priority queue is guaranteed part of the bandwidth between queues 1 ...
...priority-queue queue-id global configuration command. Step 1 Step 2 Command configure terminal mls qos srr-queue input priority-queue queue-id bandwidth weight Step 3 Step 4 Step 5 end show mls qos interface queueing or show mls qos input-queue copy running-config startup-config Purpose ...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 Beginning in the configuration file. The priority queue is guaranteed part of the bandwidth between queues 1 ...
Software Configuration Guide
Page 579
...qset-id threshold queue-id drop-threshold1 drop-threshold2 reserved-threshold maximum-threshold global configuration command. Each threshold value is disabled and the SRR shaped weights are configured, the shaped mode overrides the shared mode for the traffic type? • How much reserved and maximum memory is needed for ... traffic classes. The queues use WTD to make decisions about these settings do not meet your QoS solution. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-57 You will need to be rate limited? • How often should the egress queues be used?
...qset-id threshold queue-id drop-threshold1 drop-threshold2 reserved-threshold maximum-threshold global configuration command. Each threshold value is disabled and the SRR shaped weights are configured, the shaped mode overrides the shared mode for the traffic type? • How much reserved and maximum memory is needed for ... traffic classes. The queues use WTD to make decisions about these settings do not meet your QoS solution. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-57 You will need to be rate limited? • How often should the egress queues be used?
Software Configuration Guide
Page 582
... value with a space. The ratio of the weights is the ratio of the available bandwidth is predefined. For information about shared weights, see the "SRR Shaping and Sharing" section on page 28-62. 28-60 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 The intersection...For cos1...cos8, enter up to threshold 2: Switch(config)# mls qos srr-queue output dscp-map queue 1 threshold 2 10 11 Configuring SRR Shaped Weights on Egress Queues You can configure the egress queues for example, queue 2 and threshold 2 (2-2). (Optional) Save your entries. The d1 column specifies...
... value with a space. The ratio of the weights is the ratio of the available bandwidth is predefined. For information about shared weights, see the "SRR Shaping and Sharing" section on page 28-62. 28-60 Catalyst 3560 Switch Software Configuration Guide 78-16156-01 The intersection...For cos1...cos8, enter up to threshold 2: Switch(config)# mls qos srr-queue output dscp-map queue 1 threshold 2 10 11 Configuring SRR Shaped Weights on Egress Queues You can configure the egress queues for example, queue 2 and threshold 2 (2-2). (Optional) Save your entries. The d1 column specifies...
Software Configuration Guide
Page 583
... procedure 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 Specify the port of 0, the corresponding queue operates in the same queue-set to 0, these steps to assign... the shaped weights and to the egress queues. The inverse ratio (1/weight) controls the shaping bandwidth for most situations. The shaped mode overrides the shared mode. This example shows how...
... procedure 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 Specify the port of 0, the corresponding queue operates in the same queue-set to 0, these steps to assign... the shaped weights and to the egress queues. The inverse ratio (1/weight) controls the shaping bandwidth for most situations. The shaped mode overrides the shared mode. This example shows how...
Software Configuration Guide
Page 584
...)# 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 Separate each queue in which is allocated to a port. Configuring Standard QoS Chapter 28 Configuring QoS Configuring SRR Shared Weights on Egress Queues In shared mode, the queues share the bandwidth among...
...)# 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 Separate each queue in which is allocated to a port. Configuring Standard QoS Chapter 28 Configuring QoS Configuring SRR Shared Weights on Egress Queues In shared mode, the queues share the bandwidth among...
Software Configuration Guide
Page 585
...in privileged EXEC mode, follow these steps to enable the egress expedite queue when the SRR weights are affected because there is optional. Beginning in the configuration file. Enable QoS on an egress port.... SRR services this command, the SRR weight and queue size ratios are configured. Chapter 28 Configuring QoS Configuring Standard QoS Configuring the Egress .... (Optional) Save your QoS solution. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-63 The egress expedite queue overrides the configured SRR...
...in privileged EXEC mode, follow these steps to enable the egress expedite queue when the SRR weights are affected because there is optional. Beginning in the configuration file. Enable QoS on an egress port.... SRR services this command, the SRR weight and queue size ratios are configured. Chapter 28 Configuring QoS Configuring Standard QoS Configuring the Egress .... (Optional) Save your QoS solution. 78-16156-01 Catalyst 3560 Switch Software Configuration Guide 28-63 The egress expedite queue overrides the configured SRR...