[j-nsp] MX80 JFlow Setup

Eduardo Schoedler listas at esds.com.br
Wed Jan 14 21:09:41 EST 2015


Do you have a firewall in your loopback?

--
Eduardo

Em quarta-feira, 14 de janeiro de 2015, Andy Litzinger <
andy.litzinger.lists at gmail.com> escreveu:

> Levi,
>  did you get this working?  My MX80 appears to be collecting flows, but I
> don't see any output to my flow server.  The server ip is reachable from my
> MX 80.
>
> # show chassis
> <snip>
> tfeb {
>     slot 0 {
>         sampling-instance tp-sampling-instance;
>     }
> }
>
> # show forwarding-options sampling
> traceoptions {
>     file ipfix.log size 10k;
> }
> instance {
>     tp-sampling-instance {
>         input {
>             rate 1000;
>         }
>         family inet {
>             output {
>                 flow-server <my flow server> {
>                     port 2055;
>                     version-ipfix {
>                         template {
>                             ipfix-ipv4-template;
>                         }
>                     }
>                 }
>                 inline-jflow {
>                     source-address <my loopback>;
>                 }
>             }
>         }
>     }
> }
>
> # show services
> flow-monitoring {
>     version-ipfix {
>         template ipfix-ipv4-template {
>             ipv4-template;
>         }
>     }
> }
>
> # show interfaces ge-1/0/0
> <snip>
> unit 0 {
>     family inet {
>         sampling {
>             input;
>         }
>         address <isp-uplink-ip>;
>     }
> }
>
> # run show services accounting status inline-jflow
>   Status information
>     TFEB Slot: 0
>     IPV4 export format: Version-IPFIX, IPV6 export format: Not set
>     VPLS export format: Not set
>     IPv4 Route Record Count: 516479, IPv6 Route Record Count: 4
>     Route Record Count: 516483, AS Record Count: 143756
>     Route-Records Set: Yes, Config Set: Yes
>
> # run show services accounting flow inline-jflow
>   Flow information
>     TFEB Slot: 0
>     Flow Packets: 1445, Flow Bytes: 1419455
>     Active Flows: 22, Total Flows: 935
>     Flows Exported: 764, Flow Packets Exported: 752
>     Flows Inactive Timed Out: 623, Flows Active Timed Out: 290
>
> regards,
>  -andy
>
>

-- 
Eduardo Schoedler


More information about the juniper-nsp mailing list