Huawei NetEngine5000E Configuration Manual page 117

Core router
Table of Contents

Advertisement

HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
Figure 4-3 Networking diagram for saving logs to a local log file
RouterA
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
Data Preparation
To complete the configuration, you need the following data:
l
l
Procedure
Step 1 Configure a routing protocol to make the router and the FTP server reachable. (The configuration
details are not provided here.)
Step 2 Configure user name and password used on the FTP server. (The configuration details are not
provided here.)
Step 3 Save logs to a log file.
<RouterA> save logfile
Step 4 Upload the log file to the FTP server.
# Switch to the path of the log file.
<RouterA> cd cfcard:/logfile/
# Log in to the FTP server.
<RouterA> ftp 10.1.1.1
Trying to connect...
Press CTRL+K to abort
Connected to the server
220 FTP service ready.
User(ftp 10.1.1.1:(none)):huawei
331 Password required for huawei
Password:
230 User logged in.
# Upload the log file in binary mode to the FTP server.
[ftp] binary
[ftp] put log_17_20110504041811.log.zip
[ftp] quit
Issue 01 (2011-10-15)
10.2.1.1/16
GE1/0/0
Save logs to a log file.
Upload the log file to the FTP server.
IP address of the FTP server
User name and password used on the FTP server
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
IP network
FTP Server
10.1.1.1/16
4 Log Management
109

Advertisement

Table of Contents
loading

Table of Contents