sflow forwarding (LAG)

Enables sFlow forwarding on an individual port in a deployed LAG.
Syntax
sflow forwarding { ethernet stackid/slot/port | port-name name }
no sflow forwarding { ethernet stackid/slot/port | port-name name }
Command Default

sFlow is not configured.

Parameters
ethernet stackid/slot/port
Specifies the Ethernet port within the LAG on which you want to enable sFlow forwarding.
port-name name
Specifies a named port within the LAG on which you want to enable sFlow forwarding.
Modes

LAG configuration mode

Usage Guidelines

For a keep-alive LAG, sFlow can be enabled only in interface configuration mode and not in LAG configuration mode.

The no form of the command disables sFlow forwarding.

Examples

The following example shows how to enable sFlow forwarding on an individual port.

device(config)# lag blue static id 1
device(config-lag-blue)# sflow forwarding ethernet 1/3/1

The following example shows how to enable sFlow forwarding on a named port.

device(config)# lag test2 static id 2
device(config-lag-test2)# sflow forwarding port-name port1