Reference v4.1.0 Instruction Manual

572 Network OS Command Reference
53-1003115-01
qos cos
2
qos cos
Specifies the interface Class of Service (CoS) value.
Synopsis qos cos value
no qos cos
Operands value Specifies the CoS value. Valid values range from 0 through 7.
Defaults The default is 0.
Command Modes Interface subtype configuration mode
Description Use this command to specify the interface Default CoS value. When Interface ingress QoS Trust is
in the un-trusted mode, then the Interface Default CoS value is applied to all ingress traffic for user
priority mapping. When the interface ingress QoS Trust is in the CoS mode, then the Interface
Default CoS value is applied to all nonpriority tagged ingress traffic for user priority mapping.
Usage Guidelines If the interface is QoS trusted, the CoS value of the interface is used to assign a CoS value to all
untagged packets entering the interface.
QoS Trust is implicitly turned on when the QoS CoS-Mutation map is applied to interfaces, and is
implicitly turned off when the QoS CoS-Mutation map is removed.
Enter no qos cos to return the CoS value to the default.
Examples To set the CoS value to 2 on a specific 40-gigabit Ethernet interface:
switch(config)# interface fortygigabitethernet 1/3/1
switch(conf-if-fo-1/3/1)# qos cos 2
To return the CoS value to the default on a specific port-channel interface:
switch(config)# interface port-channel 22
switch(config-port-channel-22)# no qos cos
See Also interface, qos map cos-traffic-class, qos trust cos, show qos interface