sFlow is the standard for monitoring high-speed switched and routed networks. sFlow technology is built into network equipment and gives complete visibility into network activity, enabling effective management and control of network resources.
no sflow receiver
Use this command to set the sFlow collector parameters back to the defaults.
Format: no sflow receiver indx {ip <ip-address> | maxdatagram <size> | owner <string> timeout <interval> | port <14-port>}
Mode: Global Config
sflow sampler
A data source configured to collect flow samples is called a poller. Use this command to configure a new sFlow sampler instance on an interface or range of interfaces for this data source if <rcvr_idx> is valid.
Receiver Index: The sFlow Receiver for this sFlow sampler to which flow samples are to be sent. A value of zero (0) means that no receiver is configured, no packets will be sampled. Only active receivers can be set. If a receiver expires, then all samplers associated with the receiver will also expire. Possible values are 1-8. The default is 0.
Maxheadersize: The maximum number of bytes that should be copied from the sampler packet. The range is 20-256. The default is 128. When set to zero (0), all the sampler parameters are set to their corresponding default value.
Sampling Rate: The statistical sampling rate for packet sampling from this source. A sampling rate of 1 counts all packets. A value of zero (0) disables sampling. A value of N means that out of N incoming packets, 1 packet will be sampled. The range is 1024-65536 and 0. The default is 0.
no sflow sampler
Use this command to reset the sFlow sampler instance to the default settings.
A data source configured to collect counter samples is called a poller. Use this command to enable a new sFlow poller instance on an interface or range of interfaces for this data source if <rcvr_idx> is valid.
Receiver Index: Enter the sFlow Receiver associated with the sampler/poller. A value of zero (0) means that no receiver is configured. The range is 1-8. The default is 0.
Poll Interval: Enter the sFlow instance polling interval. A poll interval of zero (0) disables counter sampling. When set to zero (0), all the poller parameters are set to their corresponding default value. The range is 0-86400. The default is 0. A value of N means once in N seconds a counter sample is generated.
no sflow poller
Use this command to reset the sFlow poller instance to the default settings.
Format: no sflow poller {<rcvr-indx> | interval <poll-interval>}
Mode: Interface Config
show sflow agent
The sFlow agent collects time-based sampling of network interface statistics and flow-based samples. These are sent to the configured sFlow receivers. Use this command to display the sFlow agent information.
Format: show sflow agent
Mode: Privileged EXEC
The display parameters for above command are:
sFlow Version: Uniquely identifies the version and implementation of this MIB. The version string must have the following structure: MIB Version; Organization; Software Revision where:
MIB Version: 1.3, the version of this MIB.
Organization: Tejas Networks.
Revision: 1.0
IP Address: The IP address associated with this agent.
show sflow pollers
Use this command to display the sFlow polling instances created on the switch. Use "-" for range.
Format: show sflow pollers
Mode: Privileged EXEC
The display parameters for above command are:
Poller Data Source: The sFlowDataSource (unit/slot/port) for this sFlow sampler. This agent will support Physical ports only.
Receiver Index: The sFlowReceiver associated with this sFlow counter poller.
Poller Interval: The number of seconds between successive samples of the counters associated with this data source.
show sflow receivers
Use this command to display configuration information related to the sFlow receivers.
Format: show sflow receivers [<index>]
Mode: Privileged EXEC
The display parameters for above command are:
Receiver Index: The sFlow Receiver associated with the sampler/poller.
Owner String: The identity string for receiver, the entity making use of this sFlowRcvrTable entry.
Time Out: The time (in seconds) remaining before the receiver is released and stops sending samples to sFlow receiver. The no timeout value of this parameter means that the sFlow receiver is configured as a non-timeout entry.
Max Datagram Size: The maximum number of bytes that can be sent in a single sFlow datagram.
Port: The destination Layer4 UDP port for sFlow datagrams.
IP Address: The sFlow receiver IP address.
Address Type: The sFlow receiver IP address type. For an IPv4 address, the value is 1 and for an IPv6 address, the value is 2.
Datagram Version: The sFlow protocol version to be used while sending samples to sFlow receiver
show sflow samplers
Use this command to display the sFlow sampling instances created on the switch.
Format: show sflow samplers
Mode: Privileged EXEC
The display parameters for above command are:
Sampler Data Source: The sFlowDataSource (unit/slot/port) for this sFlow sampler. This agent will support Physical ports only.
Receiver Index: The sFlowReceiver configured for this sFlow sampler.
Packet Sampling Rate: The statistical sampling rate for packet sampling from this source.
Max Header Size: The maximum number of bytes that should be copied from a sampled packet to form a flow sample.