3.2.29. sflow

Note

requires a Product License.

SFlow configuration.

vsr running config# vrf <vrf> sflow

enabled (pushed)

Enable or disable the sFlow daemon for perf measurement.

vsr running config# vrf <vrf> sflow
vsr running sflow# enabled true|false
Default value
true

agent-interface

Use this interface IP in the reports sent to the collector.

vsr running config# vrf <vrf> sflow
vsr running sflow# agent-interface <string>

polling

Polling type (disabled or interval in seconds). Every interval, an sFlow frame containing interface statistics is sent to the collector.

vsr running config# vrf <vrf> sflow
vsr running sflow# polling POLLING

POLLING

Polling interval in seconds.

Default value
disabled

sflow-port

The port number to receive sFlow sample from 6WIND products.

vsr running config# vrf <vrf> sflow
vsr running sflow# sflow-port SFLOW-PORT

SFLOW-PORT

A 16-bit port number used by a transport protocol such as TCP or UDP.

Default value
36343

if-error

Force the output ifindex value used for drop packets.

vsr running config# vrf <vrf> sflow
vsr running sflow# if-error IF-ERROR

IF-ERROR values

Description

1073741823

Last index 0x3FFFFFFF.

1073741824

Generic error 0x40000000.

<uint32>

No description.

if-unknown

Force the output ifindex value used for packets where the output is not known.

vsr running config# vrf <vrf> sflow
vsr running sflow# if-unknown IF-UNKNOWN

IF-UNKNOWN values

Description

1073741823

Last index 0x3FFFFFFF.

0

Generic error 0.

<uint32>

No description.

sflow-collector

List of sFlow collectors.

vsr running config# vrf <vrf> sflow
vsr running sflow# sflow-collector <sflow-collector> port PORT source-ip SOURCE-IP

<sflow-collector>

The host type represents either an unzoned IP address or a DNS domain name.

port

The port number of the sFlow collector.

port PORT

PORT

A 16-bit port number used by a transport protocol such as TCP or UDP.

Default value
6343

source-ip

The source IP address used in packets sent to the collector. The address must be a valid address on one of the host’s network interfaces.

source-ip SOURCE-IP

SOURCE-IP

An IPv4 or IPv6 address.

sflow-interface

List of sFlow interfaces.

vsr running config# vrf <vrf> sflow
vsr running sflow# sflow-interface <sflow-interface>

<sflow-interface>

An interface name.

sflow-sampling

List of sampling rate by interface speed.

vsr running config# vrf <vrf> sflow
vsr running sflow# sflow-sampling speed <sflow-sampling> rate RATE

<sflow-sampling>

Type for sFlow sampling by interface speed. For interface with a speed not specified the applied rate will be interface_speed/1000000.

rate

Sampling rate in number of packets. For better performance, it should be set to a power of two.

rate RATE

RATE

SFlow sampling rate.

Default value
auto