Users Guide

Table Of Contents
Example
OS10(conf)# sflow sample-rate 4096
Supported
Releases
10.3.0E or later
sflow source-interface
Configures an interface as source for sFlow. The sFlow agent uses the IP address of the configured source interface as the agent IP
address.
Syntax
sflow source-interface {ethernet node/slot/port[:subport] | loopback loopback-
ID | port-channel port-channel-ID | vlan vlan-ID}
Parameters
ethernet node/slot/port[:subport]—Enter the physical interface type details.
loopback loopback-ID—Enter the Loopback interface details. The Loopback ID range is from 0 to
16383.
port-channel port-channel-ID—Enter the port channel details. The port channel ID range is from 1
to 128.
vlan vlan-ID—Enter the VLAN details. The VLAN ID range is from 1 to 4093.
Default Disabled
Command Mode CONFIGURATION
Usage Information
The no version of this command removes the configuration from the interface.
Example
(Ethernet)
OS10(config)# sflow source-interface ethernet 1/1/1
Example
(Loopback)
OS10(config)# sflow source-interface loopback 1
Example (port-
channel)
OS10(config)# sflow source-interface port-channel 1
Example (VLAN)
OS10(config)# sflow source-interface vlan 10
Supported
Releases
10.4.1.0 or later
show sflow
Displays the current sFlow configuration for all interfaces or by a specific interface type.
Syntax
show sflow [interface type]
Parameter interface type — (Optional) Enter either ethernet or port-channel for the interface type.
Command Mode EXEC
Usage Information
OS10 does not support statistics for UDP packets dropped and samples received from the hardware.
Example
OS10# show sflow
sFlow services are enabled
Management Interface sFlow services are disabled
Global default sampling rate: 32768
Global default counter polling interval: 30
Global default extended maximum header size: 128 bytes
Global extended information enabled: none
1 collector(s) configured
Collector IP addr:10.16.151.245 Agent IP addr:10.16.132.181 UDP port:6343
VRF:Default
sFlow 1255