Configuring and enabling sflow, Specifying the collector, Changing the polling interval – Brocade BigIron RX Series Configuration Guide User Manual

Page 1205

Advertising
background image

BigIron RX Series Configuration Guide

1127

53-1002484-04

sFlow overview

40

NOTE

AS communities and local preferences are not included in the sampled packets.

To obtain extended gateway information use “struct extended_gateway” as described in RFC 3176.

Configuring and enabling sFlow

To configure sFlow:

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.

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 address and UDP port number.

To specify sFlow collectors, enter a command such as the following.

BigIron RX(config)# sflow destination 10.10.10.1

This command specifies a collector with IP address 10.10.10.1, listening for sFlow data on UDP
port 6343.

Syntax: [no] sflow destination <ip-addr> [<dest-udp-port>]

The <ip-addr> parameter specifies the collector’s IP address.

The <dest-udp-port> parameter specifies the UDP port on which the sFlow collector will be listening
for exported sFlow data. The default port number is 6343.

The sampled sFlow data sent to the collectors includes an agent_address field. This field identifies
the device that sent the data. Refer to

“Source address”

on page 1125.

Changing the polling interval

The polling interval defines how often sFlow byte and packet counter data for a port are sent to the
sFlow collectors. If multiple ports are enabled for sFlow, the device staggers transmission of the
counter data to smooth performance. For example, if sFlow is enabled on two ports and the polling
interval is 20 seconds, the device sends counter data every ten seconds. The counter data for one
of the ports are sent after ten seconds, and counter data for the other port are sent after an
additional ten seconds. Ten seconds later, new counter data for the first port are sent. Similarly, if
sFlow is enabled on five ports and the polling interval is 20 seconds, the device sends counter data
every four seconds.

Advertising