Automatic detection of the Netflow version

From IPFlow Netflow Collector

If you don't want to specify a Netflow version, or if your router sends Netflow datagrams with different Netflow versions (like Catalyst 6500), you can use this kind of configuration:

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

    netflow {
        version 0;   /* allows multiple Netflow versions */
        receiver-port 20000;
    };

    rule r1;
};

rule r1 {
    term 1 {
        /* ... */
    };
};