sFlow v5 configuration on Arista

To configure sFlow v5 on the Arista platform, we recommend usingthe following guide:

show run section sflow
sflow sample 1024
sflow polling-interval 60
sflow destination 10.0.0.70
sflow source 10.0.0.10
sflow sample input subinterface
sflow sample output subinterface
sflow run

After this, you need to enable sFlow v5 monitoring for each interface:

interface Port-Channel10
   sflow enable

If your hardware supports hardware sFlow v5 acceleration, we recommend enabling it. In case of need for more information, please check the official guide