How to Configure a GPON ONT (Distributed Mode)
As we all know, Huawei OLT MA5600T and MA5800 series provide services to end users through Huawei ONT (HG8546M, EG8145V5 etc). Only when the channel between the Huawei OLT and the Huawei ONT is available, then the Huawei OLT can manage the Huawei ONT and the Huawei ONT can work in a normal state to serve the end user.
So, in this article, we take Huawei EG8145V5 and Huawei MA5683T as examples to briefly introduce how to configure GPON ONT EG8145V5.
The GPON ONT EG8145V5 profile is already created.
The MA5683T uses the ONT Management and Control Interface (OMCI) protocol to manage and configure the GPON ONT EG8145V5, and supports the offline configuration of the EG8145V5. The EG8145V5 does not need to save the configuration information locally. This helps to provision services.
Table 1 Default settings of the GPON ONT EG8145V5.
ONT auto-find function of a GPON port
ONT status after an ONT is added
Default VLAN of the ONT port
Figure 1 shows the process of configuring GPON ONT EG8145V5.
Figure 1 Process of configuring GPON ONT EG8145V5
1. Add GPON ONT EG8145V5.
a. Run the interface gpon command to enter the GPON mode.
b. Run the port portid ont-auto-find command to enable the auto-find function of the ONT. After the function is enabled, you can add EG8145V5 according to the information reported by the system. By default, the ONT auto-find function of a GPON port is disabled.
An auto-find ONT is in the auto-find state. The auto-find ONT can work in the normal state only after it is confirmed or added.
c. Run the ont add command to add EG8145V5 offline, or run the ont confirm command to confirm the auto-find EG8145V5.
When EG8145V5s are added or confirmed, the system provides four authentication modes: SN, password, SN+password, LOID+CHECKCODE.
SN authentication: The OLT detects the serial number (SN) reported by an ONT. If the SN is consistent with the OLT configuration, authentication is passed and the ONT goes online. This mode requires recording all ONT SNs. Hence, it is used to confirm auto discovery ONTs and is not applicable to adding ONTs in batches.
Password authentication: The OLT detects the password reported by an ONT. If the password is consistent with the OLT configuration, the ONT goes online normally. This mode requires planning ONT passwords and does not require manually recording ONT SNs. Hence, it is applicable to adding ONTs in batches. The password authentication provides two discovery modes: always-on and once-on.
always-on: After first password authentication is passed, no SN is allocated and password authentication is always used in subsequent authentications. This discovery mode is easy for future maintenance. In the always-on discovery mode, configuration is not required to be modified when an ONT is replaced and only the password is required. The always-on discovery mode has lower security. If other users know the password, the users will illegally have service permissions.
Once-on: After first password authentication is passed, an SN is automatically allocated and password+SN authentication is used in subsequent authentications. An ONT can go online only after the correct password and SN are entered. The once-on authentication mode has high security. After an ONT is replaced or the password is mistakenly changed, the ONT needs to be configured again, which requires more maintenance effort.
SN+password authentication: The OLT detects the password and SN reported by an ONT. If the password and SN are consistent with the OLT configuration, the ONT goes online normally. This authentication mode has the highest security but it requires manually recording ONT SNs.
LOID+CHECKCODE authentication: defined by a telecom operator. In this authentication mode, LOID has 24 bytes, and CHECKCODE has 12 bytes and is optional. Whether 24 bytes or 36 bytes are used for authentication depends on data planning, which is unified over the entire network. The OLT determines whether LOID+CHECKCODE reported by the ONT is the same as the configured one. If they are the same, the ONT authentication is passed. If they are different, the OLT obtains the ONT password and compares it with the last 10 bytes of the LOID. If they are the same, the ONT authentication is also passed. This operation is for compatibility with the ONTs using password authentication.
Adding ONTs in offline mode is applicable to the batch deployment scenario. All ONTs are added to the OLT to complete service provisioning beforehand. When a use subscribes to the service, an installation engineer takes an ONT to the user's house and completes configurations. After the ONT goes online and passes authentication (generally the password authentication mode or LOID authentication mode is used), the service is provisioned.
Adding ONTs in auto discovery mode is applicable to the scenario where a small number of ONTs are added. When users subscribe to the service, installation engineers take ONTs to the users' houses. After the ONTs go online, the OLT confirms the ONTs one by one. Generally, the MAC address authentication mode is used to confirm the ONTs.
If the ONU is an independent NE and is directly managed by the NMS through the SNMP management mode, select the SNMP management mode. For this mode, you only need to configure the parameters for the GPON line and the parameters for the management channel on the OLT.
If the ONU is not an independent NE and all its configuration data is issued by the OLT through OMCI, select the OMCI management mode. For this mode, you need to configure all parameters (including line parameters, UNI port parameters, and service parameters) that are required for the ONU on the OLT. Generally, the ONT management mode is set to the OMCI mode.
d. (Optional) When the ONT management mode is the SNMP mode, you need to configure the SNMP management parameters for the ONT. The procedure is as follows:
i. Run the ont ipconfig command to configure the management IP address of the ONT.
The IP address should not be in the same subnet for the IP address of the VLAN port.
ii. Run the ont snmp-profile command to bind the ONT with an SNMP profile.
Run the snmp-profile add command to add an SNMP profile before the configuration.
iii. Run the ont snmp-route command to configure a static route for the NMS server, that is, configure the IP address of the next hop.
2. (Optional) Configure the VLAN of the EG8145V5 port.
Run the ont port vlan command to configure the VLAN of the EG8145V5 port. By default, all the ports on the EG8145V5 belong to VLAN 1.
3. (Optional) Configure the default VLAN (native VLAN) for the EG8145V5 port.
Run the ont port native-vlan command to configure the default VLAN for the EG8145V5 port. By default, the default VLAN ID of the EG8145V5 port is 1.
If the packets reported from a user (such a PC) to the EG8145V5 are untagged, the packets are tagged with the default VLAN of the port on the EG8145V5 and then reported to the MA5683T.
If the packets reported from a user to the EG8145V5 are tagged, you need to configure the port VLAN of the EG8145V5 to be the same as the VLAN in the user tag. The packets are not tagged with the default VLAN of the port on the EG8145V5 but are reported to the MA5683T with the user tag.
4. Bind an alarm profile.
Run the ont alarm-profile command to bind an alarm profile. Ensure that Configuring a GPON ONT Alarm Profile is completed before the configuration.
5. Bind a DBA profile.
Run the tcont bind-profile command to bind a DBA profile to a T-CONT.
A DBA profile can be bound to a T-CONT after EG8145V5 is added.
6. Configure a GEM port.
a.Run the gemport add command to add a GEM port. When adding a GEM port, select the correct attribute according to the service type.
b. Run the ont gemport bind command to bind the GEM port to an ONT T-CONT, that is, allocating the T-CONT resources to the GEM port.
If traffic streams are configured on a GEM port and an ONT is the working ONT in a single-homing protection group, the GEM port cannot be bound to or unbound from the ONT.
c. Run the ont gemport mapping command to create the mapping between the GEM port and the ONT-side service.
7. Activate the EG8145V5.
Run the ont activate command to activate the EG8145V5. The EG8145V5 can transmit services only when it is in the activated state.
After being added, the EG8145V5 is in the activated state by default. The step is required only when the EG8145V5 is in the deactivated state.
8.Query the EG8145V5 status.
Run the display ont info command to query the EG8145V5 running status, configuration status, and matching status.
To add five Huawei ONTs in offline mode with password authentication mode (Huawei ONT passwords are 0100000001-0100000005), set the discovery mode of password authentication to always-on, and bind Huawei ONT capability profile 10, do as follows:
huawei(config)#interface gpon 0/2 huawei(config-if-gpon-0/2)#ont add 0 password-auth 0100000001 always-on profile-id 10 manage-mode omci huawei(config-if-gpon-0/2)#ont add 0 password-auth 0100000002 always-on profile-id 10 manage-mode omci huawei(config-if-gpon-0/2)#ont add 0 password-auth 0100000003 always-on profile-id 10 manage-mode omci huawei(config-if-gpon-0/2)#ont add 0 password-auth 0100000004 always-on profile-id 10 manage-mode omci huawei(config-if-gpon-0/2)#ont add 0 password-auth 0100000005 always-on profile-id 10 manage-mode omci
To add a Huawei ONT that is managed by the MA5683T through the OMCI protocol, confirm this ONT according to the SN 3230313185885B41 automatically reported by the system, and bind the ONT with capability profile 3 that match the ONT, do as follows:
huawei(config)#interface gpon 0/2 huawei(config-if-gpon-0/2)#port 0 ont-auto-find enable huawei(config-if-gpon-0/2)#ont confirm 0 sn-auth 3230313185885B41 profile-id 3 manage-mode omci
To add an ONU that is managed as an independent NE and whose SN is known as 3230313185885641, bind the ONU with capability profile 4 that matches the ONU, configure the NMS parameters for the ONU, and set the management VLAN to 100, do as follows:
huawei(config)#snmp-profile add profile-id 1 v2c public private 10.10.5.53 161 huawei huawei(config)#interface gpon 0/2 huawei(config-if-gpon-0/2)#ont add 0 2 sn-auth 3230313185885641 profile-id 4 manage-mode snmp huawei(config-if-gpon-0/2)#ont ipconfig 0 2 static ip-address 10.20.20.20 mask 255.255.255.0 gateway 10.10.20.1 vlan 100 huawei(config-if-gpon-0/2)#ont snmp-profile 0 2 profile-id 1 huawei(config-if-gpon-0/2)#ont snmp-route 0 2 ip-address 10.10.20.190 mask 255.255.255.0 next-hop 10.10.20.100
Through this article, we have mastered how to configure GPON ONT. And before configuring GPON ONT, we need to complete the configuration of the GPON ONT capability profile and the GPON ONT alarm profile. Then complete each step in turn according to this article. If any questions, please kindly contact our support team: [email protected]