我试图配置sflow上的Nexus9396PX开关,并有一些困难,以了解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当我运行“显示运行sflow”来验证配置时,我看不到"sflow数据源接口端口-通道1“行。
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端口),我可以看到,在“显示运行”中,40G Gem模块似乎不受支持。所以我在谷歌网站上找到了这个
确保为在以下设备上配置为sFlow数据源的任何上行链路端口配置了CiscoNexus9332PQ、9372 on、9372TX和93120TX交换机和思科Nexus9396PX、9396TX和93128TX交换机的sFlow和SPAN区域大小,这些交换机具有N9K-M6PQ或N9K-M12PQ通用扩展模块(GEM)。
问题是,在我的开关上,SPAN区域是什么? SPAN是ing- L2-span过滤器还是ing-L3-span-过滤器?
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发布于 2021-04-13 18:35:08
这就是解决方案,我们同时需要span和sflow TCAM256号,所以我取了vPC切片并将其交给span区域(注意:以下解决方案只适用于40G接口,如果您使用10G作为数据源,那么什么都不用做)
hardware access-list tcam region vpc-convergence 0
hardware access-list tcam region sflow 256
hardware access-list tcam region span 256现在我可以使用端口通道(4x40G包)
feature sflow
sflow counter-poll-interval 30
sflow collector-ip 172.29.0.91 vrf management
sflow collector-port 9995
sflow agent-ip 172.29.0.236
sflow data-source interface port-channel1流统计量
N9K# show sflow
sflow sampling-rate : 4096
sflow max-sampled-size : 128
sflow counter-poll-interval : 30
sflow max-datagram-size : 1400
sflow collector-ip : 172.29.0.91 , vrf : management
sflow collector-port : 9995
sflow agent-ip : 172.29.0.236
sflow data-source interface port-channel1
N9K# show sflow statistics
Total Packets : 4921
Total Samples : 0
Processed Samples : 0
Dropped Samples : 0
Sent Datagrams : 39
Dropped Datagrams : 0https://networkengineering.stackexchange.com/questions/73488
复制相似问题