CLI Reference Guide-R02

Table Of Contents
Chapter 7
| Flow Sampling Commands
– 207 –
Once an owner is created, the sflow owner command can again be used to
modify the owners port number. All other parameter values for the owner will
be retained if the port is modified.
Use the no sflow owner command to remove the collector.
When the sflow owner command is issued, it’s associated timeout value will
immediately begin to count down. Once the timeout value has reached zero
seconds, the sFlow owner and its associated sampling sources will be deleted
from the configuration.
Example
This example shows an sflow collector being created on the switch.
Console#sflow owner stat_server1 timeout 100 destination 192.168.220.225 port
22500 max-datagram-size 512 version v5
Console#
This example shows how to modify the sFlow port number for an already
configured collector.
Console#sflow owner stat_server1 timeout 100 port 35100
Console#
sflow polling instance This command enables an sFlow polling data source, for a specified interface, that
polls periodically based on a specified time interval. Use the no form to remove the
polling data source instance from the switchs sFlow configuration.
Syntax
sflow polling {interface interface} instance instance-id receiver owner-name
polling-interval seconds
no sflow polling {interface interface} instance instance-id
interface - The source from which the samples will be taken at specified
intervals and sent to a collector.
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-18)