H3C S9500 Series Command Manual page 1770

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Command Manual – Information Center
H3C S9500 Series Routing Switches
Table 1-3 Special characters in the regular expression
Special
characters
_
(
Description
Use the display logbuffer command to view the attribute of logbuffer and the
information recorded in logbuffer.
All log messages are saved in the log buffer. When the log buffer is full, the latest
message will overlap the earliest one.
The displaying sequence of all log messages is from the newest message to the oldest
one.
When you input size, if the size of current configured log messages is bigger than the
logsize, the system will search for the messages on the following principles.
If you input reverse, the system will search for logsize matching messages from
the oldest one( the head of the log buffer), then displays them from the newest
message to the oldest one.
If you do not input inverse, the system will search for the logsize matching
messages from the newest one( the end of the log buffer), then displays them from
the newest message to the oldest one.
Examples
# Show the system logbuffer attribute and the log information in logbuffer.
<H3C> display logbuffer
Logging buffer configuration and contents:enabled
Allowed max buffer size : 1024
Actual buffer size : 512
Channel number : 4 , Channel name : logbuffer
Dropped messages : 0
Description
Underscore, similar
to a wildcard and can
stand for these
characters:
(^|$|[,(){} ])
A space, the
beginning of the
input string, the end
of the input string
Left parenthesis,
push flag in program
1-5
Chapter 1 Information Center
Restriction
If the first character in the regular expression
is not a underscore, then there is no restriction
on the number of the underscore (but it is
restricted by the command length)
If the first character in the regular expression
is an underscore, then there should be less
than five consecutive underscores.
If the underscores in a command are discrete,
on the first group of underscores are filtered
for the output information, but not the
subsequent underscores.
It is recommended not to use this character in
the regular expression.

Advertisement

Table of Contents
loading

Table of Contents