This command creates a text description stored in the configuration file for a configuration context.
The no form of this command removes any description string from the context.
n/a
This command enables the context to configure a QoS slope policy.
slope-policy “default”
The high-slope context contains the commands and parameters for defining the high-priority Weighted Random Early Detection (WRED) or Random Early Detection (RED) slope graph. Each queue supports a high-priority WRED/RED slope for managing access to the queue for low-priority or out-of-profile packets.
The high-slope parameters can be changed at any time and the affected queue high-priority WRED/RED slopes will be adjusted appropriately.
The no form of this command restores the high slope configuration commands to the default values. If the commands within high-slope are set to the default parameters, the high-slope mode will not appear in save config and show config output unless the detail parameter is present.
The low-slope context contains the commands and parameters for defining the low-priority or high-priority WRED/RED slope graph. Each queue supports a low-priority WRED/RED slope for managing access to the queue for low-priority or out-of-profile packets.
The low-slope parameters can be changed at any time and the queue low-priority WRED/RED slopes will be adjusted appropriately.
The no form of this command restores the low slope configuration commands to the default values. If the leaf commands within low-slope are set to the default parameters, the low-slope mode will not appear in save config and show config output unless the detail parameter is present.
This command sets the low-priority or high-priority WRED or RED slope position for the queue average usage value where the packet discard probability rises directly to one (maxThreshold or maxT). The percent parameter is expressed as a percentage of the maximum queue depth (buffer-based WRED) or a percentage of maximum payload of the queue (payload-based WRED).
The no form of this command restores the max-avg value to the default setting. If the current start-avg setting is larger than the default, an error will occur and the max-avg setting will not be changed to the default.
max-avg 90 (the high slope default is 90% queue usage before discard probability is 1)
max-avg 75 (the low slope default is 75% queue usage before discard probability is 1)
This command sets the high-priority or low-priority WRED/RED maximum discard probability (maxDP) at slope position max-avg. The percent parameter is expressed as a percentage of packet discard probability where always discard is a probability of 1. A max-prob value of 80 represents 80% of 1, or a packet discard probability of 0.8.
For bridging domain queues on the 2-port 10GigE (Ethernet) Adapter card and 2-port 10GigE (Ethernet) module, the queues support the following DP (discard probability) values: 0%, 1%, 2%, 3%, 4%, 5%, 6%, 7%, 8%, 9%, 10%, 25%, 50%, 75%, and 100%. User-configured values are rounded down to match these DP values.
For example, configuring a DP to be 74% means that the actual value used is 50%.
The no form of this command restores the max-prob value to the default setting.
max-prob 80 (80% maximum drop probability corresponding to the max-avg)
This command enables or disables the administrative status of the WRED/RED slope.
By default, all slopes are shut down and have to be explicitly enabled (no shutdown).
The no form of this command administratively enables the WRED/RED slope.
shutdown (the WRED/RED slope disabled, implying a zero (0) drop probability)
This command sets the high-priority or low-priority WRED/RED slope position for the queue average usage value where the packet discard probability starts to increase above zero (minThreshold or minT). The percent parameter is expressed as a percentage of the maximum queue depth (buffer-based WRED) or a percentage of maximum payload of the queue (payload-based WRED).
The no form of this command restores the start-avg value to the default setting. If the max-avg setting is smaller than the default, an error will occur and the start-avg setting will not be changed to the default.
This command copies existing QoS policy entries for a QoS policy-id to another QoS policy-id.
This command is a configuration level maintenance tool used to create new policies using existing policies. It also allows bulk modifications to an existing policy with the use of the overwrite keyword.
![]() | Note: The following command outputs are examples only; actual displays may differ depending on supported functionality and user configuration. |
This command displays slope policy information.
The following output is an example of slope policy information, and Table 51 describes the fields.
Label | Description |
Policy | The ID that uniquely identifies the policy |
Description | A text string that helps identify the policy’s context in the configuration file |
Time Avg | The time average factor, which is the exponential weight factor used in calculating the average queue size. The time_average_factor parameter is non-user-configurable, and is set to a system-wide default value of 3. |
High Slope Parameters | |
Start Avg | The high-priority WRED/RED slope position for the queue average usage value where the packet discard probability starts to increase above zero |
Max Avg | The high-priority WRED or RED slope position for the queue average usage value where the packet discard probability rises directly to one |
Admin State | enabled - the administrative status of the WRED/RED slope is enabled |
disabled - the administrative status of the WRED/RED slope is disabled | |
Max Prob. | The high-priority WRED/RED maximum discard probability (at slope position max-avg) |
Low Slope Parameters | |
Start Avg | The low-priority WRED/RED slope position for the queue average usage value where the packet discard probability starts to increase above zero |
Max Avg | The low-priority WRED or RED slope position for the queue average usage value where the packet discard probability rises directly to one |
Admin State | enabled - the administrative status of the WRED/RED slope is enabled |
disabled - the administrative status of the WRED/RED slope is disabled | |
Max Prob. | The low-priority WRED/RED maximum discard probability (at slope position max-avg) |
Associations | |
Object Type | The type of object using the specified slope policy |
Object Id | The identifier of the object using the specified slope policy |
Queue | The number of the queue using the specified slope policy |