402
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member
device, this command displays sampler configuration information for the master device. (Centralized
devices in IRF mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The
chassis-number argument represents the member ID of the IRF member device. The slot-number
argument represents the slot number of the card. If you do not specify a card, this command displays
sampler configuration information for the global active MPU. (Distributed devices in IRF mode.)
Examples
# Display the configuration information about sampler 256.
<Sysname> display sampler 256
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 80 Command output
Field Description
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