Difference between revisions of "Cisco NetFlow 2960"
From Observer GigaFlow Support | VIAVI Solutions Inc.
Kevin Wilkie (Talk | contribs) |
Kevin Wilkie (Talk | contribs) |
||
Line 17: | Line 17: | ||
collect timestamp sys-uptime first | collect timestamp sys-uptime first | ||
collect timestamp sys-uptime last | collect timestamp sys-uptime last | ||
− | + | ||
flow exporter gigaflow-export-106 | flow exporter gigaflow-export-106 | ||
− | destination 10. | + | destination 10.1.1.2 |
source Vlan1 | source Vlan1 | ||
transport udp 2055 | transport udp 2055 | ||
template data timeout 60 | template data timeout 60 | ||
flow exporter gigaflow-export-105 | flow exporter gigaflow-export-105 | ||
− | destination 10. | + | destination 10.1.1.1 |
source Vlan1 | source Vlan1 | ||
transport udp 2055 | transport udp 2055 | ||
Line 34: | Line 34: | ||
cache timeout active 60 | cache timeout active 60 | ||
statistics packet protocol | statistics packet protocol | ||
− | + | ||
− | + | ||
sampler random-sampler | sampler random-sampler | ||
mode random 1 out-of 32 | mode random 1 out-of 32 |
Latest revision as of 09:21, 9 March 2020
Configuration to enable netflow on a cisco 2960-x layer 2 switch
flow record flows match datalink mac source address input match datalink mac destination address input match ipv4 tos match ipv4 protocol match ipv4 source address match ipv4 destination address match transport source-port match transport destination-port collect transport tcp flags collect interface input collect flow sampler collect counter bytes long collect counter packets long collect timestamp sys-uptime first collect timestamp sys-uptime last flow exporter gigaflow-export-106 destination 10.1.1.2 source Vlan1 transport udp 2055 template data timeout 60 flow exporter gigaflow-export-105 destination 10.1.1.1 source Vlan1 transport udp 2055 template data timeout 60 flow monitor gigaflow-mon record flows exporter gigaflow-export-106 exporter gigaflow-export-105 cache timeout active 60 statistics packet protocol sampler random-sampler mode random 1 out-of 32 int range 1/0/1 - 28 ip flow monitor gigaflow-mon sampler random-sampler input