Technical Documentation



sflow {agent-id ip-address;collector { ip-address;udp-port port-number;}disable;interfaces interface-name {disable;polling-interval seconds;sample-rate number;}polling-interval seconds;sample-rate number;source-ip ip-address;}

Hierarchy Level

[edit protocols]

Release Information

Statement introduced in JUNOS Release 9.3 for EX Series switches.

Options agent-id and source-ip added in JUNOS release 10.2 for EX Series switches.


Configure sFlow technology, designed for monitoring high-speed switched or routed networks, to continuously monitor traffic at wire speed on specified interfaces simultaneously. sFlow data can be used to provide network traffic visibility information.

The remaining statements are explained separately.


The sFlow protocol is disabled by default.

Required Privilege Level

routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.

Published: 2010-04-22