Users Guide

Table Of Contents
Enable sFlow in CONFIGURATION mode.
sflow enable
Disable sFlow in CONFIGURATION mode.
no sflow enable
Enable sFlow on a specific interface
OS10(config)# sflow enable
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# sflow enable
Enable sFlow on a range of interfaces
OS10(config)# sflow enable
OS10(config)# interface range ethernet 1/1/1-1/1/10
OS10(conf-range-eth1/1/1-1/1/10)# sflow enable
Enable sFlow on a port-channel
OS10(config)# sflow enable
OS10(config)# interface range port-channel 1-10
OS10(conf-range-po-1-10)# sflow enable
Max-header size configuration
Set the packet maximum size in CONFIGURATION mode, from 64 to 256. The default is 128 bytes.
max-header-size header-size
Disable the header size in CONFIGURATION mode.
no sflow max-header-size
View the maximum packet header size in EXEC mode.
show sflow
Configure sFlow maximum header size
OS10(config)# sflow max-header-size 80
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: 20
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 30
sflow sample-rate 4096
sFlow
1715