ECS4100 Series CLI Reference Guide-R07

Table Of Contents
Chapter 7
| Flow Sampling Commands
– 225 –
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-12/26/28/52)
instance-id - An instance ID used to identify the sampling source. (Range: 1)
owner-name - The associated receiver, to which the samples will be sent.
(Range: 1-30 alphanumeric characters)
polling-interval - The time interval at which the sFlow process adds
counter values to the sample datagram. (Range: 0-10000000 seconds, 0
disables this feature)
Default Setting
No sFlow polling instance is configured.
Command Mode
Privileged Exec
Command Usage
This command enables a polling data source and configures the interval at which
counter values are added to the sample datagram.