- Table of Contents
-
- 11-Network Management and Monitoring Configuration Guide
- 00-Preface
- 01-System maintenance and debugging configuration
- 02-NTP configuration
- 03-Information center configuration
- 04-SNMP configuration
- 05-RMON configuration
- 06-Sampler configuration
- 07-Mirroring configuration
- 08-sFlow configuration
- 09-EAA configuration
- 10-NQA configuration
- 11-NETCONF configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
06-Sampler configuration | 36.94 KB |
Configuring samplers
A sampler selects a packet from sequential packets and sends the packet to other service modules for processing. It operates in fixed mode, which selects the first packet from sequential packets in each sampling.
Port mirroring can use a sampler to sample packets to reduce the number of mirrored packets. For more information about port mirroring, see "Configuring port mirroring."
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 rate |
By default, no sampler exists. |
Displaying and maintaining a sampler
Execute display commands in any view.
Task |
Command |
Display configuration information for a sampler (in standalone mode). |
display sampler [ sampler-name ] [ slot slot-number ] |
Display configuration information for a sampler (in IRF mode). |
display sampler [ sampler-name ] [ chassis chassis-number slot slot-number ] |