11-Network Management and Monitoring Configuration Guide

HomeSupportResource CenterSwitchesS12500X-AF SeriesS12500X-AF SeriesTechnical DocumentsConfigure & DeployConfiguration GuidesH3C S12500X-AF Switch Series Configuration Guides(R3606)-6W10011-Network Management and Monitoring Configuration Guide
12-Sampler configuration
Title Size Download
12-Sampler configuration 39.34 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 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."

Creating a sampler

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.


Display and maintenance commands for a sampler

Execute display commands in any view.




Display configuration information about the sampler.

display sampler [ sampler-name ] [ slot slot-number ]




  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us