cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
366
Views
0
Helpful
1
Replies

unable to use cos to dscp mapping

Madura Malwatte
Level 4
Level 4

IE5000 running 15.2(4)EA5

How do I actually use the cos to dscp mappings? When I configure "match ip dscp 46 32", it's not displayed in the running config. I have configured a table-map but how do I apply it?

table-map cos-dscp-tablemap
map from 0 to 0
map from 1 to 8
map from 2 to 16
map from 3 to 24
map from 4 to 32
map from 5 to 46
map from 6 to 48
map from 7 to 56
default copy
!

Switch(config)#class-map match-any qos-egress-realtime

Switch(config-cmap)#match ip dscp ?

  <0-63>   Differentiated services codepoint value

  af11     Match packets with AF11 dscp (001010)

  af12     Match packets with AF12 dscp (001100)

  af13     Match packets with AF13 dscp (001110)

  af21     Match packets with AF21 dscp (010010)

  af22     Match packets with AF22 dscp (010100)

  af23     Match packets with AF23 dscp (010110)

  af31     Match packets with AF31 dscp (011010)

  af32     Match packets with AF32 dscp (011100)

  af33     Match packets with AF33 dscp (011110)

  af41     Match packets with AF41 dscp (100010)

  af42     Match packets with AF42 dscp (100100)

  af43     Match packets with AF43 dscp (100110)

  cs1      Match packets with CS1(precedence 1) dscp (001000)

  cs2      Match packets with CS2(precedence 2) dscp (010000)

  cs3      Match packets with CS3(precedence 3) dscp (011000)

  cs4      Match packets with CS4(precedence 4) dscp (100000)

  cs5      Match packets with CS5(precedence 5) dscp (101000)

  cs6      Match packets with CS6(precedence 6) dscp (110000)

  cs7      Match packets with CS7(precedence 7) dscp (111000)

  default  Match packets with default dscp (000000)

  ef       Match packets with EF dscp (101110)

 

Switch(config-cmap)#match ip dscp 46 32

Switch(config-cmap)#end

Switch#sh run

<output omitted..>

class-map match-any qos-egress-realtime

 match ip dscp cs4  cs5  ef

!

The configured line "match ip dscp 46 32" is missing? I can't even define these cos to dscp values in the queue-limit command either.

 

1 Reply 1

chrihussey
VIP Alumni
VIP Alumni

DSCP 46 translates to ef and DSCP 32 translates to cs4, so when you put those DSCP values in it changes them.

It is understandably confusing. Look at this link:

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus1000/sw/4_0/qos/configuration/guide/nexus1000v_qos/qos_6dscp_val.pdf

Hope this helps

Review Cisco Networking for a $25 gift card