106
Views
User view
Predefined user roles
network-admin
Usage guidelines
To view debug information on the console, perform the following tasks:
1.
Execute the
terminal debugging
command.
2.
Enable the information center (enabled by default).
3.
Use a debugging command to enable the related debugging.
To view debug information on the monitor terminal, perform the following tasks:
1.
Execute the
terminal monitor
and
terminal debugging
commands.
2.
Enable the information center (enabled by default).
3.
Use a debugging command to enable the related debugging.
The configuration of this command is only valid 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 with 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 logs.
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 current terminal is 6 (informational).
Views
User view