- Table of Contents
-
- 14-Network Management and Monitoring Configuration Guide
- 00-Preface
- 01-Ping and tracert configuration
- 02-System debugging configuration
- 03-NQA configuration
- 04-NTP configuration
- 05-SNMP configuration
- 06-Sampler configuration
- 07-Mirroring configuration
- 08-NetStream configuration
- 09-IPv6 NetStream configuration
- 10-sFlow configuration
- 11-NetAnalysis configuration
- 12-Packet capture configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
06-Sampler configuration | 38.22 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, which might select any packet from sequential packets in each sampling.
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 ]