VxBlock: Richtlijnen voor TCAM-gebruik met Cisco Nexus Switch

Summary: In dit artikel worden de richtlijnen voor een TCAM-gebruiksprobleem uitgelegd.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Feiten:
  • Cisco Nexus 9000
  • TCAM (TCAM)

Informatie: 

Probleem met TCAM-gebruik:
Voorbeeld: Een klant wil MAC PACL's maken om de HSRP-isolatie te ondersteunen. Wanneer ze TCAM-ruimte proberen toe te wijzen aan de mac-ifacl-regio, krijgen ze de onderstaande foutmelding: 
# hardware access-list tcam region mac-ifacl 256
ERROR: Aggregate TCAM region configuration exceeded the available Ingress TCAM slices. Please re-configure.

Huidige standaard TCAM-gebruik van klant:
# sh sys int acce globals | egrep -i '[0-9]+ +[0-9]+ +[1-9][0-9]+|--' 
---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- 
---------------------------------------------------------------------------------------------                              IPV4 PACL [ifacl](   1)       3        0      512        1                            IPV4 Port QoS [qos](   4)       6     3072      256        2                               IPV4 VACL [vacl](  13)      15      512      512        1                               IPV4 RACL [racl](  19)      21     1024      512        1                                 Ingress System(  37)       1     2048      256        2                                    SPAN [span](  39)       2     3584      256        1                            Ingress COPP [copp](  40)      40     2560      256        2                            Redirect [redirect](  44)      46     1536      512        1 
VPC Convergence/ES-Multi Home [vpc-convergence]( 54)      57     4096      256        1


Aanbeveling 1: 
De mac-ifacl-functie die nodig is, is een blok van dubbele grootte. Hiervoor zijn twee slices van 256 of 512 bytes nodig.

Merk in de huidige configuratie dat we geen IPv4-poort QoS [qos] gebruiken. We kunnen die functie voor dubbele grootte nemen en toewijzen aan mac-ifacl met twee commando's:
# hardware access-list tcam region qos 0
WARNING: On module 1, 4 entries are in use in the region IPV4 Port QoS [qos] on instance 0, but carving size is 0 [0*2].
Warning: Please save config and reload the system for the configuration to take effect
 
# hardware access-list tcam region mac-ifacl 256
Warning: Please save config and reload the system for the configuration to take effect
Na het herladen:
9396-a# sh sys int acce globals | egrep -i '[0-9]+ +[0-9]+ +[1-9][0-9]+|--'

                             IPV4 PACL [ifacl](   1)       3        0      512
      1
                          MAC PACL [mac-ifacl](   3)       5     3072      256
      2
                              IPV4 VACL [vacl](  13)      15      512      512
      1
                              IPV4 RACL [racl](  19)      21     1024      512
      1
                                Ingress System(  37)       1     2048      256
      2
                                   SPAN [span](  39)       2     3584      256
      1
                           Ingress COPP [copp](  40)      40     2560      256
      2
                           Redirect [redirect](  44)      46     1536      512
      1
VPC Convergence/ES-Multi Home [vpc-convergence]( 54)      57     4096      256

Beide functies zijn geconfigureerd. Volg dit sjabloon om het doel te bereiken.

 

Aanbeveling 2:
Neem de twee 512 slices van RACL en wijs die ruimte toe aan mac-ifacl. Dit geeft ons een beschikbare 256 segment, zodat we die beschikbare slice kunnen toewijzen aan een andere functie met enkele breedte.
 

Aanbeveling 3:
Een andere mogelijkheid is om SPAN op 0 te zetten. Dit laat ons over met twee segmenten van 256 bytes die we kunnen toewijzen aan de functie mac-ifacl met dubbele breedte.

Affected Products

VxBlock and Vblock Systems, Networking
Article Properties
Article Number: 000207091
Article Type: How To
Last Modified: 20 Nov 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.