R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)
227
random: Specifies the random sampling mode, in which a packet is randomly selected out of a group of
packets, and which packet is selected for each sampling varies.
packet-interval rate: Specifies the sampling rate in the range of 1 to 16. The sampling rate is calculated
using the formula 2 to the power of rate.
Examples
# Create a sampler with the name abc in fixed sampling mode. Set the sampling rate to 8, which means
one packet out of 256 packets (2 to the 8th power) is sampled.
<Sysname> system-view
[Sysname] sampler abc mode fixed packet-interval 8










