[j-nsp] inline jflow

moki vomoki at gmail.com
Sun Dec 8 13:09:14 EST 2013


Hello guys
I have a problem with inline jflow I configured everything by the book .
The router exported netflow information for about 20 minutes , and
afterwards it  stopped .
Here is the configuration :
fpc 0 {
    sampling-instance sample-ins1;
    inline-services {
        flow-table-size {
            ipv4-flow-table-size 3;
            ipv6-flow-table-size 3;
        }
    }
}

forwarding-options{
sampling {
    instance {
        sample-ins1 {
            input {
                rate 1;
            }
            family inet {
                output {
                    flow-server x.x.x.x {
                        port 9697;
                        autonomous-system-type origin;
                        version-ipfix {
                            template {
                                ipv4;
                            }
                        }
                    }
                    inline-jflow {
                        source-address y.y.y.y;
                    }
                }
            }
        }
    }
}

flow-monitoring {
    version-ipfix {
        template ipv4 {
            flow-active-timeout 60;
            flow-inactive-timeout 60;
            template-refresh-rate {
                packets 1000;
                seconds 10;
            }
            option-refresh-rate {
                packets 1000;
                seconds 10;
            }
            ipv4-template;
        }
    }
}

when i execute the command
show services accounting flow inline-jflow fpc-slot 0
The counters don't grow
  Flow information
    FPC Slot: 0
    Flow Packets: 9811498, Flow Bytes: 7364152991
    Active Flows: 4294967295, Total Flows: 4134755
    Flows Exported: 3838520, Flow Packets Exported: 388170
    Flows Inactive Timed Out: 3620229, Flows Active Timed Out: 514527


More information about the juniper-nsp mailing list