Command Guide of WGSW-28040
264
5 - 25 dis- N/A
6 - N/A ena- 6
7 - N/A ena- 7
8 - N/A ena- 8
4.21.5 qos cos
Command:
qos cos
<0-7>
Parameter:
cos
<0-7>
Specify the CoS value for the interface.
Default:
Default CoS value for interface is 0.
Mode:
Interface Configuration
Usage Guide:
Sometimes, there is no qos information in the packets, such as CoS, DSCP, IP Precedence. But we still can give the
priority for packets by configuring the interface default cos value. If there is no qos information in the packets, the
device will use this default cos value and find the cos-queue map to get the final destination queue.
Use “
qos cos
” command to assign port default cos value.
Example:
This example shows how to configure default cos value 7 on interface gi1.
Switch(config)#
interface GigabitEthernet 1
Switch(config-if)#
qos cos 7
Switch(config-if)#
end
Switch#
show qos interface GigabitEthernet 1
Port | CoS | Trust State | Remark Cos | Remark DSCP | Remark IP Prec
--------+-------+---------------+------------+-------------+----------------
gi1 | 7 | enabled | disabled | disabled | disabled |