Configuration Library
Configuration Library

SFlow On Juniper EX switches

[ Edited ]
‎11-05-2010 11:58 AM

Vesrion: 10.x & above

Product : Juniper Ex switches


Step1 :  Configure the IP address of the collector
user@EX# set  protocols sflow collector


Step2 :  Configure the UDP port of the collector
user@EX# set protocols sflow set collector udp-port 6700

The default UDP port : 6343


Step3 :  Enable sFlow  on interface:
user@EX# set protocols sflow  interfaces ge-0/0/0.0

Step4 : Specify how often sFlow agent polls the interface:
user@EX# set  protocols sflow polling-interval 10

Step5 :  Specify the rate at which packets will be sampled:
user@EX# set  protocols sflow sample-rate 200


Verification :

user@EX> show sflow collector




Configuration Library

Re: SFlow On Juniper EX switches

‎04-14-2011 01:51 AM

What's junos version can supportsflow for  egress output interfaces. I have working with 10.2 but it can't support this features.


Thanks & best regards,



Configuration Library

Re: SFlow On Juniper EX switches

‎09-10-2012 07:07 AM



My ex2200 version is here but it does not support this  feautre


Model: ex2200-24t-4g
JUNOS Base OS boot [10.4R1.9]
JUNOS Base OS Software Suite [10.4R1.9]
JUNOS Kernel Software Suite [10.4R1.9]
JUNOS Crypto Software Suite [10.4R1.9]
JUNOS Online Documentation [10.4R1.9]
JUNOS Enterprise Software Suite [10.4R1.9]
JUNOS Packet Forwarding Engine Enterprise Software Suite [10.4R1.9]
JUNOS Routing Software Suite [10.4R1.9]
JUNOS Web Management [10.4R1.9]