sFlow Commands
OmniSwitch 6250 CLI Reference Guide November 2009 page 37-5
sflow sampler
Gets the hardware sampled from Q-dispatcher and fills up the sampler part of the UDP datagram.
sflow sampler num portlist receiver receiver_index rate value sample-hdr-size size
no sflow sampler num portlist
Syntax Definitions
num Specifies the instance id.
portlist Specifies the interface index range.
receiver_index Specifies the receiver index.
value Specifies the rate value for packet sampling.
size Specifies the maximum number of bytes (size) that can be copied from a
sampled packet.
Defaults
Platforms Supported
OmniSwitch 6250
Usage Guidelines
• Use the no form of this command to delete a sampler.
• A sampling rate of 1 counts all packets. A sampling rate of 0 disables sampling.
Examples
-> sflow sampler 1 2/1-5 receiver 1 rate 1024
-> no sflow sampler 1 2/1-5
Release History
Release 6.6.1; command was introduced.
parameter default
receiver_index 0
value 0
size 128