Display Logbuffer - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

display logbuffer

Syntax
display logbuffer [ unit unit-id ] [ level severity | size buffersize ]* [ | { begin | exclude | include }
regular-expression ]
View
Any view
Parameter
unit-id: Unit ID of the device, the value can only be 1.
level severity: Specifies an information severity level. The severity argument ranges from 1 to 8.
Table 1-2 Severity level defined in the information center
Severity
emergencies
alerts
critical
errors
warnings
notifications
informational
debugging
size buffersize: Specifies the size of the log buffer (number of messages the log buffer holds) you want
to display. The buffersize argument ranges from 1 to 1,024 and defaults to 512.
|: Filters output log information with a regular expression.
begin: Displays the line that matches the regular expression and all the subsequent lines..
exclude: Displays the log information excluding the specified characters.
include: Displays the log information including the specified characters.
regular-expression: Regular expression.
Description
Use the display logbuffer command to display the status of the log buffer and the records in the log
buffer.
Example
# Display the status of the log buffer and the records in the log buffer.
<Sysname>
display logbuffer
Logging buffer configuration and contents:enabled
Allowed max buffer size : 1024
Actual buffer size : 512
Channel number : 4 , Channel name : logbuffer
Severity value
1
2
3
4
5
6
7
8
Description
The system is unavailable.
Information that demands prompt reaction
Critical information
Error information
Warnings
Normal information that needs to be noticed
Informational information to be recorded
Information generated during debugging
1-3

Advertisement

Table of Contents
loading

Table of Contents