Packet Flow Sampling

The Packet Flow Sampling mechanism carried out by each sFlow instance ensures that any packet observed at a Data Source has an equal chance of being sampled, irrespective of the Packet Flow(s) to which it belongs.

Packet Flow Sampling is accomplished as follows:

To access the sFlow Sampler Configuration page, click System > Advanced Configuration > sFlow > Sampler in the navigation menu.

Click to expand in new window

sFlow Sampler Configuration Fields

Field Description
Sampler Data Source The sFlowDataSource for this sFlow sampler. The sFlow agent supports physical ports as sFlow data sources.
Receiver Index The sFlowReceiver for this sFlow sampler. The specified Receiver Index must be associated with an active sFlow receiver. If a receiver expires, all samplers associated with the receiver will also expire.
Remote Agent Index The remote agent index.
Ingress Sampling Rate sFlow instance packet Sampling Rate for Ingress sampling.
Egress Sampling Rate sFlow instance egress packet Sampling Rate.
Flow-based Sampling Rate sFlow instance flow based packet Sampling Rate.
Maximum Header Size The maximum number of bytes that should be copied from a sampled packet.
IP ACL The ID of the IP ACL to apply to traffic from the sampler.
IP MAC The ID of the MAC ACL to apply to traffic from the sampler.

Click Refresh to refresh the page with the most current data from the switch.

Use the buttons to perform the following tasks:

The Add Sampler page lets you configure the sampling rate for ingress/egress/flow based sampling. After successful configuration, the sFlow packet sampling is performed based on sampling rate.

Click to expand in new window

sFlow Sampler Configuration Fields

Field Description
Sampler Data Source The sFlowDataSource for this sFlow sampler. The sFlow agent supports physical ports as sFlow data sources.
Receiver Index The sFlow Receiver for this sFlow sampler. If set to zero, no packets will be sampled. Only active receivers can be set. If a receiver expires, then all samplers associated with the receiver will also expire. The allowed range is 1 to 8.
Ingress Sampling Rate sFlow instance packet Sampling Rate for Ingress sampling.
Egress Sampling Rate sFlow instance egress packet Sampling Rate.
Flow-based Sampling Rate sFlow instance flow based packet Sampling Rate.
Maximum Header Size The maximum number of bytes that should be copied from a sampled packet. The allowed range is 20 to 256.