
CLI user manual
37
Example:
Use CoS of Port 1, 3, 4
Switch (QoS)#
check 1, 3, 4 2
[OK]
Example:
Use ToS of Port 2, 3, 5
Switch (QoS)#
check 2, 3, 5 1
[OK]
9.3 QoS queue configuration
The user can use the following command to configure the QoS queue mechanism.
Table 9.3.1 QoS queue configuration:
Operating
Command
Description
QoS
Queue
configuration
Queuingm
{0|1}
0: weight ratio (8:4:2:1)
1: high priority priority
Example: set the QoS queue mechanism to weight ratio (8:4:2:1)
Switch (QoS) #
queuingm 0
[OK]
9.4 The value of Dscp/Tos mapping
The user can use the following command to configure the Dscp/cos value map
Table 9.4.1 Dscp/cos mapping configuration command:
Operating
Command
Description
The value of Cos
mapping
Config cos
<coslist> <classlist>
<coslist>
:
CoS Mapping value
,
0
,
1
,
2-7
<classlist>
:
The priority queue
L: low; N: normal;
M: medium; H: high
The value of Dscp
mapping
Config
tos
<dscplist>
<classlist>
<dscplist>
:
ToS Mapping value
,
1
,
2
,
3-64
<classlist>
:
The priority queue
L: low; N: normal;
M: medium; H: high
Example: set the CoS value of 0, 2, 5, 7 respectively corresponding to the priority queue for
Low, Normal, Medium, High
Switch(QoS)# config cos 0,2,5,7 l,n,m,l
CoS value:0 priority:Low
CoS value:2 priority:Normal
CoS value:5 priority:Medium
CoS value:7 priority:Low
9.5 The default port priority allocation
The user can configure a default port priority to use the following command.