Using sFlow

Setup sFlow configuration with various Switch platforms

Configuration in SONiC from sonic-cli:

sonic-cmd bash
sudo config sflow enable
sudo config sflow collector add collector_1 <IP-Here>
sudo config sflow interface enable Ethernet0
sudo config sflow agent-id add eth0 >> for agent address (switch managment) reflect with flow data to uniquely identify the source of the flows.

Configuration in Cisco from Cisco-CLI:

configure terminal
feature sflow
sflow agent <IP-Here>
sflow collector-ip <IP-Here> vrf management
sflow data-source interface ethernet 1/1
show sflow
copy running-config startup-config
show sflow statistics

Configuration in Arista from Arista-CLI:

configure terminal
sflow destination <IP-Here>
sflow source-interface Ethernet19
sflow source <IP-Here>
show sflow
copy running-config startup-config
show sflow statistics

Last updated