The user PC should be connected to the FE port of the ONT. The user data frames are added with the VLAN tags (user-side VLAN) on the FE port, and then are distributed to different service channels according to the user-side VLAN. The MA5600T switches the VLAN tags from the user-side VLAN to upstream VLAN, and transmits the data through the upstream port. <?xml:namespace prefix = "o" ns = "urn:schemas-microsoft-com:office:office" />
huawei(config)#vlan 7 smart <Step 1:Create A Vlan>
huawei(config)#port vlan 7 0/19 0 <Step 2 :Add an upstream port to the VLAN>
huawei(config)#traffic table ip index 8 cir 10240 priority 0 priority-policy tag-In-Package <Step 3:Configure traffic profile>
huawei(config)#DBA-profile-id 10 type1 fix 10240 <Step 4: Configure a DBA profile>
<?xml:namespace prefix = "v" ns = "urn:schemas-microsoft-com:vml" />
huawei(config)#ont-lineprofile gpon profile-id 10-
huawei(config-gpon-lineprofile-10)#tcont 1 dba-profile-id 10
huawei(config-gpon-lineprofile-10)#gem add 1 eth tcont 1
huawei(config-gpon-lineprofile-10)#mapping-mode port <Step 5:Create ont-line profile>
huawei(config-gpon-lineprofile-10)#gem mapping 1 0 eth 1
huawei(config-gpon-lineprofile-10)#commit
huawei(config-gpon-lineprofile-10)#quit
huawei(config)#ont-srvprofile gpon profile-id 10
huawei(config-gpon- srvprofile -10)#ont-port eth 4 pots 2
huawei(config-gpon- srvprofile -10)#port vlan eth 1-4 10 <Step 6:Create ont-servprofile>
huawei(config-gpon- srvprofile -10)#commit
huawei(config-gpon- srvprofile -10)#quit
huawei(config)#interface gpon 0/2
huawei(config-if-gpon-0/2)# ont add 0 0 sn-auth 32303131D659FD40 <Step 7:Add an ONT>
omci ontlineprofile-id 10 ont-srvprofile-id 10
huawei(config-if-gpon-0/2)#tcont bind-profile 1 0 1 profile-id 10 <Bind the DBA profile>
huawei(config-if-gpon-0/2)#ont port vlan 1 0 fe 17 0 <Specify Native VLAN for ONTs>
huawei(config-if-gpon-0/2)#ont port native-vlan 1 0 fe 0 vlan 17
huawei(config-if-gpon-0/2)#gemport add 1 gemportid 150 eth <Step 8: configure a GEM port>
huawei(config-if-gpon-0/2)#ont gemport bind 1 0 150 1 priority-queue 3 <Step 9: Bind the GEM port to the ONT T-CONT>
huawei(config-if-gpon-0/2)#ont gemport mapping 1 0 150 vlan 17 <Step10: Create a mapping between the GEM port and the service stream.
huawei(config-if-gpon-0/2)#quit
huawei(config)#service-port vlan 7 gpon 0/2/1 gemport 150 multi-service user-vlan 17 rx-cttr 5 tx-cttr 8 <Step11:Add a service port>
huawei(config)#save <Step12: save the data>



