R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)
226
Field Descri
p
tion
Random number
• In fixed mode, it is the first packet that is selected in each sampling. The
value for this field is always 1.
• In random mode, it is the nth packet to be selected out of the sequential
packets in one sampling, where the nth varies per sampling.
Total packet number
(processed/selected)
Total number of packets processed and selected by the sampler.
reset sampler statistics
Use reset sampler statistics to clear the running information of a sampler, including the counter, total
number of packets processed and selected.
Syntax
reset sampler statistics [ sampler-name ]
Views
User view
Default command level
1: Monitor level
Parameters
sampler-name: Specifies the sampler name, a case-insensitive string of 1 to 32 characters.
Usage guidelines
With no sampler-name specified, this command clears the running information of all samplers.
Examples
# Clear the running information of the specified sampler.
<Sysname> reset sampler statistics abc
sampler
Use sampler to create a sampler. A total of 32 samplers can be created.
Use undo sampler to delete a sampler.
Syntax
sampler sampler-name mode { fixed | random } packet-interval rate
undo sampler sampler-name
Views
System view
Default command level
2: System level
Parameters
sampler-name: Assigns the name to the sampler, a case-insensitive string of 1 to 32 characters.
fixed: Specifies the fixed sampling mode, in which the first packet is selected per sampling.










