qos cos

Changes the interface default Class of Service (CoS) value.

Syntax

qos cos cos_value

Command Default

The default is 0.

Parameters

value
Specifies the CoS value. Valid values range from 0 through 7.

Modes

Interface configuration mode

Usage Guidelines

Examples

To set the CoS value to 2 on a specific Ethernet interface:

device# configure terminal
device(config)# interface ethernet 1/3
device(conf-if-eth-1/3)# qos cos 2

To set the CoS value to 2 on a specific port channel interface:

device# configure terminal
device(config)# interface port-channel 22
device(config-port-channel-22)# qos cos 2