cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2395
Views
10
Helpful
6
Replies

ME3600x IOS issue

startx001
Level 1
Level 1

  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

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.

View solution in original post

6 Replies 6

caiacamina
Level 1
Level 1

Hi startx001, hope you will be fine.

 

Did you a find a solution for this issue? 

 

I'm facing same problem

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

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.

Also got the same issue.

Vinit Jain
Cisco Employee
Cisco Employee

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
--Vinit

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: