samples-per-message

Use this command to set the number of flow records to be included in each export message.

Use no parameter of this command to set the number of flow records to be included in each export message.

Command Syntax

Copy
samples-per-message (1|8)

Parameters

samples-per-message (1|8)

Specifies the number of data records to be included in a single IPFIX message, which controls the granularity of the exported flow data.

Default

None

Command Mode

IP flow monitor mode

Applicability

Introduced in OcNOS version 6.5.1.

Example

The following command sets the maximum number of data records to be included in each IPFIX message generated by the specified IP flow exporter profile.

Copy
OcNOS#configure terminal
OcNOS(config)#ip-flow-exporter FLOW-EXPORTER
OcNOS(ip-flow-exporter)#samples-per-message 1