cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3367
Views
10
Helpful
7
Replies

Can't Apply QoS on Tunnel Interface for ASR1002

johnlloyd_13
Level 9
Level 9

hi all,

i'm trying to apply QoS on a tunnel interface on a AS1002 but doesn't allow me.

is this a bug?

ASR(config-if)#service-policy output 10M-OUT
Only class-default shaper in flat policy-map on main interface GigabitEthernet0/0/0 can co-exist with QoS on sub targets

 

ASR#sh ve
Cisco IOS XE Software, Version 03.10.05.S - Extended Support Release
Cisco IOS Software, ASR1000 Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.3(3)S5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Tue 27-Jan-15 23:44 by mcpre


Cisco IOS-XE software, Copyright (c) 2005-2015 by cisco Systems, Inc.
All rights reserved.  Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0.  The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0.  For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.


ROM: IOS-XE ROMMON

SIN1-PE02 uptime is 18 weeks, 6 days, 13 hours, 47 minutes
Uptime for this control processor is 18 weeks, 6 days, 13 hours, 49 minutes
System returned to ROM by reload at 14:00:17 UTC Thu Jun 11 2015
System restarted at 14:03:43 UTC Thu Jun 11 2015
System image file is "bootflash:asr1002x-universalk9.03.10.05.S.153-3.S5-ext.SPA.bin"
Last reload reason: Reload Command

7 Replies 7

Jason M.
Level 1
Level 1

You should show the policy map and interface configuration to get an accurate answer. The output is saying you already have QoS on a sub-interface so you can only shape class default instead of matching another class.

 

I don't know much about XE but some interfaces will require a multi-tier policy down to the leaf level (3rd level).

hi,

it's just a basic QoS template.

so, how do i go around this?

policy-map METRO-E
 class ACL110
  priority percent 35
 class ACL111
  bandwidth remaining percent 60
 class ACL112

policy-map 10M-OUT
 class class-default
  shape average 10000000
   service-policy METRO-E

interface Tunnel10
 ip address 172.27.8.129 255.255.255.252
 tunnel source 202.78.1.1
 tunnel destination 203.167.2.2
 service-policy output 10M-OUT

So the error is stating that you cannot do a class default shape with other classes unless they are in the same level of the policy.

 

You may be able to just use the METRO-E policy adding "shape average percent 100" to the class ACL111. Then set the Tunnel interface bandwidth command to 10M. You can also add shaping for class default as well. It will not let you shape priority.

Thanks Jason ! Very good !

The only supported combination is a flat QOS policy-map with class-default shaper on physical/sub-interface with another policy-map with queuing features on tunnel interface.
Limitations and restrictions for this variant are documented here:

http://www.cisco.com/en/US/docs/ios-xml/ios/sec_conn_dmvpn/configuration/xe-3s/sec-conn-dmvpn-per-tunnel-qos.html#GUID-182BD32F-56D4-479C-BFEF-B9738291E046

Hope this helps,

Regards

Vinit

Thanks
--Vinit

Vinit Jain
Cisco Employee
Cisco Employee

Are you having pppoe sessions where you are trying to apply the policy-map. I have seen such issues with pppox + QoS configs. Please share the config and the show policy-map output. 

Also, Would like to know if your policy-map is working as expected or not. there are instances where you can just ignore this message

Thanks
--Vinit

hi,

there's no PPPoE config on the ASR.