2428 CHAPTER 163: INFORMATION CENTER CONFIGURATION COMMANDS

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.

 

Table 627 Severity description

Character

Meaning

Remarks

 

 

 

emergencies

0

The system is unavailable

alerts

1

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

 

 

 

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 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.

.

Full stop, a wildcard used in place of

 

any character, including blank

Regular expression “user$” matches a string ends with “user”, not “userA”.

None

*

Asterisk, used to match a

 

subexpression before it zero or

 

multiple times

zo* can map to “z” and “zoo”.

Page 2428
Image 2428
3Com MSR 30, MSR 50 manual Display logbuffer, Represents information level, in the range 0 to, Severity description