05-20-2011 10:41 AM - edited 03-04-2019 12:28 PM
Hi Experts,
I have question about QoS in router? I am not sure use which QoS feature to do that?
1. Traffic classification for classifying the customer incoming traffic to router by marking different IP precedence nature.
2. Traffic queuing for prioritizing the customer traffic outgoing from the router according to classified IP precedence of incoming traffic
Thanks
Andy
05-20-2011 11:11 AM
Hi,
You can do both with MQC.
1) classification is done inside a class-map where you can classify on DSCP,IPP,ACL,NBAR,etc.
2) you can mark inside a policy-map with the set command for the corresponding class of traffic
3) queueing is made with CBWFQ or LLQ: using bandwidth or priority command inside a policy-map.
Let's take an example:
We can classify into 2 classes: http and pings
class-map HTTP
match protocol http we are using NBAR here
class-map ICMP
match access-group 101 we are using an ACL here
Then we can mark each type of trafffic with DSCP
policy-map MARK
class HTTP
set dscp af41
class ICMP
set dscp cs0
For the queuing here is an example:
policy-map HTTP
class HTTP
bandwidth 8000
class ICMP
bandwidth 4000
Then you must apply policy with the service-policy input|output command Queuing can only be applied outbound
These are only simple examples you can see more here:
http://www.cisco.com/en/US/docs/ios/qos/configuration/guide/qos_mqc.html
http://www.cisco.com/en/US/docs/ios/12_2/qos/configuration/guide/fqos_c.html
Regards.
Alain.
05-20-2011 06:32 PM
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
Cadet Alain's post pretty much covers your question. However, you did ask about IP Precedence. You can use that where Cadet uses DSCP, although DSCP is a newer standard for using the ToS byte.
Also in Cadet's post, he is using the same classifcation class maps for the outbound policy, but you can use different class maps that match on IP Precedence and/or DSCP that the inbound policy set.
Further, in later IOS images, you can also mark in the outbound policy. Being able to do that, if supported, or using non-ToS marking class maps in the outbound policy often means you don't actually need to do an inbound policy.
05-22-2011 04:35 AM
Hi Joseph,
Thanks a lot. But may I know which QoS feature name can support these. Becuase I need to ensure the router IOS (IP Base or IP Service etc..) which can support.
Thanks
Andy
05-22-2011 04:46 AM
Hi,
What you are going to do is Marking and CBWFQ(Might Be).
IPBase is fine to do that.
QOS Ref: http://www.cisco.com/en/US/docs/ios/qos/configuration/guide/qos_mqc.html
HTH,
Toshi
05-22-2011 05:01 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
As the other poster notes, CBWFQ or Class-based Weighted Fair Queuing, would be the feature that's been described. Believe it's not so much IOS feature related, i.e. IP Based vs. Enterprise, but its capabilities do vary based on IOS version and hardware platform.
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