The QoS CLI Command Flow
February 22, 2008
Page 21 of 29
The QoS CLI Command Flow
Procedure 1
provides
a
CLI
flow
summary
of
each
step
in
the
configuration
flow
along
with
the
show
commands
to
verify
the
configuration.
Procedure 1 Class of Service CLI Configuration Command Summary
Step
Task
Command(s)
1.
Inspect both the TxQs and IRL support for the
installed ports. This information is used to
determine the module port type for port group.
Matrix(su)->
show cos port-type txq
Matrix(su)->
show cos port-type irl
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.
Matrix(su)->
set cos port-config txq
port_group.port_type
name
name
ports
ports
arb-percentage
perc_list
Matrix(su)->
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.
Matrix(su)->
set cos port-config irl
port_group.port_type
name
name
ports
ports_list
Matrix(su)->
show cos port-config irl
4.
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.
Matrix(su)->
set cos port-resource
txq
port_group.port_type
tx_queue
unit
unit
rate
rate
Matrix(su)->
show cos port-resource
txq
port_group.port_type
5.
Configure a CoS inbound 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 IRL cos
reference.
Matrix(su)->
set cos port-resource
irl
port_group.port_type
index
unit
unit
rate
rate
syslog
setting
trap
setting
disable-port
setting
Matrix(su)->
show cos port-resource
irl
port_group.port_type
6.
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 new CoS
reference configuration.
Matrix(su)->
set cos reference txq
port_group.port_type
reference
queue
queue
Matrix(su)->
show cos reference txq
port_group.port_type
7.
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.
Matrix(su)->
set cos reference irl
port_group.port_type
reference
rate-limit
IRLreference
Matrix(su)->
show cos reference irl
port_group.port_type