- Table of Contents
-
- 18-Network Management and Monitoring Configuration Guide
- 00-Preface
- 01-Ping and tracert configuration
- 02-System debugging configuration
- 03-NQA configuration
- 04-NTP configuration
- 05-PTP configuration
- 06-SNMP configuration
- 07-RMON configuration
- 08-Event MIB configuration
- 09-Sampler configuration
- 10-Mirroring configuration
- 11-NetStream configuration
- 12-IPv6 NetStream configuration
- 13-sFlow configuration
- 14-VCF fabric configuration
- 15-Cloud connection configuration
- 16-Performance management configuration
- 17-CWMP configuration
- 18-EPA configuration
- 19-SmartMC configuration
- 20-SQA configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Sampler configuration | 38.73 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 random sampling mode is supported. In this 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 random packet-interval [ n-power ] rate
By default, no samplers exist.
Verifying and maintaining a sampler
To display configuration information about the sampler, execute the following command in any view:
display sampler [ sampler-name ] [ slot slot-number ]