Reference Guide

Table Of Contents
sflow enable
Enables sFlow on a specific interface or globally on all interfaces.
Syntax
sflow enable [all-interfaces]
Parameters all-interfaces (Optional) Enter to enable sFlow globally.
Default Disabled
Command Mode CONFIGURATION
Usage
Information
The no version of this command to disables sFlow.
Example
(interface)
OS10(config)# sflow enable
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# sflow enable
Example
(interface range)
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
Example (port-
channel)
OS10(config)# sflow enable
OS10(config)# interface range port-channel 1-10
OS10(conf-range-po-1-10)# sflow enable
Supported
Releases
10.3.0E or later
sflow max-header-size
Sets the maximum header size of a packet.
Syntax
sflow max-header-size header-size
Parameter header-size Enter the header size in bytes, from 64 to 256. The default is 128.
Default 128 bytes
Command Mode
CONFIGURATION
Usage
Information
Use the no version of the command to reset the header size to the default value.
Example
OS10(conf)# sflow max-header-size 256
Supported
Releases
10.3.0E or later
sflow polling-interval
Sets the sFlow polling interval.
Syntax
sflow polling-interval interval-value
Parameter interval-value Enter the interval value in sections, from 10 to 300. The default is 30.
Defaults 30
Command Mode CONFIGURATION
sFlow 745