Service Manual

8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information Sample-rate is the average number of packets skipped before the sample is taken. This command changes the
global default sampling rate. You can configure an interface to use a different sampling rate than the global
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 packet numbers and re-enter the command.
Related Commands sflow sample-rate (Interface) — changes the interface sampling rate.
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
Command History
Version Description
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 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/
port 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
sFlow 1131