Adding an ONT with trunk port to Huawei SmartAX MA5683T

Here is an example of adding ONT so that at the output of the ethernet port all VLANs are tagged.
Suppose OLT is configured for my article – Configuring Huawei SmartAX MA5683T through the console.
ONT for the test I’ll take TP-Link GP110 with the configured mode transparent and off DHCP, well, in fact with other single-port ethernet ONT setting is similar.

Connect via telnet or console to Huawei SmartAX MA5683T and go into the configuration mode:


Naturally, all VLANs should come on the OLT tag and are registered on it, and also on the port on which they come:

vlan 207 smart
vlan 226 smart
vlan 300 smart
vlan 302 smart
port vlan 207 0/8 0
port vlan 226 0/8 0
port vlan 300 0/8 0
port vlan 302 0/8 0

Let’s assume on OLT the address of DHCP of the server with billing is specified:

dhcp-server 0 ip

It must also be specified for each user VLAN interface, otherwise they will not receive IP addresses (I did not register IP addresses in 207, because I use it for management, it’s all IP static):

interface vlanif226
dhcp-server 0
interface vlanif300
dhcp-server 0
interface vlanif302
dhcp-server 0

Suppose we created a dba-profile to limit the outbound speed:

dba-profile add profile-id 11 profile-name "dba-profile_11" type3 assure 1024 max 1000000

Now create an ont-srvprofile:

ont-srvprofile gpon profile-name TAG
ont-port eth 1
transparent enable
multicast-forward untag
multicast mode olt-control
port vlan eth 1 transparent

Create ont-lineprofile (I specified the required VLAN):

ont-lineprofile gpon profile-name TEST
tcont 4 dba-profile-id 11
gem add 1 eth tcont 4
gem add 2 eth tcont 4
gem add 3 eth tcont 4
gem add 4 eth tcont 4
gem mapping 1 1 vlan 207
gem mapping 2 1 vlan 226
gem mapping 3 1 vlan 300
gem mapping 4 1 vlan 302

Let’s see the new non-registered ONTs appeared on the network (which port and which serial number):

display ont autofind all

Let’s go into the GPON configuration mode of the board:

interface gpon 0/4

Now add ONT:

ont add 4 0 sn-auth "54504C47D8970FE8" omci ont-lineprofile-name KHP ont-srvprofile-name TAG desc ""

Add a service-port for each VLAN:

service-port 450 vlan 207 gpon 0/4/4 ont 0 gemport 1 multi-service user-vlan 207
service-port 451 vlan 226 gpon 0/4/4 ont 0 gemport 2 multi-service user-vlan 226
service-port 452 vlan 300 gpon 0/4/4 ont 0 gemport 3 multi-service user-vlan 300
service-port 453 vlan 302 gpon 0/4/4 ont 0 gemport 4 multi-service user-vlan 302

I also note that through Alcatel ONT “__ I-010G-V”, I had a maximum of 11 VLANs, that is, those that were added to the profile starting with “gem add 12” did not work anymore, they solved this problem by replacing TP-Link GP110, or even better, replace it with original Huawei ONT, such as HG8310. Also, the OLT itself made a limit of 32 GEM for me, that is, it was not possible to add more than 32 VLANs.

See also my article:
How to add VLANs to active ONT on Huawei MA5683T

Join the Conversation


Leave a Reply

  1. Hello every one I tried this tutorial and it was vey helpful

  2. Hello
    Looking for a configuration guide to configure q-in-q on the ONT port such that client can send tagged traffic from any VLAN and the ONT port should add a secondary dotq tag on the received traffic and forward to OLT

  3. when adding an ont it displays that the bandwith is not enough and i reduced fixed bandwith of dba profile too but i am still with same problem can u please help me on this…….

    1. All GEM ports are inserted at same TCONT = 4
      Create different TCONTS for each GEM PORT
      Doing this, your TCONT bandwidth will not be overfilled

  4. i configured wireless huawei onu in bridge mode and tried to pass multiple vlan to tagg on multiple downlink devices it didnt work can u please help me on this ……

    1. yes, with vlan trunk worked well tp-link and huavai onu, alcatel worked unstably. we connected switches with 2-10 vlans after onu