Why the ONT port ID does not exist?

Issue Description

When configure a new VLAN in a port of the OLT, although the port exists, the following error message appears:
port vlan eth 1 10
Failure: The ONT port ID does not exist

Alarm Information

OLT(config)#ont-srvprofile gpon profile-id 129 profile-name “TEST”
OLT(config-gpon-srvprofile-129)#port vlan eth 1 10
{ <cr>|prival<U><0,7>|TLS<K>|user-encap<K> }:
Command:

port vlan eth 1 10                       
  Failure: The ONT port ID does not exist

Handling Process

1.      If the error message “The ONT port ID does not exist” is displayed, it means that the number of Eth ports is not set.
2.      Checked the service profile and it has no configuration:

  ont-srvprofile gpon profile-id 129 profile-name "TEST"                
  ont-srvprofile gpon profile-id 130 profile-name "TEST2"                                                   

3.      Run the ont-port eth adaptive command to specify the number of Ethernet ports in a srvprofile.
OLT(config)#ont-srvprofile gpon profile-id 129 profile-name “TEST”
OLT(config-gpon-srvprofile-129)#ont-port eth adaptive 1
{ <cr>|catv<K>|moca<K>|pots<K>|tdm-srvtype<K>|tdm-type<K>|tdm<K>|vdsl<K>|wifi<K> }:
Command:

  ont-port eth adaptive 1

4.      You can doublecheck the configuration with the display ont-srvprofile gpon profile-id 129 command:

OLT#display ont-srvprofile gpon profile-id 129

—————————————————————————–
Profile-ID  : 129
Profile-name: TEST
Access-type : GPON
—————————————————————————–
Port-type     Port-number
—————————————————————————–
POTS          0
ETH           adaptive
VDSL          0
TDM           0
MOCA          0
CATV          0
—————————————————————————–

Root Cause

The number of Eth ports is not set in the service profile

Solution

Run the ont-port eth command to specify the number ot Ethernet ports in a service profile