Quick Reference Guide

1082 PowerConnect B-Series TI24X Configuration Guide
53-1002269-02
sFlow
A
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 1086 and “Displaying sFlow information” on
page 1087.
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 PowerConnect B-Series TI24X 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.
PowerConnect(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>]
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.