When used, the interface set level of the hierarchy falls between the physical interface level (Level 1) and the logical interface (Level 3). Queues are always Level 4 of the hierarchy.
Hierarchical schedulers add CoS parameters to the new interface-set level of the configuration. They use traffic control profiles to set values for parameters such as shaping rate (the peak information rate [PIR]), guaranteed rate (the committed information rate [CIR] on these interfaces), scheduler maps (assigning queues and resources to traffic), and so on.
The following CoS configuration places the following parameters in traffic control profiles at various levels:
For more information on traffic control profiles see Oversubscribing Interface Bandwidth and Providing a Guaranteed Minimum Rate. For more information on scheduler maps, see Configuring Scheduler Maps.
In this case, the traffic control profiles look like this:
- [edit class-of-service traffic-control-profiles]
- tcp-port-level1 { # This is the physical port level
- shaping-rate 100m;
- delay-buffer-rate 100m;
- }
- tcp-interface-level2 { # This is the interface set level
- shaping-rate 60m;
- guaranteed-rate 40m;
- }
- tcp-unit-level3 { # This is the logical interface level
- shaping-rate 50m;
- guaranteed-rate 30m;
- scheduler-map smap1;
- delay-buffer-rate 40m;
- }
Once configured, the traffic control profiles must be applied to the proper places in the CoS interfaces hierarchy.
- [edit class-of-service interfaces]
- interface-set level-2 {
- output-traffic-control-profile tcp-interface-level-2;
- }
- ge-0/1/0 {
- output-traffic-control-profile tcp-port-level-1;
-
- unit 0 {
- output-traffic-control-profile tcp-unit-level-3;
- }
- }
In all cases, the properties for level 4 of the hierarchical schedulers are determined by the scheduler map.