R3102-R3103-HP 6600/HSR6600 Routers Network Management and Monitoring Command Reference

204
Parameters
reverse: Displays log entries chronologically, with the most recent entry at the top. Without this keyword,
the command displays log entries chronologically, with the oldest entry at the top.
level severity: Displays log information of the specified level in the range of 0 to 7.
Table 45 Severity description
Severity Value Description
Corresponding
keyword in
commands
Emergency 0 The system is unusable. emergencies
Alert 1
Action must be taken
immediately.
alerts
Critical 2 Critical condition. critical
Error 3 Error condition.
errors
Warning 4 Warning condition. warnings
Notification 5
Normal but significant
condition.
notifications
Informational 6 Informational message. informational
Debug 7 Debugging message. debugging
size buffersize: Specifies the number of latest log messages to be displayed, in the range of 1 to 1024.
slot slot-number: Specifies a card by its slot number.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
The following matrix shows the option and router compatibility:
Option 6602 HSR6602 6604/6608/6616
slot slot-number No Yes Yes
Examples
# Display the state and log information of 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
Dropped messages : 0