1846
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
S
F
LOW
C
OMMANDS
SFLOW
SAMPLING
-
RATE
sflow sampling-rate
Overview
This command sets the mean sFlow® sampling rate for the specified ports.
Sampling occurs every N frames (on average), where N is the rate value set via this
command. The sampling rate applies to ingress and egress frames independently.
For example, a value of 1000 will sample one frame in every 1000 frames received,
i.e. one in every 1000 frames sent from the specified port. A value of 0 disables
sampling on the specified port(s).
The
no
variant of this command applies the default.
Syntax
sflow sampling-rate {0|<
256-16777215
>}
no sflow sampling-rate
Default
The sampling-rate is 0 (sampling disabled).
Mode
Interface Configuration
Example
To set the sampling rate to 500 for ports 1.0.1 and 1.0.7, use the commands:
awplus#
configure terminal
awplus(config)#
interface port1.0.1,port1.0.7
awplus(config-if)#
sflow sampling-rate 500
Related
Commands
show running-config sflow
show sflow interface
Parameter
Description
0
Sets the default.
<
256-16777215
>
The sampling rate N, measured in Ethernet frames.