[c-nsp] Cisco Nexus 9K tcam carving question

Nick Cutting ncutting at edgetg.com
Fri Apr 5 15:32:57 EDT 2019


And - yes that message is super confusing. Given that it is a 40g interface I'm guessing Gen1, so you cannot use netflow.


This is from a live 9300-EX(GEN2):

SPAN not running, with 8 ports running SFLOW.

sh run all | in "tcam region s"
hardware access-list tcam region span 0
hardware access-list tcam region svi 0
hardware access-list tcam region sflow 0
hardware access-list tcam region span 512
hardware access-list tcam region span-sflow 0

Here is the same output on a 9300 (GEN 1)
This device is not running Sflow - and Is running SPAN
sh run all | in "tcam region s"

hardware access-list tcam region span 256
hardware access-list tcam region svi 0
hardware access-list tcam region sFlow Northstar 0
hardware access-list tcam region span 0


-----Original Message-----
From: cisco-nsp <cisco-nsp-bounces at puck.nether.net> On Behalf Of Nick Cutting
Sent: Friday, April 5, 2019 3:25 PM
To: Satish Patel <satish.txt at gmail.com>; Cisco Network Service Providers <cisco-nsp at puck.nether.net>
Subject: Re: [c-nsp] Cisco Nexus 9K tcam carving question

This message originates from outside of your organisation.

Are you using a span session?

If so - then you cannot run SFLOW at the same time.

Is this a GEN1 or GEN2 9300? EX or FX?

-----Original Message-----
From: cisco-nsp <cisco-nsp-bounces at puck.nether.net> On Behalf Of Satish Patel
Sent: Friday, April 5, 2019 3:15 PM
To: Cisco Network Service Providers <cisco-nsp at puck.nether.net>
Subject: [c-nsp] Cisco Nexus 9K tcam carving question

This message originates from outside of your organisation.

Folks,

I want to enable sFlow on Cisco nexus 9300 switch on 40G interface
(GEM) module. but getting following error.

(config)# sflow data-source interface e2/5 In order to enable sFlow sampling on North star front panel port(Ethernet2/5), please either carve both span and sflow tcam regions with non-zero sizes using the commands 'hardware access-list tcam region span <size>'
'hardware access-list tcam region sflow <size>'
or remove both span and sflow tcam regions and carve a span-sflow tcam region with a non-zero size using the commands


When i am doing following, got error that means i don't have space in my tcam table so what is the best approve here?

(config)# hardware access-list tcam region sflow 256
ERROR: Aggregate TCAM region configuration exceeded the available Ingress TCAM slices. Please re-configure.
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/



More information about the cisco-nsp mailing list