06-02-2022 12:51 AM
Is this possible to prioritize traffic based on destination IP/subnet.
For example If I can prioritize and allocate certain bandwidth to MS SharePoint IPs?
Solved! Go to Solution.
06-06-2022 12:43 AM - edited 06-06-2022 01:37 PM
Hello
@Adnan Khan wrote:
Cisco 2900, 3900 and 4000 series routers. I would like to shape traffic for Microsoft SharePoint Public IPs and dedicate certain bandwidth so it cannot be intercepted. Remaining bandwidth can be used as best efforts. for example 100 MB link I can give 20 Percent to SharePoint.
Please review attached file.
This should LLQ prioritise any destination traffic towards the ms share point servers
06-02-2022 02:46 AM
Hi
You did not mention on which cisco device you are going to apply QoS but I´m sharing this link as reference for switches.
You are going to see that in some point the QoS config rely on a ACL to mark the traffic you want to prioritize . MS SharePoint IPs must be included on this ACL.
https://www.cisco.com/en/US/docs/switches/metro/me3600x_3800x/trash/swqos.html
06-02-2022 02:53 AM
Cisco 2900, 3900 and 4000 series routers. I would like to shape traffic for Microposoft SharePoint Public IPs and dedicate certain bandwidth so it cannot be intercepted. Remaining bandwidth can be used as best efforts. for example 100 MB link I can give 20 Percent to SharePoint.
06-02-2022 03:24 AM
This link will be helpful for your at least to undestand the concept. Some command may be different but is only syntax.
06-05-2022 09:55 PM
I don't see link.
06-02-2022 09:34 AM
On an ISR 4K (?), yes you should be able to prioritize traffic by destination IP/subnet.
As an aside, on an ISR I would suggest first trying using FQ in the default class and see how that works out.
06-06-2022 12:43 AM - edited 06-06-2022 01:37 PM
Hello
@Adnan Khan wrote:
Cisco 2900, 3900 and 4000 series routers. I would like to shape traffic for Microsoft SharePoint Public IPs and dedicate certain bandwidth so it cannot be intercepted. Remaining bandwidth can be used as best efforts. for example 100 MB link I can give 20 Percent to SharePoint.
Please review attached file.
This should LLQ prioritise any destination traffic towards the ms share point servers
06-06-2022 05:29 AM
Great many thanks Paul
06-06-2022
08:35 AM
- last edited on
06-07-2022
12:30 AM
by
Translator
Some notes to Paul's example.
First, if you're applying such a policy to an interface, where you're working with its native "speed/bandwidth", you don't need the parent shaper policy (and policy will work better w/o a shaper).
Second, don't know if still true for latest CBWFQ on 4K ISRs, but the priority implicit policer only engages if there are packets in the LLQ. I.e. It may be possible for the LLQ class to obtain 100% available bandwidth. If this is not desired, you might want to add an implicit policer to either drop at or below the bandwidth setting, or transmit at or below the bandwidth setting. The latter will provide you stats such that you can determine bandwidth usage possibly before LLQ actually starts to drop packets.
Lastly, you might consider using a non-LLQ class for your sharepoint traffic or, if supported, using priority tier 2. Either to insure you have a "place" to direct VoIP traffic, if you ever need to support it.
BTW, an example of using non-LLQ, but achieving similar results, would be something like:
policy-map QOS_child
class MS-Sharepoint
bandwidth percent 99 !99% may not be needed - 1) again, FQ in class-default, alone, might work for you - 2) a lower dequeuing ratio might work fine too
(shape or police) average percent 20
class class-default
bandwidth percent 1
fair-queue
NB: "bandwidth percent 99", in class MS-Sharepoint, doesn't preclude other traffic from using its bandwidth, it just insures dequeuing priority is in the ratio of 99:1. Also, it provides an option to "shape" excess rather than only dropping it. (You can also use FQ in this non-LLQ class - which can be of benefit in there is more than one SharePoint flow, and there is one or more "hogging" bandwidth in that class.)
Also BTW:
I see you marked Paul's answer as a solution, because he provided an example? In the future, if you also want an example, I suggest you mention that too in your OP or follow-up posts.
06-06-2022 02:10 PM - edited 06-06-2022 02:21 PM
Hello @Joseph W. Doherty
TBH, I did realise I hadn't applied a policer to the LLQ and I thought i had amended that attached solution but it seems i just up loaded the initial one (now amended) ......please review share your thoughts.
Lastly - Very good point you make In terms not appending a parent shaper on the physically interface if that interface was native "speed/bandwidth" However my thought was of higher physical wan port and bearer than the actual 100mb CDR the OP stated.
Cheers for the feedback very much appreciated.
06-06-2022 02:53 PM
@paul driver, just in case I seemed to imply otherwise, to be clear, there's is/was nothing "wrong" with what you proposed.
For example, adding a policer (or shaper) to a LLQ class is (very much) optional. LLQ provides (at least it once did) an "implicit" policer, but it may not behave as desired, as, again, it might only "engage" when LLQ traffic is actually queued (where an "explicit" policer [or shaper] will be active all the time).
Also, if the physical interface provides "more" bandwidth than actually available, using a parent shaper is the "right" choice.
BTW, something else that might be considered, when dealing with QoS CBWFQ policies, you sometimes need to adjust a physical interface's tx-ring-limit. This because CBWFQ only "engages" on the "overflow" of the interface's physical transmission FIFO queue.
If you're unfamiliar with managing the tx-ring-limit, you might start with this (pretty old) Tech Note: Understanding and Tuning the tx-ring-limit Value
I recall (?) some later Cisco QoS documentation might also mention the need to "tune" tx-ring-limit, but often it's ignored. (I also recall [?] some later IOS versions, in some situations, are supposed to automatically decrease the tx-ring-limit to improve the working of CBWFQ policies.)
BTW, way back at about the same time as that Tech Note, I was working on my first (very serious) implementation of QoS, on Cisco routers, to "improve" performance across the WAN. Status for CBWFQ showed hits, but traffic behavior was NOT improved, by QoS, as expected. The tx-ring-limit, and its corresponding interface FIFO queue was the problem. Reducing it, effectively placing traffic under control of the CBWFQ, sooner, got traffic to "behave" as I expected.
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