Administrator Guide
UDP packets dropped :0
Dell#
Conguring Specify Collectors
The sflow collector command allows identication of sFlow collectors to which sFlow datagrams are forwarded.
You can specify up to two sFlow collectors. If you specify two collectors, the samples are sent to both.
• Identify sFlow collectors to which sFlow datagrams are forwarded.
CONFIGURATION mode
sflow collector ip-address agent-addr ip-address [number [max-datagram-size number] ] |
[max-datagram-size number ]
The default UDP port is 6343.
The default max-datagram-size is 1400.
Changing the Polling Intervals
The sflow polling-interval command congures the polling interval for an interface in the maximum number of seconds
between successive samples of counters sent to the collector.
This command changes the global default counter polling (20 seconds) interval. You can congure an interface to use a dierent
polling interval.
To congure the polling intervals globally (in CONFIGURATION mode) or by interface (in INTERFACE mode), use the following
command.
• Change the global default counter polling interval.
CONFIGURATION mode or INTERFACE mode
sflow polling-interval interval value
– interval value: in seconds.
The range is from 15 to 86400 seconds.
The default is 20 seconds.
Changing the Sampling Rate
The sflow sample-rate command, when issued in CONFIGURATION mode, changes the default sampling rate.
By default, the sampling rate of an interface is set to the same value as the current global default sampling rate. If the value entered
is not a correct power of 2, the command generates an error message with the previous and next power-of-2 value. Select one of
these two numbers and re-enter the command. (For more information on values in power-of-2, refer to Sub-Sampling.)
To change the sampling rate either globally or on an interface, use the following command.
• Change the global or interface sampling rate.
CONFIGURATION mode or INTERFACE mode
[no] sflow sample-rate sample-rate
sample-rate: The range is from 256 to 8388608 for the C-Series and S-Series. The range is from 2 to 8388608 for the E-
Series.
The rate must be entered in factors of 2 (for example, 4096 or 8192).
sFlow
733