Cisco QOS

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
stephenHenderson123Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

mat1458Commented:
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
stephenHenderson123Author Commented:
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
mat1458Commented:
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

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
stephenHenderson123Author Commented:
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
mat1458Commented:
You're very welcome.
0
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
Voice Over IP

From novice to tech pro — start learning today.