show sflow samplers

sFlow Configuration

Defaults

None.

Mode

Switch command, read‐write.

Usage

A sampler instance performs packet flow sampling on the data source to which it is configured. Refer to Sampling Mechanisms” on page 28‐2 for more information.

You must first associate a receiver/Collector in the sFlow Receivers Table with the sampler instance, before configuring the sampling rate or maximum number of bytes copied from sampled packets.

When a receiver times out or is cleared from the sFlow Receivers Table, all poller and sampler instances associated with that receiver are also cleared from the switch’s configuration.

A maximum of 32 sampler instances can be configured per switch or stack of switches.

Example

The following example configures sampler instances on ports ge.1.1 through ge.1.8 and associates them with receiver 1. Then, a sampling rate of 1024 is configured. The default max header size of 128 bytes is used.

C3(su)->set sflow port ge.1.1-8 sampler 1

C3(su)->set sflow port ge.1.1-8 sampler rate 1024

show sflow samplers

Use this command to display information about configured sampler instances.

Syntax

show sflow samplers

Parameters

None.

Defaults

None.

Mode

Switch command, read‐only.

Example

This example displays the output of this command.

C3(su)->show sflow samplers

 

Sampler

Receiver

Packet

Max Header

Data Source

Index

Sampling Rate

Size

-----------

-------

-------------

----------

ge.1.1

1

1024

128

SecureStack C3 Configuration Guide 28-13

Page 861
Image 861
Enterasys Networks 9034313-07 manual Show sflow samplers