CLI user manual
21
8.4 The value of Dscp/Tos mapping
The user can use the following command to configure the Dscp/cos value map
Table 8.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,
low,normal,medium,high
The value of Dscp
mapping
Config tos
<dscplist>
<classlist>
<dscplist>:ToS Mapping value,1,2,3-64
<classlist>:The priority queue,
low,normal,medium,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
8.5 The default port priority allocation
The user can configure a default port priority to use the following command.
Table 8.5.1 the default port priority allocation:
Operating
Command
Description
The default port priority
allocation
Default priority
<portlist>
<0-7>
<portlist>:port 1,2,3-10 or all
<0-7>
: Port priority
Example: set the default priority port 1 was 3
Switch(QoS) #
default priority 1 3
port1 default priority : 3
8.6 Qos configuration information
Users can use the following command to view the QoS information.
Table 8.6.1 view the Qos command:
Operating
Command
Description
To view the QoS queue
mechanism
Show queuingm
To view the CoS value map
Show cos
<coslist>
<coslist>:CoS Mapping value,0,1,2-7
To view the ToS value map
Show Tos
<dscplist>
<dscplist>:Dscp
Mapping
value,1,2,3-64