Sepiraph wrote: » Shaping only comes into play here because you are looking at an example of hierarchical policy map, where you can combine shaping/policing together. Read this and it should be clear: Cisco IOS Quality of Service Solutions Configuration*Guide, Release*12.2 - Configuring the Modular Quality of Service Command-Line Interface* [Cisco IOS Software Releases 12.2 Mainline] - Cisco Systems
networker050184 wrote: » You usually only shape the class-default and within this shaped queue you do your other queues for specific traffic. So there are multiple, or a single depending on configuration, that lead to the shaping queue. An example config below (free hand so excuse any syntax errors). policy-map child class data_1 bandwidth 50 class data_2 bandwidth 50 policy-map parent class voice priority 10 class class-default shape average 100000 service policy child So in this example the class voice will not be shaped. There will be two queues at this level, the priority queue for voice and the shaped queue. Within the shaped queue there will be two additional queues, one for each data class.
networker050184 wrote: » Yep you got the gist of it. One thing to consider is the "shaping function" is not responsible for looking at the classes and diving up the bandwidth. A separate set of soft queues will be built and normal CBWFQ will be performed and the traffic from there is then shaped. So think of it basically as normal CBWFQ but rather than outputting the traffic to the hardware queue it is sent to another software queue for shaping. From there its again functioning like normal CBWFQ and gets its share of the bandwidth. QoS is pretty hard to wrap your head around at first but it all starts to come together eventually. All the math is the difficult part for me!