Solved

Cisco policy Map Qos

Posted on 2010-11-24
10
983 Views
Last Modified: 2012-05-10
I am having some issues with a VOIP telephony systems, calls being dropped etc.  I have a few sites connected via vpn and via fiber.  i was thinking maybe if i put qos on the router to prioritize traffic for voice it might help.  below is what i came up with...does this look like it will work?  going to be on 2821 and 871 ciscos

Thanks

class-map match-any VoIP
 match  dscp ef
 match  precedence 5
 match ip rtp 5004 5004
 match ip rtp 2427 2427
 match ip rtp 5440 5446
!
!
policy-map VOICE
 class VoIP
  set dscp cs5
 class class-default
  fair-queue
!
0
Comment
Question by:jasonmichel
  • 3
  • 2
  • 2
  • +1
10 Comments
 
LVL 1

Author Comment

by:jasonmichel
ID: 34208643
anyone?
0
 
LVL 28

Expert Comment

by:bgoering
ID: 34213001
Take a look at this previous EE thread for an example: http://www.experts-exchange.com/Hardware/Networking_Hardware/Routers/Q_22681478.html
0
 
LVL 1

Author Comment

by:jasonmichel
ID: 34213418
yeah i looked at that, but my VOIP is shoretel not Cisco, thats why i just wanted confirmation that what i had would work, thanks for the response!!
0
 
LVL 28

Expert Comment

by:bgoering
ID: 34213477
Sorry - my experience doesn't extend to shoretel - good luck
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 4

Accepted Solution

by:
askincakir earned 250 total points
ID: 34221529
hi,
well this may be work, but depends on your voip phones status. You are matching some criteris which are coming from your ip phones and if they are not the same then your policy may not match packets. I suggest you to use ACL to match trafic from your ip phones. then set priority to them. Another case is that you need to apply this priority to interface in inbound direction.
example:
ACL
R1(config)#access-list 1 permit 192.168.0.0 0.0.0.255
R1(config)#access-list 1 deny any
---
class-map match-all IPPhones
 match access-group 1
!
!
policy-map Voice
 class IPPhones
  set dscp af43
 class class-default
!

----
interface Ethernet1/0
 service-policy input Voice

#########
this config is when your packets are coming to your router. if you want to give dedicated bandwith to your voice then your need to do class based config which you will apply to outgoing interface.

hope this will help you.





0
 
LVL 17

Expert Comment

by:pergr
ID: 34221779
None of the above will work.

As the previous poster saud, if you do have a separate IP subnet for the IP phones then it is useful for your Marking, and you could do something like this:


access-list 1 permit 192.168.0.0 0.0.0.255
!
class-map match-all IPPhones
 match access-group 1
!
!
policy-map Voice
 class IPPhones
  priority percent 25
 class class-default
!
interface Ethernet1/0
 service-policy output Voice

Note, the main changes are to use 'priority' in the policy-map, and to use the service policy as 'output' - assuming the interface is towards your WAN.

However, your probably do not have a full 10Mbps 'Ethernet' interface towards your WAN. If that interface is a Serial interface, then there is no problem. However, if it is an Ethernet interface that does not offer the line rate in the WAN, then you will also need some nested 'policy-map' that does 'shaping' down to your WAN speed.
0
 
LVL 1

Author Comment

by:jasonmichel
ID: 34222476
i do not have a separate subnet..they are all on the same subnet, we are only talking about 50 devices total. and yes i confirmed with vendor on the port numbers needed, thats why i used those specific ports.  It's a shoretel VOIP
0
 
LVL 17

Assisted Solution

by:pergr
pergr earned 250 total points
ID: 34223146
Yes, it is fine to use your own 'class-map' instead of the one I suggested.

Once you get the voip packets into the class, the important thing is the 'priority'.

I also found the attached file, which gives more extensive background information.


Your main issue will be the traffic on the VPN links, and if that traffic shares Internet ports with other (browsing) traffic. Your ISP will not have any QOS configured, and will mix your VPN traffic with browsing traffic without any priority - unless you can get them to implement something.
best-practices-wan.pdf
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

746 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

11 Experts available now in Live!

Get 1:1 Help Now