Configuring Queue Profiles to Manage Buffers and Thresholds

A queue profile controls the buffering and dropping behavior of a set of egress queues by enabling you to set the buffer weight of the queue, the drop thresholds, and the constraints on queue lengths.

Set the queue lengths as follows:

If you do not set the queue lengths, the router varies the queue length dynamically in the range 1 KB–7 MB.

  1. Create a queue profile and enter Queue Configuration mode.
    host1(config)#queue-profile video host1(config-queue)#
    You can configure 16 queue profiles on an E Series router.
  2. (Optional) Set the buffer weight of the queue.
    host1(config-queue)#buffer-weight 16
    Queues with a buffer weight of 16 are twice as long as queues with a buffer weight of 8. The range is 1–63; the default is 8.
  3. (Optional) Set a minimum or maximum queue length for committed packets.
    host1(config-queue)#committed-length 11000 15000
    The range of minimum and maximum lengths is 0–1 GB. By default, there is no minimum or maximum length. The color for committed packets is green.
  4. (Optional) Set a minimum or maximum queue length for conformed packets.
    host1(config-queue)#conformed-length 10000 14000
    The range of minimum and maximum lengths is 0–1 GB. By default, there is no minimum or maximum length. The color for conformed packets is yellow.
  5. (Optional) Set a minimum or maximum queue length for exceeded packets.
    host1(config-queue)#exceeded-length 9000 10000
    The range of minimum and maximum lengths is 0–1 GB. By default, there is no minimum or maximum length. The color for exceeded packets is red.
  6. (Optional) Set the conformed drop threshold as a percentage of the committed threshold.
    host1(config-queue)#conformed-fraction 60

    The range is 0–100 percent; the default is 50.

  7. (Optional) Set the exceeded drop threshold as a percentage of the committed threshold.
    host1(config-queue)#exceeded-fraction 40

    The range is 0–100 percent; the default is 25.

Related Documentation