356
Sampler name: 256
Mode: Fixed; Packet-interval: 8; IsNpower: Y
# (Distributed devices in standalone mode.) Display the configuration information about sampler 256
for card 1.
<Sysname> display sampler 256 slot 1
Sampler name: 256
Mode: Fixed; Packet-interval: 8; IsNpower: Y
# (Distributed devices in IRF mode.) Display the configuration information about sampler 256 for
card 1 on IRF member device 1.
<Sysname> display sampler 256 chassis 1 slot 1
Sampler name: 256
Mode: Fixed; Packet-interval: 8; IsNpower: Y
Table 78 Command output
Sampler name Name of the sampler.
Mode Sampling mode, including fixed mode and random mode.
Packet-interval Sampling rate.
IsNpower
Whether the sampling rate is 2 to the nth power:
• Y—Yes.
• N—No.
sampler
Use sampler to create a sampler.
Use undo sampler to delete a sampler.
Syntax
sampler sampler-name mode { fixed | random } packet-interval [ n-power ] rate
undo sampler sampler-name
Default
No samplers exist.
Views
System view
Predefined user roles
network-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.
random: Specifies the random sampling mode. A sampler in this mode randomly selects a packet
out of a group of packets. Which packet is selected for each sampling varies.
rate: Specifies the sampling rate. The value range for this argument is 1 to 65536.