Users Guide

network-qos type policy-maps. When you configure interface-level policies and system-level policies,
the interface-level policy takes precedence over the system-level policy.
To apply the network-QoS policy to a single interface or a range of interfaces, perform the following
steps:
1. Run the interface ethernet or interface range ethernet command to select a single or
a range of upstream and downstream interfaces, respectively.
2. Run the service-policy input type network-qos command to apply the network-QoS
policy only to the selected interfaces.
Ensure you do not apply the policy in the global SYSTEM-QoS mode because it might cause CRC errors
on the remote-end fiber channel devices.
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, from 0 to 7.
Default Not configured
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 first. 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 profile.
Syntax
set dscp dscp-value [color {red | yellow}]
Parameters
dscp-value Enter a DSCP value, from 0 to 63.
color (Optional) Enter to apply a color map profile.
red (Optional) Enter to mark the packets to drop.
yellow (Optional) Enter to mark the packets to deliver to the egress queue.
Default Not configured
Command Mode POLICY-MAP-CLASS-MAP
Usage
Information
This command supports only QoS ingress policy type. 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
Supported
Releases
10.2.0E or later
1596 Quality of service