Class of Service CLI Configuration Command Summary provides a CLI flow summary of each step in the configuration flow along with the show commands to verify the configuration.
Step | Task | Command(s) |
---|---|---|
1 | Inspect the TxQs, IRL, ORL, and flow control support for the installed ports. This information is used to determine the module port type for port group. ORL is supported on the S- and K-Series |
show cos port-type txq show cos port-type irl show cos port-type orl show cos port-type flood-ctrl |
2 | Set the CoS transmit queue port group configuration by mapping a physical port list to a port group for purposes of TxQ configuration. Optionally associate a name and the configuration of a TxQ weighted fair queue behavior configuration. Verify the new configuration. | 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] show cos port-config txq port_group.port_type |
3 | Set the CoS inbound rate-limit port group configuration by mapping a physical port list to a port group for purposes of IRL configuration, optionally allowing the association of a name for this configuration. Verify the new configuration. | set cos port-config irl port_group.port_type name name ports ports_list show cos port-config irl |
4 | Set the CoS outbound rate-limit port group configuration by mapping a physical port list to a port group for purposes of ORL configuration, optionally allowing the association of a name for this configuration. Verify the new configuration (S-, K-Series). | set cos port-config orl port_group.port_type name name ports ports_list show cos port-config orl |
5 | Set the CoS flood control limit port group configuration by mapping a physical port list to a port group for purposes of flood control configuration, optionally allowing the association of a name for this configuration. Verify the new configuration. | set cos port-config flood-ctrl port_group.port_type name name ports ports_list show cos port-config flood-ctrl |
6 | Configure a Class of Service transmit queue port resource entry, by mapping a port group with a transmit queue and applying a TxQ rate shaping value to the mapping. Verify configuration changes. | set cos port-resource txq port_group.port_type tx_queue unit unit rate rate show cos port-resource txq port_group.port_type |
7 | Configure a CoS inbound rate limiting index entry, by mapping a port group with a rate-limit value. The S- and K-Series support the ability to optionally set syslog, trap, and/or disable port behaviors should the limit be exceeded. This index is used by the rate-limit option when setting an IRL cos reference. The syslog, trap, and disable-port options are supported on the S- and K-Series. |
set cos port-resource irl port_group.port_type index unit unit rate rate syslog setting trap setting disable-port setting show cos port-resource irl port_group.port_type |
8 | Configure a CoS outbound rate limiting index entry, by mapping a port group with a rate-limit value, along with the ability to optionally set syslog, trap, and/or disable port behaviors should the limit be exceeded. This index is used by the rate-limit option when setting an ORL cos reference (S-, K-Series). | set cos port-resource orl port_group.port_type index unit unit rate rate syslog setting trap setting disable-port setting show cos port-resource orl port_group.port_type |
9 | Configure a CoS flood control index entry, by mapping a port group with a traffic type such as multicast or broadcast, along with the ability to optionally set syslog, trap, and/or disable port behaviors should the limit be exceeded. This index is used by the rate-limit option when setting a flood control cos reference (S-, K-Series). | set cos port-resource flood-ctrl port_group.port_type traffic-type unit unit rate rate syslog setting trap setting disable-port setting show cos port-resource flood-ctrl port_group.port_type |
10 | Set a CoS transmit queue reference configuration, by mapping a port group to a queue resource ID and associating the mapping with a transmit reference. Verify the new CoS reference configuration . | set cos reference txq port_group.port_type reference queue queue show cos reference txq port_group.port_type |
11 | Set a CoS inbound rate limiting reference configuration, by mapping a port group with a rate limiter resource ID and associating the mapping with an IRL reference. Verify the new CoS reference configuration. | set cos reference irl port_group.port_type reference rate-limit IRLreference show cos reference irl port_group.port_type |
12 | Set a CoS outbound rate limiting reference configuration, by mapping a port group with a rate limiter resource ID and associating the mapping with an ORL reference. Verify the new CoS reference configuration (S-, K-Series). | set cos reference orl port_group.port_type reference rate-limit IRLreference show cos reference orl port_group.port_type |
13 | Modify a currently configured CoS or create a new CoS. Verify the new CoS configuration. All TxQ to port group mappings are associated with the transmit queue reference. All IRL to port group mappings are associated with the inbound rate limiter reference. The orl-reference, drop-precedence, and flood-ctrl options are supported on the S- and K-Series. |
set cos settings cos-list [priority priority] [tos-value tos-value] [txq-reference txq-reference] [irl-reference irl-reference] [orl-reference orl-reference] [drop-precedence drop-precedence] [flood-ctrl flood-ctrl] show cos settings |
14 | Enable CoS state for the system. Verify the new CoS state. | set cos state enable show cos state |