beautypg.com

Sflow sampling-rate, Set via, Sflow – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 2107: Sampling-rate

background image

sFlow Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

81.13

sflow sampling-rate

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. One in every 1000 frames sent
from the specified port. A value of 0 disables sampling on the specified ports.

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:

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.

awplus#

configure terminal

awplus(config)#

interface port1.0.1,port1.0.7

awplus(config-if)#

sflow sampling-rate 500