505
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 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 logs that can be output to the current terminal is 6 (Informational).
Views
User view
Predefined user roles
network-admin
Parameters
severity
: Specifies a log severity level in the range of 0 to 7.
Usage guidelines
This command enables the device to output logs with a severity level higher than or equal to the
specified level to the current terminal. For example, if you set the
severity
argument to 6, logs with a
severity value from 0 to 6 are output to the current terminal.
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.
Examples
# Configure the device to output logs with the debugging level and higher levels to the current
terminal.
<Sysname> terminal logging level 7