Service Profile: The service profile creates a configuration channel for the ONT, which is managed via the OMCI (ONT Management Control Interface). Aside from that, the serviceprofile defines the ONT device's interfaces, such as the type and quantity of ports.
First, we have to look at the existing service profile in the system, because we can not add a new service profile with the same profile-id or profile-name. So we will execute the below mentioned command to examine the currently configure service profile-
HUAWEI-OLT(config)#display ont-srvprofile gpon all
-----------------------------------------------------------------------------
Profile-ID Profile-name Binding times
-----------------------------------------------------------------------------
1202 1202 1
1214 1214 1
1301 1301 7
1302 1302 1
1303 1303 2
1304 1304 3
HUAWEI-OLT(config)#display ont-srvprofile epon all
-----------------------------------------------------------------------------
Profile-ID Profile-name Binding times
-----------------------------------------------------------------------------
101 101 0
587 587 8
881 881 1
889 889 1
897 897 1
898 898 1
899 899 1
1064 1064 2
Here, we can see the service profile-id, profile-name and binding-times.
Now, We will add a new GPON service profile in Huawei OLT-
HUAWEI-OLT(config)#ont-srvprofile gpon profile-id 4001 profile-name 4001
HUAWEI-OLT(config-gpon-srvprofile-4001)#ont-port pots adaptive eth adaptive
HUAWEI-OLT(config-gpon-srvprofile-4001)#port vlan eth 1 4001
HUAWEI-OLT(config-gpon-srvprofile-4001)#commit
HUAWEI-OLT(config-gpon-srvprofile-4001)#quit
It's time to add a new EPON service profile in Huawei OLT-
HUAWEI-OLT(config)#ont-srvprofile epon profile-id 4002 profile-name 4002
HUAWEI-OLT(config-epon-srvprofile-4002)#ont-port pots adaptive eth adaptive
HUAWEI-OLT(config-epon-srvprofile-4002)#port vlan eth 1 4002
HUAWEI-OLT(config-epon-srvprofile-4002)#commit
HUAWEI-OLT(config-epon-srvprofile-4002)#quit
Line Profile: Line profiles refer to the binding between T-CONTs and DBA profiles, the traffic stream's QoS model, and the mapping between the GEM port and the ONT side service. The first step is to view all existing line profiles in the system, as we cannot add a new line profile with the same profile-id or name. For this operation, we use the following command.
DHAP-HUAWEI(config)#display ont-lineprofile gpon all
-----------------------------------------------------------------------------
Profile-ID Profile-name Binding times
-----------------------------------------------------------------------------
0 line-profile_default_0 0
860 860 2
890 890 1
900 900 1
920 920 3
921 921 3
922 922 2
DHAP-HUAWEI(config)#display ont-lineprofile epon all
-----------------------------------------------------------------------------
Profile-ID Profile-name Binding times
-----------------------------------------------------------------------------
101 101 0
587 587 8
881 881 1
889 889 1
897 897 1
898 898 1
899 899 1
In the above output, we see the EPON and GPON line profiles with their appropriate Profile-ID, Profile-Name and Bindings Times.
Now we will add a new line profile for both EPON and GPON-
HUAWEI-OLT(config)#ont-lineprofile gpon profile-id 4001 profile-name 4001
HUAWEI-OLT(config-gpon-lineprofile-4001)#tcont 1 dba-profile-id 200
HUAWEI-OLT(config-gpon-lineprofile-4001)#gem add 1 eth tcont 1
HUAWEI-OLT(config-gpon-lineprofile-4001)#commit
HUAWEI-OLT(config-gpon-lineprofile-4001)#quit
HUAWEI-OLT(config)#ont-lineprofile epon profile-id 4002 profile-name 4002
HUAWEI-OLT(config-epon-lineprofile-4002)#llid dba-profile-id 100
HUAWEI-OLT(config-epon-lineprofile-4002)#commit
HUAWEI-OLT(config-epon-lineprofile-4002)#quit
Line profile configuration done for both EPON and GPON.
After adding service profile & line profile you can configure the ONU/ONT.