Saving Logs To A Local Log File - Huawei NetEngine5000E Configuration Manual

Core router
Table of Contents

Advertisement

HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
1.6.3.1.1.5.4;The interface status changes. (ifName=Ethernet3/0/5, AdminStatus=U
P, OperStatus=UP, Reason=Interface physical link is Up.)
May
1.6.3.1.1.5.4;The interface status changes. (ifName=Ethernet3/0/5.125, AdminStat
us=UP, OperStatus=UP, Reason=Interface physical link is Up.)
May
1.6.3.1.1.5.4;The interface status changes. (ifName=Ethernet3/0/5.124, AdminStat
us=UP, OperStatus=UP, Reason=Interface physical link is Up.)

4.6 Saving Logs to a Local Log File

This section describes how to save logs to a local log file.
Applicable Environment
The system records operation status to the log buffer in real time. Logs can be saved to a log file
by using the specified command. You can query the log file to understand what happened during
system operations.
Procedure
Step 1 In the user view, run:
save logfile
Logs are saved to a local log file.
If you need to save logs in the log buffer into a log file when the log buffer is not full or the timer
does not expire, run the save logfile command.
----End
Checking the Configuration
After completing the configuration, run the display logfile path command to view the log file.
<HUAWEI>display logfile cfcard:/logfile/log_17_20110504041811.log.zip
2010-08-13 07:05:14 HUAWEI %%01cli/5/CLI_USER_LOGIN(l):VR=0-CID=2160731923;Common
username:root login from CONSOLE, channelid 32768, result :Login success.
2010-08-13 07:05:16 HUAWEI %%01cli/5/CLI_CMD_RECORD_NO_RESULT(l):VR=0-
CID=2160731923;Record command information. (Task=Common, AccessMode=CONSOLE,
User=root, Command="sy".)
2010-08-13 07:05:17 HUAWEI %%01cli/5/CLI_CMD_RECORD_NO_RESULT(l):VR=0-
CID=2160731923;Record command information. (Task=Common, AccessMode=CONSOLE,
User=root, Command="dis dev".)
2010-08-13 07:05:19 HUAWEI %%01cli/5/CLI_CMD_RECORD_NO_RESULT(l):VR=0-
CID=2160731923;Record command information. (Task=Common, AccessMode=CONSOLE,
User=root, Command="q".)
2010-08-13 07:05:22 HUAWEI %%01cli/5/CLI_CMD_RECORD_NO_RESULT(l):VR=0-
CID=2160731923;Record command information. (Task=Common, AccessMode=CONSOLE,
User=root, Command="save logfile ".)
2010-08-13 07:05:30 HUAWEI %%01cli/5/CLI_CMD_RECORD_NO_RESULT(l):VR=0-
CID=2160731923;Record command information. (Task=Common, AccessMode=CONSOLE,
User=root, Command="dis logfile
2010-08-13 07:05:47 HUAWEI %%01cli/5/CLI_CMD_RECORD_NO_RESULT(l):VR=0-
CID=2160731923;Record command information. (Task=Common, AccessMode=CONSOLE,
User=root, Command="dis logfile
Related Tasks
4.9.1 Example for Saving Logs to a Local Log File
Issue 01 (2011-10-15)
1 2011 19:20:32 HUAWEI %%01STANDARD/6/linkup:VR=0-CID=0x807a271c-OID=1.3.6.
1 2011 19:20:32 HUAWEI %%01STANDARD/6/linkup:VR=0-CID=0x807a271c-OID=1.3.6.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
cfcard:/oper_6301458_20100813_0.log ".)
cfcard:/oper_6301458_20100813_0.log
4 Log Management
level
6".)
104

Advertisement

Table of Contents
loading

Table of Contents