- Table of Contents
-
- 12-Network Management and Monitoring Configuration Guide
- 00-Preface
- 01-System maintenance and debugging configuration
- 02-NQA configuration
- 03-NTP configuration
- 04-SNMP configuration
- 05-RMON configuration
- 06-NETCONF configuration
- 07-EAA configuration
- 08-Process monitoring and maintenance configuration
- 09-Sampler configuration
- 10-Mirroring configuration
- 11-sFlow configuration
- 12-Information center configuration
- 13-GOLD configuration
- 14-Packet capture configuration
- 15-VCF fabric configuration
- 16-CWMP configuration
- 17-SmartMC configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Sampler configuration | 34.29 KB |
Configuring samplers
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. This sampling mode is not supported in the current software version.
Creating a sampler
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Create a sampler. |
sampler sampler-name mode fixed packet-interval n-power rate |
By default, no samplers exist. |
Displaying and maintaining a sampler
Execute display commands in any view.
Task |
Command |
Display configuration information about the sampler (in standalone mode). |
display sampler [ sampler-name ] [ slot slot-number ] |
Display configuration information about the sampler (in IRF mode). |
display sampler [ sampler-name ] [ chassis chassis-number slot slot-number ] |