sampling-rate

Use this command to configure the rate at which packets are sampled for flow monitoring. Every packet sampled at this rate will be sent to the monitor for IPFIX processing.

Use no parameter of this command to remove the sampling rate configuration from the device.

Command Syntax

Copy
sampling-rate <1024-16777215>
no sampling-rate <1024-16777215>

Parameters

sampling-rate <1024-16777215>

Specifies the range of sampling rates that determine how frequently packets are selected for inclusion in the flow monitoring process.

Default

None

Command Mode

IP flow monitor mode

Applicability

Introduced in OcNOS version 6.5.1.

Example

The following command configures the sampling rate for the specified IP flow monitor profile to 1024 packets per second.

Copy
OcNOS#configure terminal
OcNOS(config)#ip-flow-monitor FLOW-MONITOR
OcNOS(ip-flow-monitor)#sampling-rate 1024