cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1966
Views
0
Helpful
6
Replies

Queries regarding QOS configs

Hi,

I have few Cisco switches which need be configured for QOS. My objective is to prioritise the Voip traffic from Alcatel IP phone across LAN & WAN.

Below are the switch models & IOS Versions,

cisco WS-C3524-XL - 12.0(5.2)XU

cisco WS-C3548-XL - 12.0(5)XU

cisco WS-C2950-24 - 12.0(5.3)WC(1)

cisco WS-C2924-XL - 12.0(5.2)XU

I am unable to use mls qos commands in interface level & global config. Also seeing difficulty in using switchport priority commands as Alcatel IP Phone will be connected to switch access port and IP phone secondary port will be connected to PC.

Kindly suggest me some solution to get the voice traffic prioritised.

3 Accepted Solutions

Accepted Solutions

tommyboay
Level 1
Level 1

Hi there,

You have two major switch models here :

- 2900/3500 XL switch models

These do not support mls qos. But you can use the "switchport priority" command to either set or override the CoS value on an ingress port. The major limitation is that you will use port-based classification meaning you cannot distinguish the PC from the phone's frames since I suspect your phone not to have CDP capabilities. Your only chance to achieve your goal is to configure the phone to mark its own traffic at whatever Cos value you want (Usually 5) as default action for these models is to honor Cos value.

Source : http://www.cisco.com/en/US/products/hw/switches/ps607/products_qanda_item09186a0080116ffe.shtml

- 2950 switch model

I guess this is a standard image model so you have reduced functionnalities on it. Still, you should be able to use certain "mls qos" command sets according to the docs I have (I only own EI models). Therefore, you should be able to achieve marking if needed. Note that as for the other model, this switch will honor existing Cos values.

Source : http://www.cisco.com/en/US/tech/tk389/tk813/technologies_q_and_a_item09186a00804976d3.shtml

HTH

Tom

View solution in original post

You are correct.

Just to be clear : Marking and scheduling priority are two different matters. But in your case, they are bound together. See below :

- 2900 / 3500 XL : These switches have two non configurable output scheduling queues. The "low priority" queue for any Cos or port priority from 0 to 3. The "high priority' queue for values from 4 to 7. Note that the "high priority" queue has expedite priority over the "low priority" one. So if your phone marks Cos at 5, you'll get priority over any PC generated traffic.

- 2950 SI : These switches have four configurable queues including one optional expedite priority. You can define which Cos value(s) match a queue using the following commands (note that all queues except expedite one will work in weighted round robin fashion) :

wrr-queue cos-map 1 0 1 2 4

wrr-queue cos-map 3 3 6 7

wrr-queue cos-map 4 5

# first digit gives queue number, all following digits are cos values falling into that queue number. Therefore, last line says queue N°4 only matches frames ith Cos value equal to 5.

You then need to define the weight for each queue. The value must be set to 0 for the expedite queue matching your voice traffic. All others can be configured with value from 1 to 65536. The more value you provide compared to the addition of all values between queues, the more that queue will be prioritized compared to others except the expedite queue.

Cheers,

Tom

Quick update : Be careful with Cos trust as some drivers allow workstations to modify the CoS value to any value. It is therefore important to have phones being able to reset CoS and DSCP values to 0 when the frame is received on the PC port. Please refer to your phone config guide for more info.

View solution in original post

Again, you are correct. it will apply a QoS template for each related interface trusting CoS value and adapt queuing mechanism for VoIP. I haven't encountered any situation where auto qos needed any modification from its standard template so you should be fine. If not, don't hesitate to come back and update the thread, I'll keep track of it.

Tom

View solution in original post

6 Replies 6

tommyboay
Level 1
Level 1

Hi there,

You have two major switch models here :

- 2900/3500 XL switch models

These do not support mls qos. But you can use the "switchport priority" command to either set or override the CoS value on an ingress port. The major limitation is that you will use port-based classification meaning you cannot distinguish the PC from the phone's frames since I suspect your phone not to have CDP capabilities. Your only chance to achieve your goal is to configure the phone to mark its own traffic at whatever Cos value you want (Usually 5) as default action for these models is to honor Cos value.

Source : http://www.cisco.com/en/US/products/hw/switches/ps607/products_qanda_item09186a0080116ffe.shtml

- 2950 switch model

I guess this is a standard image model so you have reduced functionnalities on it. Still, you should be able to use certain "mls qos" command sets according to the docs I have (I only own EI models). Therefore, you should be able to achieve marking if needed. Note that as for the other model, this switch will honor existing Cos values.

Source : http://www.cisco.com/en/US/tech/tk389/tk813/technologies_q_and_a_item09186a00804976d3.shtml

HTH

Tom

Thank you Thomas..

If the Alcatel phone sends the COS 5 value so do you mean that there is no config required at the access interfaces an trunk interfaces.

In default if COS 5 is received in switch port, will it be pushed into priority queue.

You are correct.

Just to be clear : Marking and scheduling priority are two different matters. But in your case, they are bound together. See below :

- 2900 / 3500 XL : These switches have two non configurable output scheduling queues. The "low priority" queue for any Cos or port priority from 0 to 3. The "high priority' queue for values from 4 to 7. Note that the "high priority" queue has expedite priority over the "low priority" one. So if your phone marks Cos at 5, you'll get priority over any PC generated traffic.

- 2950 SI : These switches have four configurable queues including one optional expedite priority. You can define which Cos value(s) match a queue using the following commands (note that all queues except expedite one will work in weighted round robin fashion) :

wrr-queue cos-map 1 0 1 2 4

wrr-queue cos-map 3 3 6 7

wrr-queue cos-map 4 5

# first digit gives queue number, all following digits are cos values falling into that queue number. Therefore, last line says queue N°4 only matches frames ith Cos value equal to 5.

You then need to define the weight for each queue. The value must be set to 0 for the expedite queue matching your voice traffic. All others can be configured with value from 1 to 65536. The more value you provide compared to the addition of all values between queues, the more that queue will be prioritized compared to others except the expedite queue.

Cheers,

Tom

Quick update : Be careful with Cos trust as some drivers allow workstations to modify the CoS value to any value. It is therefore important to have phones being able to reset CoS and DSCP values to 0 when the frame is received on the PC port. Please refer to your phone config guide for more info.

Thanks Thomas again..

Also just confirm if i can use "auto qos voip trust" command in access & trunk interfaces for below switches,

cisco WS-C2960-48TC-L - 12.2(25r)SEE6

cisco WS-C3750X-48P - 12.2(53r)SE1

If any further tuning is required for Marking & queuing please advice.

Again, you are correct. it will apply a QoS template for each related interface trusting CoS value and adapt queuing mechanism for VoIP. I haven't encountered any situation where auto qos needed any modification from its standard template so you should be fine. If not, don't hesitate to come back and update the thread, I'll keep track of it.

Tom

Sure Thomas...I will do it..Thanks again.

Review Cisco Networking for a $25 gift card