VxBlock: Pautas para el uso de TCAM con el switch Cisco Nexus

Summary: En este artículo, se explican las pautas para un problema de uso de TCAM.

Αυτό το άρθρο ισχύει για Αυτό το άρθρο δεν ισχύει για Αυτό το άρθρο δεν συνδέεται με κάποιο συγκεκριμένο προϊόν. Δεν προσδιορίζονται όλες οι εκδόσεις προϊόντων σε αυτό το άρθρο.

Instructions

Hechos:
  • Cisco Nexus 9000
  • TCAM

Información: 

Problema de uso de TCAM:
Ejemplo: Un cliente desea crear PACL MAC para admitir el aislamiento de HSRP. Cuando intentan asignar un espacio TCAM a la región mac-ifacl, reciben el siguiente error: 
# hardware access-list tcam region mac-ifacl 256
ERROR: Aggregate TCAM region configuration exceeded the available Ingress TCAM slices. Please re-configure.

Utilización predeterminada actual de TCAM 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


Recomendación 1: 
La función mac-ifacl que se requiere es un bloque de tamaño doble. Esto requiere dos segmentos de 256 o 512 bytes.

En la configuración actual, observe que no estamos utilizando QoS de puerto IPv4 [qos]. Podemos tomar esa función de tamaño doble y asignarla a mac-ifacl con dos comandos:
# 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
Después de la recarga:
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

Ambas funciones están configuradas. Siga esta plantilla para lograr el objetivo.

 

Recomendación 2:
Tome los dos segmentos 512 de RACL y asigne ese espacio a mac-ifacl. Esto nos da un segmento de 256 disponible para que podamos asignar ese segmento disponible a cualquier otra característica de ancho único.
 

Recomendación 3:
Otra posibilidad es configurar SPAN en 0. Esto nos deja con dos segmentos de 256 bytes que podemos asignar a la función de doble ancho mac-ifacl.

Επηρεαζόμενα προϊόντα

VxBlock and Vblock Systems, Networking
Ιδιότητες άρθρου
Article Number: 000207091
Article Type: How To
Τελευταία τροποποίηση: 20 Νοε 2025
Version:  2
Βρείτε απαντήσεις στις ερωτήσεις σας από άλλους χρήστες της Dell
Υπηρεσίες υποστήριξης
Ελέγξτε αν η συσκευή σας καλύπτεται από τις Υπηρεσίες υποστήριξης.