set cos port-resource txq

Use this command to configure a Class of Service transmit queue port resource entry.

Syntax

set cos port-resource txq group-type-index transmit-queue {[unit {percentage | kbps | mbps | gbps}] [rate rate] [algorithm tail-drop]}

Parameters

group-type-index Specifies a transmit queue port group-type index for this entry. Valid entries are in the form of group.type. Group can be 0 - 11, with 0 designating the default group, and 1 - 11 reserved for user-defined groups. Port type can be 0 - 1 for the S- and K-Series and 0 for the 7100-Series.
transmit-queue Specifies a single or range of transmit queues to be associated with this entry. Valid values for the S-Series are type 0: 0-10; type 1: 0 - 14. Valid values for the K-Series are type type 1: 0 - 14. Valid values for the 7100-Series are type 0: 0-7.
unit percentage | kbps | mbps | gbps Specifies the unit of measure as percentage of total bandwidth, or kilobits, megabits, or gigabits per second.
rate rate (Optional) Specifies a data rate in units for this transmit queue.
algorithm tail-drop (Optional) Sets the algorithm by which transmit frames are discarded from the tail of the queue.

Defaults

  • If a rate is not specified, port defaults will be applied.
  • If not specified, no algorithm will be assigned.

Mode

All command modes.

Examples

This S- and K-Series example shows how to configure a Class of Service port resource entry for port group 0.1 assigning 50 percent of the total available inbound bandwidth to transmit queue 7:

System(rw)->set cos port-resource txq 0.1 7 unit percentage 50

This 7100-Series example shows how to configure a Class of Service port resource entry for port group 0.0 assigning 50 percent of the total available inbound bandwidth to transmit queue 7:

System(rw)->set cos port-resource txq 0.0 7 unit percentage 50