Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to apply 2 different QoS to 2 different subinterfaces

Hi all,

I have a 1006 ASR and I need to apply 2 different QoS policies to 2 different subinterfaces.

I have created a parent policy and the policy that I want to apply inside, in order to apply it on the subinterface and that is working fine but the problem comes when I want to apply a second QoS policy to another subinterface because I get the message that a different policy is already applied. Is there any way I can accomplish what I want?

class-map match-all class-Interactive

  match access-group 142

class-map match-all class-Video

  match access-group 143

class-map match-all class-2

  match access-group 141

class-map match-all class-HighPriority

  match access-group 140


policy-map Child-QoS

class class-HighPriority

    priority percent 25

class class-2

    bandwidth percent 25

    queue-limit 512 packets

class class-Interactive

    bandwidth percent 10

    queue-limit 384 packets

class class-Video

    bandwidth percent 15

    queue-limit 384 packets

class class-default


    queue-limit 384 packets

policy-map EMEA-Shape-100M

class class-default

    shape peak 100000000

   service-policy Child-QoS

policy-map EMEA-Shape-10M

class class-default

    shape peak 10000000

   service-policy Child-QoS

Depending on the speed of the link, I want to apply 100Mbs or 10Mbs. Thanks for your support!

Everyone's tags (5)
Cisco Employee

How to apply 2 different QoS to 2 different subinterfaces


That should work fine. Can you share your sub-interface configs and the error message when you apply the policy-map?


Lei Tian

CreatePlease login to create content