beautypg.com

Sflow sample, Sflow source – LevelOne GTL-2691 User Manual

Page 859

background image

C

HAPTER

27

| Flow Sampling Commands

– 859 –

sflow sample

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

restore the default rate.

S

YNTAX

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)

D

EFAULT

S

ETTING

Disabled

C

OMMAND

M

ODE

Interface Configuration (Ethernet)

E

XAMPLE

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.

S

YNTAX

[no] sflow source

D

EFAULT

S

ETTING

Disabled

C

OMMAND

M

ODE

Interface Configuration (Ethernet)

E

XAMPLE

This example enables flow control on ports 9 through 16.

Console(config)#interface ethernet 1/9

Console(config-if)#sflow source

Console(config-if)#