Configuration manual

The QoS CLI Command Flow
17-14 Configuring Quality of Service
The QoS CLI Command Flow
Procedure 17-1 provides a CLI flow summary of each step in the configuration flow along with the
show commands to verify the configuration.
Procedure 17-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.
show cos port-type irl
show cos port-type flood-ctrl
2. 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
3. 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
4. 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.
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
5. 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.
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
6. 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
7. Modify a currently configured CoS or create a
new CoS. Verify the new CoS configuration. All
IRL to port group mappings are associated with
the inbound rate limiter reference.
set cos settings cos-list [priority priority] [tos-
value
tos-value] [irl-
reference irl-reference]
show cos settings
8. Enable CoS state for the system. Verify the new
CoS state.
set cos state enable
show cos state
9. For IRL, associate the CoS with a policy profile. set policy profile profile-index cos-status
enable cos cos-num