SFlow on Juniper EX

Version 1

    JUNSO Set Format:

    set protocols sflow collector 000.000.000.000 udp-port 2055    (YOUR FLOW COLLECTOR IP GOES HERE & YOUR FLOW COLLECTOR PORT HERE)

    set protocols sflow interfaces ge-0/0/23.0 polling-interval 15    (REPLACE WITH YOUR INTERFACE & CHANGE PORT AS REQUIRED)

    set protocols sflow interfaces ge-0/0/23.0 sample-rate ingress 1000    (REPLACE WITH YOUR INTERFACE & CHANGE RATE AS REQUIRED)

    set protocols sflow interfaces ge-0/0/23.0 sample-rate egress 1000    (REPLACE WITH YOUR INTERFACE & CHANGE RATE AS REQUIRED)

     

    Do not type items in (PARENTHESIS)

    BOLD items should be changed to suite your environment

     

    JUNOS Format:

    collector 000.000.000.000 {

        udp-port 2055;

    }

    interfaces ge-0/0/23.0 {

        polling-interval 15;

        sample-rate {

            ingress 1000;

            egress 1000;

        }

    }