266 Brocade ICX 6650 Administration Guide
53-1002600-01
sFlow
11
Syntax: [no] sflow version 2 | 5
The default is 5.
Specifying the maximum flow sample size
With sFlow version 5, you can specify the maximum size of the flow sample sent to the sFlow
collector. If a packet is larger than the specified maximum size, then only the contents of the
packet up to the specified maximum number of bytes is exported. If the size of the packet is
smaller than the specified maximum, then the entire packet is exported.
For example, to specify 1024 bytes as the maximum flow sample size, enter the following
command.
Brocade(config)# sflow max-packet-size 1024
Syntax: [no] sflow max-packet-size <size>
For both sFlow version 2 and version 5, the default maximum flow sample size is 256 bytes.
For sFlow version 5, the maximum flow sample size is 1300 bytes.
Exporting CPU and memory usage information to the sFlow collector
With sFlow version 5, you can optionally configure the sFlow agent on the Brocade device to export
information about CPU and memory usage to the sFlow collector.
To export CPU usage and memory usage information, enter the following command.
Brocade(config)# sflow export system-info
Syntax: [no] sflow export system-info
By default, CPU usage information and memory usage information are not exported.
Specifying the polling interval for exporting CPU and memory usage information to the sFlow collector
The polling interval defines how often sFlow data for a port is sent to the sFlow collector. With sFlow
version 5, you can optionally set the polling interval used for export ing CPU and memory usage
information.
For example, to set the polling interval for exporting CPU and memory usage information to 30
seconds, enter the following command.
Brocade(config)# sflow export system-info 30
Syntax: [no] sflow export system-info <seconds>
You can specify a polling interval from 5 seconds to 1,800 seconds (30 minutes). The default
polling interval for exporting CPU and memory usage information is 300 seconds (5 minutes).