• Author : Digvijay Gahlot

 
 

Match MPLS in QoS class-maps

Classification of MPLS packets based on traffic-class bits in MPLS header for QoS Policy-Maps. Platform compatibility DCS-7020R DCS-7280R DCS-7280R2 DCS-7500 DCS-7500R2 Configuration 7500(config)#hardware tcam 7500(config-hw-tcam)#system profile qos 7500(config-hw-tcam)#exit 7500(config)#class-map type qos match-any class1 7500(config-cmap-qos-class1)#match mpls traffic-class ? $      end of range <0-7>  Match packets by Mpls Traffic Class value 7500(config-cmap-qos-class1)#match mpls traffic-class 4 7500(config-cmap-qos-class1)#exit 7500(config)#policy-map type qos policy1 7500(config-pmap-qos-policy1)#class class1 7500(config-pmap-c-qos-policy1-class1)#set traffic-class 3 7500(config-pmap-c-qos-policy1-class1)#exit 7500(config-pmap-qos-policy1)#exit 7500(config)#interface ethernet 3 7500(config-if-Et3)#service-policy input policy1 7500(config-if-Et3)#exit Status 7500(config)#show class-map class1   Class-map: class1 (match-any)     Match: mpls traffic-class 4 7500(config)#show policy-map policy1 Service-policy input: policy1   Hardware programming status: Successful   Class-map: class1 (match-any)...
Continue reading →