H3C S7500E Series Command Manual page 1306

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – Information Center
H3C S7500E Series Ethernet Switches
begin: Displays the line that matches the regular expression and all the
subsequent lines.
exclude: Displays the lines that do not match the regular expression.
include: Displays the lines that match the regular expression.
text: Regular expression, a string of 1 to 256 characters. Note that this argument is
case-sensitive and can have spaces included.
Table 1-5 Meanings of characters in text
Character
^
$
.
*
+
-
[ ]
( )
Description
Use the display logbuffer command to display the state of the log buffer and the log
information recorded. Absence of the size buffersize argument indicates that all log
information recorded in the log buffer is displayed.
Meaning
Starting sign, the string following it
appears only at the beginning of a
line.
Ending sign, the string before it
appears only at the end of a line.
Full stop, a wildcard used in place of
any character, including blank
Asterisk, used to match a
subexpression before it zero or
multiple times
Addition, used to match a
subexpression before it one or
multiple times
Hyphen. It connects two values (the
smaller one before it and the bigger
one after it) to indicate a range
together with [ ].
Selects one character from the
group.
A group of characters. It is usually
used with "+" or "*".
1-6
Chapter 1 Information Center Configuration
Remarks
Regular expression "^user"
matches a string begins with
"user", not "Auser".
Regular expression "user$"
matches a string ends with
"user", not "userA".
None
zo* can map to "z" and "zoo".
zo+ can map to "zo" and
"zoo", but not "z".
For example, "1-9" means
numbers from 1 to 9
(inclusive); "a-h" means from
a to h (inclusive).
For example, [1-36A] can
match only one character
among 1, 2, 3, 6, and A.
For example, (123A) means
a string "123A"; "408(12)+"
can match 40812 or
408121212. But it cannot
match 408. That is, "12" can
appear continuously and it
must at least appear once.
Commands

Advertisement

Table of Contents
loading

Table of Contents