System VxBlock: Wytyczne dotyczące korzystania z TCAM z przełącznikiem Cisco Nexus

Summary: W tym artykule wyjaśniono wskazówki dotyczące problemu z użyciem TCAM.

Acest articol se aplică pentru Acest articol nu se aplică pentru Acest articol nu este legat de un produs specific. Acest articol nu acoperă toate versiunile de produs existente.

Instructions

Fakty:
  • Cisco Nexus 9000
  • TCAM (Protokół TCAM)

Informacje: 

Problem z wykorzystaniem TCAM:
Przykład: Klient chce utworzyć pakiety PACL dla adresów MAC w celu obsługi izolacji HSRP. Podczas próby przypisania miejsca TCAM do regionu mac-ifacl wyświetlany jest poniższy błąd: 
# hardware access-list tcam region mac-ifacl 256
ERROR: Aggregate TCAM region configuration exceeded the available Ingress TCAM slices. Please re-configure.

Bieżące domyślne wykorzystanie TCAM przez klienta:
# 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


Zalecenie 1: 
Wymagana funkcja mac-ifacl to blok o podwójnym rozmiarze. Wymaga to dwóch wycinków po 256 lub 512 bajtów.

Na podstawie bieżącej konfiguracji należy zauważyć, że nie używamy funkcji QoS portu IPv4 [qos]. Możemy wziąć tę funkcję podwójnego rozmiaru i przypisać ją do mac-ifacl za pomocą dwóch poleceń:
# 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
Po przeładowaniu:
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

Obie funkcje są skonfigurowane. Postępuj zgodnie z tym szablonem, aby osiągnąć cel.

 

Zalecenie 2:
Weź dwa wycinki 512 z RACL i przypisz to miejsce do mac-ifacl. Daje nam to dostępny plasterek 256, dzięki czemu możemy przypisać ten dostępny plasterek do dowolnego innego obiektu o pojedynczej szerokości.
 

Zalecenie 3:
Inną możliwością jest ustawienie SPAN na 0. To pozostawia nam dwa 256-bajtowe wycinki, które możemy przydzielić do funkcji podwójnej szerokości mac-ifacl.

Produse afectate

VxBlock and Vblock Systems, Networking
Proprietăți articol
Article Number: 000207091
Article Type: How To
Ultima modificare: 20 Nov 2025
Version:  2
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.