sFlow Configuration

clear sflow port poller

clear sflow port poller

Use this command to change the poller interval or to remove poller instances.

Syntax

clear sflow port port-stringpoller [interval]

Parameters

port‐string

Specifies the port or ports on which the poller instance is being cleared.

interval

(Optional) Specifies that the polling interval should be cleared to 0. A

 

value of 0 disables counter sampling.

 

 

Defaults

If interval is not specified, the poller instance is cleared.

Mode

Switch command, read‐write.

Example

This example removes the poller instance on port ge.1.1.

C3(su)->clear sflow port ge.1.1 poller

set sflow port sampler

Use this command to configure sampler instances on ports, or data sources.

Syntax

set sflow port port-stringsampler {index maxheadersize bytes rate rate}

Parameters

port‐string

Specifies the port or ports (data sources) on which the sampler instance

 

is being configured.

 

 

index

Index number in the sFlow Receivers Table for the receiver/Collector

 

with which the sampler instance is associated. The index can range from

 

1 to 8.

 

 

maxheadersize bytes

Specifies the maximum number of bytes that should be copied from the

 

sampler packet. The value can range from 20 to 256 bytes. The default is

 

128 bytes.

 

 

rate rate

Specifies the statistical sampling rate for sampling from this data

 

source. The value of rate specifies the number of incoming packets from

 

which one packet will be sampled. For example, if the rate is 1024, one

 

packet will be sampled from every 1024 ingressing packets on this data

 

source.

 

The rate can range from 1024 to 65536. A value of 0 disables sampling.

 

The default value is 0.

 

 

28-12

Page 860
Image 860
Enterasys Networks 9034313-07 manual Clear sflow port poller, Set sflow port sampler, Interval, Maxheadersize bytes