queue

Syntax

queue <QUEUE-NUMBER> action ecn all threshold  <AMOUNT> kbytes

no queue <QUEUE-NUMBER> action ecn all threshold  <AMOUNT> kbytes 

Description

Defines the threshold value and action for a queue in a threshold-profile. When queue utilization exceeds the threshold value, ECT (ECN-Capable Transport) packets will be CE (Congestion Encountered) marked when transmitted.

The no form of this command removes the settings for a queue.

Command context

config-threshold

Parameters

<QUEUE-NUMBER>

Specifies the queue number. Range: 0 to 7.

action ecn

Apply ECN when the threshold is exceeded.

all

Applies the action to all colors. Colors are reserved for future use.

threshold <AMOUNT> kbytes

Specifies the threshold value in kbytes from 0 to 1700.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Assigning a threshold of 40 kilobytes to queue 7 in profile mythreshold:

switch(config)# qos threshold-profile mythreshold
switch(config-threshold)# queue 7 action ecn all threshold 40 kbytes

Removing a threshold of 40 kilobytes from queue 7 in profile mythreshold:

switch(config)# qos threshold-profile mythreshold
switch(config-threshold)# no queue 7