- Table of Contents
-
- 17-Network Management and Monitoring Configuration Guide
- 00-Preface
- 01-Information center configuration
- 02-Flow log configuration
- 03-Fast log output configuration
- 04-NetStream configuration
- 05-Sampler configuration
- 06-Cloud connection configuration
- 07-Mirroring configuration
- 08-Packet capture configuration
- 09-NQA configuration
- 10-Track configuration
- 11-BFD configuration
- 12-Monitor Link configuration
- 13-Smart Link configuration
- 14-Interface backup configuration
- 15-Interface collaboration configuration
- 16-System maintenance and debugging configuration
- 17-NTP configuration
- 18-EAA configuration
- 19-Process monitoring and maintenance configuration
- 20-NETCONF configuration
- 21-CWMP configuration
- 22-SNMP configuration
- 23-RMON configuration
- 24-Event MIB configuration
- 25-Process placement configuration
- 26-GOLD configuration
- 27-gRPC configuration
- 28-iNQA configuration
- 29-SmartMC configuration (self-mesh supported)
- Related Documents
-
Title | Size | Download |
---|---|---|
05-Sampler configuration | 47.83 KB |
Configuring samplers
About sampler
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.
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
1. Enter system view.
system-view
2. Create a sampler.
sampler sampler-name mode { fixed | random } packet-interval [ n-power ] rate
By default, no samplers exist.
Display and maintenance commands for a sampler
Execute display commands in any view.
Task |
Command |
Display configuration information about the sampler. |
display sampler [ sampler-name ] [ slot slot-number ] |