sflow enable

Enables sFlow. sFlow can be configured globally or on an interface.

Syntax

sflow enable
no sflow enable

Command Default

sFlow is disabled on the system.

Modes

Global Configuration Mode, Interface Mode

Usage Guidelines

The no form of this command disables sFlow. When this command is run on an interface, it disables sFlow on that interface.

Examples

The following example configures sFlow globally.

SLX# configure terminal
SLX (config)# sflow enable

2023/01/10-05:58:04.702198 , [SFLO-1001], 5826, DCE, INFO, GESpine2, sFlow is enabled globally.

SLX (config)# 

The following example configures sFlow on an interface.

SLX# configure terminal
SLX (config)# interface ethernet 0/25:2
SLX (conf-if-eth-0/25:2)# sflow enable

2023/01/10-07:08:03.093271 , [SFLO-1002], 5830, DCE, INFO, GESpine2, sFlow is enabled 
     for interface Ethernet 0/25:2.

SLX (conf-if-eth-0/25:2)#