How to Set Up the Huawei OLT’s Auto-Save Function 

Last updated: September 2026

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.
The two modes conflict with each other — you can only enable one at a time.
Saving too often puts load on the system. Don’t set an interval shorter than one hour; one day or longer is recommended.
Before a system upgrade, disable auto-save with 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

  1. 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.
  2. (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.
  3. (Optional) Set the unconditional auto-save interval:
    huawei(config)#autosave interval <minutes>
    Saves on this schedule regardless of whether data changed. Default: 24 hours.
  4. (Optional) Set which files get auto-saved:
    huawei(config)#autosave type <type>

Option B: Auto-save at a preset time

  1. 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.
  2. (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.
  3. (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 save manually 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.

Command syntax can vary slightly by firmware version. Confirm against your OLT’s own CLI help (?) before running these commands on a live system.