5 sflow sample rate – CANOGA PERKINS 9175 Command Reference User Manual
Page 775
CanogaOS Command Reference
45-3
Interface configuration mode
Usage
Use this command to enable counter sampling on individual port. Use the no parameter with this command to
disable counter sampling. By default, sFlow counter sampling is disabled in all ports.
This command can only be configured on a port which is not a link-agg group member. The port can be either
a physical port or a link-agg port.
Examples
This example shows how to enable sFlow counter sampling on interface eth-0-1 and
eth-0-2
Switch# configure terminal
Switch (config)# interface eth-0-1
Switch (config)# sflow counter
Switch (config)# exit
Switch (config)# interface eth-0-2
Switch (config)# sflow counter
Related Commands
45.5 sflow sample rate
Use this command to configure flow sampling rate.
Command Syntax
sflow sample rate <1-32768>
no
sflow sample rate
sflow: Sampled flow
sample: Set packet sample
rate: Set packet sample rate
<1-32768>: Sample rate value, must be a power of 2
Command Mode
Interface configuration mode
Usage
Use this command to set sFlow packet sampling rate. Use no parameter with this command to set default
sampling rate. Default sampling rate value is 8192.
sFlow uses CPU resources to collect samples and send samples to the collector. If a low sampling rate is set,
CPU utilization can become high. To protect CPU from overwhelming, exceeded flow samples would be
dropped. If a sampling rate less than default value is configured, a prompt will be given to info the potential of
involving a high CPU utilization.
This command can only be configured on a port which is not a link-agg group member. The port can be either
a physical port or a link-agg port.