Sometimes, a device may not be configured (or capable) or DiffServe. In that case, the device will use the IP Precedence.
DSCP uses the 6 high order bits of the TOS field.
IP Precedence uses the 3 high order bits of the TOS field.
So if you look at a DSCP of 40 it looks like this in binary:
101000
But to the non-DiffServe device, it only looks at the 3 high order bits:
101
Which is a 5
Likewise, a DSCP of 31 is 011111 but for an IP Precedence device only the first 3 bits are seen 011 which is 3.
This is the default, however, the mapping can be changed to whatever we want.
Main Topics
Browse All Topics





by: rochey2009Posted on 2009-11-03 at 09:26:39ID: 25731291
Hi,
---------- ---
Dscp-cos map:
d1 : d2 0 1 2 3 4 5 6 7 8 9
--------------------------
0 : 00 00 00 00 00 00 00 00 01 01
1 : 01 01 01 01 01 01 02 02 02 02
2 : 02 02 02 02 03 03 03 03 03 03
3 : 03 03 04 04 04 04 04 04 04 04
4 : 05 05 05 05 05 05 05 05 06 06
5 : 06 06 06 06 06 06 07 07 07 07
6 : 07 07 07 07
If you take a cross section of row 6 col 3 for DSCP 63 you get a COS of 7, so DSCP 63 gets mapped to COS 7