389
5.
Enable the information center (enabled by default).
6.
Use a debugging command to enable the related debugging.
This command takes effect only for the current connection between the terminal and the device. If a
new connection is established, the default is restored.
You can also enable the display of debug information on the current terminal by executing the
terminal logging level 7
command. This command has the following differences from the
terminal
debugging
command:
•
The
terminal logging level 7
command enables log display for all levels (levels
0
through
7
) on
the current terminal.
•
The
terminal debugging
command only enables log display for the debug level (level
7
) and
the levels that are higher than or equal to the severity level specified by the
terminal logging
level
command.
Examples
# Enable the display of debug information on the current terminal.
<Sysname> terminal debugging
The current terminal is enabled to display debugging information.
Related commands
terminal logging level
terminal monitor
terminal logging level
Use
terminal logging level
to set the lowest level of the logs that can be output to the current
terminal.
Use
undo terminal logging level
to restore the default.
Syntax
terminal logging level
severity
undo terminal logging level
Default
The lowest level of the logs that can be output to the console and the monitor terminal is 6
(Informational).
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
severity
: Specifies the lowest level of the logs that can be output to the current terminal. The value
range is 0 to 7.
Usage guidelines
If you specify the lowest level of the logs that can be output to the current terminal, the device outputs
the logs with a severity level higher than or equal to the specified level. For example, if you set the
lowest level of the logs that can be output to the current terminal to 6 (informational), logs with a
severity value from 0 to 6 will be output.