Solved

Cisco QOS

Posted on 2012-03-19
5
2,240 Views
Last Modified: 2012-06-21
Hello, I have been asked to set up QOS on our cisco 881 router for our new phone system, and I was wondering if someone would be able to help as I’m not 100% confident is setting QOS, I understand the basic concept but I am unsure how to set it all up correctly. Any help would be greatly appreciated

Router Bandwidth is 10MB, so I’m planning on giving 50% to the phone system, unless there is a better way?

And this is what I was told required QOS
SIP (signalling) - Class 3, AF31, DSCP: 0x1A, TOS: 0x68 RTP (media) - Expedited Forwarding, EF, DSCP: 0x2E, TOS: 0xB8

So this is my start on the QOS settings

ip access-list extended PhoneSystem
 permit tcp any any range ?????

class-map match-any VoIP
match access-group name PhoneSystem

policy-map MyQoSPolicy
class VoIP
  priority percent 50
  set dscp ef

class class-default
 fair-queue

interface FastEthernet4
bandwidith 10240
 description  WAN Interface to the Internet running at 10240
 ip nbar protocol-discovery
 service-policy output MyQoSPolicy
0
Comment
Question by:stephenHenderson123
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:mat1458
ID: 37737914
You could change your class map a little:

class-map match-any VoIP
 match protocol rtp audio
 match protocol sip

That way NBAR identifies the protocols. It keeps track of the calls' source/destination ports.

How many parallel VoIP calls do you have across the Fast Ethernet 4? Do you really need 50%? Not that it is a problem but ist seems to be a lot since you use a Cisco 881.

I did not understand all your DSCP calculations, from the config I derive that you only want to protect voice and transport bearer traffic as well as signaling in the priority queue.
0
 

Author Comment

by:stephenHenderson123
ID: 37737964
Thanks for the quick reply !!
We will probably max out at about 30 parallel VoIP calls, yes VoIP is the main traffic I want to protect, and everything else can be a free for all. Is 50% an overkill?

Updated Config below

class-map match-any VoIP
 match protocol rtp audio
 match protocol sip


policy-map MyQoSPolicy
class VoIP
  priority percent 50
  set dscp ef

class class-default
 fair-queue

interface FastEthernet4
bandwidith 10240
 description  WAN Interface to the Internet running at 10240
 ip nbar protocol-discovery
 service-policy output MyQoSPolicy
0
 
LVL 10

Accepted Solution

by:
mat1458 earned 500 total points
ID: 37738007
Let's rework it a bit more:

class-map match-any VoIP-bearer
 match protocol rtp audio
class-map match-any VoIP-signaling
 match protocol sip
!
policy-map MyQoSPolicy
 class VoIP-bearer
  priority percent 40
  set dscp ef
 class VoIP-signaling
  bandwidth remaining-percent 10
  set dscp af31
 class class-default
  random-detect
  fair-queue

interface FastEthernet4
bandwidith 10240
 description  WAN Interface to the Internet running at 10240
 ip nbar protocol-discovery
 service-policy output MyQoSPolicy

I assume that you use no larger bandwidth codec than g711. That results in approx. 86Kbps per call on Ethernet. So you are fine with 4Mbps, a little growth included. Be aware that if the amount of calls and the voice bandwidth is growing the priority keyword limits the traffic to the amount you configured.
0
 

Author Closing Comment

by:stephenHenderson123
ID: 37738069
Thanks you that's perfect!!!
I will wait to hear back about conformation about the Codec, I believe its either g711 or g711.1
0
 
LVL 10

Expert Comment

by:mat1458
ID: 37738182
You're very welcome.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now