set cos port-config txq

Use this command to set the Class of Service transmit queue port group configuration.

Syntax

set cos port-config txq group-type-index [name name] [ports port-list] [append | clear] [arb-slice slice-list] [arb-percentage percentage-list] [enhanced-groups group-id] [enhanced-percentage bandwidth]

Parameters

group-type-index (Optional) Displays information for a specific port group-type index. 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.
name name (Optional) Specifies a name for this configuration.
ports port-list (Optional) Applies this configuration to one or more ports in the port group.
append | clear (Optional) Appends or clears port designations from a previously configured port group.
arb-slice slice-list (Optional) The number of slices of transmit resources allocated to each queue of a port. Input is in the format of x0,x1,x2,...,xn.
arb-percentage percentage-list (Optional) The percentage of slices of transmit resources allocated to each queue of a port. Input is in the format of x0,x1,x2,...,xn.
enhanced-groups group-id (Optional) The enhanced transmission selection groups assigned to port transmit queues.
enhanced-percentage bandwidth (Optional) The amount of bandwidth assigned to the enhanced transmission selection queue group

Defaults

  • If a name is not specified, no name will be applied.
  • If not specified, this configuration will be applied to all ports in the port group.
  • If append or clear are not specified, port(s) will be appended to the specified port grouping.
  • If arb-slice or arb-percentage values are not specified, default allocations will be applied.
  • If enhanced-groups is specified, the group ID or 0 must be specified.
  • If enhanced-percentage is specified, a bandwidth percentage must be specified for each enhanced group or 0 is no enhanced group is configured using the enhanced-groups option

Mode

All command modes.

Usage

Enhanced Transmission Selection (ETS) queuing provides for the designation of two or more traffic class queues (0 - 7) to be allocated for bandwidth that will not be serviced until all non-ETS queues are empty.

Use the enhanced-groups option to specify the group ID of the ETS queue. Each queue is specified, delineated by a comma (,), with either a group ID or 0 for a non-ETS queue. The S- and K-Series supports the configuration of up to eight ETS groups. The 7100-Series supports the configuration of up to two ETS groups.

Use the enhanced-percentage option to specify the percentage of bandwidth to be applied to the ETS group (traffic class). Aggregate ETS bandwidth must total 100%. A value is specified for each traffic class 0 - 7 delineated by a comma (,) as either a bandwidth percentage for any traffic class configured for ETS queuing or 0 for non-ETS traffic classes.

See Data Center Bridging Configuration in the S-, K-, and 7100 Series Configuration Guide for ETS configuration details.

Examples

This example shows how to create a CoS transmit queue port group entry named testTxq with a port group ID of 2 and a port type ID of 0:

System(rw)->set cos port-config txq 2.0 name “testTxq”

This example assigns ETS groups to an 11 queue device, followed by allocation of ETS bandwidth to the assigned groups. Using the enhanced-groups option, ETS group to queue assignment is:

  • Group 2 to queues 0, 1, and 2
  • Group 4 to queues 3 and 4

Using the enhanced-percentage option the assigned ETS bandwidth allocation is:

  • 30 percent to group 2
  • 70 percent to group 4
    System(rw)->set cos port-config txq 2.1 name testTxq enhanced-groups 2,2,2,4,4,0,0,0,0,0,0,0 enhanced-percentage 0,30,0,70,0,0,0,0