Solution for GPON QinQ userside Unknown VLANs

Access Switch connects to ONT eth port 1, and ONT connects to OLT 0/1/2 ONT id 3, in the Access Switch multiple VLANs have configured, but the OLT and ONT do not know these VLAN IDs. The ONT or OLT needs to add an external VLAN 100 tag to the frame received by the access switch and send the frame to the aggregation switch using double VLAN tags. The network topology is as follows. We need to find solution in the OLT and ONT configuration.
Network topology

Configure Solution 1

Set report mapping to ONT ETH port, ETH port transparent all the VLANs, in the service port using other-all to identity all the VLANs and using default tag transform add the outer VLAN tag.

HUAWEI(config)#vlan 100
HUAWEI(config)#port vlan  100 0/3 0
HUAWEI(config)#vlan attrib 100 q-in-q
HUAWEI(config)#ont-lineprofile gpon profile-id 10 profile-name QinQ100
HUAWEI(config-gpon-lineprofile-10)#tcont 1 dba-profile-id 10
HUAWEI(config-gpon-lineprofile-10)#mapping-mode port
HUAWEI(config-gpon-lineprofile-10)#gem  add 0 eth tcont 1
HUAWEI(config-gpon-lineprofile-10)#gem mapping  0 0 eth 1
HUAWEI(config-gpon-lineprofile-10)#commit
HUAWEI(config-gpon-lineprofile-10)#quit
HUAWEI(config)#ont-srvprofile gpon profile-id  10 profile-name QinQ100
HUAWEI(config-gpon-srvprofile-10)#ont-port eth 4 pots 2 catv 1
HUAWEI(config-gpon-srvprofile-10)#port vlan  eth 1 transparent
HUAWEI(config-gpon-srvprofile-10)#commit
HUAWEI(config-gpon-srvprofile-10)#quit
HUAWEI(config)#interface gpon 0/1
HUAWEI(config-if-gpon-0/1)#ont add 2 3 sn-auth 48575XXXXXXXXXXX omci ont-lineprofile-id 10 ont-srvprofile-id 10 desc QinQ100
HUAWEI(config-if-gpon-0/1)#quit
HUAWEI(config)#service-port vlan 100 gpon 0/1/2 ont 3 gemport 0 multi-service  user-vlan  other-all tag-transform default

Configure Solution 2

Set the ONT ETH port to enable QinQ, outer VLAN tagged by the ONT native-VLAN, from the OLT only transparent the packets, or translate the outer VLAN.

HUAWEI(config)#vlan 100
HUAWEI(config)#port vlan  100 0/3 0
HUAWEI(config)#ont-lineprofile gpon profile-id 10 profile-name QinQ100
HUAWEI(config-gpon-lineprofile-10)#tcont 1 dba-profile-id 10
HUAWEI(config-gpon-lineprofile-10)#gem add 0 eth tcont 1
HUAWEI(config-gpon-lineprofile-10)#gem mapping 0 0 vlan 100
HUAWEI(config-gpon-lineprofile-10)#commit
HUAWEI(config-gpon-lineprofile-10)#quit
HUAWEI(config)#ont-srvprofile gpon profile-id  10 profile-name QinQ100
HUAWEI(config-gpon-srvprofile-10)#ont-port eth 4 pots 2 catv 1
HUAWEI(config-gpon-srvprofile-10)#port q-in-q eth 1 enable
HUAWEI(config-gpon-srvprofile-10)#commit
HUAWEI(config-gpon-srvprofile-10)#quit
HUAWEI(config)#interface gpon 0/1
HUAWEI(config-if-gpon-0/1)#ont add 2 3 sn-auth 48575XXXXXXXXXXX omci ont-lineprofile-id 10 ont-srvprofile-id 10 desc QinQ100
HUAWEI(config-if-gpon-0/1)#ont port native-vlan 2 3 eth 1 vlan 100
HUAWEI(config-if-gpon-0/1)#quit
HUAWEI(config)#service-port vlan 100 gpon 0/1/2  ont  3  gemport 0 multi-service user-vlan 100 tag-transform transparent

Configure Solution 3

Set unconcern native-VLAN for the ONT ETH port, and set the QinQ outer VLAN for the ETH port. Rom the OLT only transparent the packets, or translate the outer VLAN.

HUAWEI(config)#vlan 100
HUAWEI(config)#port vlan  100 0/3 0
HUAWEI(config)#ont-lineprofile gpon profile-id 10 profile-name QinQ100
HUAWEI(config-gpon-lineprofile-10)#tcont 1 dba-profile-id 10
HUAWEI(config-gpon-lineprofile-10)#gem add 0 eth tcont 1
HUAWEI(config-gpon-lineprofile-10)#gem mapping 0 0 vlan 100
HUAWEI(config-gpon-lineprofile-10)#commit
HUAWEI(config-gpon-lineprofile-10)#quit
HUAWEI(config)#ont-srvprofile gpon profile-id  10 profile-name QinQ100
HUAWEI(config-gpon-srvprofile-10)#ont-port eth 4 pots 2 catv 1
HUAWEI(config-gpon-srvprofile-10)#native-vlan unconcern
HUAWEI(config-gpon-srvprofile-10)#port vlan eth 1 q-in-q 100 user-vlan other-all
HUAWEI(config-gpon-srvprofile-10)#commit
HUAWEI(config-gpon-srvprofile-10)#quit
HUAWEI(config-if-gpon-0/1)#ont add 2 3 sn-auth 48575XXXXXXXXXXX omci ont-lineprofile-id 10 ont-srvprofile-id 10 desc QinQ100
HUAWEI(config-if-gpon-0/1)#quit
HUAWEI(config)#service-port vlan 100 gpon 0/1/2 ont 3 gemport 0 multi-service user-vlan 100 tag-transform translate