Tuesday, September 11, 2018

QoS | Cisco Traffic Shaping | Percentage Shaping

Where does the Cisco device learn of its bandwidth for percentage traffic shaping? Is it from the bandwidth setting on the interface the service-policy is applied to or is it defined by "shape average" on class-default?

As an example, say I have a 200Mb line. The interface will be a Gig port so bandwidth will be set to 1Gb by default.

If I was to apply 50% traffic shaping would it shape based on 500Mb (half the interface bandwidth) or would it shape on 100Mb (as intended).

I have seen implementations where the "shape average" is defined first and then a separate service policy is called in within ie;

policy-map 200m-shape

class class-default

shape average 200000000

service-policy allocate_bandwidth

I guess the above would make sense, shaping on the 200Mb and then having child policies controlling percentages within the 200Mb. I just would like an explanation if possible please as I want to make sure what I am doing is best practice and correct.

Trouble being with QoS often the time it comes to test is the time it is needed most and must be working!

Thank You



No comments:

Post a Comment