R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference
151
Table 35 Command output
Field Descri
p
tion
Sampler name Name of the sampler.
Index Index number identifying a sampler.
Mode Sampling mode, including fixed mode and random mode.
Packet-interval Sampling rate.
Packet counter Counts the number of packets that have been received for one sampling.
Random number
• Fixed mode—The first packet that is selected in each sampling. The
value for this field is always 1.
• Random mode—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