Configuring Samplers; Creating A Sampler; Displaying And Maintaining A Sampler; Sampler Configuration Example For Ipv4 Netstream - HPE FlexNetwork 10500 series Configuration Manual

Network management and monitoring
Table of Contents

Advertisement

Configuring samplers

A sampler selects a packet from sequential packets and sends the packet to other service modules
for processing. Sampling is useful when you want to limit the volume of traffic to be analyzed. The
sampled data is statistically accurate and sampling decreases the impact on the forwarding capacity
of the device.
The following sampling modes are available:
Fixed mode—The first packet is selected from sequential packets in each sampling.
Random mode—Any packet might be selected from sequential packets in each sampling. This
sampling mode is not supported in the current software version.
A sampler can sample packets for NetStream. Then, only the sampled packets are sent to and
processed by the NetStream module. For more information about NetStream, see
NetStream."

Creating a sampler

Step
1.
Enter system view.
2.
Create a sampler.

Displaying and maintaining a sampler

Execute display commands in any view.
Task
Display configuration information about the sampler
(in standalone mode).
Display configuration information about the sampler
(in IRF mode).
Sampler configuration example for IPv4
NetStream

Network requirements

As shown in
Configure IPv4 NetStream on the device to collect statistics on incoming and outgoing traffic on
GigabitEthernet 1/0/2.
Send the NetStream data to port 5000 on the NetStream server.
Configure fixed sampling in the inbound direction to select the first packet from 256 packets.
Configure fixed sampling in the outbound direction to select the first packet from 1024 packets.
Command
system-view
sampler sampler-name
mode fixed packet-interval
n-power rate
Figure
59, configure samplers and NetStream as follows:
Remarks
N/A
By default, no samplers exist.
Command
display sampler [ sampler-name ] [ slot
slot-number ]
display sampler [ sampler-name ] [ chassis
chassis-number slot slot-number ]
214
"Configuring

Advertisement

Table of Contents
loading

Table of Contents