Users Guide

Table Of Contents
sflow sample-rate
Configures the sampling rate.
Syntax
sflow sample-rate value
Parameter value Enter the packet sample rate, from 4096 to 65535. The default is 32768.
Default 32768
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
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-IDEnter the Loopback interface details. The Loopback ID range is from 0
to 16383.
port-channel port-channel-IDEnter the port channel details. The port channel ID range is
from 1 to 128.
vlan vlan-IDEnter 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]
sFlow 1357