qos sflow-set-cpu-rate-limit

Sets the CPU rate limit for sFlow.
Syntax
qos sflow-set-cpu-rate-limit packet-rate burst-size
no qos sflow-set-cpu-rate-limit packet-rate burst-size
Command Default

A CPU rate limit for sFlow is configured with the default values of 100 sFlow sampled packets per second (PPS) and a burst size of 5000 B.

Parameters
packet-rate
Specifies the number of sFlow sampled PPS into the CPU. The value is measured in PPS and ranges from 1 to 1000.
burst-size
Specifies the burst size. The value is measured in bytes and ranges from 1 to 99999.
Modes

Global configuration mode

Usage Guidelines

If the burst size is set low more packets are subject to rate limiting. If the burst size is set too high fewer packets are subject to rate limiting.

You should not set the burst size less than 10 times the maximum transmission unit of the traffic.

The recommended settings are 1000 PPS with a maximum burst size of 5000 B.

The no form of this command returns the device to the default CPU rate limit for sFlow.

Examples

The following example uses the recommended settings to configure the CPU rate limit for sFlow.

device(config)# qos sflow-set-cpu-rate-limit 1000 5000

To view the CPU rate limit for sFlow use the following command.

device(config)# show qos sflow-rate-limit
Queue-Num       Rate-Limt       Burst-Size
Queue13           1000            5000
device(config)#
 
History
Release version Command history
08.0.40 This command was introduced.