Diagnosing Switch Problems sFlow Overview
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 34-6
Follow the steps below to create a sFlow sampler session.
1 To create a sFlow sampler session, use the sflow sampler command by entering sflow sampler,
followed by the instance ID, port list, receiver, and the rate. For example:
-> sflow sampler 1 2/1-5 receiver 1 rate 2048
2 Optional. Configure optional parameters. For example, to specify the sample-hdr-size value “128” for
sFlow sampler instance 1 on ports 2/1-5, enter:
-> sflow sampler 1 2/1-5 receiver 1 rate 2048 sample-hdr-size 128
Follow the steps below to create a sFlow poller session.
1 To create a sFlow poller session, use the sflow poller command by entering sflow poller, followed by
the instance ID, port list, receiver, and the interval. For example:
-> sflow poller 1 2/6-10 receiver 1 interval 30
Note. Optional. To verify the sFlow sampler configuration, enter show sflow sampler, followed by the
sFlow sampler instance ID. The display is similar to the one shown below:
-> show sflow sampler 1
Instance Interface Receiver Rate Sample-Header-Size
-----------------------------------------------------------------
1 2/ 1 1 2048 128
1 2/ 2 1 2048 128
1 2/ 3 1 2048 128
1 2/ 4 1 2048 128
1 2/ 5 1 2048 128
For more information about this command, see “sFlow” on page 34-23 or the “sFlow Commands” chapter
in the OmniSwitch AOS Release 8 CLI Reference Guide.
Note. Optional. To verify the sFlow poller configuration, enter show sflow poller, followed by the sFlow
poller instance ID. The display is similar to the one shown below:
-> show sflow poller
Instance Interface Receiver Interval
-------------------------------------------
1 2/ 6 1 30
1 2/ 7 1 30
1 2/ 8 1 30
1 2/ 9 1 30
1 2/10 1 30
For more information about this command, see “sFlow” on page 34-23 or the “sFlow Commands” chapter
in the OmniSwitch AOS Release 8 CLI Reference Guide.