Displaying sflow information – Brocade FastIron Ethernet Switch Administration Guide User Manual
Page 256

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.
device(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.
device(config)# sflow export cpu-traffic 2048
Syntax: [no] sflow export cpu-traffic
The default sampling rate depends on the Brocade device being configured. Refer to
on page 249 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.
device#show sflow
sFlow version:5
sFlow services are enabled.
sFlow agent IP address: 10.123.123.1
4 collector destinations configured:
Collector IP 192.168.4.204, UDP 6343
Collector IP 192.168.4.200, UDP 6333
Collector IP 192.168.4.202, UDP 6355
Collector IP 192.168.4.203, UDP 6565
Configured UDP source port: 33333
Polling interval is 0 seconds.
Configured default sampling rate: 1 per 512 packets
Actual default sampling rate: 1 per 512 packets
The maximum sFlow sample size:512
exporting cpu-traffic is enabled
exporting cpu-traffic sample rate:16
exporting system-info is enabled
exporting system-info polling interval:20 seconds
10552 UDP packets exported
24127 sFlow samples collected.
sFlow ports: ethe 1/2 to 1/12 ethe 1/15 ethe 1/25 to 1/26 ethe 4/1 ethe 5/10 to
5/20 ethe 8/1 ethe 8/4
Module Sampling Rates
---------------------
Slot 1 configured rate=512, actual rate=512
Slot 3 configured rate=0, actual rate=0
Slot 4 configured rate=10000, actual rate=32768
Slot 5 configured rate=512, actual rate=512
Slot 7 configured rate=0, actual rate=0
Slot 8 configured rate=512, actual rate=512
Port Sampling Rates
-------------------
Port 8/4, configured rate=512, actual rate=512, Subsampling factor=1
Port 8/1, configured rate=512, actual rate=512, Subsampling factor=1
Port 5/20, configured rate=3000, actual rate=8192, Subsampling factor=16
Displaying sFlow information
256
FastIron Ethernet Switch Administration Guide
53-1003075-02