Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Device Management
3.5.1.7 Configuring the Device to Output Logs to the Console
Context
After logs are output to the console, you can view logs on the console (host from which you can
log in to the device through the console interface) to monitor device running.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
info-center console channel { channel-number | channel-name }
A channel through which logs are output to the console is specified.
By default, the device uses channel 0 to output logs to the console.
Step 3 Run:
info-center source { module-name | default } channel { channel-number | channel-
name } log { state { off | on } | level severity }
A rule for outputting logs to a channel is set.
By default, channel 0 is enabled to output logs and the lowest log severity is warning.
Step 4 Run:
quit
Return to the user view.
Step 5 Run:
terminal monitor
Display of logs, traps, and debugging message output is enabled on the user terminal.
By default, console display is enabled and terminal display is disabled.
Step 6 Run:
terminal logging
Log display is enabled on the user terminal.
By default, log display is enabled on the user terminal.
----End
3.5.1.8 Configuring the Device to Output Logs to a Terminal
Context
After logs are output to a user terminal, you can view logs on the user terminal (host from which
you log in to the device through Telnet) to monitor device running.
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 Information Center Configuration
*
29