Thursday, February 7, 2013

netflow ver 9 config on Cisco IOS 15.0.y2 with SUP-2T


It requires 3 components;
Exporter
Monitor
Record
In the record, type of fields should be configured to record.


flow exporter FlowExporter1
destination 10.0.1.101
transport udp 9995
export-protocol netflow-v9
source loopback 0

flow monitor FlowMonitor1
record platform-original ipv4
exporter FlowExporter1
cache timeout active 1

flow record FlowRecord1
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match interface input
collect ipv4 source prefix
collect ipv4 source mask
collect ipv4 destination mask
collect transport tcp flags
collect interface output
collect counter bytes
collect counter packets
collect timestamp sys-uptime first
collect timestamp sys-uptime last

interface FastEthernet 0/1
ip flow monitor FlowMonitor1 input
ip flow monitor FlowMonitor1 output
ip flow ingress
ip flow egress

No comments:

Post a Comment