R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

150
Sampler configuration commands
display sampler
Use display sampler to display configuration and running information about a sampler.
Syntax
In standalone mode:
display sampler [ sampler-name ] [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]
In IRF mode:
display sampler [ sampler-name ] [ chassis chassis-number slot slot-number ] [ | { begin | exclude |
include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
sampler-name: Specifies the sampler name, a case-insensitive string of 1 to 32 characters.
slot slot-number: Displays the sampler configuration and running information of a specific card. The
slot-number argument specifies a card by its slot number. (In standalone 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 device. The slot-number argument represents the slot number
of the card. (In IRF mode.)
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the configuration and running information about the specified sampler.
<Sysname> display sampler 256
Sampler name: 256
Index: 1, Mode: Fixed, Packet-interval: 8
Packet counter: 0, Random number: 1
Total packet number (processed/selected): 256/1