Reference Guide

Supported Releases 10.4.0E(R1) or later
service-policy
Congures the input and output service policies.
Syntax
service-policy {input | output} [type {qos | queuing | network-qos}] policy-
map-name
Parameters
input — Enter to assign a QoS policy to the interface input.
output — Enter to assign a QoS policy to the interface output.
qos — Enter to assign a qos type policy-map.
queuing — Enter to assign the queuing type policy-map.
network-qos — Enter to assign the network-qos type policy-map.
policy-map-name — Enter the policy-map name (up to 32 characters).
Default Not congured
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, queueing, and network-qos type policy-
maps. When you congure 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 congured
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
Quality of service 585