Outputting Logs To A Log File - Huawei Quidway S9300 Configuration Manual

Terabit routing switch device management
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Device Management
l
----End

5.3.7 Outputting Logs to a Log File

When a fault occurs on the device, you locate the fault based on information saved in the log
file.
Procedure
Step 1 Sending logsto a channel
1.
2.
Step 2 Configuring the channel through which logs are output to the log file
1.
Step 3 (Optional) Configuring the size of the log file output by the information center
1.
Issue 03 (2011-12-29)
Logs are sent to the information channel.
Logs can be output only after the information center is enabled. .
Configuring the channel through which logs are output
1.
Do as follows on the switch enabled with the information center, run:
system-view
The system view is displayed.
2.
Run:
info-center logbuffer [ channel { channel-number | channel-name } ]
The channel through which logs are output to the log buffer is configured.
3.
(Optional) Run:
info-center logbuffer [ channel { channel-number | channel-name } | size
*
buffersize ]
The size of the log buffer is configured.
After the information center is enabled, logs are output to the log buffer through
Channel 4 by default and the log buffer can cache a maximum of 512 logs.
Run:
system-view
The system view is displayed.
Run:
info-center source { module-name | default }
channel-name } [ log { state { off | on } | level severity }
Logs are sent the information channel.
Logs can be output only after the information center is enabled.
Run:
info-center logfile channel { channel-number | channel-name }
The channel through which logs are output to the log file is configured.
Run:
info-center logfile size size
The size of the configuration file is set.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 Information Center Configuration
channel
{ channel-number |
*
]
61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents