How to Set Up the Huawei OLT’s Auto-Save Function
Huawei OLT Auto-Save Setup Guide
Set up the auto-save function on a Huawei OLT so configuration and database files save themselves,
without you needing to run save by hand after every change. This applies to the
MA5680T,
MA5616, MA5608T, MA5603T and MA5600T.
Background
The MA5600 series supports two auto-save modes — pick one:
- Auto-save at a preset interval — saves data at a fixed interval, only if something changed.
- Auto-save at a preset time — saves data once a day at a fixed clock time, whether or not anything changed.
autosave interval off or
autosave time off — an upgrade running at the same time as an auto-save can fail.
Re-enable auto-save once the upgrade is complete, if you still want it running.Procedure
Option A: Auto-save at a preset interval
-
In global config mode, enable auto-save at a preset interval:
huawei(config)#autosave interval on
Conflicts with auto-save at preset time — only one can be active. -
(Optional) Set how often the system checks for changes to save:
huawei(config)#autosave interval <change-check-minutes>
The system only saves if data changed during that window. Default: 30 minutes. -
(Optional) Set the unconditional auto-save interval:
huawei(config)#autosave interval <minutes>
Saves on this schedule regardless of whether data changed. Default: 24 hours. -
(Optional) Set which files get auto-saved:
huawei(config)#autosave type <type>
Option B: Auto-save at a preset time
-
In global config mode, enable auto-save at a preset time:
huawei(config)#autosave time on
Conflicts with auto-save at preset interval — only one can be active. -
(Optional) Set the daily save time:
huawei(config)#autosave time <hh:mm:ss>
Saves at this time every day, regardless of changes. Default: 00:00:00. -
(Optional) Set which files get auto-saved:
huawei(config)#autosave type <type>
Example
Enable auto-save at a preset interval, set it to two days (2,880 minutes), and save both the database and configuration files:
huawei(config)#autosave interval on huawei(config)#autosave interval 2880 huawei(config)#autosave type all huawei(config)#save
Practical tips
- Run
savemanually right after you set up auto-save, so your current config isn’t lost if power drops before the first scheduled save. - Stick with one day or longer for the interval — anything under an hour adds unnecessary load for little benefit.
- Set a calendar reminder to re-enable auto-save after every firmware upgrade — it’s easy to forget once the upgrade itself is done.
- If you manage several OLTs, keep the same interval and file type settings across all of them so backups stay predictable.
FAQ
What’s the default auto-save interval?
The change-check interval defaults to 30 minutes, and the unconditional save interval defaults to 24 hours.
Can I use preset interval and preset time together?
No — they conflict. Enabling one automatically means the other must stay off.
Do I need to turn off auto-save before an upgrade?
Yes. Run autosave interval off or autosave time off first, then re-enable auto-save once the upgrade finishes.
Which models does this apply to?
MA5680T, MA5616, MA5608T, MA5603T and MA5600T — the command syntax is consistent across the MA5600 series.
Read also
Command syntax can vary slightly by firmware version. Confirm against your OLT’s own CLI help
(?) before running these commands on a live system.
