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

Marking to Precedence 0 in l2transport interface

jgomila74
Level 1
Level 1

Hi,

I have the following Class of Service and I need to mark the incoming traffic to "0" in order to put the traffic en Bronce queue. The platform is ASR9010 and the line card is A9K-MPA-4X10GE.

Class of Service        Precedence

Real Time                               5
Video                                      4
Platino                                    3
Oro                                         2
Plata                                      1
Bronce                                   0



class-map match-any MM
match precedence 5
end-class-map
!
class-map match-any Oro
match precedence 2
end-class-map
!
class-map match-any Plata
match precedence 1
end-class-map
!
class-map match-any VIDEO
match precedence 4
end-class-map
!
class-map match-any BRONCE
match precedence 0
end-class-map
!
class-map match-any GESTION
match precedence 6 7
end-class-map
!
class-map match-any PLATINO
match precedence 3
end-class-map
!


policy-map QOS_BACKBONE
class BRONCE
bandwidth percent 10
class ORO
bandwidth percent 10
class PLATA
bandwidth percent 10
class PLATINO
bandwidth percent 10
class VIDEO
bandwidth percent 15
class MM
police rate percent 30
priority level 1
class class-default
end-policy-map

The the subinterface configuration is the following:

interface TenGigE0/4/0/1.214 l2transport
description XXXXXXX
encapsulation dot1q 214
service-policy input l2transport
mtu 9216

How the service-policy input must be configured?

class-map match-all l2transport
match any
policy-map l2transport
class l2transport
set ip precedence 0

1 Reply 1

Aleksandar Vidakovic
Cisco Employee
Cisco Employee

I'm not sure whether setting an L3 header parameter on a L2 interface works, but you should be able to do the following:

  1. mark the traffic on ingress with a qos-group of your choice.
  2. use that qos-group for classification in the egress policy
  3. set the IP precedence in the egress policy

This would also give you some more flexibility.

Hope this helps,

Aleksandar