Configuration Guide User guide
546 FastIron Configuration Guide
53-1002494-02
sFlow
Brocade(config)#sflow enable
Brocade(config)#interface ethernet 1/1 to 1/8
Brocade(config-mif-1/1-1/8)#sflow forwarding
These commands globally enable sFlow, then enable sFlow forwarding on Ethernet ports 1/1 –
1/8. You must use both the sflow enable and sflow forwarding commands to enable the feature.
Syntax: [no] sflow enable
Syntax: [no] sflow forwarding
Enabling sFlow forwarding on individual trunk ports
This feature is supported on individual ports of a static trunk group. It is also supported on LACP
trunk ports.
NOTE
When you enable sFlow forwarding on a trunk port, only the primary port of the trunk group forwards
sFlow samples.
To enable sFlow forwarding on a trunk port, enter commands such as the following.
Brocade(config)#sflow enable
Brocade(config)#trunk e 4/1 to 4/8
Brocade(config-trunk-4/1-4/8)#config-trunk-ind
Brocade(config-trunk-4/1-4/8)#sflow forwarding e 4/2
These commands globally enable sFlow, then enable sFlow forwarding on trunk port e 4/2. You
must use both the sflow enable and sflow forwarding commands to enable the feature.
Syntax: [no] sflow enable
Syntax: [no] sflow forwarding
sFlow version 5 feature configuration
NOTE
The commands in this section are supported when sFlow version 5 is enabled on the device. These
commands are not supported with sFlow version 2. sFlow version 5 also supports all of the sFlow
configuration commands in “Configuring and enabling sFlow” on page 539.
When sFlow version 5 is enabled on the device, you can do the following:
• Specify the sFlow version (version 2 or version 5)
• Specify the sFlow agent IP address
• Specify the maximum flow sample size
• Export CPU and memory usage Information to the sFlow collector
• Specify the polling interval for exporting CPU and memory usage information to the sFlow
collector
• Export CPU-directed data (management traffic) to the sFlow collector