449
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
terminal monitor
Use terminal monitor to enable the monitoring of logs on the current terminal.
Use undo terminal monitor to disable the 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 the monitoring of logs on the current terminal.
<Sysname> terminal monitor
The current terminal is enabled to display logs.