Free SmartOLT

Presets and auto actions

A preset is a saved set of authorization settings. An auto action is a rule that authorizes waiting ONUs by itself, using a preset. Together they remove most of the typing from installing a new customer.

What a preset stores

FieldMeaning
NameHow the preset appears in lists. Each name can be used once.
ONU typeA fixed ONU type, or From the model the OLT reports to let the panel pick it.
ONU modeBridging or Routing. See Authorize a new ONU for the difference.
User VLAN-IDThe internet VLAN, 1 to 4094. Empty means the ONU is authorized without internet.
Speed profileA speed profile, or No speed limit. A speed profile needs a VLAN.
Zone, SectorThe labels the ONU gets.
Line profile ID, Service profile IDThe profile numbers on the OLT. Leave both empty to use the profiles that most ONUs on that OLT already use. The list then shows OLT default.
GEM port1 to 4095. The default is 1.

A preset does not store the name, address, splitter or location of a customer. Those belong to one ONU.

Create or edit a preset

  1. Open Settings, Presets. You can also press Authorization Presets at the bottom of the Unconfigured page.
  2. Press Add Preset.
  3. Fill in the fields and press Save. You should see Preset saved. and the preset in the list.

To edit a preset, click its name in the list. To remove one, press the red trash button on its row. Export downloads the list as a CSV file and Import loads a file in the same layout.

Removing a preset also removes the auto actions that use it. A preset cannot be removed while ONUs in the later authorization list depend on it.

Use a preset

  • On the Authorize form: choose it in Preset at the top. The ONU type, line profile, service profile, service template, VLAN, speed profile, zone, sector and GEM port are filled in. You can still change any field before you press Save.
  • On Add ONU for later authorization: choose it in Preset. Values you type on that form are used first, and the preset fills the rest.
  • In an auto action: every ONU the rule matches is authorized with the preset.

The preset used is shown later on the ONU page as Configuration Preset.

What auto actions are

An auto action says: when an ONU waits for authorization and matches these conditions, authorize it with this preset. The panel checks the rules after every read of an OLT, which is every 5 minutes. It also checks them when you press Refresh on the Unconfigured page.

An ONU authorized this way gets:

  • The settings of the preset.
  • A name made from onu_ plus the last 8 characters of its serial. You can rename it later on the ONU page.
  • The additional VLANs (for example management or TV) that the other ONUs on the same internet VLAN of that OLT already carry.

A rule with Any OLT, any PON port and Any type authorizes every ONU that is plugged into your network, including one that is not yours. Make rules as narrow as you can.

Define a rule

  1. Make at least one preset first. Without a preset the Add auto action button is not shown.
  2. Open Tasks, Auto actions, or press Configure actions on the Unconfigured page.
  3. Press Add auto action.
  4. Set the conditions. An ONU must match all of them:
    • OLT: one OLT, or Any OLT.
    • PON port: empty for any, or one port written as frame/board/port, for example 0/1/0.
    • ONU type: one type, or Any type. The type is found from the model the OLT reports.
  5. Choose the preset in Authorize it with preset.
  6. Press Save. You should see Auto action saved. It runs on the next read of the OLT, within 5 minutes.

The list shows each rule with its number, OLT, PON port, ONU type, Authorize with preset and Status. The first matching rule wins, in the order of the list. So add a narrow rule (one PON port) before a wide rule (any port) if both could match the same ONU.

An ONU that is in your later authorization list is always authorized with the details from that list, not with a rule.

How often they run and what happens on failure

  • Rules run every 5 minutes, after each OLT read. The Unconfigured page shows the number of active rules followed by run every 5 minutes.
  • If an authorization fails, for example because the VLAN of the preset does not exist on that OLT, the panel waits one hour before it tries that serial again. Fix the preset in that time.
  • After you press Refresh on the Unconfigured page, the result is shown at once: Auto actions authorized with a number, or Auto action not done for with the serial and the reason.

How to stop them

  • One rule: on the Auto actions page press Pause on its row. The status changes from Active to Paused. Press Resume to turn it on again. The red trash button removes the rule.
  • All rules: press Stop auto actions on the Auto actions page or in the Auto actions panel of the Unconfigured page. A red Stopped badge appears, and no rule authorizes anything until you press Start auto actions.

Stopping auto actions does not stop the later authorization list. ONUs you added with Add ONU for later authorization are still authorized when they appear. To cancel one of those, remove it from the list on the Unconfigured page.

The task history

Open Tasks, Task history, or press Task history on the Auto actions page. The page lists three kinds of work:

  • What auto actions did, including later authorizations.
  • Bulk actions on many ONUs.
  • OLT configuration saves.

The columns are Date, OLT, Task (for example Authorize ONU), On (the PON port and serial, or the number of ONUs), By (Auto action or the user name) and Result. The result is Done, or Failed with the reason in red under it.

Filter with OLT, From and To. The page shows the newest 500 tasks that match.

Auto actions change only the running configuration of the OLT. Press Save in the menu from time to time so the OLT keeps the new ONUs after a restart.

Still stuck? Write to us and include your site name. No panel yet? Create one for free.