Chapter 20: Quality of Service (QoS) Commands
314
CREATE QOS POLICY
Syntax
create qos policy=integer [description=”string”]
[indscpoverwrite=integer|none]
[remarkindscp=all|none]
[trafficclasslist=integers|none]
[ingressport=port|all|none]
[egressport=port|none]
Parameters
policy Specifies an ID number for the policy. Each policy on
the switch must be assigned a unique number. The
range is 0 to 255. The default is 0. This parameter is
required.
description Specifies a description for the policy. The description
can be from 1 to 15 alphanumeric characters. Spaces
are allowed. If the description contains spaces, it
must be enclosed in double quotes. Otherwise, the
quotes are optional. This parameter is optional, but
recommended. Names can help you identify the
policies on the switch.
indscpoverwrite Specifies a replacement value to write into the DSCP
(TOS) field of the packets. The range is 0 to 63. If
None is specified, the DSCP value in the packets is
not changed. The default is None.
A new DSCP value can be set at all three levels: flow
group, traffic class, and policy. A DSCP value
specified in a flow group overrides a DSCP value
specified at the traffic class or policy level. A DSCP
value specified at the policy level is used only if no
value has been specified at the flow group and
traffic class levels.
remarkindscp Specifies the conditions under which the ingress
DSCP value is overwritten. If All is specified, all
packets are remarked. If None is specified, the
function is disabled. The default is None.
trafficclasslist Specifies the traffic classes to be assigned to the
policy. The specified traffic classes must already
exist. Separate multiple IDs with commas (e.g.,
4,11,13).