- Table of Contents
- 11-Network Management and Monitoring Configuration Guide
- 01-System maintenance and debugging configuration
- 02-NQA configuration
- 03-NTP configuration
- 04-SNMP configuration
- 05-RMON configuration
- 06-Event MIB configuration
- 07-NETCONF configuration
- 08-Puppet configuration
- 09-Chef configuration
- 10-EAA configuration
- 11-Process monitoring and maintenance configuration
- 12-Sampler configuration
- 13-Mirroring configuration
- 14-NetStream configuration
- 15-IPv6 NetStream configuration
- 16-sFlow configuration
- 17-TCP connection trace configuration
- 18-Performance management configuration
- 19-Information center configuration
- 20-GOLD configuration
- Related Documents
|12-Sampler configuration||39.34 KB|
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 random sampling, 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."
1. Enter system view.
2. Create a sampler.
sampler sampler-name mode random packet-interval n-power rate
By default, no samplers exist.
Support for the n-power keyword varies by device model.
Execute display commands in any view.
Display configuration information about the sampler.
display sampler [ sampler-name ] [ slot slot-number ]