Command Reference Guide

sFlow Commands
CLI Command Reference
September 2014 Page 243
HP Moonshot Switch Module CLI Command Reference
sFlow Commands
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.
sflow receiver
Use this command to configure the sFlow collector parameters (owner string, receiver timeout, max datagram
size, IP address, and port).
no sflow receiver
Use this command to set the sFlow collector parameters back to the defaults.
Format
sflow receiver rcvr_idx {owner owner-string timeout rcvr_timeout | max datagram size
| ip ip | port port}
Mode Global Config
Parameter Description
Receiver Owner The identity string for the receiver, the entity making use of this sFlowRcvrTable entry. The
range is 127 characters. The default is a null string. The empty string indicates that the entry
is currently unclaimed and the receiver configuration is reset to the default values. An
entity wishing to claim an sFlowRcvrTable entry must ensure that the entry is unclaimed
before trying to claim it. The entry is claimed by setting the owner string to a non-null value.
The entry must be claimed before assigning a receiver to a sampler or poller.
Receiver Timeout The time, in seconds, remaining before the sampler or poller is released and stops sending
samples to receiver. A management entity wanting to maintain control of the sampler is
responsible for setting a new value before the old one expires. The allowed range is 0-
2147483647 seconds. The default is zero (0).
No Timeout The configured entry will be in the config until you explicitly removes the entry.
Receiver Max
Datagram Size
The maximum number of data bytes that can be sent in a single sample datagram. The
management entity should set this value to avoid fragmentation of the sFlow datagrams.
The allowed range is 200 to 9116). The default is 1400.
Receiver IP The sFlow receiver IP address. If set to 0.0.0.0, no sFlow datagrams will be sent. The default
is 0.0.0.0.
Receiver Port The destination Layer4 UDP port for sFlow datagrams. The range is 1-65535. The default is
6343.
Format
no sflow receiver indx {ip ip-address | maxdatagram size | owner string timeout
interval | port 14-port}
Mode Global Config