Displaying IPv4 and IPv6 flows at screen

From IPFlow Netflow Collector

router 7200_IPv6 {
    ip-address 10.10.1.1;
    snmp-community netflow;

    netflow {
        version 9;
        receiver-port 10000;

        /* Show Template contents (debug) */
#	show-templates yes;

        /* Show Netflow v9 records (debug) */
#       show-records yes;

        /* Dump packets in hexa */
#	dump-packets no;

        /* IPv4 Template */
        template-model ipv4 {
            mandatory-fields { 
                 ipv4-src-addr; 
                 ipv4-dst-addr; 
            };

            rule r1;
        };

        /* IPv6 Template */
        template-model ipv6 {
            mandatory-fields { 
                 ipv6-src-addr; 
                 ipv6-dst-addr; 
            };

            rule r2;
        };
    };
};

channel ipv4_output { 
    filename "/dev/tty"; 
    log-format default; 
};

channel ipv6_output { 
    filename "/dev/tty"; 
    log-format ipv6_default; 
};

rule r1 {
    term 1 {
        channel ipv4_output;
        color yellow;
    };
};

rule r2 {
    term 1 {
        channel ipv6_output;
        color green;
    };
};