Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Defining CoS Queue Schedulers

    Schedulers define the CoS properties of output queues. These properties include the amount of interface bandwidth assigned to the queue, the priority of the queue, and the tail-drop profiles associated with the queue.

    The parameters you configure in a scheduler define the following characteristics for the queues mapped to the scheduler:

    • transmit-rate—Minimum bandwidth, also known as the committed information rate (CIR), set as a percentage rate or as an absolute value in bits per second. The transmit rate also determines the amount of excess (extra) priority group bandwidth that the queue can share. Extra priority group bandwidth is allocated among the queues in the priority group in proportion to the transmit rate of each queue.

      Note: Include the preamble bytes and interframe gap (IFG) bytes as well as the data bytes in your bandwidth calculations.

      Note: You cannot configure a transmit rate for strict-high priority queues. Queues (forwarding classes) with a configured transmit rate cannot be included in a forwarding class set that has strict-high priority queues.

    • shaping-rate—Maximum bandwidth, also known as the peak information rate (PIR), set as a percentage rate or as an absolute value in bits per second.

      Note: Include the preamble bytes and interframe gap (IFG) bytes as well as the data bytes in your bandwidth calculations.

    • priority—One of two bandwidth priorities that queues associated with a scheduler can receive:
      • low—The scheduler has low priority.
      • strict-high—The scheduler has strict-high priority. You can configure only one queue as a strict-high priority queue. Strict-high priority allocates the scheduled bandwidth to the queue before any other queue receives bandwidth. Other queues receive the bandwidth that remains after the strict-high queue has been serviced.
    • drop-profile-map—Drop profile mapping to a loss priority and protocol to apply WRED to the scheduler.

    Note: Queues might not receive the egress bandwidth configured in the queue scheduler when a port’s egress queues are congested. This can occur when the ingress port buffer fills above a certain threshold. If this happens, configure a drop profile for the queue on the port that is receiving its configured bandwidth (this queue is preventing the other queues on the port from receiving their configured bandwidth). The drop profile applies a weighted random early detection (WRED) algorithm to the queue and prevents the queue from impacting the other queues on the port.

    To configure a scheduler using the CLI:

    1. Name the scheduler and define the minimum guaranteed bandwidth for the queue:
      [edit class-of-service ]
      user@switch# set schedulers scheduler-name transmit-rate (rate | percent percentage)
    2. Define the maximum bandwidth for the queue:
      [edit class-of-service schedulers scheduler-name]
      user@switch# set shaping-rate (rate | percent percentage)
    3. Define the queue priority:
      [edit class-of-service schedulers scheduler-name]
      user@switch# set priority level
    4. Define the drop profile using a drop profile map:
      [edit class-of-service schedulers scheduler-name]
      user@switch# set drop-profile-map loss-priority (low | medium-high | high) protocol protocol drop-profile drop-profile-name

    Published: 2012-07-31