R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference
203
Views
Any view
Default command level
1: Monitor level
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. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number
argument specifies the ID of the member device. The slot-number argument specifies the slot number of
the card. (In IRF mode.)
|: 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.
Examples
# (In standalone mode.) 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