Command Line Reference Guide
sFlow | 973
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 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 number and re-enter the command.
Related
Commands
show sflow
c e s
Display the current sFlow configuration
Syntax
show sflow [interface]
Parameters
Command Modes
EXEC
EXEC Privilege
Command
History
Example
Figure 38-2. show sflow Command Example
sflow sample-rate (Global) Change the sampling rate globally.
interface
(OPTIONAL) Enter the following keywords and slot/port or number information:
• For an 100/1000 Ethernet interface, enter the keyword
GigabitEthernet followed by
the slot/port information.
• For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet followed by
the slot/port information.
• For a Loopback interface, enter the keyword
loopback followed by a number from 0
to 16383.
• For a SONET interface, enter the keyword
sonet followed by the slot/port information.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet
followed by the slot/port information.
Version 8.3.5.0 Introduced on S55
Version 8.2.1.0 Introduces on S-Series Stacking
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.7.1.0 Introduced on S-Series
Version 7.6.1.0 Introduced on C-Series
Version 6.2.1.1 Introduced on E-Series
Force10#show sflow
sFlow services are enabled
Global default sampling rate: 32768
Global default counter polling interval: 20
1 collectors configured
Collector IP addr: 133.33.33.53, Agent IP addr: 133.33.33.116, UDP port: 6343
0 UDP packets exported
0 UDP packets dropped
165 sFlow samples collected
0 sFlow samples dropped due to sub-sampling
Linecard 1 Port set 0 H/W sampling rate 8192
Gi 1/16: configured rate 8192, actual rate 8192, sub-sampling rate 1
Gi 1/17: configured rate 16384, actual rate 16384, sub-sampling rate 2
Linecard 3 Port set 1 H/W sampling rate 16384
Gi 3/40: configured rate 16384, actual rate 16384, sub-sampling rate 1
Force10#
This count is always zero (0)










