White Papers

Table Of Contents
sflow sample-rate (Interface)
Change the interface default sampling rate.
Syntax
sflow sample-rate value
To return to the default sampling rate, use the no sflow sample-rate command.
Parameters
value
Enter the sampling rate value. The range is from 256 to 8388608 packets. Enter
values in powers of 2 only; for example, 4096, 8192, and 16384. The default is the
Global default sampling.
Defaults The Global default sampling.
Command Modes CONFIGURATION
Supported Modes FullSwitch Mode
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
This command changes the sampling rate for an interface. By default, the sampling rate of an interface is
set to the same value as the current global default sampling rate. If the value you enter 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.
Related
Commands
sflow sample-rate (Global) changes the sampling rate globally.
show sflow
Display the current sFlow configuration.
Syntax
show sflow [interface]
Parameters
interface
(OPTIONAL) Enter the following keywords and slot/port or number information:
For a Loopback interface, enter the keyword loopback then a number from 0
to 16383.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
Command Modes
EXEC
EXEC Privilege
Supported Modes FullSwitch Mode
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
The dropEvent counter (sFlow samples dropped due to sub-sampling) shown in the following example
always displays a value of zero.
Example
Dell#show sflow
sFlow services are enabled
Egress Mangement Interface sFlow services are disabled
Global default sampling rate: 2048
Global default counter polling interval: 20
Global extended information enabled: none
1076 sFlow