I will give an example of how to add multiple VLANs on the Huawei MA5683T to an ONT that is already running.
First, create the necessary VLANs on Huawei MA5683T:
vlan 28 to 30 smart
vlan 40 smart
We indicate them on the Uplink port:
port vlan 28 to 30 0/9 0
port vlan 40 0/9 0
Let’s proceed to setting up the existing and used ont-lineprofile:
ont-lineprofile gpon profile-id 8 profile-name "ixnfo"
Add new VLANs in your profile:
gem add 8 eth tcont 4
gem add 9 eth tcont 4
gem add 10 eth tcont 4
gem add 11 eth tcont 4
gem mapping 8 1 vlan 28
gem mapping 9 1 vlan 29
gem mapping 10 1 vlan 30
gem mapping 11 1 vlan 40
commit
quit
Add a service-port with the required VLANs:
service-port 1319 vlan 28 gpon 0/0/9 ont 46 gemport 8 multi-service user-vlan 28 tag-transform translate
service-port 1320 vlan 29 gpon 0/0/9 ont 46 gemport 9 multi-service user-vlan 29 tag-transform translate
service-port 1322 vlan 30 gpon 0/0/9 ont 46 gemport 10 multi-service user-vlan 30 tag-transform translate
service-port 1323 vlan 40 gpon 0/0/9 ont 46 gemport 11 multi-service user-vlan 40 tag-transform translate
Is done. Traffic can already go through new VLANs, the ONT does not need to be restarted.
See also my article:
Setting up the Huawei SmartAX MA5683T via the console