Help Docs

Configuring Flow Exports on Arista switches

For network traffic analysis, you need to configure your devices to export flows to Site24x7 On-Premise Poller, which is the sFlow collector. The On-Premise Poller will be listening to a particular port to receive flows. Learn how to find the port number of your On-Premise Poller.

To enable sFlow in Arista switches:

  1. Connect to the Arista switch by using SSH or Telnet.
  2. To enter enable or privilege mode, type enable and provide the appropriate password if needed.
  3. To enable sFlow on your Arista switch, including all the interfaces, execute the below commands in sequence: 
    sflow run
    sflow destination  {NetFlow server IP address}
    sflow source {IP address}
    sflow polling-interval 60
    sflow sample {Sample rate}
    Note

    Packet sampling occurs at regular intervals (denoted by Sample rate in the above command) to prevent inaccurate sampling. For example, a sample rate of 12,345 indicates one sample is taken for every 12,345 packets. The default value is 1,048,576.

  4. To verify the sFlow configuration, execute the below commands on the device terminal:
    show sflow
    show sflow interfaces

Here's Arista's official documentation on configuring sFlow exports on Arista devices.

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.


We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.


Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!