How can we help?

How to configure sFlow on N Series switches


These instructions assume:

Access the switch CLI

  1. Telnet or SSH into the switch.
  2. Enter privileged mode by typing enable and entering your enable password.

Configure sFlow

Run the following command. Items that are between { } and in bold should be replaced with values specific to the environment being configured.

For the third and fourth lines, you’ll need to determine the port address range for which you’d like to export flow. For example, for a 16-port single chassis switch, you’d use 1/g1-1/g16.

sflow 1 destination {AuvikCollectorIP}
sflow 1 destination owner {Auvik} timeout 10000
sflow 1 polling {gi1/0/1-4} 60
sflow 1 sampling {gi1/0/1-4} 1024

Confirm the settings

Run the following command to confirm the configuration: 

show sflow 1 destination 
show sflow 1 polling
show sflow 1 sampling
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request