Documentation forHybrid Cloud Observability Advancedand NetFlow Traffic Analyzer

Juniper sFlow configuration

You can perform Juniper switch sFlow configuration using the following sample configuration:  

Scripts are not supported under any SolarWinds support program or service. Scripts are provided AS IS without 
warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties 
of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts 
and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or 
delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business 
profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or 
inability to use the scripts or documentation.

sflow {
    polling-interval 30;
    sample-rate 128;
    collector 10.1.2.5 {
    udp-port 2055;
    }
    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/4.0;
    interfaces ge-0/0/5.0;
    interfaces ge-0/0/6.0;
    interfaces ge-0/0/7.0;
    interfaces ge-0/0/8.0;
    interfaces ge-0/0/9.0;
    interfaces ge-0/0/10.0;
    interfaces ge-0/0/11.0;
    interfaces ge-0/0/12.0;
    interfaces ge-0/0/13.0;
    interfaces ge-0/0/14.0;
    interfaces ge-0/0/15.0;
    interfaces ge-0/0/16.0;
    interfaces ge-0/0/17.0;
    interfaces ge-0/0/18.0;
    interfaces ge-0/0/19.0;
    interfaces ge-0/0/20.0;
    interfaces ge-0/0/21.0;
    interfaces ge-0/0/22.0;
    interfaces ge-0/0/23.0 {
    	polling-interval 30;
        sample-rate 128;
    }
}