Configuration Guide User guide

538 FastIron Configuration Guide
53-1002494-02
sFlow
On a Layer 2 Switch, agent_address is the Layer 2 Switch management IP address. You must
configure the management IP address in order to export sFlow data from the device. If the
switch has both an IPv4 and IPv6 address, the agent_address is the IPv4 address. If the switch
has an IPv6 address only, the agent_address is the global IPv6 address.
On a Layer 3 Switch with IPv6 interfaces only, sFlow looks for an IPv6 address in the following
order, and uses the first address found:
The first IPv6 address on the lowest-numbered loopback interface
The first IPv6 address on the lowest-numbered VE interface
The first IPv6 address on any interface
On a Layer 3 Switch with both IPv4 and IPv6 interfaces, or with IPv4 interfaces only, sFlow
looks for an IP address in the following order, and uses the first address found:
The IPv4 router ID configured by the ip router-id command
The first IPv4 address on the lowest-numbered loopback interface
The first IPv4 address on the lowest-numbered virtual interface
The first IPv4 address on any interface
NOTE
The device uses the router ID only if the device also has an IP interface with the same address.
Router ID is not supported on IPv6 devices.
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 “Enabling sFlow forwarding” on page 545 and “Displaying sFlow information” on page 549.
NOTE
In sFlow version 5, you can set an arbitrary IPv4 or IPv6 address as the sFlow agent IP address. Refer
to “Specifying the sFlow agent IP address” on page 547.
sFlow and source port
By default, sFlow sends data to the collector out of UDP source port 8888, but you can specify a
different source port. For more information, refer to “Changing the sFlow source port on page 545.
sFlow and 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 FastIron devices, the configured sampling rate and the actual rate are the same.
The software does not adjust the configured sampling rate as on other Brocade devices.
sFlow and port monitoring
FWS and FCX Series devices support sFlow and port monitoring together on the same port.