VxBlock:使用 Cisco Nexus 交換器的 TCAM 使用指南
Summary: 本文解釋了 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
事實:
資訊:
TCAM 使用問題:
例:客戶想要創建 MAC PACL 以支援 HSRP 隔離。當他們嘗試將 TCAM 空間分配給 mac-ifacl 區域時,他們會收到以下錯誤:
客戶目前預設的 TCAM 使用率:
建議1:
所需的 mac-ifacl 功能是雙倍大小的區塊。這需要兩個 256 或 512 位元組的切片。
從目前的組態來看,請注意我們並未使用 IPv4 連接埠 QoS [qos]。我們可以採用雙倍大小的功能,並使用兩個命令將其分配給mac-ifacl:
建議2:
從 RACL 中取出兩個 512 切片,並將該空間分配給 mac-ifacl。這為我們提供了一個可用的 256 個切片,因此我們可以將該可用切片分配給任何其他單寬特徵。
建議3:
另一種方法是將 SPAN 設置為 0。這給我們留下了兩個 256 位元組的切片,我們可以將其分配給雙寬功能 mac-ifacl。
- Cisco Nexus 9000
- 中藥協會
資訊:
TCAM 使用問題:
例:客戶想要創建 MAC PACL 以支援 HSRP 隔離。當他們嘗試將 TCAM 空間分配給 mac-ifacl 區域時,他們會收到以下錯誤:
# hardware access-list tcam region mac-ifacl 256
ERROR: Aggregate TCAM region configuration exceeded the available Ingress TCAM slices. Please re-configure.
客戶目前預設的 TCAM 使用率:
# 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
建議1:
所需的 mac-ifacl 功能是雙倍大小的區塊。這需要兩個 256 或 512 位元組的切片。
從目前的組態來看,請注意我們並未使用 IPv4 連接埠 QoS [qos]。我們可以採用雙倍大小的功能,並使用兩個命令將其分配給mac-ifacl:
# 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重新載入後:
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
兩種功能均已設定。按照此範本實現目標。
建議2:
從 RACL 中取出兩個 512 切片,並將該空間分配給 mac-ifacl。這為我們提供了一個可用的 256 個切片,因此我們可以將該可用切片分配給任何其他單寬特徵。
建議3:
另一種方法是將 SPAN 設置為 0。這給我們留下了兩個 256 位元組的切片,我們可以將其分配給雙寬功能 mac-ifacl。
Affected Products
VxBlock and Vblock Systems, NetworkingArticle 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.