
• 8
• 16
• 32
• 64
• 128
• 256
• 512
• 1024
• 2048
• 4096
• 8192
• 16384
• 32768
• 65536
• 131072
• 262144
• 524288
• 1048576
• 2097152
• 4194304
• 8388608
• 16777216
• 33554432
• 67108864
• 134217728
• 268435456
• 536870912
• 1073741823
For example, if the configured sampling rate is 1000, then the actual rate is 1024 and 1 in 1024 packets
are sampled by the hardware.
Changing the sampling rate of a module
You cannot change a module sampling rate directly. You can change a module sampling rate only by
changing the sampling rate of a port on that module.
Changing the sampling rate on a port
You can configure an individual port to use a different sampling rate than the global default sampling
rate. This is useful in cases where ports have different bandwidths. For example, if you are using sFlow
on 10/100 ports and Gbps Ethernet ports, you might want to configure the Gbps ports to use a higher
sampling rate (and thus gather fewer samples per number of packets) than the 10/100 ports.
To change the sampling rate on an individual port, enter a command such as the following at the
configuration level for the port.
device(config-if-1/1)#sflow sample 8192
Syntax:
[no] sflow samplenum
The
num
parameter specifies the average number of packets from which each sample will be taken.
The software rounds the value you enter up to the next odd power of 2. The actual sampling rate
becomes one of the values listed in the section
Changing the sampling rate
.
Network Monitoring
FastIron Ethernet Switch Administration Guide
253
53-1003625-01