取消
显示结果 
搜索替代 
您的意思是: 
cancel
2623
查看次数
0
有帮助
2
回复

请问C2960X-24TS-L支持netflow吗?

wangyan1
Level 1
Level 1
WS-C2960X-24TS-L IOS 15.2(2)E7 请问上述交换机支持netflow吗? 命令都能敲上,但是出不来数据,不知道是配置问题?
还是设备本身不支持?查看英文文档是支持的
“Full (Flexible) NetFlow and NetFlow Lite are both supported on the Cisco Catalyst 2960-X and 2960-XR Series Switches, thereby enabling IT teams to understand the mix of traffic on their network and identify anomalies by capturing and recording specific packet flows. NetFlow Lite supports flexible sampling of the traffic and exports flow data in the NetFlow Version 9 format for analysis on a wide range of Cisco and third-party collectors.
NetFlow Lite is included on all 2960-X and 2960-XR Series LAN Base and IP Lite models.”
已配置命令:
flow record record1
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect interface input
collect counter bytes long
collect counter packets long
flow exporter export1
destination 10.X.X.X
source Vlan100
transport udp 9996
export-protocol netflow-v5
template data timeout 60
flow monitor monitor1
exporter export1
cache timeout active 60
record record1
sampler sampler1
mode random 1 out-of 100
interface GigabitEthernet1/0/25
ip flow monitor monitor1 sampler sampler1 input
2 条回复2

sijle
Cisco Employee
Cisco Employee
C1支持Flexible Netflow,LAN Base支持Netflow Lite。

Rockyw
Spotlight
Spotlight
楼主参考一下
NetFlow Lite Configuration Guide, Cisco IOS Release 15.2(2)E (Catalyst 2960-X Switch)
Chapter: Configuring NetFlow Lite
https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-2_2_e/fnf/configuration_guide/b_fnf_1522e_2960x_cg/b_fnf_32se_3850_cg_chapter_010.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !
快捷链接