Reference Guide
Default Not congured
Command Mode INTERFACE
Usage Information Attach only one policy-map to the interface input and output for each qos and queuing policy-map type. You can
attach four service-policies to the system QoS — one each for qos and queueing type policy-maps. When you
congure service policies at the interface-level and system-level, the interface-level policy takes precedence over
the system-level policy.
Example
OS10(conf-if-eth1/1/7)# service-policy input type qos p1
Supported Releases 10.2.0E or later
set cos
Sets a cost of service (CoS) value to mark L2 802.1p (dot1p) packets.
Syntax
set cos cos-value
Parameters cos-value — Enter a CoS value (0 to 7).
Default Not congured
Command Mode POLICY-MAP-CLASS-MAP
Usage Information You cannot enter two set statements with the same action-type. If you enter two set statements with the same
action-type, the second statement overwrites the rst. When class-map type is qos, the qos-group corresponds
to data queues 0 to 7.
Example
OS10(conf-pmap-c-qos)# set cos 6
Supported Releases 10.2.0E or later
set dscp
Sets the drop precedence for incoming packets based on their DSCP value and color map prole.
Syntax
set dscp dscp-value [color {red | yellow}]
Parameters
• dscp-value — Enter a DSCP value (0 to 63).
• color — (Optional) — Enter to apply a color map prole.
• red — (Optional) Enter to mark the packets to drop.
• yellow — (Optional) Enter to mark the packets to deliver to the egress queue.
Default Not congured
Command Mode POLICY-MAP-CLASS-MAP
Usage Information The QoS ingress QoS policy type only supports this command. Packets marked as color yellow deliver to the
egress queue, then the egress queue transmits the packets with the available bandwidth. If bandwidth is not
available, the packets drop. All packets marked as color red drop. When class-map type is qos, the qos-group
corresponds to data queues 0 to 7.
Example
OS10(conf-pmap-c-qos)# set dscp 10 color yellow
508 Quality of service