cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
211
Views
0
Helpful
3
Replies
Highlighted
Beginner

Nested output service-policy on tunnel (GRE) interface

Hello team:

I want to apply a basic output policy to a tunnel (GRE) interface, like the following:


policy-map QOS-WAN-CHILD
class voice
priority percent 10

 

policy-map QOS-WAN
class class-default
shape average 3000000
service-policy QOS-WAN-CHILD
!

 

But when I attempt to apply it in output mode to my tunnel interface, I get the following message:

R1(config)#int tu 0
R1(config-if)#service-policy output QOS-WAN
Cannot attach queuing-based child policy to a non-queuing based class

 

The same policy, applied to a physical interface, is accepted:


R1(config-if)#int fa 0/0
R1(config-if)#service-policy output QOS-WAN
R1(config-if)#

 

So it does not seem to be a problem related to the way I nested the policies. It seems to be related to my intention to apply it to a tunnel interface. 

I know this is an old subject that must have been discussed many times, so I would appreciate pointers to documentation that explain how to address this problem on logical interfaces.

Looking forward to hearing from you soon.

Thanks!!!

 

Rogelio

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Collaborator

Re: Nested output service-policy on tunnel (GRE) interface

Hi,

 

   I would say you're hiting a bug, i would upgrade the IOS version.

 

Regards,

Cristian Matei.

View solution in original post

3 REPLIES 3
Highlighted
Collaborator

Re: Nested output service-policy on tunnel (GRE) interface

Hi,

 

   I would say you're hiting a bug, i would upgrade the IOS version.

 

Regards,

Cristian Matei.

View solution in original post

Highlighted
Beginner

Re: Nested output service-policy on tunnel (GRE) interface

Hello Cristian:

I will look for a different version and let you know what happened.

 

Thanks!

Highlighted
Beginner

Re: Nested output service-policy on tunnel (GRE) interface

You were right!

 

I executed these same commands on another router model (it was easier than an IOS upgrade on the original router) and everything worked perfectly. Thanks!

 

class-map match-all voice
match access-group name voice
!
!
policy-map QOS-WAN-CHILD
class voice
priority percent 10
policy-map QOS-WAN
class class-default
shape average 3000000
service-policy QOS-WAN-CHILD

interface Tunnel0
no ip address
service-policy output QOS-WAN
!