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公司
信息:
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 تشرين الثاني 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.