我正在尝试在 Nexus 9396PX 交换机上配置 sflow,但在理解 tcam 区域时遇到了一些困难。
hardware access-list tcam region span-sflow 256
!
feature sflow
sflow counter-poll-interval 30
sflow collector-ip 10.30.0.91 vrf management
sflow collector-port 9995
sflow agent-ip 172.30.0.26
当我启用我的port-channel1
(这是 GEM 模块上的 4x40G 端口包)
sflow data-source interface port-channel1
当我运行“show run sflow”来验证配置时,我在那里看不到“sflow data-source interface port-channel1”行。
N9K(config)# show run sflow
!Command: show running-config sflow
!Running configuration last done at: Tue Apr 13 14:24:00 2021
!Time: Tue Apr 13 14:24:58 2021
version 9.3(6) Bios:version 07.68
feature sflow
sflow counter-poll-interval 30
sflow collector-ip 10.30.0.91 vrf management
sflow collector-port 9995
sflow agent-ip 172.30.0.26
对于实验,我尝试添加Ethernet 1/1
(10G 端口)并且有效,我可以看到在“show run”中看起来不支持 40G Gem 模块。所以我用谷歌搜索并在思科网站上找到了这个
确保为以下设备上要配置为 sFlow 数据源的任何上行链路端口配置 sFlow 和 SPAN ACL TCAM 区域大小:Cisco Nexus 9332PQ、9372PX、9372TX 和 93120TX 交换机以及 Cisco Nexus 9396PX、9396TX、和带有 N9K-M6PQ 或 N9K-M12PQ 通用扩展模块 (GEM) 的 93128TX 交换机。
问题,我在交换机上可以看到的所有 SPAN ACL 区域是什么,SPAN ACL 是 ing-l2-span-filter 还是 ing-l3-span-filter ?
hardware access-list tcam region span 0
hardware access-list tcam region ing-l2-span-filter 0
hardware access-list tcam region ing-l3-span-filter 0
hardware access-list tcam region ipv6-span-udf 0
hardware access-list tcam region ipv6-span-l2-udf 0
hardware access-list tcam region span-sflow 256