Users Guide
Global default extended maximum header size: 128 bytes
Global extended information enabled: none
1 collector(s) configured
Collector IP addr:4.4.4.1 Agent IP addr:1.1.1.1 UDP port:6343 VRF:RED
0 UDP packets exported
0 UDP packets dropped
0 sFlow samples collected
Polling-interval configuration
The polling interval for an interface is the number of seconds between successive samples of counters sent to the collector. You
can configure the duration for polled interface statistics. Unless there is a specific deployment need to configure a lower polling
interval value, configure the polling interval to the maximum value.
● Change the default counter polling interval in CONFIGURATION mode, from 10 to 300. The default is 20.
sflow polling-interval interval-size
● Disable the polling interval in CONFIGURATION mode.
no sflow polling-interval
● View the polling interval in EXEC mode.
show sflow
Configure sFlow polling interval
OS10(config)# sflow polling-interval 200
View sFlow information
OS10# show sflow
sFlow services are enabled
Management Interface sFlow services are disabled
Global default sampling rate: 32768
Global default counter polling interval: 200
Global default extended maximum header size: 128 bytes
Global extended information enabled: none
1 collector(s) configured
Collector IP addr:10.16.151.245 Agent IP addr:10.16.132.181 UDP port:6343 VRF:Default
31722 UDP packets exported
0 UDP packets dropped
34026 sFlow samples collected
View sFlow running configuration
OS10# show running-configuration sflow
sflow enable
sflow max-header-size 80
sflow polling-interval 200
sflow sample-rate 4096
sflow collector 10.16.150.1 agent-addr 10.16.132.67 6767 max-datagram-size 800
sflow collector 10.16.153.176 agent-addr 3.3.3.3 6666
!
interface ethernet1/1/1
sflow enable
!
Sample-rate configuration
Sampling rate is the number of packets skipped before the sample is taken. If the sampling rate is 4096, one sample generates
for every 4096 packets observed.
1720
sFlow