Why doesn't QoS work the way I want it to? Or does it...

Or does it...
At my office there is a Cisco switch (not sure of model) that has QoS configured so that the VoIP phones have high priority. When my PC starts doing cloud backups (Carbonite) it takes up all bandwidth. When we answer a call, the phones "crap out" because there's no bandwidth. Why aren't the phones given priority and my PC knocked down?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The problem is not your switch, but your router. The switch is probably honoring the QoS but that ends once you go outside your LAN, either to the WAN or internet.
ITworksAuthor Commented:
Is there a way to set QoS on our Cisco router or to get certain types of devices higher priority to the WAN?
Yes. But it will end in the next hop unless you have QoS configured on the WAN itself (MPLS?)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ruel TmeizehOwnerCommented:
You need to run some monitoring commands on your switch to determine if it is actually handling QoS marked packets/frames properly. Some popular Cisco switch models (2950 and maybe others) have the QoS defaults set to different values than what most phones are setup to use, so the phones and the switch may both have QoS turned on, but they aren't agreeing on the priority number markings and thus nothing is prioritized (or at least not very well).

IF your switch and the phones are indeed setup properly, and the switch is correctly queuing frames, then as nickoarg said, it may very well be your router that isn't setup to properly deal with the traffic as it goes out to the internet, thus your QoS is only working on your LAN, and as soon as the router gets any traffic it treats it all equally. It's settings for proper values will need to match what the switch and phones are sending and expecting in order for the setup to work as you want.

The easiest way to setup QoS is to not worry about "types" of traffic, but to do it based on VLANs. If you have all your phones set on one VLAN and your PCs on another, you can set the switch to mark all packets/frames to and from the PC VLAN as normal priority, and all packets/frames to and from the phones as high priority. Then set your router to either force high priority for the voice VLAN, or trust the priority of the switch and queue based on that, and that's all there is to it. This is the simplest way of doing it. The downside is that if you use softphones on your PC(s) then they will only have normal priority, and softphone call quality may suffer.

The more complex way is to have the switch (and/or router) analyze all the traffic and put it into different QoS classes based on the type of traffic. (HTTP, FTP, and such would go into a low priority queue, Bittorrent and Carbonite lowest priority/scavenger, SIP signaling from phones would go into a medium-priority queue, RTP audio from phones would go into the expedited forwarding queue, etc. )
Doing it this way gets complex FAST and is a lot of config to get it right, and may overwhelm a switch or router that doesn't have lots of free processing power.

Another way is to set your switch and router to TRUST QoS markings on packets/frames that they receive, and put them into the proper queues based on that. You don't want to do it this way in an enterprise network where you can't trust everyone using the network, but otherwise it works great and doesn't require much router or switch processing power. After you have setup your switch and router to trust marked packets and frames, which is a relatively simple config, you must then setup your phones to mark their packets with the proper QoS markings (most phones already do this, but some tweaking of the values may be required). You can leave your PCs as-is, and they will be given normal priority, or if you need to run softphones, you can usually have the softphone app tell your OS to mark the voice packets that are sent out (how this works depends on the OS you are running, whether OSX, Windows, or Linux).

You didn't give a whole lot of detail as to your exact configuration, but hopefully the info I've given will make it clearer for you how it works and what areas of your network need attention.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.