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" type4 max 1024000

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 KHP
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 KHP

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


Подписаться на IT Blog (RU) по Email
Subscribe to IT Blog (EN) by Email

Did my article help you? How about buying me a cup of coffee as an encouragement? Buy me a coffe.

Leave a Reply