Connectivity Guide
Command Mode CONFIGURATION
Usage Information
Sampling rate is the number of packets skipped before the sample is taken. For example, if the sampling rate is
4096, one sample generates for every 4096 packets observed. The no version of the command resets the
sampling rate to the default value.
Example
OS10(conf)# sflow sample-rate 4096
Supported Releases 10.3.0E or later
sow source-interface
Congures an interface as source for sFlow. The sFlow agent uses the IP address of the congured 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 conguration 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 sow
Displays the current sFlow conguration for all interfaces or by a specic interface type.
Syntax
show sflow [interface type]
Parameter interface type — (Optional) Enter either ethernet or port-channel for the interface type.
Command Mode EXEC
sFlow 1127