device# configure terminal
device(config)# qos-mpls map traffic-class-exp tcExpMap
device(traffic-class-exp-tcExpMap)# traffic-class 0 drop-precedence 0 to exp 7 device(traffic-class-exp-tcExpMap)# traffic-class 1 drop-precedence 0 to exp 6 device(traffic-class-exp-tcExpMap)# traffic-class 4 drop-precedence 0 to exp 3 device(traffic-class-exp-tcExpMap)# traffic-class 5 drop-precedence 0 to exp 2 device(traffic-class-exp-tcExpMap)# traffic-class 6 drop-precedence 0 to exp 2 device(traffic-class-exp-tcExpMap)# traffic-class 7 drop-precedence 0 to exp 1 device(traffic-class-exp-tcExpMap)# end
device(traffic-class-exp-tcExpMap)# end
device# show qos-mpls maps traffic-class-exp traffic-class-cos map 'TcExpMap' (Drop-Precedence = dp) dp: traffic-class : 0 1 2 3 4 5 6 7 ------------------- ------------------------ 0: exp : 7 6 2 3 3 2 2 1 1: : 0 1 2 3 4 5 6 7 2: : 0 1 2 3 4 5 6 7 3: : 0 1 2 3 4 5 6 7 Enabled on the following slots :
device# copy running-config startup-config
This example summarizes the commands in this procedure.
device# configure terminal device(config)# qos-mpls map traffic-class-exp tcExpMap device(traffic-class-exp-tcExpMap)# traffic-class 0 drop-precedence 0 to exp 7 device(traffic-class-exp-tcExpMap)# traffic-class 1 drop-precedence 0 to exp 6 device(traffic-class-exp-tcExpMap)# traffic-class 4 drop-precedence 0 to exp 3 device(traffic-class-exp-tcExpMap)# traffic-class 5 drop-precedence 0 to exp 2 device(traffic-class-exp-tcExpMap)# traffic-class 6 drop-precedence 0 to exp 2 device(traffic-class-exp-tcExpMap)# traffic-class 7 drop-precedence 0 to exp 1 device(traffic-class-exp-tcExpMap)# end device# show qos-mpls maps traffic-class-exp device# copy running-config startup-config