笔记 - How to add an ONU to an OLT

1,275 阅读5分钟

www.thunder-link.com/support/How…

Services can be configured for an optical network unit (ONU) only after the ONU is added to an optical line terminal (OLT).

连接方法:

  1. 网线直连控制板的当前激活版的eth网口
  2. 本机地址配置和OLT的地址在同一个网段,比如ifconfig eth0 10.11.1.99 netmask 255.255.255.0
  3. 使用telnet 访问,比如telnet 10.11.1.98
  4. 或者使用nc替代telnet,因为前者的命令输入错可以通过backspace删除,而telnet是没有办法的。太不方便。nc 10.11.1.98 23 使用nc需要自己指定端口,这里的telnet端口为23。

当前版本ubuntu的eth0,都改为了这样的名字,ens6s0。请留意,使用ifconfig先查询eth0的名字。

1. target

Data Plan

DBA profile	Profile name: fttd_dba
Profile type: type3
Assured bandwidth: 8 Mbit/s
Maximum bandwidth: 20 Mbit/s

ONU line profile

Profile name: fttd
T-CONT ID: 4
GEM port ID for the management service: 11
GEM port ID for the voice service: 12
GEM port ID for the video service: 13
GEM port ID for the Internet access service: 14

ONU service profile Profile name: fttd

ONU port capability set: one VSDL2 port and two POTS ports

Network topology data

PON port: 0/1/0
ONU IDs: 1

2. Procedure

1. Configure GPON ONU profiles

GPON ONU profiles include the :

  • DBA profile
  • line profile
  • service profile
  • and alarm profile.

A DBA profile describes GPON traffic parameters. A T-CONT is bound to a DBA profile for dynamic bandwidth allocation, improving upstream bandwidth utilization.

A line profile describes the binding between the T-CONT and the DBA profile, the QoS mode of the traffic stream, and the mapping between the GEM port and the ONU-side service.

A service profile provides the service configuration channel for the ONU that is managed by using optical network terminal management and control interface (OMCI).

An alarm profile contains a series of alarm thresholds to measure and monitor the performance of activated ONU lines. When a statistical value reaches the threshold, the host is notified and an alarm is reported to the log host and the NMS.

a. Configure a DBA profile.

Run the display dba-profile command to query existing DBA profiles in the system. If the existing DBA profiles in the system do not meet the requirements, run the dba-profile add command to add a DBA profile.

Create the same DBA profile for different types of services. Set the profile name to fttd_dba, profile type to type3, assured bandwidth to 8 Mbit/s, and maximum bandwidth to 20 Mbit/s.

huawei(config)#dba-profile add profile-name fttd_dba type3 assure 8192 max 20480

NOTE:

The DBA implementation is based on an total count of ONU. Therefore, select a DBA profile of the proper bandwidth type and configure proper bandwidth according to the service types and total user count of the ONU. Note that the sum of the fixed bandwidth and the assured bandwidth must not be greater than the total bandwidth of the PON port.

b. Configure an ONU line profile.

Create a GPON ONU line profile, named fttd, and bind it to the DBA profile fttd_dba.

huawei(config)#ont-lineprofile gpon profile-name fttd
huawei(config-gpon-lineprofile-1)#tcont 4 dba-profile-name fttd_dba

c. Create different GEM ports

according to different service types, in which

GEM port 11 is used to carry management services. GEM port 12 is used to carry voice services. GEM port 13 is used to carry video services. GEM port 14 is used to carry Internet access services.

huawei(config-gpon-lineprofile-1)#gem add 11 eth tcont 4
huawei(config-gpon-lineprofile-1)#gem add 12 eth tcont 4
huawei(config-gpon-lineprofile-1)#gem add 13 eth tcont 4
huawei(config-gpon-lineprofile-1)#gem add 14 eth tcont 4

NOTE:

1.To change the default QoS mode, run the qos-mode command to set the QoS mode to gem-car or flow-car, and run the gem add command to set the index of the traffic profile bound to the GEM port.

2.When the QoS mode is priority-queue (PQ), the default queue priority is 0; when the QoS mode is flow-car or gem-car, traffic profile 6 is bound to the GEM port by default (no rate limitation).

After the configurations are complete, run the commit command to apply the parameter settings.

huawei(config-gpon-lineprofile-1)#commit
huawei(config-gpon-lineprofile-1)#quit

d. Configure an ONU service profile.

Create a GPON ONU service profile, named fttd. Configure the capability set of the VDSL2 port and POTS port to 1 and 2. Then the system automatically adapts to the ONU according to the actual capability of the online ONU.

huawei(config)#ont-srvprofile gpon profile-name fttd
huawei(config-gpon-srvprofile-1)#ont-port vdsl 1 pots 2

After the configurations are complete, run the commit command to apply the parameter settings.

huawei(config-gpon-srvprofile-1)#commit
huawei(config-gpon-srvprofile-1)#quit

e. (Optional) Add an alarm profile.

The default GPON alarm profile 1 is used. The alarm thresholds of the default alarm profile are 0, which indicates that no alarm is generated.

In this example, the default alarm profile is used, and therefore the configuration of the alarm profile is not required.

Run the

gpon alarm-profile add 

command to configure a GPON alarm profile, which is used for monitoring the performance of an activated ONU line.

2. Add an ONU.

Connect an ONU to GPON port 0/1/0. Set the ONU ID to 1, password to 0100000001, discovery mode for password authentication to once-on, and management mode to OMCI. Bind the ONU to ONU line profile fttd and ONU service profile fttd.

There are two methods of adding an ONU: add an ONU offline and confirm an automatically discovered ONU.

Add ONUs offline.

If the password of an ONU is known, run the ont add command to add an ONU offline.

huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#ont add 0 1 password-auth 0100000001 once-on no-aging omci ont-lineprofile-name fttd ont-srvprofile-name fttd

Confirm automatically discovered ONUs

If the password or SN of an ONU is unknown, run the

port portid ont-auto-find enable 

command in GPON mode to enable the ONU auto-discovery function of the GPON port.Then, run the ont confirm command to confirm the ONU.

huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#port 0 ont-auto-find enable
huawei(config-if-gpon-0/1)#display ont autofind 0

After this command is executed, the information about all ONUs connected to the GPON port through optical splitters is displayed.

huawei(config-if-gpon-0/1)#ont confirm 0 ontid 1 password-auth 0100000001 once-on no-aging omci ont-lineprofile-name fttd ont-srvprofile-name fttd

NOTE:If multiple ONUs of the same type bound to the same line profile or service profile are connected to the same port, you can bulk add ONUs by bulk confirming automatically discovered ONUs to make configuration easier and more efficient. To do so, the preceding command can be modified as follows:

huawei(config-if-gpon-0/1)#ont confirm 0 all password-auth once-on no-agin omci ont-lineprofile-name fttd 
ont-srvprofile-name fttd

NOTE:The password entered when you add an ONU to the OLT must be the same as that configured on the web page. To configure the password of the ONU on the web page.

(Optional) Bind the alarm profile to the ONU.

The default profile 1 is used in this example.

huawei(config-if-gpon-0/1)#ont alarm-profile 0 1 profile-id 1

3.Check ONU status.

After an ONU is added, run the

display ont info 

command to query the current status of the ONU. Ensure that Config flag of the ONU is active, Run State is online, Config state is normal, and Match state is match.

huawei(config-if-gpon-0/1)#display ont info 0 1

输出:

--------------------------------------------------------------------- 
F/S/P                : 0/1/0 
ONU-ID               : 1 
Control flag         : active    //Indicates that the ONU is activated. 
Run state            : online    //Indicates that the ONU goes online successfully. 
Config state         : normal    //Indicates that the configuration state of the ONU is normal. 
Match state          : match     //Indicates that the capability profile bound to the ONU is consistent with the actual capability of the ONU.
...//The rest of the response information is omitted.

When Config state is failed, Run state is offline, or Match state is mismatch:

If Control flag is deactive, run the

ont active 

command in GPON mode to activate the ONU.

If Run state is offline, a physical line may be broken or the optical module may be damaged. Check the line and the optical module.

If Config state is failed, the configured ONU capability exceeds the actual ONU capability. In this case, run the

display ont failed-configuration 

command in the diagnose mode to check the failed configuration item and the failure cause. Then, rectify the fault accordingly.