10-21-2015 08:55 PM - edited 03-05-2019 02:33 AM
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
10-21-2015 09:01 PM
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).
10-21-2015 11:17 PM
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
10-22-2015 11:25 AM
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.
04-07-2018 06:54 PM
10-22-2015 03:35 PM
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:
Hope this helps,
Regards
Vinit
10-21-2015 09:08 PM
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
10-21-2015 10:37 PM
hi,
there's no PPPoE config on the ASR.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide