Configuration Guide User guide

FastIron Configuration Guide 539
53-1002494-02
sFlow
FastIron X Series devices support port monitoring and sFlow together on the same device. The
caveat is that these features cannot be configured together within the same port region on
non-third generation modules. The following third-generation SX modules support sFlow and
mirroring on the same port:
- SX-FI48GPP
- SX-FI-24GPP
- SX-FI-24HF
- SX-FI-2XG
- SX-FI-8XG
Configuring and enabling sFlow
NOTE
The commands in this section apply to sFlow version 2 and sFlow version 5. CLI commands that are
specific to sFlow version 5 are documented in “sFlow version 5 feature configuration” on page 546.
To configure sFlow, perform the following tasks:
Optional – If your device supports sFlow version 5, change the version used for exporting sFlow
data
Specify collector information. The collector is the external device to which you are exporting the
sFlow data. You can specify up to four collectors.
Optional – Change the polling interval
Optional – Change the sampling rate
Optional – Change the sFlow source port
Enable sFlow globally
Enable sFlow forwarding on individual interfaces
Enable sFlow forwarding on individual trunk ports
If your device supports sFlow version 5, configure sFlow version 5 features
NOTE
If you change the router ID or other IP address value that sFlow uses for its agent_address, you need
to disable and then re-enable sFlow to cause the feature to use the new source address.
Specifying the collector
sFlow exports traffic statistics to an external collector. You can specify up to four collectors. You can
specify more than one collector with the same IP address if the UDP port numbers are unique. You
can have up to four unique combinations of IP addresses and UDP port numbers.
Specifying an sFlow collector on IPv4 devices
To specify an sFlow collector on an IPv4 device, enter a command such as the following.
Brocade(config)#sflow destination 10.10.10.1
This command specifies a collector with IPv4 address 10.10.10.1, listening for sFlow data on UDP
port 6343.