Configuring Samplers; Creating A Sampler; Displaying And Maintaining A Sampler; Sampler Configuration Example - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

Configuring samplers

A sampler selects a packet from among 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 among sequential packets in each sampling.
Random mode—Any packet might be selected from among sequential packets in each sampling.
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 "Configuring 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

Network requirements

As shown in
Configure IPv4 NetStream on the device to collect statistics on incoming and outgoing traffic on
GigabitEthernet 2/1/2.
Send the NetStream data to port 5000 on the NetStream server.
Command
system-view
sampler sampler-name mode
{ fixed | random }
packet-interval rate
Figure
61, configure samplers and NetStream as follows:
Remarks
N/A
By default, no sampler exists.
Command
display sampler [ sampler-name ] [ slot slot-number ]
display sampler [ sampler-name ] [ chassis
chassis-number slot slot-number ]
200

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents