Sflow, Sflow source, Sflow 4-103 – LevelOne FGL-2870 User Manual

Page 469

Advertising
background image

Flow Sampling Commands

4-103

4

sflow

This command enables sFlow globally for the switch. Use the no form to disable this
feature.

Syntax

[no] sflow

Default Setting

Disabled

Command Mode

Global Configuration

Command Usage

Flow sampling must be enabled globally on the switch, as well as for those
ports where it is required (see the sflow source command on page 4-103).

Example

sflow source

This command enables sFlow on the source ports to be monitored. Use the no form
to disable sFlow on the specified ports.

Syntax

[no] sflow source

Default Setting

Disabled

Command Mode

Interface Configuration (Ethernet)

Command Usage

The 100BASE-TX ports are organized into groups of 8 based on a restriction
in the switch ASIC (1-8, 9-16, 17-24, 25-32, 33-48). Selecting any port in one
of these groups effectively configures all of the group members as an sFlow
source port. However, the four Gigabit ports (25-28/49-52) can be
independently configured as an sFlow source port.

Example
This example enables flow control on ports 9 through 16.

Console(config)#sflow
Console(config)#

Console(config)#interface ethernet 1/9
Console(config-if)#sflow source
Console(config-if)#

Advertising