Sampler - HPE FlexNetwork 7500 Series Command Reference Manual

Network management and monitoring
Table of Contents

Advertisement

sampler

Use sampler to create a sampler.
Use undo sampler to delete a sampler.
Syntax
sampler sampler-name mode fixed packet-interval n-power rate
undo sampler sampler-name
Default
No samplers exist.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
sampler-name: Specifies a sampler by its name, a case-insensitive string of 1 to 31 characters.
fixed: Specifies the fixed sampling mode. A sampler in this mode selects the first packet per
sampling.
n-power: Specifies the sampling rate as 2 to the nth power.
rate: Specifies the sampling rate. The sampling rate is 2 to the nth power, where n is value of the rate
argument. For example, if the rate argument is set to 8, one packet is selected from 256 (2 to the 8th
power) packets in each sampling. The value range for the rate argument is 1 to 12.
Usage guidelines
This command takes effect on all cards.
Examples
# Create sampler abc in fixed sampling mode. Set the sampling rate to 8 to select one packet form
256 packets in each sampling.
<Sysname> system-view
[Sysname] sampler abc mode fixed packet-interval 8
317

Advertisement

Table of Contents
loading

Table of Contents