3.2.26. sflow

Note

requires a Turbo Router Network License.

SFlow configuration.

vrouter running config# vrf <vrf> sflow

enabled

Enable or disable the sFlow daemon for perf measurement.

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

agent-interface

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

vrouter running config# vrf <vrf> sflow
vrouter 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.

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

POLLING values

Description

disabled

Polling disabled.

<uint32>

Polling interval in seconds.

Default value
disabled

sflow-port

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

vrouter running config# vrf <vrf> sflow
vrouter 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.

vrouter running config# vrf <vrf> sflow
vrouter 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.

vrouter running config# vrf <vrf> sflow
vrouter 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.

vrouter running config# vrf <vrf> sflow
vrouter running sflow# sflow-collector <sflow-collector> port PORT

<sflow-collector> values

Description

<A.B.C.D>

An IPv4 address.

<X:X::X:X>

An IPv6 address.

<host-name>

The domain-name type represents a DNS domain name. Fully quallified left to the models which utilize this type. Internet domain names are only loosely specified. Section 3.5 of RFC 1034 recommends a syntax (modified in Section 2.1 of RFC 1123). The pattern above is intended to allow for current practice in domain name use, and some possible future expansion. It is designed to hold various types of domain names, including names used for A or AAAA records (host names) and other records, such as SRV records. Note that Internet host names have a stricter syntax (described in RFC 952) than the DNS recommendations in RFCs 1034 and 1123, and that systems that want to store host names in schema nodes using the domain-name type are recommended to adhere to this stricter standard to ensure interoperability. The encoding of DNS names in the DNS protocol is limited to 255 characters. Since the encoding consists of labels prefixed by a length bytes and there is a trailing NULL byte, only 253 characters can appear in the textual dotted notation. Domain-name values use the US-ASCII encoding. Their canonical format uses lowercase US-ASCII characters. Internationalized domain names MUST be encoded in punycode as described in RFC 3492.

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

sflow-interface

List of sFlow interfaces.

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

<sflow-interface>

An interface name.

sflow-sampling

List of sampling rate by interface speed.

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

<sflow-sampling> values

Description

<string>

Custom speed interfaces with the xxx[M|G] format.

100M

100Mbps interface.

1G

1Gbps interface.

10G

10Gbps interface.

40G

40Gbps interface.

100G

100Gbps interface.

other

Interface with no speed.

rate

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

rate RATE

RATE values

Description

auto

Automatically derived from link speed.

<uint32>

SFlow sampling rate.

Default value
auto