device# configure terminal
device(config)# qos-mpls map exp-traffic-class expTcMap
device(exp-traffic-class-expTcMap)# exp 0 to traffic-class 7 drop-precedence 0 device(exp-traffic-class-expTcMap)# exp 1 to traffic-class 7 drop-precedence 1 device(exp-traffic-class-expTcMap)# exp 4 to traffic-class 7 drop-precedence 0 device(exp-traffic-class-expTcMap)# exp 5 to traffic-class 7 drop-precedence 1 device(exp-traffic-class-expTcMap)# exp 6 to traffic-class 7 drop-precedence 2 device(exp-traffic-class-expTcMap)# exp 7 to traffic-class 7 drop-precedence 3
device(exp-traffic-class-expTcMap)# end
device# show qos-mpls maps exp-traffic-class exp-traffic-class map 'expTcMap' Exp : 0 1 2 3 4 5 6 7 ------- ------------------------ Traffic-class: 5 5 4 6 5 5 5 5 Drop-Preced : 0 1 1 1 0 2 2 1 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 exp-traffic-class expTcMap device(exp-traffic-class-expTcMap)# exp 0 to traffic-class 7 drop-precedence 0 device(exp-traffic-class-expTcMap)# exp 1 to traffic-class 7 drop-precedence 1 device(exp-traffic-class-expTcMap)# exp 4 to traffic-class 7 drop-precedence 0 device(exp-traffic-class-expTcMap)# exp 5 to traffic-class 7 drop-precedence 1 device(exp-traffic-class-expTcMap)# exp 6 to traffic-class 7 drop-precedence 2 device(exp-traffic-class-expTcMap)# exp 7 to traffic-class 7 drop-precedence 3 device(exp-traffic-class-expTcMap)# end device# show qos-mpls maps exp-traffic-class device# copy running-config startup-config