Can I configure the path for storing log files of AR series routers

14

By default, the log files of AR1200 series routers are stored on the USB flash drive, and the log files of AR2200, AR3600, and AR3200 are stored on the SD card. If USB flash drive or SD card is unavailable, log files cannot be stored.
NOTE:

From V200R005C10, the log files of AR1200 series are saved in the flash memory by default.


The AR3600 series routers are released from V200R006C10.


Run the info-center logfile path command to configure the path where log files are stored.

Other related questions:
Can I configure the path for storing log files of an AR
By default, the system selects a storage medium in the following descending order of priority: rom, hdd0, hdd1, hdd2, hdd3, sd0, sd1, usb0, usb1, and flash. You can run the info-center logfile path command to configure the path where log files are stored.

How are log files saved
The log files are saved when a storage device such as a Flash memory, a USB flash drive or an SD card is available. In the user view, run the save logfile command to save log files.

How can I query node IP addresses on the SMC2.0?
In the V100R003C10 and later versions, query node IP addresses in SC node information on the SMC2.0.

How to upload a web file on an AR router
How to upload a web file on an AR router?
Upload a web file through FTP to a router.
1.  Use the router as an FTP server, and enable the FTP service.  
Enable the FTP server on the router, and create an FTP user with the user name huawei and password Helloworld@6789. Authorize the user to access the directory sd1:.
[Huawei] ftp server enable
Info: Succeeded in starting the FTP server.
[Huawei] aaa
[Huawei-aaa] local-user huawei password irreversible-cipher Helloworld@6789  //Create an FTP user with the user name huawei and password Helloworld@6789.
[Huawei-aaa] local-user huawei ftp-directory sd1:    //Authorize the user to access the directory sd1:.
[Huawei-aaa] local-user huawei service-type ftp      //Set the service type of the user to FTP.  
[Huawei-aaa] local-user huawei privilege level 15     //Set the user level to 15. The larger the value, the higher the level.
[Huawei-aaa] return    //Return the user view.
<Huawei> save //Save the current configuration file.

2.  Initiate an FTP connection from a maintenance PC to the router.  
On the PC, create an FTP connection to the router through the FTP client (for example, the IP address of the router is 10.110.24.254).
C:\Documents and Setting\Administrator> ftp 10.110.24.254
Connected to 10.110.24.254.
220 FTP service ready.
User (10.110.24.254:(none)): huawei
331 Password required for huawei.
Password:
230 User logged in.

3.  Upload the web software to the router.
ftp> put Web.zip
200 Port command okay.
150 Opening BINARY mode data connection for devicesoft.cc
226 Transfer complete.
ftp:  Send  76556  bytes within  3.35 seconds   at the rate 560.79 Kbytes per second.

4.  View the files and sub-directories under the current directory.
<Huawei> dir
Directory of sd1:/
  Idx  Attr     Size(Byte)  Date        Time       FileName
    0  -rw-          6,311  Feb 17 2012 14:05:04   backup.cfg
    1  -rw-         76,556  Mar 06 2012 17:20:10   Web.zip

5.  Load the web file.
<Huawei> system-view
[Huawei] http server load Web.zip      //Load the web file. If the file has been loaded, ignore this step. In later versions of the software, the web file has been integrated into the system package, and does not need loading.

How to change the log storage path of an NE router
Run the set logfile-path slot slot-id { cfcard | cfcard2 } command in the system view. By default, log files are stored on CF card 2 of a device. The slot-id parameter can specify only a path on the master main control board. To specify a storage path on the slave main control board, perform a master/slave main control board switchover first. After log files are output to the specified CF card, the CF card automatically creates a folder named log. All log files generated by a device are stored in this folder. This method applies to NE20Es, NE40Es, ME60s, and NE5000Es.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top