03-28-2012 08:50 AM - edited 03-04-2019 03:50 PM
Hi,
We have to match and prioties voice traffic on our WAN routers (887,1921,2921 and 3900 series).I have seen diffrent way to match Voice traffic as follow,
What is the best practice to match VOIP traffic on WAN routers and sent to MPLS provider.
1-
access-list 102 permit udp any any range 16384 32767
access-list 102 permit tcp any any eq 1720
class-map match-any VoIP
match access-group 102
policy-map VOIPQOS
class VoIP
priority percent 50
class-map match-any VOIP
match dscp ef
match ip precedence 5
policy-map MPLS-Link
class VOIP
priority 10000
set dscp af31
class class-default
03-28-2012 08:54 AM
It's best to tag at ingress (access switch) thus going with option 2 is often the implementation done at the WAN routers.
03-28-2012 09:13 AM
Thanks,
But Does option 2 will work on all routes eg:Cisco 887 ?
Regards.
03-28-2012 09:58 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Believe it should, but not 100% sure. Features do vary by platform, IOS version and feature set.
BTW, option 2 overlaps, i.e. IP Prec 5 includes IP DSCP EF. What would be unique is DSCP CS5 and DSCP EF.
03-28-2012 03:11 PM
Hi,
I would strongly recommend the option 2.
The router needs to spend less (CPU) resourses to check the ToS value of the packet than to perform a match according to a definition of the access-list entries.
If the router can not receive the traffic already marked by the other devices (e.g. IP phones etc) then you have to use the option 1. The option one has also the drawback of the high UDP port range for mathcing.
This is usually the method that we select between one of the two options.
Hope that helps,
Vasilis
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide