Hi Dear,
Check the following example:
* Configure the mapping between a GEM port and the ONT C-VLANs.
In the ONT line profile, map the service flows of C-VLAN 100 and C-VLAN 105 to GEM port 14.
huawei(config)#ont-lineprofile gpon profile-name ftth
huawei(config-gpon-lineprofile-1)#gem mapping 14 0 vlan 100
huawei(config-gpon-lineprofile-1)#gem mapping 14 1 vlan 105
huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit
* Configure the VLANs of the Ethernet ports on ONTs
huawei(config)#ont-srvprofile gpon profile-name ftth
huawei(config-gpon-srvprofile-1)#port vlan eth 1 100
huawei(config-gpon-srvprofile-1)#port vlan eth 1 105
huawei(config-gpon-srvprofile-1)#commit
huawei(config-gpon-srvprofile-1)#quit
I hope it helpful!