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:
1 2 |
enable config |
Naturally, all VLANs should come on the OLT tag and are registered on it, and also on the port on which they come:
1 2 3 4 5 6 7 8 |
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:
1 | dhcp-server 0 ip 192.168.1.1 |
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):
1 2 3 4 5 6 7 8 9 10 11 |
interface vlanif226 dhcp-server 0 quit interface vlanif300 dhcp-server 0 quit interface vlanif302 dhcp-server 0 quit |
Suppose we created a dba-profile to limit the outbound speed:
1 | dba-profile add profile-id 11 profile-name "dba-profile_11" type3 assure 1024 max 1000000 |
Now create an ont-srvprofile:
1 2 3 4 5 6 7 8 |
ont-srvprofile gpon profile-name TAG ont-port eth 1 transparent enable multicast-forward untag multicast mode olt-control port vlan eth 1 transparent commit quit |
Create ont-lineprofile (I specified the required VLAN):
1 2 3 4 5 6 7 8 9 10 11 12 |
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 commit quit |
Let’s see the new non-registered ONTs appeared on the network (which port and which serial number):
1 | display ont autofind all |
Let’s go into the GPON configuration mode of the board:
1 | interface gpon 0/4 |
Now add ONT:
1 2 |
ont add 4 0 sn-auth "54504C47D8970FE8" omci ont-lineprofile-name TEST ont-srvprofile-name TAG desc TEST quit |
Add a service-port for each VLAN:
1 2 3 4 |
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.
See also my article: