Use this command to configure a Class of Service entry.
cos-list | Specifies a Class of Service entry. Valid values are 0 - 255. |
priority priority | (Optional) Specifies a CoS priority value. Valid values are 0 - 7, with 0 being the lowest priority. |
tos-value tos-value | (Optional) On the S- and K-Series specifies a Type of Service value with mask in the format of 0 - 255:0 - 255 or 0 - 0xFF:0 - 0xFF. On the 7100-Series specifies a Type of Service value in the format of 0 - 255 or 0 - 0xFF. |
txq-reference txq-reference | (Optional) Specifies the transmit queue associated with this entry. Valid values are 0 - 15 on the S- and K-Series and 8 - 15 on the 7100-Series. |
irl-reference irl-reference | (Optional) Specifies the inbound rate limiter associated with this entry. Valid values are 0 - 31. |
orl-reference orl-reference | (Optional) Specifies the outbound rate limiter associated with this entry. Valid values are 0 - 3 for port type 0 and 0 - 15 for port type 1 (S-, K-Series). |
flood-ctrl flood-ctrl | (Optional) Specifies the flood rate limiter associated with this entry. Valid values are 0 - 2 (S-, K-Series). |
drop-precedence drop-precedence | (Optional) Specifies a drop precedence for this entry. Valid values are 0 - 2 (S-, K-Series). |
If no optional parameters are specified for an already existing CoS, none will be applied. If a new CoS entry is configured with no optional parameters specified, txq-reference is set to 0 for the S- and K-Series and 8 for the 7100-Series. On the S- and K-Series, flood-ctrl is set to disabled; no other options are applied.
All command modes.
By default only CoS entries 0 - 7 are configured. On the 7100-Series, changing CoS entries 0 - 7 is not supported. Additional CoS entries may be created by entering a value between 8 - 255 inclusive. If no additional options are specified, the new CoS entry is configured with TxQ set to 0 and flood control set to enabled.
On the S- and K-Series, drop-precedence is a CoS settings option. CoS settings are assigned to a policy rule. In a Flex-Edge context, drop precedence is limited to rules that apply to a single port and specify a traffic classification of either port or macsource. For any packets matching the policy rule, you can assign one of three drop-precedence priority levels:
The 7100-Series does not support the setting bits 1 and 0 for the tos-value option with the end result being that the highest ToS value supported using the tos-value option is 0xFC.
This S- and K-Series example shows how to create CoS entry 10 with a priority value of 3 and bind it to transmit queue reference ID 5:
System(rw)->set cos settings 10 priority 3 txq-reference 5
This 7100-Series example shows how to create CoS entry 10 with a priority value of 3 and bind it to transmit queue reference ID 8:
System(rw)->set cos settings 10 priority 3 txq-reference 8