beautypg.com

Configuration considerations, Source address – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 919

background image

Multi-Service IronWare Switching Configuration Guide

889

53-1003036-02

sFlow event workflow

23

If no more IP addresses are found on that interface, then the agent IP address will use
the router ID as the default behavior. sFlow agent IPv6 will be unspecified. Otherwise
there is no action.

Configuration considerations

Sample data is collected from inbound traffic on ports enabled for sFlow, but it does not collect
the outbound traffic, even if the sFlow forwarding is enabled in the egress port. However, byte
and packet counters that are sent to the collector include ingress and egress traffic statistics.
The actual IP source address of the IP header is taken from the router port address of the best
route to the sFlow collector IP address.

Interface module processors directly forward sFlow packets to the specified sFlow collector.
The sFlow collector is reachable by the way of ports on any of the Interface modules. Brocade
does not recommend that an sFlow collector be connected to the Ethernet port of a
Management module.

For multicast traffic, sFlow sampling will display incorrect output for egress VLANs. In some
configuration scenarios ingress VLAN may be incorrect.

sflow is implemented in the default VRF only. Therefore, sflow data is only accessible by the
sflow collector (sflow destination hosts) defined in the default VRF.

Source address

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

If the sFlow destination is IPV6 and the sFlow Agent IPv6, then an IPv6 agent will be selected from
the configured interface. Otherwise, IPv4 will be selected from the configured interface ID from the
sFlow agent command. If the sFlow agent is not configured, the router-ID is used.

If the sFlow Destination is IPv4, and the sFlow agent is configured, then an IPv4 agent will be
selected from the configured interface. If the sFlow agent is not configured, the router-ID is used.

sFlow looks for an IP address in the following order, and uses the first address found:

The router ID configured by the ip router-id command, in the interface IP address list. The
Agent IPv6-address is unspecified by default. Use the show sflow command to verify the
interface IP address list.

The first IP address on the lowest-numbered loopback interface

The first IP address on the lowest-numbered virtual interface

The first IP address on any interface

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, and then enter the show sflow
command. Refer to

“sFlow forwarding”

and

“Displaying sFlow information”

.

NOTE

If you change the agent_address, you must disable and then re-enable sFlow to use the newly
configured address.