I have a question about QoS with multiple classes. In our switch with IOS-XE we use five classes to define QoS. Class 1 is a priority class so configured “priority level 1”. The remaining bandwidth of the link must be divided over the four remaining classes. This is done by the command “bandwidth remaining ratio 4” in class 2 to 5. This works OK. But what I want is also to shape the traffic in class 2 to 25% of the link speed. So I want the remaining bandwidth evenly divided over class 2 to 5 but make sure class 2 doesn’t use more than 25% of the link speed. I tried to use a child-policy map in class 2 that shaped the traffic to a quarter of the link speed but got the following error when I tried to configure the child policy-map: “Unsupported hierarchical policy.. Two level queuing policies are not supported!!”
Are my wishes possible to configure in IOS-XE?
policy-map testqos class q1 priority level 1 class q2 bandwidth remaining ratio 4 class q3 bandwidth remaining ratio 4 class q4 bandwidth remaining ratio 4 class q5 bandwidth remaining ratio 4