Configuration Guide User guide

FastIron Configuration Guide 549
53-1002494-02
sFlow
Enabling the sFlow agent to export CPU-directed data
To enable the sFlow agent on a Brocade device to export data destined to the CPU to the sFlow
collector, enter the following command.
Brocade(config)# sflow export cpu-traffic
Syntax: [no] sflow export cpu-traffic
By default, this feature is disabled. The sFlow agent does not send data destined to the CPU to the
sFlow collector.
Specifying the sampling rate for exported CPU-directed data
The sampling rate is the average ratio of the number of packets incoming on an sFlow-enabled
port, to the number of flow samples taken from those packets. You can optionally set the sampling
rate for CPU-directed data exported to the sFlow collector. For example, to set this sampling rate to
2048, enter the following command.
Brocade(config)# sflow export cpu-traffic 2048
Syntax: [no] sflow export cpu-traffic <rate>
The default sampling rate depends on the Brocade device being configured. Refer to “Changing the
sampling rate” on page 541 for the default sampling rate for each kind of Brocade device.
Displaying sFlow information
To display sFlow configuration information and statistics, enter the following command at any level
of the CLI.