354
Examples
# Display the configuration information about sampler 256.
<Sysname> display sampler 256
Sampler name: 256
Mode: Fixed; Packet-interval: 256
# (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: 256
# (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: 256
Table 77 Command output
Field Descri
tion
Sampler name Name of the sampler.
Mode Sampling mode, including fixed mode and random mode.
Packet-interval Sampling rate.
sampler
Use sampler to create a sampler.
Use undo sampler to delete a sampler.
Syntax
sampler sampler-name mode { fixed | random } packet-interval rate
undo sampler sampler-name
Default
No sampler exists.
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.