Users Guide

Switch Management Commands 2133
Command Mode
Interface Configuration (Ethernet) mode
User Guidelines
Lower sampling numbers cause more samples to be collected and increase the
load on the CPU. Setting a sampling rate of 1024 on a large number of ports
may tax the CPU beyond it's ability to deliver the packets to the receiver.
Lowering the sampling rate (higher numerical value) will help to ensure that
all collected samples can be sent to the receiver.
Example
console(config-if-Gi1/0/15)#sflow 1 sampling 1500 50
sflow source-interface
Use the sflow source-interface command to select the interface from which
to use the IP address inserted in the source IP address field of transmitted
sFlow packets. Use the no form of the command to revert to the default IP
address.
Syntax
sflow source-interface {loopback loopback-id | vlan vlan-id | out-of-band |
tunnel tunnel-id}
no sflow source-interface
loopback-id — A loopback interface identifier.
vlan-id — A VLAN identifier.
tunnel-id — A tunnel identifier (Range 0–7).
out-of-band — The out-of-band interface.
Default Configuration
By default, the switch uses the assigned switch IP address as the source IP
address for sFlow packets. This is either the IP address assigned to the VLAN
from which the sFlow packet originates or the out-of-band interface IP
address.