Adding ONT on Huawei OLT ( Support all Huawei OLT )

Adding an ONT on a Huawei OLT follows the same core commands across the whole SmartAX family — MA5600T, MA5608T, MA5680T, MA5683T, and MA5800. This is a short, general version of the process: find the new ONT, register it with its serial number, bind it to a service-port, and save. For a longer walkthrough with VLAN and profile setup included, see Huawei’s official OLT product page.

Written by Madan Kc

Quick answer

Run display ont autofind all inside the GPON interface to find the new ONT’s serial number, register it with ont add using existing line/service profile IDs, add a matching service-port, then save.

Before you start

  • The OLT already has the ONT’s line profile and service profile created (referenced here as ID 204).
  • You know which GPON port the new ONT is physically connected to.
  • All red values below are examples — replace them with your own serial number, profile IDs, VLAN, and port numbers.

How to add an ONT on any Huawei OLT, step by step

  1. Step 1 – Connect and enter configuration mode

    Connect via Telnet or console, log in, then run:

    enable
    config
  2. Step 2 – Find the new ONT

    display ont autofind all
  3. Step 3 – Enter the GPON interface

    interface gpon 0/5
  4. Step 4 – Add the ONT

    Register it using its serial number and existing line/service profiles:

    ont add 4 sn-auth ************* omci ont-lineprofile-id 204 ont-srvprofile-id 204 desc madankc
  5. Step 5 – Exit the GPON interface

    quit
  6. Step 6 – Find the next free service-port number

    display service-port next-free-index
  7. Step 7 – Add the service-port

    service-port 94 vlan 104 gpon 0/5/4 ont 0 gemport 1 multi-service user-vlan 104 tag-transform translate
  8. Step 8 – Save the configuration

    The ONT is added successfully — don’t forget to save:

    save

Command reference

CommandPurpose
display ont autofind allFind unregistered ONTs and their serial numbers
interface gpon <frame/slot>Enter the GPON board’s interface
ont add <port> sn-auth <sn> omci ont-lineprofile-id <id> ont-srvprofile-id <id> desc <text>Register the ONT with existing profiles
display service-port next-free-indexFind the next available service-port number
service-port <id> vlan <vlan> gpon <f/s/p> ont <id> gemport <gem> multi-service user-vlan <vlan> tag-transform translateBind the ONT to a VLAN and bring it online
saveSave the configuration

Frequently asked questions

Does this method work on every Huawei OLT model?

Yes, the core commands (display ont autofind, ont add, service-port) are shared across MA5600T, MA5608T, MA5680T, MA5683T, and MA5800. Slot and port numbering can differ by chassis, so adjust the frame/slot/port values to match your hardware.

What does display service-port next-free-index do?

It shows the next unused service-port number on the OLT, so you don’t have to guess one or collide with an existing entry.

What happens if I forget to run save?

The ONT and service-port stay in the running configuration only. If the OLT reboots or loses power before you save, the new ONT is lost and needs to be re-added.

Do the ont-lineprofile-id and ont-srvprofile-id need to already exist?

Yes. The ont add command references existing profiles by ID, and it fails if those profiles haven’t been created yet.

Related guides