Configuration Guide QoS Configuration
2 46
3 40
4 34
5 32
6 26
7 24
Configuring DSCP-to-CoS Map
DSCP-to-CoS is used to map internal DSCP value to CoS value so that it is possible to
select output queue for messages.
The default value of DSCP-to-CoS Map is provided in the default QoS configuration
section. You may follow these steps to set DSCP-to-CoS Map:
Ruijie#configure terminal
Enter the configuration mode
Ruijie(config)# mls qos map
dscp-cos dscp-list to cos
Set DSCP to COS Map,
where dscp-list is the list of DSCP values to be set,
DSCP values delimited by spaces, value range
varying with specific products, cos means the CoS
values corresponding to the DSCP values, ranging
0~7
Ruijie(config)# no mls qos map
dscp-cos
For example, the following steps set the DSCP values 0, 32 and 56 to map 6:
Ruijie# configure terminal
Ruijie(config)# mls qos map dscp-cos 0 32 56 to 6
Ruijie(config)# show mls qos maps dscp-cos
dscp cos dscp cos dscp cos dscp cos
---- --- ---- --- ---- --- ---- ---
0 6 1 0 2 0 3 0
4 0 5 0 6 0 7 0
8 1 9 1 10 1 11 1
12 1 13 1 14 1 15 1
16 2 17 2 18 2 19 2
20 2 21 2 22 2 23 2
24 3 25 3 26 3 27 3
28 3 29 3 30 3 31 3
32 6 33 4 34 4 35 4
36 4 37 4 38 4 39 4
40 5 41 5 42 5 43 5
44 5 45 5 46 5 47 5
48 6 49 6 50 6 51 6
52 6 53 6 54 6 55 6
56 6 57 7 58 7 59 7
60 7 61 7 62 7 63 7