01-17-2013 07:07 AM - edited 03-04-2019 06:44 PM
I am implementing QoS on our MPLS network. Our environment exists of a mix of Cisco 2960 and 3560 switches. The IPT system is Avaya CM with Avaya phones.
The WAN network is a MPLS network.
Ports are configured for access and voice vlan (no trunking), one vlan for voice, one for data (vlan 1 is disabled).
I dont have Qos coonfigured on LAN just wanted to configure on WAN Router where my Mpls link is connected.I have 45 Mb Mpls links on all sites connected to each other.
I have multiple sites connected via MPLS and i have control at both sides.Current config is mentioned below in which DSCP marking is not done for signaling. Can anyone tell me the best config with example.
Current Config on all Cisco Router where MPLS link is terminated at all sites.
class-map match-any business
match access-group name business_critical
class-map match-any non-business
match access-group name non-critical
class-map match-any premium
match access-group name interactive_video_or_voice
policy-map parent-test
class premium
set ip dscp ef
priority percent 20
class business
set ip dscp default
bandwidth remaining percent 60
class non-business
bandwidth remaining percent 30
class class-default
policy-map MPLS-OUT
class class-default
shape average 46080000
service-policy parent-test
interface GigabitEthernet0/0
service-policy output MPLS-OUT
ip access-list extended interactive_video_or_voice
permit ip 10.x.x.128 0.0.0.63 any-----Voice Device Vlan
permit ip host 10.x.x.11 any---New_VC_VLAN
Thanks!!
Bhisu
Solved! Go to Solution.
01-17-2013 07:53 AM
This is the same type of config that I use on mine. The only question that I have is your business class. Are you wanting to set your dscp to default for a reason? I'm assuming that you're going into an mpls cloud from your provider? If so, do you pay for qos support where they will match on a marking and then give that priority through their lsp?
HTH,
John
*** Please rate all useful posts ***
01-17-2013 07:53 AM
This is the same type of config that I use on mine. The only question that I have is your business class. Are you wanting to set your dscp to default for a reason? I'm assuming that you're going into an mpls cloud from your provider? If so, do you pay for qos support where they will match on a marking and then give that priority through their lsp?
HTH,
John
*** Please rate all useful posts ***
01-18-2013 01:58 AM
Thanks John,
This is the old config which is being run on my router and i need to change it with the best Qos config, no i am not paying anything to ISP for marking whatever we will suggest they will do. My setup is like below:-
Core Switches---->My Managed Router then its connected to ISP router (back to back via Cross cable)---ISP managed router---->MPLS cloud----same at different site and i have controll on both sites.
Could you please check the below Qos Config and let me is this the best which i can use in my N/w and get it configured on ISP router as well, if not can you paste best Qos config according to my router.
MY Current Qos Config is below:-
===========================================
class-map match-any business
match access-group name business_critical
class-map match-any non-business
match access-group name non-critical
class-map match-any premium
match access-group name interactive_video_or_voice
!
!
policy-map parent-test
class premium
set ip dscp ef
priority percent 20
class business
set ip dscp default
bandwidth remaining percent 60
class non-business
bandwidth remaining percent 30
class class-default
policy-map MPLS-OUT
class class-default
shape average 46080000
service-policy parent-test
======================================
New I have made
=========================================
class-map match-any VOICE
match access-group name interactive_video_or_voice
match ip dscp ef
match protocol rtp audio
match ip dscp af41
match ip dscp cs4
class-map match-any SIGNALING
match ip dscp cs3/af31
class-map match-any Business
match access-group name business_critical
match ip dscp cs6/
class-map match-any non-Business
match access-group name non-critical
!
policy-map parent-test
class VOICE
priority percent 20
class SIGNALING
bandwidth remaining percent 20
class Business
bandwidth remaining percent 70
class non-Business
set ip dscp default
bandwidth remaining percent 10
class class-default
fair-queue
random-detect dscp-based
========================================================
Can anyone check the above config and let me if this fine or need modification.
Thanks
Bhisu
01-18-2013 03:43 AM
Bhisu,
I think the only thing that I would change would be to put video is a separate class from voice. If you put video and voice in the same llq, video can override voice. You should create a separate class to match on just that. Aside from that, it looks normal. The way the ISP, or at least mine, sells QoS support is by giving you 3 or 4 different tags they'll match. For example, mine gives us EF, AF21, AF11, and default. If you don't have QoS support now, they're more than likely remarking all incoming traffic from you back to default even though you're tagging it. If we assume they give you the same tags as mine, you just need to mark what traffic you want with these tags. Voice would be EF, video would be AF21, normal business traffic would be AF11, and everything else would be default. They have several levels that you can generally choose from, so you should find one that best suits your needs.
HTH,
John
*** Please rate all useful posts ***
01-18-2013 04:43 AM
Thanks John,
I have changed could you please chk now. Could you please also check if i have given the correct b/w % to all class.
And same i need to get it done on ISP managed router as well? and my remote site router's to work it properly.
This has to be on ISP managed router which is my DC or it shd be on that router as well ISP managed router is connected in ISP POP DC.
class-map match-any VOICE
match access-group name voice-class
match ip dscp ef
match protocol rtp audio
match ip dscp cs5
match ip precedence 5
class-map match-any SIGNALING
match dscp af31
match ip precedence 3
match ip dscp cs3
class-map match-any VIDEO
match ip dscp af41
match ip precedence 4
match ip dscp cs4
match access-group name video-class
class-map match-any Business
match access-group name business_critical
match ip dscp cs6
class-map match-any non-Business
match access-group name non-critical
!
policy-map parent-test
class VOICE
priority percent 20
class SIGNALING
bandwidth remaining percent 10
class VIDEO
bandwidth remaining percent 20
class Business
bandwidth remaining percent 70
class non-Business
set ip dscp default
bandwidth remaining percent 10
class class-default
fair-queue
random-detect dscp-based
==========================================
Config on ISP managed router as of now, i need to get this changed right?
class-map match-any ABC_C2_WAN
match ip dscp default
class-map match-any ABC_C1_WAN
match ip dscp ef
policy-map ABC_45Mb_WAN_Child_Out
class ABC_C1_WAN
priority 9216
class ABC_C2_WAN
bandwidth 27648
class class-default
policy-map ABC_45Mb_WAN_Parent_Out
class class-default
shape average 46080000
service-policy ABC_45Mb_WAN_Child_Out
interface GigabitEthernet0/0
service-policy output ABC_45Mb_WAN_Parent_Out
01-21-2013 12:29 AM
Hi John,
Did you check this config?
Regards,
Bhisu
01-21-2013 07:57 PM
You need to mark the outgoing packets based on the QoS policy selected with your ISP otherwise they will be dumped into a default queue on the ISP router. In most cases service providers only give you 4 queues, so you may need to group your traffic into 4 queues ( 4 markings) and also when you use bandwidth remaining statement they should add up to 100%.
class-map match-any VOICE
match access-group name voice-class
match ip dscp ef
match protocol rtp audio
match ip dscp cs5
match ip precedence 5
class-map match-any SIGNALING
match dscp af31
match ip precedence 3
match ip dscp cs3
class-map match-any VIDEO
match ip dscp af41
match ip precedence 4
match ip dscp cs4
match access-group name video-class
class-map match-any Business
match access-group name business_critical
match ip dscp cs6
class-map match-any non-Business
match access-group name non-critical
!
policy-map parent-test
class VOICE
priority percent 20
set ip dscp ef
class SIGNALING
bandwidth remaining percent 5
set ip dscp af21 ---------------Change it based on your selected QoS profile
class VIDEO
bandwidth remaining percent 20
set ip dscp af41
class Business
bandwidth remaining percent 70
set ip dscp af41
class non-Business
set ip dscp default
bandwidth remaining percent 5
class class-default
fair-queue
random-detect dscp-based
Config on ISP managed router as of now, i need to get this changed right? --- Yes current config only supports voice and default queues.
Siddhartha
01-21-2013 11:28 PM
Thanks Sidhartha,
policy-map parent-test
class VOICE
priority percent 20
set ip dscp ef----This is fine i need to add in my config
class SIGNALING
bandwidth remaining percent 5---will it be enough (i have 45 Mb link)
set ip dscp af21 ---------------Change it based on your selected QoS profile---I think it shd be as31 for Signaling
class VIDEO
bandwidth remaining percent 20
set ip dscp af41----This is fine i need to add in my config
class Business
bandwidth remaining percent 70
set ip dscp af41------- for Business traffic it shd be cs6 i think, what you say.
class non-Business
set ip dscp default
bandwidth remaining percent 5
class class-default
fair-queue
random-detect dscp-based
Config on ISP managed router as of now, i need to get this changed right? --- Yes current config only supports voice and default queues.
We have connected Back to Back router's to our ISP router and whatever marking will do they will pass the same, current config is on ISP router is mentioned below.
I will ask them to do the same config which i am gonna to on my router, will it fine right?
class-map match-any ABC_C2_WAN
match ip dscp default
class-map match-any ABC_C1_WAN
match ip dscp ef
policy-map ABC_45Mb_WAN_Child_Out
class ABC_C1_WAN
priority 9216
class ABC_C2_WAN
bandwidth 27648
class class-default
policy-map ABC_45Mb_WAN_Parent_Out
class class-default
shape average 46080000
service-policy ABC_45Mb_WAN_Child_Out
interface GigabitEthernet0/0
service-policy output ABC_45Mb_WAN_Parent_Out
01-22-2013 07:01 AM
set ip dscp af41------- for Business traffic it shd be cs6 i think, what you say.
You can select either one but the rule is it should match the confing on ISP side and make sure it goes to your desired queue on the ISP side.
We have connected Back to Back router's to our ISP router and whatever marking will do they will pass the same.
I will ask them to do the same config which i am gonna to on my router, will it fine right?
QoS is a end to end config, means if there are 10 ISP routers between your Site-A and Site-B, all those 10 router should have the same queues as you configured on your routers (SiteA and SiteB).
Usually it goes the other way, you have to pay your ISP and select a QoS profile they offer and configure your CE router according to that.
Siddhartha
01-17-2013 11:34 AM
QoS is a end to end config, as John specified your service provider must honour your markings.
According to your config you are reserving 20 percent of 45Mbps for voice but rest of the traffic will leave your router with out any markings and will be dumped into the default queue on the ISP router.
you will need to create seperate quesue if you want to prioritize the signaling, for example
ip access-list extended interactive_video_or_voice
permit ip 10.x.x.128 0.0.0.63 any-----Voice Device Vlan
permit ip host 10.x.x.11 any---New_VC_VLAN
class-map match-any business
match access-group name business_critical
class-map match-any non-business
match access-group name non-critical
class-map match-any premium
match access-group name interactive_video_or_voice
class-map match-any signaling
match dscp af31
policy-map parent-test
class premium
set ip dscp ef
priority percent 20
class signaling
set ip dscp af31
bandwidth remaining percent 20
class business
set ip dscp default
bandwidth remaining percent 70
class non-business
bandwidth remaining percent 10
class class-default
policy-map MPLS-OUT
class class-default
shape average 46080000
service-policy parent-test
Siddhartha
01-18-2013 02:00 AM
Thanks Siddhartha,
Could you check above config and let me your thoughts!!
Thanks
Bhisu
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