mdc-admin
Usage guidelines
To view debug information, perform the following steps:
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 execute the terminal logging level 7 command to enable the display of debug information
on the current terminal. However, this command also enables the display of all other log information. Use
a proper command as needed.
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, in the range of 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
234