
• 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
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.
device(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 ip-addr
[
dest-udp-port
|
vrf
]
The
ip-addr
parameter specifies the IP address of the collector.
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. For information on VRF parameter, see the
FastIron Layer 3 Routing Configuration Guide
.
The sampled sFlow data sent to the collectors includes an agent_address field. This field identifies the
device that sent the data. Refer to
sFlow and agent address
on page 247.
Specifying an sFlow collector on IPv6 devices
To specify an sFlow collector on an IPv6 device, enter a command such as the following.
device(config)#sflow destination ipv6 2001:DB8:0::0b:02a
This command specifies a collector with IPv6 address 2001:DB8::0b:02a, listening for sFlow data on
UDP port 6343.
Syntax:
[no] sflow destination ipv6 ip-addr
[
dest-udp-port
]
The
ip-addr
parameter specifies the IP address of the collector.
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.
If the IPv6 address you specify is a link-local address on a Layer 3 switch, you must also specify the
outgoing-interface ethernet port-num
or the
ve port-num
. This identifies the outgoing interface through
which the sampled packets will be sent.
The sampled sFlow data sent to the collectors includes an agent_address field. This field identifies the
device that sent the data. Refer to
sFlow and agent address
on page 247.
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 Brocade 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 Brocade device sends counter data every ten seconds. The counter data
Specifying the collector
250
FastIron Ethernet Switch Administration Guide
53-1003625-01