cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1074
Views
0
Helpful
2
Replies

%QOS-6-POLICY_INST_FAILED

tkapela12
Level 1
Level 1

This is total crap. Hitting the same bug as CSCvj25368. What's the issue, Cisco folks? 

...have a really simple, straightforward policy map configured: 

policy-map detangle-queues
class v4-lsb-0
set dscp default
class v4-lsb-1
set dscp 1
class v4-lsb-2
set dscp 2
class v4-lsb-3
set dscp 3
class v4-lsb-4
set dscp 4
class v4-lsb-5
set dscp 5
class v4-lsb-6
set dscp 6
class v4-lsb-7
set dscp 7

...each class merely matches a standard IP ACL:

ip access-list standard v4-lsb-0
permit 0.0.0.0 255.255.255.248
ip access-list standard v4-lsb-1
permit 0.0.0.1 255.255.255.248
ip access-list standard v4-lsb-2
permit 0.0.0.2 255.255.255.248
ip access-list standard v4-lsb-3
permit 0.0.0.3 255.255.255.248
ip access-list standard v4-lsb-4
permit 0.0.0.4 255.255.255.248
ip access-list standard v4-lsb-5
permit 0.0.0.5 255.255.255.248
ip access-list standard v4-lsb-6
permit 0.0.0.6 255.255.255.248
ip access-list standard v4-lsb-7
permit 0.0.0.7 255.255.255.248

class-map match-all v4-lsb-7
match access-group name v4-lsb-7
class-map match-all v4-lsb-6
match access-group name v4-lsb-6
class-map match-all v4-lsb-5
match access-group name v4-lsb-5
class-map match-all v4-lsb-4
match access-group name v4-lsb-4
class-map match-all v4-lsb-3
match access-group name v4-lsb-3
class-map match-all v4-lsb-2
match access-group name v4-lsb-2
class-map match-all v4-lsb-1
match access-group name v4-lsb-1
class-map match-all v4-lsb-0
match access-group name v4-lsb-0

...and boom, can't apply it to more than four interfaces: 

switch(config-if-range)#service-policy input detangle-queues
HAY_HQM_IF_POLICY_ADD_CMD send failed for interface GigabitEthernet0/27

Service Policy attachment failed
% Interface range command failed for GigabitEthernet0/27
switch(config)#
Aug 24 16:28:42.876: HQM: Failed command 18 0 2
Aug 24 16:28:42.877: %QOS-6-POLICY_INST_FAILED:
Service policy installation failed

Seriously. WTF. This appears in no docs, caveats, etc. 

Additionally, tcam nowhere close to full:

switch#sh platform tcam utilization asic all
TCAM USAGE OF ASIC NUM 0
MAC/IPV4 ACEs : 11
IPV6 ACEs : 0
L2 TCAM TABLE USAGE : 28
MULTICAST GROUP USAGE : 9

 

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

Can you post what device model and what IOS code running on the switch:

show version help us to understand the issue.

there may be limitations - check this also : (if the switch 2960X)

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960l/software/15-2_6_e/configuration_guide/b_1526e_consolidated_2960l_cg/b_1526e_consolidated_2960l_cg_chapter_010111.html

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

(checking the 2960L caveat docs)… which I had already reviewed, but now noticing this convenient number:

“32 class maps per ASIC” — I see now that this means “a sum-totall of 32 class map statements, across all applied policy maps” — and NOT merely 32 total configured classes *referenced* by any number of ports.

This caveat and limitation description language leaves much to be desired.

So, with eight classes in the policy map, I can see now only that four ports can be configured to use it.

…not that it matters, but platform details:

Cisco IOS Software, C2960L Software (C2960L-UNIVERSALK9-M), Version 15.2(7)E5, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2021 by Cisco Systems, Inc.
Compiled Mon 13-Sep-21 09:26 by mcpre

ROM: Bootstrap program is C2960L boot loader
BOOTLDR: C2960L Boot Loader (C2960L-HBOOT-M) Version 15.2(5r)E3, RELEASE SOFTWARE (fc2)

switch uptime is 1 week, 5 days, 19 hours, 26 minutes
System returned to ROM by power-on
System restarted at 23:13:09 UTC Thu Aug 11 2022
System image file is "flash:c2960l-universalk9-mz.152-7.E5/c2960l-universalk9-mz.152-7.E5.bin"
Last reload reason: power-on



This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unableto comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email toexport@cisco.com.

cisco WS-C2960L-24TS-LL (Marvell PJ4B (584) v7 (Rev 2)) processor (revision D0) with 524288K bytes of memory.
Processor board ID FCW2112A2M7
Last reset from Reload
1 Virtual Ethernet interface
28 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:F8:2C:76:C5:80
Motherboard assembly number : U58O342T02
Power supply part number : 341-100559-01
Motherboard serial number : FOC21102SXU