Sflow sampling-rate, Sflow sampling-rate 4 – Allied Telesis AT-8100 Series User Manual
Page 1224
Chapter 77: sFlow Agent Commands
1224
SFLOW SAMPLING-RATE
Syntax
sflow sampling-rate
sampling-rate
Parameters
sampling-rate
Specifies the sampling rate on a port. The possible values are 0
and 256 to 16441700 packets. The value 0 means no sampling.
Mode
Port Interface mode
Description
Use this command to enable or disable packet sampling on the ports and
to set the sampling rates. The sampling rate dictates the number of
ingress packets from which one sample is taken on a port and sent by the
agent to the sFlow collector. For example, a sample rate of 700 on a port
means that one sample packet is taken for every 700 ingress packets. The
ports can have different sampling rates.
To disable packet sampling on the ports, enter the value 0 for the
sampling rate or use the NO form of this command, NO SFLOW
SAMPLING-RATE.
You must disable the sFlow agent to set or change the sampling rate of a
port. For instructions, refer to “NO SFLOW ENABLE” on page 1219.
Confirmation Commands
Examples
This example configures ports 4 to 8 to sample 1 packet in every 350
ingress packets:
awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.4-port1.0.8
awplus(config-if)# sflow sampling-rate 350