3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
2428
C
HAPTER
 163: I
NFORMATION
 C
ENTER
 C
ONFIGURATION
 C
OMMANDS
display logbuffer
Syntax
display logbuffer [ level severity | size buffersize ] * [ | { begin | exclude | include 
text ]
View
Any view
Parameter
level severity: Displays information of the log with specified level, where severity 
represents information level, in the range 0 to 7.
size buffersize: Displays specified number of the latest log messages in the log 
buffer, where buffersize represents the number of the latest log messages to be 
displayed in the log buffer, in the range 1 to 1,024.
slot slotnum: Slot number.
|: The output log information filtered by a regular expression.
begin: Displays log information beginning with a specified character or string.
exclude: Displays log information that does not contain a specified character or 
string.
include: Displays log information that contains a specified character or string.
text: Regular expression.
Table 627   Severity description
Character Meaning  Remarks 
emergencies 
The system is unavailable 
alerts 
Information that requires prompt reaction 
critical 2 
Critical 
information 
errors 3 
Error 
information 
warnings 4 
Warnings 
notifications 5 
Normal 
errors 
with important information 
informational 6 
Informational 
information to be recorded 
debugging 7 
Debugging 
information
Table 628   Meanings of characters in text
Character Meaning 
Remarks 
Starting sign, the string following it 
appears only at the beginning of a 
line. 
Regular expression “^user” matches a 
string begins with “user”, not 
“Auser”. 
Ending sign, the string following it 
appears only at the end of a line. 
Regular expression “user$” matches a 
string ends with “user”, not “userA”. 
Full stop, a wildcard used in place of 
any character, including blank 
None 
Asterisk, used to match a 
subexpression before it zero or 
multiple times 
zo* can map to “z” and “zoo”.