beautypg.com

Sflow sample, Sflow source, Sflow sample sflow source – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual

Page 193

background image

Brocade 6910 Ethernet Access Switch Configuration Guide

137

53-1002651-02

8

Flow Sampling Commands

sflow sample

This command configures the packet sampling rate. Use the no form to restore the default rate.

Syntax

sflow sample rate

no sflow sample

rate - The packet sampling rate, or the number of packets out of which one sample will be
taken. (Range: 256-16777215 packets)

Default Setting
Disabled

Command Mode
Interface Configuration (Ethernet)

Example
This example sets the sample rate to 1 out of every 100 packets.

Console(config)#interface ethernet 1/9

Console(config-if)#sflow sample 100

Console(config-if)#

sflow source

This command enables sFlow on the source ports to be monitored. Use the no form to disable
sFlow on the specified ports.

Syntax

[no] sflow source

Default Setting
Disabled

Command Mode
Interface Configuration (Ethernet)

Example
This example enables flow control on ports 9 through 16.

Console(config)#interface ethernet 1/9

Console(config-if)#sflow source

Console(config-if)#