beautypg.com

Configuring sflow on your switch – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 2086

background image

sFlow Introduction and Configuration

Software Reference for x310 Series Switches

80.6

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Configuring sFlow on your Switch

This section provides some guidelines for setting up the sFlow® agent on your switch.
sFlow can be configured directly on your switch - using the CLI, or it can be configured via
an SNMP manager. The SNMP management function can be carried out either by a the
sFlow collector, or a separate SNMP manager. The configuration examples in this section
are shown using the CLI.

sFlow configuration can vary greatly with your overall configuration, data profile, and
monitoring intensity. Also, many interdependencies existing between parameter settings.
For this reason, few firm configuration settings are recommended in this software
reference, but instead these parameter relationships are explained and some typical
configuration examples are shown.

The default settings on your switch have sFlow turned off for all ports.
The following commands are used to setup and configure sFlow on your switch. These are
introduced in the order in which you would logically need to use them.

Caution

The sFlow configurations set either by the switch’s CLI, or the sFlow
collector. Sometimes the collector will overide the sFlow settings that were
initially configured by the CLI, in order to apply “its” own default settings.
If you want to apply the sFlow settings set by the CLI, or by an external
network management system, then turn off network management at the
collector.
We also advise that as part of your sFlow commissioning process, you
review your security access procedures relating to sFlow access and its data
traffic management.

sFlow Command

Functionality

sflow enable

enables sFlow on your switch (or stack).

sflow max-header-size

sets the maximum sFlow data capture size.

sflow collector max-datagram-
size

sets the maximum size for the agent to collector
datagrams.

sflow agent (address)

sets the sFlow agent IP address on the switch.

sflow polling-interval

sets the counter polling interval for specified ports.

sflow sampling-rate

sets the mean sampling rate for specified ports.

sflow collector (address)

the sFlow agent's collector IP address and/or UDP
port.