These instructions assume:
- The date, time, and time zone are correctly set on the switch.
- You have Telnet or SSH credentials and access to the switch.
- You know the IP address of your Auvik collector.
Access the device CLI
- Telnet or SSH into the switch.
- Enter privileged mode by typing enable and entering your enable password.
Configure sFlow
Run the following command. Replace <AuvikCollectorIP> with the IP address of your Auvik collector, and <sampleRate> with the desired sample rate egress: 128, 256, 512, or 1024. By default, Arista uses port 6343 for sFlow.
switch(config)#sflow destination <AuvikCollectorIP> switch(config)#sflow source <AristaInternalIP> switch(config)#sflow polling-interval 60 switch(config)#sflow sample dangerous <sampleRate>
Confirm the settings
Run the following command to confirm the configuration:
show sflow show sflow interfaces
Reference:
https://www.arista.com/assets/data/pdf/user-manual/um-eos/Chapters/sFlow.pdf