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

How to apply 2 different QoS to 2 different subinterfaces

Luis Ruiz Lopez
Level 1
Level 1

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

    fair-queue

    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!

1 Reply 1

Lei Tian
Cisco Employee
Cisco Employee

Hi,

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

HTH,

Lei Tian

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco