Minimal configuration

From IPFlow Netflow Collector

This example explains how to make a very minimal configuration for the IPFlow collector.

Please consider the following collector configuration:

router Cisco_837 {
    ip-address 192.168.155.1;
    snmp-community netflow;

    netflow {
        version 5;
        receiver-port 20000;
    };
};

This example does nothing in itself. It just declares a router, named Cisco_837, that exports flows. This router has 192.168.155.1 as IP address and send Netflow v5 packets to the collector, on UDP port 20000.

The SNMP community is needed to read the interface list from the router (to get interface names, like FastEthernet0/0, Serial1/0, etc.). If you are not interested by the interface names, specify "snmp-bypass yes;" instead of the "snmp-community" line.

We suppose that the host running the collector has IP address 192.168.155.6. The Cisco IOS configuration of the router would be (for the export part):

ip flow-export version 5
ip flow-export destination 192.168.155.6 20000

As previously said, this configuration does nothing, since we didn't tell the collector what to do with the collected flows. Flow analysis is explained in other examples.