You are on page 1of 11

HOW TO REGISTER ONT HUAWEI

There is some part of configurations that should be prepared before we configuring ont at the first time
in OLT Huawei.

First we have to configure traffic table for service-port. it is like gemport profile in OLT ZTE

Here is the configuration :

OL01#config

OL01(config)#traffic table ip index 100 name TEST cir off priority 0 priority-policy local-Setting

Create traffic descriptor record successfully

————————————————

TD Index : 100

TD Name : TEST

Priority : 0

Copy Priority : –

Mapping Index : –

CTAG Mapping Priority: –

CTAG Mapping Index : –

CTAG Default Priority: 0

Priority Policy : local-pri

CIR : off

CBS : off

PIR : off

PBS : off

Fix : off

CAR Threshold Profile: –

Color Mode : color-blind

Color Policy : dei


Referenced Status : not used

————————————————

I am configuring traffic table above with no limit . but if you want to make some modification you can
configure another traffic table number for policy-rate / cir

like this :

traffic table ip index 1000 name “tr1000” cir 10240 cbs 329680 pir 10240 pbs 329680 color-mode color-
blind priority 0 priority-policy local-setting

that’s for 10 Mbps cir.

Okay Next

Next Part we have to configure dba-profile. it’s using like tcont-profile

OL01(config)#dba-profile add profile-id 100 profile-name TEST type4 max 1024000

{ <cr>|priority<K>|weight<K> }:

Command:

dba-profile add profile-id 100 profile-name TEST type4 max 1024000

Adding a DBA profile succeeded

Profile ID : 100

Profile name: TEST

Next part we have to configure ont-srv-profile. it’s using for define ONT-type

OL01(config)#ont-srvprofile gpon profile-id 100 profile-name “TEST”


OL01(config-gpon-srvprofile-100)#ont-port pots 2 eth 4

OL01(config-gpon-srvprofile-100)#multicast-forward untag

OL01(config-gpon-srvprofile-100)#port vlan eth 1 translation 111 user-vlan 111

OL01(config-gpon-srvprofile-100)#commit

Next Part we have to configure ont-line-profile. it’s using like pon-onu-mng in ZTE OLT

OL01(config)#ont-lineprofile gpon profile-id 100 profile-name “TEST”

OL01(config-gpon-lineprofile-100)#tcont 1 dba-profile-id 100

OL01(config-gpon-lineprofile-100)#gem add 1 eth tcont 1

{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-car<K>|priority-queue<K> }:

Command:

gem add 1 eth tcont 1

OL01(config-gpon-lineprofile-100)#gem mapping 1 0 vlan 111

{ <cr>|flow-car<K>|priority<K>|transparent<K> }:

Command:

gem mapping 1 0 vlan 111

OL01(config-gpon-lineprofile-100)#commit

Next Part we have to configure vlan service.

OL01(config)#vlan 111 smart

OL01(config)#port vlan 111 0/19 0 –> It’s command to tag vlan uplink

OL01(config)#display vlan 111

{ <cr>|inner-vlan<K>|to<K> }:
Command:

display vlan 111

VLAN ID: 111

VLAN name: VLAN_0111

VLAN type: smart

VLAN attribute: common

VLAN description:

VLAN forwarding mode in control board: VLAN-MAC

VLAN forwarding mode: VLAN-MAC

VLAN broadcast packet forwarding policy: forward

VLAN unknown multicast packet forwarding policy: forward

VLAN unknown unicast packet forwarding policy: forward

VLAN bind service profile ID: –

VLAN bind RAIO profile index: –

VLAN priority: –

——————————-

F /S /P Native VLAN State

——————————-

0 /19/0 1 up

0 /20/0 1 down

——————————-

Standard port number: 2

Service virtual port number: 0

After That, I usually check first in list of unregistered onu.

For Example :
OL01#display ont autofind all

—————————————————————————-

Number : 1

F/S/P : 0/1/2 –> slot 1 port 2

Ont SN : 3132333456789101 (HWTC-3132333456789101) –> SN number

Password : 0x00000000000000000000

Loid :

Checkcode :

VendorID : HWTC

Ont Version : 494.E

Ont SoftwareVersion : V3R

Ont EquipmentID : 245H

Ont autofind time : 2017-06-21 09:34:47+07:00

—————————————————————————-

The data above showing that ont at slot 1 port 2.

After that , you have to check how onu-id available from that port.

OL01#display ont info 0 1 2 all

There is no ONT available

In This case, there is no onu id configured. so we can choose freely of Onu ID and i choose onu ID 100

Okay Let’s go to configure :

OL01#config

OL01(config)#interface gpon 0/1


OL01(config-if-gpon-0/1)#ont add 2 100 sn-auth 3132333456789101 omci ont-lineprofile-id 100 ont-
srvprofile-id 100 desc TEST

Number of ONTs that can be added: 1, success: 1

PortID :2, ONTID :100

OL01(config-if-gpon-0/1)#ont port native-vlan 2 100 eth 1 vlan 111 priority 0

OL01(config-if-gpon-0/1)#quit

OL01(config)#service-port vlan 111 gpon 0/1/2 ont 100 gemport 1 multi-service user-vlan 111 tag-
transform translate inbound traffic-table index 100 outbound traffic-table index 100

OL01(config)#

verifying show run from that port with command :

OL01#display current-configuration ont 0/1/2 100

[gpon]

<gpon-0/1>

interface gpon 0/1

ont add 2 100 sn-auth “3132333456789101” omci ont-lineprofile-id 100

ont-srvprofile-id 100 desc “TEST”

ont port native-vlan 2 100 eth 1 vlan 111 priority 0

[bbs-config]

<bbs-config>

service-port 815 vlan 111 gpon 0/1/2 ont 100 gemport 1 multi-service user-vlan 111 tag-transform
translate inbound traffic-table index 100 outbound

traffic-table index 100

return

( Look at 815 is number that create automatically. and it can said service-port index )
OL01#

That’s configuration for bridging mode. and for this case i set eth 1 or port 1 to deliver service vlan 111
as bridging mode. If You want to make this ont as routing mode so you have to deliver IP at ONT. it can
be static IP or Dynamic IP

Here Example for Static IP as routing mode :

OL01#config

OL01(config)#interface gpon 0/1

OL01(config-if-gpon-0/1)#ont ipconfig 2 100 static ip-address 50.50.50.50 mask 255.255.255.0 gateway


50.50.50.254 vlan 111 priority 0

{ <cr>|pri-dns<K>|slave-dns<K> }:

Command:

ont ipconfig 2 100 static ip-address 50.50.50.50 mask 255.255.255.0 gateway 50.50.50.254 vlan 111
priority 0 –> just add this

OL01(config-if-gpon-0/1)#ont internet-config 2 100 ip-index 0

OL01(config-if-gpon-0/1)#ont wan-config 2 100 ip-index 0 profile-id 63

OL01(config-if-gpon-0/1)#ont port native-vlan 2 100 eth 1 vlan 1 priority 0 –> here command to remove
ont port native vlan. just change vlan to vlan 1 as default vlan

OL01(config-if-gpon-0/1)#ont port route 1 1 eth 1 enable

Here the full configuration :

OL01#display current-configuration ont 0/1/2 100

#
[gpon]

<gpon-0/1>

interface gpon 0/1

ont add 2 100 sn-auth “3132333456789101” omci ont-lineprofile-id 100

ont-srvprofile-id 100 desc “TEST”

ont ipconfig 2 100 static ip-address 50.50.50.50 mask 255.255.255.0 vlan 111

priority 0 gateway 50.50.50.254

ont internet-config 2 100 ip-index 0

ont wan-config 2 100 ip-index 0 profile-id 1

ont port route 1 1 eth 1 enable

[bbs-config]

<bbs-config>

service-port 815 vlan 111 gpon 0/1/2 ont 100 gemport 1 multi-service user-vlan 111 tag-transform
translate inbound traffic-table index 100 outbound

traffic-table index 100

return

OL01#

And Now , It’s time to learn how to delete onu and remove configuration.

OL01#config

OL01(config)#undo service-port 815 –> deleting it first after that u can delete at gpon interface

OL01(config)#interface gpon 0/1

OL01(config-if-gpon-0/1)#ont delete 2 100


Number of ONTs that can be deleted: 1, success: 1

OL01(config-if-gpon-0/1)#quit

OL01(config)#undo port vlan 111 ?

———————————————

Command of config Mode:

———————————————

frameid/slotid<S><Length 3-15>

Frame ID/Slot ID

inner-vlan-list VLAN list

to VLAN range

OL01(config)#undo port vlan 111 0/19 0

The port list includes link aggregation or protect group port(s),

so the other link aggregation or protect group port(s)

not being included by the port list will be processed

OL01(config)#undo vlan 111

{ <cr>|to<K> }:

Command:

undo vlan 111

OL01(config)#quit
OL01#display ont-lineprofile gpon all

—————————————————————————–

Profile-ID Profile-name Binding times

—————————————————————————–

100 TEST 0

—————————————————————————–

Total: 1

OL01#config

OL01(config)#undo ont-lineprofile gpon profile-id 100

OL01(config)#quit

OL01#display ont-srvprofile gpon all

—————————————————————————–

Profile-ID Profile-name Binding times

—————————————————————————–

100 TEST 0

—————————————————————————–

Total: 1

OL01#config

OL01(config)#undo ont-srvprofile gpon profile-id 100

OL01(config)#quit

OL01#config

OL01(config)#undo ont-srvprofile gpon profile-id 100

OL01(config)#quit

OL01#display ont wan-profile all

—————————————————————————–
Profile-ID Profile-name Binding times

—————————————————————————–

63 TEST 0

—————————————————————————–

Total: 1

OL01#config

OL01(config)#undo ont wan-profile profile-id 63

OL01(config)#quit

I hope this article can help you someda

You might also like