beautypg.com

Sflow sample-rate (interface version) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 718

background image

680

Network OS Command Reference

53-1003115-01

sflow sample-rate (interface version)

2

sflow sample-rate (interface version)

Sets the default sampling rate for an interface.

Synopsis

sflow sample-rate sample rate

no sflow sample-rate

Operands

sample rate

Specifies the sampling rate. Valid values range from 2 through
16777215 packets.

Defaults

The default is 32768.

Command Modes

Interface subtype configuration mode

Description

Use this command to change the default sampling rate for a specific interface. This determines
how many packets are skipped before the next sample is taken for that interface. The default
sampling rate of an interface is set to the same value as the current global default sampling rate.

Usage Guidelines

This command changes the sampling rate for an interface.

Enter no sflow sample-rate to return to the default setting.

Examples

To change the sampling rate to 4096 packets on a specific 40-gigabit Ethernet interface:

switch(config)# interface fortygigabitethernet 1/3/1

switch(conf-if-fo-1/3/1)# sflow sample-rate 4096

See Also

interface, sflow sample-rate (global version), sflow enable (interface version),
sflow polling-interval (interface version)