05-16-2019 10:50 AM
Hello I am trying to figured out why the SVI counters are 0 for this interface, we found that:
LEAF-3# show running-config all | i svi
hardware access-list tcam region svi 0
TCAM region SVI is set to 0 but I cant not modify it.
LEAF-3# show hardware access-list tcam region
NAT ACL[nat] size = 0
Ingress PACL [ing-ifacl] size = 256
VACL [vacl] size = 256
Ingress RACL [ing-racl] size = 512
Ingress RBACL [ing-rbacl] size = 512
Ingress L2 QOS [ing-l2-qos] size = 256
Ingress L3/VLAN QOS [ing-l3-vlan-qos] size = 256
Ingress SUP [ing-sup] size = 768
Ingress L2 SPAN filter [ing-l2-span-filter] size = 256
Ingress L3 SPAN filter [ing-l3-span-filter] size = 256
Ingress FSTAT [ing-fstat] size = 256
span [span] size = 0
Egress RACL [egr-racl] size = 256
Egress SUP [egr-sup] size = 256
Ingress Redirect [ing-redirect] size = 256
Egress L2 QOS [egr-l2-qos] size = 0
Egress L3/VLAN QOS [egr-l3-vlan-qos] size = 0
Ingress NBM [ing-nbm] size = 256
Software
BIOS: version 07.56
NXOS: version 9.2(1)
BIOS compile time: 06/08/2016
NXOS image file is: bootflash:///nxos.9.2.1.bin
NXOS compile time: 7/17/2018 16:00:00 [07/17/2018 20:21:19]
Hardware
cisco Nexus9000 93180YC-EX chassis
Intel(R) Xeon(R) CPU @ 1.80GHz with 24632684 kB of memory.
Processor Board ID FDO213633BT
05-24-2019 09:04 PM
06-10-2019 10:24 AM
Hi Sergio,
Unfortunately the N9300-EX platform did not originally support SVI counters due to a HW limitation which is why you cannot change that TCAM value for the SVI region (this was also the case for 1st gen Nexus 9000s). This was documented here and used to be within the Interface Configuration guide as well.
We have now added some limited support for this feature starting in NX-OS 7.0(3)I7(3) which requires the CLI "hardware profile svi flex-stats-enable" to be configured followed by a "copy run start" and "reload".
Example from my lab below:
93180YC-EX# conf t Enter configuration commands, one per line. End with CNTL/Z. 93180YC-EX(config)# hardware profile svi flex-stats-enable Warning!!: When SVI L3 ingress counters are enabled/disabled Vlan L2 Egress counters will not be supported Please reload the switch now for the change to take effect. 93180YC-EX(config)# end 93180YC-EX# copy run start ; reload [########################################] 100% Copy complete, now saving to disk (please wait)... Copy complete. This command will reboot the system. (y/n)? [n] y
You can then consume the data via the following:
93180YC-EX# show int vlan 50 Vlan50 is up, line protocol is up, autostate enabled Hardware is EtherSVI, address is 28ac.9ead.5cb7 Internet Address is 10.208.50.1/28 MTU 9100 bytes, BW 1000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive not supported ARP type: ARPA Last clearing of "show interface" counters never L3 in Switched: ucast: 5 pkts, 530 bytes 93180YC-EX(config)# show interface snmp-ifindex | i i vlan50 Vlan50 151060530 (0x9010032) ATESTINI-M-26WU:~ atestini$ snmpwalk -v2c -c public 10.122.140.92 1.3.6.1.2.1.31.1.1.1.6.151060530 IF-MIB::ifHCInOctets.151060530 = Counter64: 530 ATESTINI-M-26WU:~ atestini$ snmpwalk -v2c -c public 10.122.140.92 1.3.6.1.2.1.31.1.1.1.7.151060530 IF-MIB::ifHCInUcastPkts.151060530 = Counter64: 5
07-25-2022 12:39 AM - edited 07-25-2022 12:47 AM
Dear !
thanks for the helpful post
i did the same but my cisco Nexus9000 C9396PX got error while executing command
C4-NPCN-NX9K(config)# hardware profile svi flex-stats-enable
^
% Invalid command at '^' marker.
C4-NPCN-NX9K(config)# hardware profile svi-and-si flex-stats-enable
Not supported on this platform, or system not ready
I 've using nxos.9.3.9.bin
please help me
Ataullah : CCIE#56172 R&S
thanks in advance
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