How are log files saved

10

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.

Other related questions:
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.

Where are log files saved
Log files of a switch are saved in the syslogfile or logfile folder in the flash memory. dir //Display all the files and folders in the flash memory. Directory of flash:/ Idx Attr Size(Byte) Date Time FileName 0 -rw- 1,766 Dec 24 2040 03:37:54 private-data.txt 3 drw- - Dec 24 2040 03:40:12 syslogfile 4 drw- - Dec 24 2040 03:37:58 compatible 16 -rw- 10,571 Jan 04 2041 03:51:18 elabel-slot0.fls ... cd logfile //Access the logfile folder. dir Directory of flash:/logfile/ Idx Attr Size(Byte) Date Time FileName 0 -rw- 10,824 Jan 24 2042 09:15:04 logfile-2042-01-24-09-15-03.zip 1 -rw- 15,334 Feb 03 2042 14:45:08 logfile-2042-02-03-14-45-08.zip

Save the configuration of the S1728GWR-4P switch
Save the configuration of an S1728GWR-4P switch as follows: Choose System > File, select Config File from the Action drop-down list box, and save a configuration file. Perform the following steps: 1. Choose System > File. 2. Select Config File from the Action drop-down list box. 3. Select save the current configuration from the operation list. 4. Choose needs to be saved in the Save as file name, or rename files. 5. Click Apply.

How to upload the web file of a WLAN device
How to upload the web file of a WLAN device:
Upload the web file to the device through FTP:
1.  Configure the FTP function and FTP user information about the device.
[Huawei] ftp server enable //Enable the FTP service.
[Huawei] aaa
[Huawei-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789  //Create an FTP user with the user name admin1234 and password Helloworld@6789
[Huawei-aaa] local-user admin1234 privilege level 15
[Huawei-aaa] local-user admin1234 service-type ftp  //Configure the user service type to FTP.
[Huawei-aaa] local-user admin1234 ftp-directory flash:  //Configure the directories to which this FTP user has access.
[Huawei-aaa] quit
[Huawei] quit
<Huawei> save
2.  Connect to the device through FTP from the terminal PC, and enter the user name admin1234 and password Helloworld@6789. Then, upload the file in binary mode.
C:\Documents and Settings\Administrator> ftp 10.136.23.5  //IP address of the WLAN device used to interconnect to the PC.
Connected to 10.136.23.5.
220 FTP service ready.
User (10.136.23.5:(none)): admin1234             
331 Password required for admin1234.
Password:
230 User logged in.
ftp> binary
200 Type set to I.
ftp>
3.  Upload the web file to the device.
ftp> put web.zip  
200 Port command okay.
150 Opening BINARY mode data connection for devicesoft.cc
226 Transfer complete.
ftp:   76556  bytes,  3.35s  560.79 KB/s.
4.  Check the files and subdirectories in the current directory.
<Huawei> dir
Directory of flash:/
  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 it has been loaded, ignore it.

USG6000 log saving
USG6000 log saving modes 1. Check whether the information center is enabled. The information center can record logs only after it is enabled. By default, it is enabled. [sysname] display info-center Information Center:enabled 2. Enable the information center. [sysname] info-center enable 3. Configure the IP address of the log server and the source interface for sending log information. [sysname] info-center loghost x.x.x.x [sysname] info-center loghost source GigabitEthernet 1/0/1 (Optional) Configure the log output in binary format. You also need to configure the eSight NMS server to resolve logs. a. Configure the IP address and port number of the eSight NMS server. [sysname] data-flow loghost 1 ip-address 10.1.1.2 port 9903 b. Configure the IP address and port number used by the device to send binary logs to the eSight NMS server. [sysname] data-flow loghost source ip-address 10.1.1.1 source-port 1617

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