set cos (policy map type qos)
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
set cos (policy map type qos)
To assign a class of service (CoS) value for a class of traffic in a type qos policy map, use the set
command. To remove the assigned value from the class, use the no form of this command.
Syntax Description
cos-value
Defaults
None
Command Modes
Policy map type qos class configuration
Supported User Roles
network-admin
vdc-admin
Command History
Release
4.0
Usage Guidelines
You can use the set cos (policy map type qos) command only on type qos policies that are attached to
egress ports.
This command does not require a license.
Examples
This example shows how to remove an assignment of CoS for a class of traffic in a type qos policy map:
switch(config)# policy-map my_policy1
switch(config-pmap-qos)# class traffic_class2
switch(config-pmap-c-qos)# no set cos 3
switch(config-pmap-c-qos)#
Related Commands
Command
show policy-map
Cisco Nexus 7000 Series NX-OS Quality of Service Command Reference, Release 5.x
QOS-74
set cos cos-value
no set cos cos-value
CoS value to assign for this class of traffic. Valid values are from 0 to 7.
Modification
This command was introduced.
Description
Displays policy maps and statistics.
Cisco Nexus 7000 Series NX-OS Quality of Service Commands
OL-23378-01