11-12-2015 03:21 AM - edited 03-05-2019 02:43 AM
Hi all,
I'm not a big expert in QoS and I need for your help in order to implement some QoS policy onmy router.
So far I managed to rserve bandwith in output direction an it is fine
class-map match-all UDP
match access-group name QoS_UDP
class-map match-all TCP
match access-group name QoS_TCP
class-map match-all NTP
match protocol ntp
class-map match-all DNS
match protocol dns
!
policy-map DIALER_QOS_OUT
class DNS
bandwidth 300
class NTP
bandwidth 10
class TCP
bandwidth 300
class class-default
random-detect
policy-map PARENT
class class-default
shape average 1000000
service-policy DIALER_QOS_OUT
What I'm looking for is to prioritize some kind fo packets:I understood that I can apply a "set" precedence mark to the incoming packet but How can I instruct the router to prioritize those packets in the queue?
When I have a scenario like this
DNS+NTP+TCP+UDP -------> CISCO887----- TCP+UDP+DNS+NTP---> SERVER
I want that the router re-organize the packets sent to the server and it put DNS/NTP at the begin of the stream and UDP at the end. I want do the same thing in ouput side
Thanks
11-12-2015 05:47 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 wha2tsoever (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
Prioritization, on CBWFQ output policies, is done by using the priority or bandwidth statements. The former places class traffic into a single queue which is always dequeued first, the latter places traffic into a class queue with dequeuing priority relative to other class queues. (Class fair queue creates hashed flow queues. Pre HQF, each of those queues competes with other class queues and relative priority is also influenced by IP Precedence, post HQF, each queue competes within the class priority, equally.)
BTW, except for pre-HQF, IP Precedence (or ToS byte), doesn't really matter. ToS's purpose is just an efficient way to examine a packet for QoS classification, i.e. it's not required to accomplish traffic prioritization.
PS:
Unless you really understand QoS, and different traffic service requirements, I would suggest you avoid trying any explicit priorization scheme. Instead, I suggest you just try using a policy with class-default using fair-queue. (NB: If the next path's bandwidth is less than the interface's, use a two level policy. Shape in the parent, and class-default FQ in the child.)
11-12-2015 06:44 AM
Thanks for your reply. I ll have a look to the fair-queue. I know that QoS it is a huge topic. Hope to have a better uderstandig in few months!
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