[Last Call] Learn how to a build a cloud-first strategyRegister Now


QoS for VoIP on Cisco Catalyst switch

Posted on 2007-10-18
Medium Priority
Last Modified: 2012-05-05
I need to configure QoS for VoIP on my LAN switches (Cisco Catalyst 2950, 2960, and 3560). How do I make that happen?
Question by:Kjohnsting
  • 4
  • 2

Expert Comment

ID: 20101693
If it is for use with Cisco IP phones (Cisco VoIP), then I recommend you use Cisco's AutoQos. If are using Cisco phones on Cisco switches, this is made very easy.

It is as simple as putting in the following command on each switch interface (where a IP phone is connected):
(config-if)# auto qos voip cisco-phone

For the interfaces which connect the switches together, you should put this command:
(config-if)# auto qos voip trust

This will automatically configure the best method of QoS for Cisco VoIP on the switches. The first command sets up the ports where the phones are connected to prioritize voice when competing with traffic from the PC attached to the Phone, the second command sets up the traffic between swicthes to ensure voice goes through first...... in basic terms :)

More information here:
Catalyst 3560 Switch Software Configuration Guide, Rel. 12.2(25)SE - Configure QoS

The same commands applies to all of your switches, if its not available perhaps you need to upgrade your IOS's to a later version, but its been around a while so you should be ok.


Author Comment

ID: 20102053
We have a sister company that has an Avaya phone system. We have a private frame relay circuit between us. Some of our people use the Avaya softphone. We have a lot of dropped calls. I am assuming it is a call control issue. I am being instructed to enable QoS on my Catalysts and PIX.

Expert Comment

ID: 20102946
Ok Avaya voice traffic uses different QoS tagging than Cisco, so that means the above Auto QoS config will not work completely. There are two ways to acheive QoS on your network for Avaya voice:

1) Change the QoS tags the Avaya equipment puts on the traffic so that it is recognized by Cisco Auto Qos

2) Set up the Cisco QoS to identify the Avaya traffic.

Which one you choose really depends on your comfort level with the two technologies. Are you more comfortable with the Avaya settings or Cisco IOS configuration?

If you choose Avaya then there a file on the PBX (46xxsettings.txt) which you can change the Qos tagging... Thats probably the easiest way to deal with it. Avaya standard Qos is COS=6 and DSCP=46 whereas Cisco uses COS=5 and DSCP=46. Here a relevant Avaya forum, there are many threads on this subject!! : http://www.avayausers.com/showthread.php?threadid=3871

For the Cisco option, the proceedure is manual where you can change the traffic with QoS tagging COS=5 and DSCP=46, which will then kick the Auto QoS into life.

Regarding the PIX firewall, I beleive QoS support was only released on version 7.0 and above, so this may be a software upgrade. QoS config on a PIX is manual (no Auto QoS). Here is an article on that: http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a008084de0c.shtml
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!


Expert Comment

ID: 20102962
also this is a pretty difficult subject for only 125 points !!! haha

Author Comment

ID: 20105807
OK. If they use COS=26 and DSCP=46  on the otherside of the WAN, what is the syntax on my switches to use AutoQoS for Cisco IP. But change the default settings for Cisco phone traffic to these settings.

And whatever that is, is that all I need to do?

Accepted Solution

The_R0CK earned 500 total points
ID: 20117146
They have stated  COS=26 and DSCP=46? There is actually no such vlaue as COS=26, was this meant to be COS=6?? If so thats the standard for Avaya traffic. What I strongly suggest is you ask them to change there Avaya QoS settings to COS=5 and DSCP=46, as mentioned this just requires changing a text file (46xxsettings.txt). Then you just run autoQoS as the commands above. The reason I suggest this method is because modifying the QoS on the switches is complicated business and if done incorrectly it can majorly impact your network.

And actually the PIX is most likely to be your "bottleneck". If there is voice quality issues caused by your equipment, then it will be at pix/internet connection, it is VERY uncommon to see a Cisco switch dropping voice packets or causing jitter etc. Most ISP's do not support QoS on there WAN links also.

However your question was how to configure QoS on Cisco switches. Have we covered that?

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
Why do some people recommend buying business VoIP from an ISP? What are the benefits to my company? What are the costs?
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Loops Section Overview
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question