HP Enterprise FlexFabric 12900E Series Command Reference Manual page 9

Hide thumbs Also See for Enterprise FlexFabric 12900E Series:
Table of Contents

Advertisement

Syntax
display command [ | [ by-linenum ] { begin | exclude | include }
regular-expression ]&<1-128>
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
command
: Specifies the keywords and arguments of a
keywords and arguments, enter
[ | [ by-linenum ] { begin | exclude | include } regular-expression ]&<1-128>
Specifies a maximum of 128 filter conditions.
by-linenum
condition.
begin
lines.
exclude
include
regular-expression
characters.
Usage guidelines
To quickly locate certain lines in the output from a
expressions to filter the output, and display a number before each output line. For more information
about regular expressions, see Fundamentals Configuration Guide.
If you specify multiple filter conditions, the system displays the output lines that meet all the
conditions.
A line number is a 5-character string and is typically followed by a colon (:). If you specify both the
by-linenum
colon or a hyphen (-).
Colon—The line matches the regular expression.
Hyphen—The line does not match the regular expression.
Examples
# Display the lines that contain vlan in the running configuration.
<Sysname> display current-configuration | include vlan
vlan 1
vlan 999
port access vlan 999
# Display log entries in the log buffer that contain both SHELL and VTY.
<Sysname> display logbuffer | include SEHLL | include VTY
%Sep 6 10:38:12:320 2018 Sysname SHELL/5/SHELL_LOGIN: VTY logged in from 169.254.100.171.
%Sep
6 10:52:32:576 2018 Sysname SHELL/5/SHELL_LOGOUT: VTY logged out from
169.254.100.171.
%Sep 6 16:03:27:100 2018 Sysname SHELL/5/SHELL_LOGIN: VTY logged in from 169.254.100.171.
display ?
: Numbers the output lines. You need to specify this keyword in only one filter
: Displays the first line matching the specified regular expression and all subsequent
: Displays all lines not matching the specified regular expression.
: Displays all lines matching the specified regular expression.
: Specifies a regular expression, a case-sensitive string of 1 to 256
and
begin regular-expression
display
.
display
options, a line number might be followed by a
3
command. To display available
command, you can use regular
:

Advertisement

Table of Contents
loading

Table of Contents