--------------------------------
dscp:
10 15 20 25 30 35 40 45
This example shows how to modify and display the IP-precedence-to-DSCP map:
Switch(config)#
mls qos map ip-prec-dscp 10 15 20 25 30 35 40 45
Switch(config)#
end
Switch#
show mls qos maps ip-prec-dscp
IpPrecedence-dscp map:
ipprec:
0
1
2
3
4
5
6
7
--------------------------------
dscp:
10 15 20 25 30 35 40 45
This example shows how to map DSCP 50 to 57 to a marked-down DSCP value of 0:
Switch(config)#
mls qos map policed-dscp 50 51 52 53 54 55 56 57 to 0
Switch(config)#
end
Switch#
show mls qos maps policed-dscp
Policed-dscp map:
d1 :
d2 0
1
2
3
4
5
6
7
8
9
---------------------------------------
0 :
00 01 02 03 04 05 06 07 08 09
1 :
10 11 12 13 14 15 16 17 18 19
2 :
20 21 22 23 24 25 26 27 28 29
3 :
30 31 32 33 34 35 36 37 38 39
4 :
40 41 42 43 44 45 46 47 48 49
5 :
00 00 00 00 00 00 00 00 58 59
6 :
60 61 62 63
In this policed-DSCP map, the marked-down DSCP values are shown in the body of the matrix. The d1
column specifies the most-significant digit of the original DSCP; the d2 row specifies the least-significant
digit of the original DSCP. The intersection of the d1 and d2 values provides the marked-down value. For
example, an original DSCP value of 53 corresponds to a marked-down DSCP value of 0.
Note
This example shows how to map DSCP values 0, 8, 16, 24, 32, 40, 48, and 50 to CoS value 0 and to display
the map:
Switch(config)#
mls qos map dscp-cos 0 8 16 24 32 40 48 50 to 0
Switch(config)#
end
Switch#
show mls qos maps dscp-cos
Dscp-cos map:
d1 :
d2 0
1
2
3
4
5
6
7
8
9
---------------------------------------
0 :
00 00 00 00 00 00 00 00 00 01
1 :
01 01 01 01 01 01 00 02 02 02
2 :
02 02 02 02 00 03 03 03 03 03
3 :
03 03 00 04 04 04 04 04 04 04
4 :
00 05 05 05 05 05 05 05 00 06
5 :
00 06 06 06 06 06 07 07 07 07
6 :
07 07 07 07
In the above DSCP-to-CoS map, the CoS values are shown in the body of the matrix. The d1 column
specifies the most-significant digit of the DSCP; the d2 row specifies the least-significant digit of the
DSCP. The intersection of the d1 and d2 values provides the CoS value. For example, in the DSCP-to-CoS
map, a DSCP value of 08 corresponds to a CoS value of 0.
Note
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
638
Configuration Examples for QoS
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......