Configuring and enabling sflow, Sampling rate, Specifying the collector – Brocade TurboIron 24X Series Configuration Guide User Manual
Page 278

244
Brocade TurboIron 24X Series Configuration Guide
53-1003053-01
sFlow
NOTE
If an IP address is not already configured when you enable sFlow, the feature uses the source
address 0.0.0.0. To display the agent_address, enable sFlow, then enter the show sflow command.
Refer to
on page 248 and
“Displaying sFlow information”
Sampling rate
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. sFlow sampling can affect
performance in some configurations.
Note that on the TurboIron X Series devices, the configured sampling rate and the actual rate may
not be the same, depending on the configured sampling rate. The configured sampling rate adjusts
to the closest value configurable on the device.
Configuring and enabling sFlow
To configure sFlow,perform the following tasks:
•
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
•
Enable sFlow globally
•
Enable sFlow forwarding on individual interfaces
•
Enable sFlow forwarding on individual trunk ports
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.
IPv4 devices
To specify an sFlow collector on an IPv4 device, enter a command such as the following.
TurboIron(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.
Syntax: [no] sflow destination
The
The
for exported sFlow data. The default port number is 6343.