Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

ME3600x IOS issue

  Hi

After upgrade to 15.3(3)S  and on one switch with 15.3(1)S1  i got error

(config)#interface GigabitEthernet0/11

(config-if)#service-policy output qos-test

Qos: Out of tcam resources to execute command

QoS: Policy attachment failed.  Configuration exceeds hardware resources

for policy qos-test

#show logging

...

Nov 21 15:47:28: %QOSMGR-3-TCAM_EXHAUSTION: Internal Error in resource

allocation

...

bg-ba-m-1#show platform tcam utilization qos

Nile Tcam Utilization per Application & Region:

ES == Entry size == Number of 80 bit TCAM words

==================================================================

App/Region            Start  Num Avail  ES    Used Range  Num Used

==================================================================

QOS                   36864      4096   2

     nile0                                                       13

     nile1                                              

(config-if)#service-policy output qos-test

Qos: Out of tcam resources to execute command

QoS: Policy attachment failed.  Configuration exceeds hardware resources
for policy qos-test

#show logging
...
Nov 21 15:47:28: %QOSMGR-3-TCAM_EXHAUSTION: Internal Error in resource
allocation
...

#show platform tcam utilization qos
Nile Tcam Utilization per Application & Region:
ES == Entry size == Number of 80 bit TCAM words
==================================================================
App/Region            Start  Num Avail  ES    Used Range  Num Used
==================================================================
QOS                   36864      4096   2
     nile0                                                       13
     nile1                                                         6

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Hi startx001 and LCC Data

Hi startx001 and LCC Data Networks,

This issue is related with TCAM resource exhaustion:

Issue the following command:

sh platform tcam utilization qos and see if you still have available entries to be used:

XXXXXXXXXX#sh platform tcam utilization qos
Nile Tcam Utilization per Application & Region:
ES == Entry size == Number of 80 bit TCAM words
==================================================================
App/Region Start Num Avail ES Used Range Num Used
==================================================================
QOS 36864 4096 2
nile0 1802
nile1 1376

I had to ajdust QoS profiles to free space. 

Hope this help you.

6 REPLIES
New Member

Hi startx001, hope you will

Hi startx001, hope you will be fine.

 

Did you a find a solution for this issue? 

 

I'm facing same problem

New Member

This issue seems to arise

This issue seems to arise when matching any vlan (match vlan 1-4094) on a class-map. It does possibly sound like a bug, but I've now ameneded my class-map to match all traffic based on protocol instead  - this seems like it might work OK.

 

Class-map match-any class1
 Match protocol ip
 Match protocol ipv6
 Match protocol arp
 Match protocol cdp

New Member

Hi startx001 and LCC Data

Hi startx001 and LCC Data Networks,

This issue is related with TCAM resource exhaustion:

Issue the following command:

sh platform tcam utilization qos and see if you still have available entries to be used:

XXXXXXXXXX#sh platform tcam utilization qos
Nile Tcam Utilization per Application & Region:
ES == Entry size == Number of 80 bit TCAM words
==================================================================
App/Region Start Num Avail ES Used Range Num Used
==================================================================
QOS 36864 4096 2
nile0 1802
nile1 1376

I had to ajdust QoS profiles to free space. 

Hope this help you.

New Member

Also got the same issue.

Also got the same issue.

Cisco Employee

Could you please share the

Could you please share the below output:

- show platform tcam utilization all

- show platform tcam utilization qos

- show platform qos label structs

- show sdm prefer current

- show run

Please attach all the above outputs in a file. Also, could you please let me know how many vlans are there on the switch and if the service-policy is being applied on a trunk port.

Thanks 

Vinit

Thanks
--VJ
New Member

I've now got a TAC case open,

I've now got a TAC case open, and the TAC engineer has managed to replicate the fault. I'm waiting to hear back. I've also attached the outputs here for information.

 

I started with a completely blank config, and applied the following to replicate the error:

class-map match-all voice
 match dscp ef

  
class-map match-any class1
 match vlan 1-4094

policy-map policy1-voice   
 class voice
  priority
  police cir 4000000
   conform-action transmit
   exceed-action drop

policy-map policy1
class class1   
  shape average 40000000
   service-policy policy1-voice 

vlan 1794

int gi0/8
 switchport trunk allowed vlan 1794
 switchport mode trunk
 service-policy output policy1

Qos: Out of tcam resources to execute command
QoS: Policy attachment failed.  Configuration exceeds hardware resources for policy policy1

1043
Views
10
Helpful
6
Replies