You can perform Juniper router Flow configuration using the following sample configuration:
protocols {
sflow {
polling-interval 30;
sample-rate 500;
collector 10.1.2.5 {
udp-port 9996;
}
interfaces ge-0/0/0.0;
interfaces ge-0/0/1.0;
interfaces ge-0/0/2.0;
interfaces ge-0/0/3.0;
interfaces ge-0/0/11.0;
}
}