Sflow sample, Sflow polling-interval – LevelOne FGL-2870 User Manual
Page 470

Command Line Interface
4-104
4
sflow sample
This command configures the packet sampling rate. Use the no form to restore the
default rate.
Syntax
sflow sample rate
no sflow sample
rate - The packet sampling rate, or the number of packets out of which one
sample will be taken. (Range: 0-10000000, where 0 disables sampling)
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet)
Example
This example sets the sample rate to 1 out of every 100 packets.
sflow polling-interval
This command configures the interval at which counters are added to the sample
datagram. Use the no form to restore the default polling interval.
Syntax
sflow polling-interval seconds
no sflow polling-interval
seconds - The interval at which the sFlow process adds counter values to
the sample datagram. (Range: 0-10000000 seconds, where 0 disables this
feature)
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet)
Example
This example sets the polling interval to 10 seconds.
Console(config)#interface ethernet 1/9
Console(config-if)#sflow sample 100
Console(config-if)#
Console(config)#interface ethernet 1/9
Console(config-if)#sflow polling-interval 10
Console(config-if)#