This chapter provides information to configure port scheduler policies using the command line interface.
The port-scheduler-policy command creates a port scheduler template which may be assigned to an egress port. Only one port scheduler policy is allowed per port. There is a “default” port-scheduler policy (which services the queues of the port in a Strict order) associated with each port. To change the behavior, users can associate the port with another port-scheduler policy. The policy contains mode commands to set the mode of scheduling (RR, Strict, WRR, WDRR) and queue commands to set the weight of the queue (only 8 queues per port and queue settings only for WRR/WDRR modes). In WRR/WDRR, a strict option treats that particular queue as a strict queue, this leads to a hybrid mode of scheduling (WRR+Strict, WDRR+Strict).
A basic QoS port scheduler policy must conform to the following:
To create a port scheduler policy, define the following:
Use the following syntax to create a QoS port scheduler policy.
Note that the create keyword is included in the command syntax upon creation of a policy.
A port scheduler policy cannot be deleted unless it is removed from all ports where it is applied. The “default” port-scheduler policy cannot be deleted.
The following is a sample port scheduler policy configuration output.
This section describes the service management tasks.
You can copy an existing QoS policy, rename it with a new QoS policy value, or overwrite an existing policy. The overwrite option must be specified or an error occurs if the destination policy exists.
You can edit a port-scheduler policy, the modifications are done and it affects the port where it is applied. The “default” port-scheduler policy cannot be modified.
To prevent configuration errors use the copy command to make a duplicate of the original policy to a work area, make the edits, and then overwrite the original policy.