Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-1 Congestion Management Configuring LAN Congestion Management.

Similar presentations


Presentation on theme: "© 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-1 Congestion Management Configuring LAN Congestion Management."— Presentation transcript:

1 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-1 Congestion Management Configuring LAN Congestion Management

2 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-2 Multiple queues protect the queue containing important traffic (voice) from drops. The number of queues available depends upon the switch model and port type. On some switches, “drop thresholds” can be assigned to each queue. On some switches, queues can have normal tail drop or WRED dropping. Drops happen in data-only queue(s). Queuing on Catalyst Switches

3 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-3 Key queuing features depend upon the switch hardware: –The number of queues per port –The type of queues (priority or standard) –The capability to have drop thresholds for a queue –The number of drop thresholds per queue –The type of drop thresholds (tail drop or WRED) Switch queuing capabilities are shown as: –2Q2T: Two queues Two drop thresholds for each queue –1P2Q2T: One priority queue Two additional queues Two drop thresholds for each queue Queuing on Catalyst Switches (Cont.)

4 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-4 Queuing on Catalyst Switches (Cont.) & 3560

5 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-5 Queuing on Catalyst Switches (Cont.) Catalyst 2950 Switches 4 transmit queues (1P3Q or 4Q) Need to configure PQ and ensure that CoS 5 traffic is assigned to the PQ –Configurable PQ for queue 4 –Configurable CoS to specific queue –Configurable queue weight

6 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-6 Weighted Round Robin WRR overcomes the problem of having PQ starving out the lower priority queues. WRR scheduling prevents queues with a lower weight from being completely starved during periods of heavy high-priority traffic. Different weights are assigned to each queue. For example, in one scheduling round, the WRR scheduler will transmit: –Three frames from a queue assigned weight 3 –Four frames from a queue assigned weight 4 WRR with an expedite queue: When WRR is configured on a Catalyst 2950, the option exists to configure queue 4 as a priority queue—an “expedite queue.”

7 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-7 Configuring PQ on Catalyst 2950 Switches wrr-queue cos-map quid cos1...cosn Switch(config)# Assigns CoS values to CoS priority queues quid: Specifies the queue ID of the CoS priority queue. (Ranges are 1 to 4 where 1 is the lowest CoS priority queue.) cos1...cosn: Specifies the CoS values that are mapped to the queue ID. Default ID values are: Queue IDCoS Values 1 0, 1 2 2, 3 3 4, 5 4 6, 7

8 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-8 Configuring WRR on Catalyst 2950 Switches wrr-queue bandwidth weight1...weight4 Switch(config)# Assigns WRR weights to the four egress queues Ranges for the WRR values: –For weight1,weight2, and weight3, the range is 1 to 255. –For weight4, the range is 0 to 255 (when weight4 is set to 0, queue 4 is configured as the expedite queue). ! Queueing Configuration is done globally on the Catalyst 2950 ! wrr-queue bandwidth no wrr-queue cos-map wrr-queue cos-map wrr-queue cos-map wrr-queue cos-map 4 5 ! interface GigabitEthernet0/12

9 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-9 Monitoring Queuing on Catalyst 2950 Switches show mls qos maps [cos-dscp | dscp-cos] Switch> Displays QoS mapping information. This command is available with enhanced software image switches. Switch> show mls qos maps Dscp-cos map: dscp: cos: Cos-dscp map: cos: dscp:

10 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-10 Monitoring Queuing on Catalyst 2950 Switches (Cont.) show wrr-queue cos-map Switch> Displays the mapping of the CoS priority queues show wrr-queue bandwidth Switch> Displays the WRR bandwidth allocation for the CoS priority queues Switch> show wrr-queue bandwidth WRR Queue : Bandwidth : Switch> show wrr-queue cos-map CoS Value : Priority Queue :

11 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-11 show mls qos interface [interface-id] [policers] Switch> Displays QoS information at the interface level Switch> show mls qos interface fastethernet0/1 FastEthernet0/1 trust state:trust cos trust mode:trust cos COS override:dis default COS:0 pass-through:none trust device:cisco-phone Monitoring Queuing on Catalyst 2950 Switches (Cont.)

12 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-12 Summary The number and capabilities of queues on Catalyst switches depend upon the model of the switch, supervisor, and line cards. PQ and WRR are the two queuing methods used for Catalyst switches. The use of PQ can starve lower-priority queues. With WRR, different weights are assigned to each queue. Use of WRR scheduling prevents the low-priority queues from being completely neglected during periods of high-priority traffic. On most Catalyst switches, a single priority queue can be configured with WRR to ensure priority dispatch of voice traffic. To configure CoS-to-queue mappings for PQ on the Catalyst 2950 switch, specify the queue ID of the CoS priority queue. (Ranges are 1 to 4 where 1 is the lowest CoS priority queue.) Then, specify the CoS values that are mapped to the queue ID. Use the wrr-queue cos-map quid cos1...cosn command.

13 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-13 Summary (Cont.) The wrr-queue bandwidth global configuration command is used to assign WRR weights to the four CoS priority queues on the Catalyst 2950 switch. The show mls qos maps command is used to display QoS mapping information on the Catalyst 2950 switch.

14 © 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-14


Download ppt "© 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-1 Congestion Management Configuring LAN Congestion Management."

Similar presentations


Ads by Google