This chapter provides information to configure slope QoS policies using the command line interface.
This chapter is applicable to the 7210 SAS-Sx/S 1/10GE (standalone and standalone-VC mode), 7210 SAS-Sx 10/100GE (standalone mode), and 7210 SAS-T (network mode and access-uplink mode).
See Queue management policies for more information about configuring slope policies on the 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12.
Slope policies define WRED parameters used to manage congestion at queuing points in the network.
This section provides configuration guidelines for slope QoS policies.
Two WRED slopes are supported per queue, one each for in-profile or high-priority traffic and out-of-profile or low-priority traffic.
The hardware supports a limited amount of profiles, out of which some are reserved for system internal use and the rest is available for user configuration. It is not possible to allocate a unique profile for each and every queue available on platform. Multiple queues will need to share the same WRED profile. Software manages the allocation of hardware WRED profiles based on user configuration. It automatically allocates a single WRED hardware profile if multiple queues use the same slope parameters (that is, max-average, start-average, drop probability and time average factor). Only if these parameters differ, it allocates a different hardware WRED profile for use by the queue. A WRED profile (that is, each high-slope and low-slope) allows the user to specify the slope parameters, such as maximum average, start average, drop probability, and time average factor (TAF).
Note: Though the WRED profile is shared among queues, the WRED state (for example, average queue size) is maintained independently for each queue in the hardware. |
A basic slope QoS policy must conform to the following:
Configuring and applying slope policies is optional. If no slope policy is explicitly applied to a port, a default slope policy is applied.
To create a new slope policy, define the following:
Use the following CLI syntax to configure a slope policy for 7210 SAS-T, 7210 SAS-Sx/S 1/10GE and 7210 SAS-Sx 10/100GE:
The following displays the slope policy configuration for 7210 SAS-T, 7210 SAS-Sx/S 1/10GE and 7210 SAS-Sx 10/100GE:
Apply slope policies to the egress buffer pool on the access and network ports.
The following CLI syntax examples may be used to apply slope policies to ports:
The default access egress and network egress policies are identified as policy-id “default”. The default policies cannot be edited or deleted. The following table displays default policy parameters:
A slope policy is associated by default with access and network egress pools. A default policy may be replaced with a non-default policy, but a policy cannot be entirely removed from the configuration. When a non-default policy is removed, the policy association reverts to the default slope policy policy-id default. A QoS policy cannot be deleted until it is removed from all ports where it is applied or if the policies are using the slope-policy.
The following CLI syntax examples can be used to remove slope policies from ports:
To delete a slope policy, enter the following command:
You can copy an existing slope policy, rename it with a new policy ID value, or overwrite an existing policy ID. The overwrite option must be specified or an error occurs if the destination policy ID exists.
The following output displays the copied policies for:
You can change existing policies and entries in the CLI or NMS. The changes are applied immediately to all services where this policy is applied. To prevent configuration errors copy the policy to a work area, make the edits, and then write over the original policy.