Huawei OLT Autosave Configuration enable/on
[boxads]
Today i will discuss how to enable/on Huawei OLT Autosave Configuration. Two way we can do it, one is autosave interval and another is autosave time.
This command is used to enable the system to save the system configuration automatically or set the preset time when the configuration is saved. The autosave function includes autosave configuration at the preset time and at the interval time. When you need to set the preset time of the autosave function, run this command. After the command is executed successfully, you can save the configuration at the preset time instead of delivering commands by the network management to prevent data loss at emergency reboot.
- By default, the auto-save function is disabled.
- When the autosave function is enabled, if the system configuration is modified, the configuration is saved at the user-defined time. When the autosave function is disabled, the configuration is not saved automatically, and you need to run the save command to save it.
- When you enable the autosave function, pay attention to the following points:
- This function autosave time and the autosave interval function cannot be enabled simultaneously.
- When you run the autosave interval command, saving data frequently affects the system. Therefore, it is not recommended that you configure the auto-save interval smaller than one hour. The recommended value is equal to or greater than 24 hours.
- Writing and reading the data in the flash memory frequently decreases the using time of the flash memory. It is recommended to disable this function after the configuration.
Huawei OLT Autosave Configuration enable Example:
To enable the auto-save function, do as follows:
huawei#autosave interval
{ configuration<K>|time<U><10,10080>|value<E><on,off> }:on
 Command:
         autosave interval on
 System autosave interval switch: on
 Autosave interval: 1440 minutes
 Autosave type: data
 System autosave modified configuration switch: on
 Autosave interval: 30 minutes
 Autosave type: data
To set the auto-save interval to 120 minutes based on the relative time of the system, do as follows:
huawei#autosave interval
{ configuration<K>|time<U><10,10080>|value<E><on,off> }:120
 Command:                                                                    Â
         autosave interval 120                                               Â
 System autosave interval switch: on                                         Â
 Autosave interval: 120 minutes                                              Â
 Autosave type: data
To set the auto-save interval to 60 minutes for saving the modified configuration data of the system, do as follows:
huawei#autosave interval                                              Â
{ configuration<K>|time<U><10,10080>|value<E><on,off> }:configuration
{ time<U><2,1440> }:60
 Command:
         autosave interval configuration 60
 System autosave modified configuration switch: on
 Autosave interval: 60 minutes
 Autosave type: data
[bodyads]
To enable the automatically save function of the system configuration, do as follows:
huawei#autosave time
{ time_value<T><hh:mm:ss>|value<E><on,off> }:on
Command:
autosave time on
System autosave time switch: on
Autosave time: 00:00:00
Autosave type: data
To set the automatically save time as 12:20:30, do as follows:
huawei#autosave time
{ time_value<T><hh:mm:ss>|value<E><on,off> }:12:20:30
Command:
autosave time 12:20:30
System autosave time switch: on
Autosave time: 12:20:30
Autosave type: data
To query the auto-save parameters configured in the system, do as follows:
huawei>display autosave configuration
System autosave interval switch: on
Autosave interval: 120 minutes
Autosave type: data
System autosave modified configuration switch: on
Autosave interval: 10 minutes
Autosave type: data
System autosave time switch: off
Autosave time: 12:20:30
Autosave type: data
System Response:
- The system saves data at the configured time automatically and displays the saving progress after the auto-save interval is configured successfully.
- The system displays the configured result after the command is executed successfully. The following table describes the parameters in response to this command.
Parameter Description System autosave modified configuration switch Indicates the status of the auto-save modified configuration. Options: on and off. System autosave interval switch Indicates the status of the auto-save function. The auto-save includes the auto-save of the configuration data and the auto-save of the modified configuration data.
- When the parameter is on, the auto-save attributes are both enabled.
- When the parameter is off, the two auto-save attributes are both disabled.
Autosave interval Indicates the auto-save interval. When the fixed save interval is configured, the system automatically saves the configuration information, regardless of whether the configuration information is modified or not. Autosave type Indicates types of auto-save files, including:
- database file
- configuration file
- database file and configuration file