VxBlock: Linee guida per l'utilizzo di TCAM con lo switch Cisco Nexus

Summary: Questo articolo illustra le linee guida per un problema di utilizzo di TCAM.

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

Fatti:
  • Cisco Nexus 9000
  • TCAM (Provincia di T

Informazioni: 

Problema di utilizzo di TCAM:
Esempio: Un cliente desidera creare PACL MAC per supportare l'isolamento HSRP. Quando tentano di assegnare lo spazio TCAM all'area mac-ifacl, ricevono il seguente errore: 
# hardware access-list tcam region mac-ifacl 256
ERROR: Aggregate TCAM region configuration exceeded the available Ingress TCAM slices. Please re-configure.

Utilizzo corrente del TCAM predefinito del cliente:
# 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


Raccomandazione 1: 
La funzionalità mac-ifacl richiesta è un blocco di dimensioni doppie. Ciò richiede due slice da 256 o 512 byte.

Dalla configurazione corrente, si noti che non stiamo utilizzando QoS della porta IPv4 [qos]. Possiamo prendere quella caratteristica di doppia dimensione e assegnarla a mac-ifacl con due comandi:
# 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
Dopo il ricaricamento:
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

Entrambe le funzioni sono configurate. Segui questo modello per raggiungere l'obiettivo.

 

Raccomandazione 2:
Prendere le due 512 sezioni da RACL e assegnare tale spazio a mac-ifacl. In questo modo si ottiene una slice disponibile di 256 in modo da poterla assegnare a qualsiasi altra feature single-width.
 

Raccomandazione 3:
Un'altra possibilità è quella di impostare SPAN su 0. Questo ci lascia con due slice da 256 byte che possiamo allocare alla funzionalità a doppia larghezza mac-ifacl.

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.