CIR weight

The CIR weight parameter defines the weight within the CIR level given to a child queue or scheduler. When multiple children share the same CIR level on a parent scheduler, the ratio of bandwidth given to an individual child is dependent on the ratio of the weights of the active children. A child is considered active when a portion of the offered load is within the child’s defined CIR rate. The ratio is calculated by first adding the CIR weights of all active children, then dividing each child’s CIR weight by the sum. If a child’s CIR level parameter is not defined, that child is not included in the within-CIR distribution and the CIR weight parameter is ignored. A CIR weight of zero forces the child to receive bandwidth only after all other children at that level have received their within-CIR bandwidth. When several children share a CIR weight of zero, all are treated equally.