355
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. Valid values are alert, critical, debugging, emergency, error,
informational, notification, warning, and digits from 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
terminal monitor
Use terminal monitor to enable monitoring of logs on the current terminal.
Use undo terminal monitor to disable monitoring of logs on the current terminal.
Syntax
terminal monitor
undo terminal monitor
Default
Monitoring of logs is enabled on the console and disabled on the monitor terminal.
Views
User view
Predefined user roles
network-admin
Usage guidelines
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
# Enable monitoring of logs on the current terminal.
<Sysname> terminal monitor