08-23-2010 05:34 PM - edited 03-04-2019 09:31 AM
Hi all,
When applying my config I am getting an error of 'Cannot attach queuing-based child policy to a non-queuing based class'. Hopefully someone can take a look through this and advise if my syntax or methodology are wrong. I am assuming it is wanting me to make the Parent policy shaping rather than policing..
I have a traditional network with a single head office and multiple branches connected via a carrier IPWAN. The head office bandwidth into the IPWAN cloud is policed by the carrier to 10Mb and branches have varying bandwidth provided in the range of .5 - 4Mb.
Wanting to place some QoS at my head office link with the aim to
My reasoning is
interface GIG0/0
bandwidth 10000
(...omitted for brevity)
service-policy output WAN-EGRESS-PARENT
policy-map WAN-EGRESS-PARENT
class class-default
police rate 10000000
conform-action transmit
exceed-action drop
service-policy WAN-EGRESS-CHILD
policy-map WAN-EGRESS-CHILD
class Site_Branch1
shape average 4000000
service-policy QUEUING_POLICY
class Site_Branch2
shape average 2000000
service-policy QUEUING_POLICY
policy-map QUEUING_POLICY
class ICMP_Traffic
bandwidth 8
class Critical-Data
priority percent 25
class Scavenger
bandwidth percent 1
class Bulkdata
bandwidth percent remaining 20
random-detect dscp-based
class class-default
random-detect dscp-based
08-23-2010 06:08 PM
Hi,
Change the parent level class to shaping instead of policing should help. A policer (non-queuing) doesn't generate back pressure like shaper does, so it cannot be used on the parent level in HQoS config.
HTH,
Lei Tian
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