11-13-2018 02:00 AM - edited 11-13-2018 02:25 AM
Hi.
I have a router running IOS-XE terminating a 300Mbps transatlantic WAN link.
I have written the following policy to be applied to the outgoing interface facing the WAN:
policy-map 300MBPS-SHAPER
class class-default
shape average 300000000
service-policy UK-US-LOG-LIMITER
policy-map UK-US-LOG-LIMITER
class US-LOG-DESTS
police cir percent 33
class class-default
bandwidth remaining percent 100
class-map match-any US-LOG-DESTS
match access-group name NACL-US-LOG-DESTS
ip access-list extended NACL-US-LOG-DESTS
remark MATCH-US-LOGGING-ENDPOINTS
permit ip any host x.x.x.x
The intention being to shape all the outbound traffic to 300M, and within that, limit logging traffic to a maximum of 1/3rd of the bandwidth i.e. 100M, and let everything else use all of the remaining bandwidth (including any of the 100M logging traffic is not using in any time interval).
When the configuration is applied I still see logging traffic saturating the link - I'd appreciate any thoughts on how I've misconfigured this!
Solved! Go to Solution.
11-13-2018 04:17 AM - edited 11-13-2018 04:18 AM
Hello
My understanding is it preferred to use policing for ingress traffic and shaping for egress traffic.
Suggest if you want to prioritize some traffic then use LLQ which would provide a maximum defined traffic BW allocation under times of congestion but it wont stave the other class whilst doing so.
As for the remaining traffic this would fall into the class class-default class which has a default queuing of FIFO but you can change this so to apply some degree of fairness for your remaining non specified qos traffic when exiting the wan interface.
policy-map UK-US-LOG-LIMITER
class US-LOG-DESTS
priority percent 33
class class-default
fair-queue
11-13-2018 02:58 AM
11-13-2018 03:57 AM
Good question - I thought the outer policy map being shaped to 300M meant the inner policy map parameters worked within the confines of 300M, is that not how it works?
11-13-2018 03:48 AM
show policy-map interface XXX
11-13-2018 04:17 AM - edited 11-13-2018 04:18 AM
Hello
My understanding is it preferred to use policing for ingress traffic and shaping for egress traffic.
Suggest if you want to prioritize some traffic then use LLQ which would provide a maximum defined traffic BW allocation under times of congestion but it wont stave the other class whilst doing so.
As for the remaining traffic this would fall into the class class-default class which has a default queuing of FIFO but you can change this so to apply some degree of fairness for your remaining non specified qos traffic when exiting the wan interface.
policy-map UK-US-LOG-LIMITER
class US-LOG-DESTS
priority percent 33
class class-default
fair-queue
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