Configuring A Sampler; Creating A Sampler; Displaying And Maintaining Sampler - HP 5820X Switch Configuration Manual

Network management and monitoring
Hide thumbs Also See for 5820X Switch:
Table of Contents

Advertisement

Configuring a sampler

A sampler provides the packet sampling function. A sampler selects a packet out of sequential packets,
and sends it to the service module for processing.
The following sampling modes are available:
Fixed mode—The first packet is selected out of a number of sequential packets in each sampling.
Random mode—Any packet might be selected out of a number of sequential packets in each
sampling. The 5800 series do not support the random mode.
A sampler can be used to sample packets for NetStream. Only the sampled packets are sent and
processed by the traffic monitoring module. Sampling is useful if you have too much traffic and want to
limit the traffic of interest to be analyzed. The sampled data is statistically accurate and decreases the
impact on forwarding capacity of the device. For more information about NetStream, see
NetStream."

Creating a sampler

To do...
1.
Enter system view.
2.
Create a sampler.

Displaying and maintaining sampler

To do...
Display configuration and running
information about the sampler
Clear running information about the
sampler
Use the command...
system-view
sampler sampler-name mode
fixed packet-interval rate
Use the command...
display sampler [ sampler-name ]
[ slot slot-number ] [ | { begin |
exclude | include } regular-
expression ]
reset sampler statistics [ sampler-
name ]
163
Remarks
Required.
The rate argument specifies the sampling
rate, which equals the 2 to the power of rate.
For example, if the rate is 8, one packet out
of 256 packets (2 to the power of 8) is
sampled in each sampling; if the rate is 10,
one packet out of 1024 packets (2 to the
power of 10) is sampled.
Remarks
Available in any view
Available in user view
"Configuring

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 switch

Table of Contents