3com 8807 참조 가이드
1006
C
HAPTER
60: I
NFORMATION
C
ENTER
begin: Optioanl parameter, displays all items beginning friom the matching item.
exclude: Optional parameter, only displays the matching items.
include: Optional parameter, only displays the non-matching items..
text: Defines the regular expression.
Description
Use the display logbuffer command to view the attribute of logbuffer and the
information recorded in logbuffer.
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.
message will overlap the earliest one.
The displaying sequence of all log messages is from the newest message to the
oldest one.
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.
the logsize, the system will search for the messages on the following principles.
■
If you input reverse, the system will search for logsize matiching messages
from the oldest one( the head of the log buffer), then displays them from the
newest message to the oldest one.
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 matiching
messages from the newest one( the end of the log buffer), then displays them
from the newest message to the oldest one.
messages from the newest one( the end of the log buffer), then displays them
from the newest message to the oldest one.
Example
# Show the system logbuffer attribute and the log information in logbuffer.
<SW8800> display logbuffer
Logging buffer configuration and contents:enabled
Allowed max buffer size : 1024
Actual buffer size : 512
Table 142 Special characters in the regular expression
Special
characters
characters
Description
Restriction
_
Underscore, similar to a wildcard
and can stand for these characters:
and can stand for these characters:
(^|$|[,(){} ])
A space, the beginning of the input
string, the end of the input string
string, the end of the input string
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)
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.
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.
are discrete, on the first group of
underscores are filtered for the
output information, but not the
subsequent underscores.
(
Left parenthesis, push flag in
program
program
It is recommended not to use this
character in the regular expression.
character in the regular expression.