GPON module basic test examples

From MikroTik Wiki
Revision as of 15:24, 10 March 2017 by Krisjanis (talk | contribs) (→‎ZTE quick basic test configuration example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ZTE quick basic test configuration example

  • gpon-olt_0/14/1 GPON port
  • gei_0/1/1 ethernet port
vlan database
no vlan 129-2900
vlan 2601
exit

interface gei_1/2/1
switchport mode hybrid
switchport vlan 2601 tag
switchport default vlan 2900
exit

/* create profile, 1G bandwidth */
gpon
profile tcont fixed1G type 1 fixed 1000000
exit

interface gpon-olt_1/2/1
no onu 1
onu 1 type ZTE-F622 sn (SERIALNR) vport-mode gemport
exit

interface gpon-onu_1/2/1:1
vport-mode gemport def-map-type 1:1
tcont 1 name 1 allocid 256 profile fixed1G
tcont 1 gap mode3
gemport 1 name Gem1 portid 129 unicast tcont 1 dir both queue 1
switchport mode hybrid vport 1
switchport vlan 2601 tag
switchport default vlan 2900
exit

pon-onu-mng gpon-onu_1/2/1:1
gemport 1
exit

Huawei quick basic test configuration example

  • TEST - server behind 0/18 0 interface.
  • DUT - behind 0/0 3 ont 0
############# Configure DBA profile for ONT ################ 

MA5680T(config)#dba-profile add profile-id 10 profile-name T4-1G type4 max 1024000 

############# Configure line profile and bridgeport to interwork for ONT ################ 

MA5680T(config)#ont-lineprofile gpon profile-id 10 profile-name transparent  

MA5680T(config-gpon-lineprofile-10)#tcont 1 dba-profile-id 10 

MA5680T(config-gpon-lineprofile-10)#gem add 0 eth tcont 1

MA5680T(config-gpon-lineprofile-10)#mapping-mode port

MA5680T(config-gpon-lineprofile-10)#gem mapping 0 0 eth 1 

MA5680T(config-gpon-lineprofile-10)#commit 

MA5680T(config-gpon-lineprofile-10)#quit

############# Configure service profile and bridgeport to UNI port for ONT ################ 

MA5680T(config)#ont-srvprofile gpon profile-id 10 profile-name transparent 

MA5680T(config-gpon-srvprofile-10)#ont-port eth 1 pots 0 

MA5680T(config-gpon-srvprofile-10)#port vlan eth 1 transparent 

MA5680T(config-gpon-srvprofile-10)#commit 

MA5680T(config-gpon-srvprofile-10)#quit

############# register ONT with Huawei OLT ################ 

MA5680T(config)#interface gpon 0/1     // enter GPON card interface

MA5680T(config-if-gpon-0/1)#port 4 ont-auto-find enable  

MA5680T(config)#display ont autofind all gpon 

MA5680T(config-if-gpon-0/1)#ont add 3 0 sn-auth (SERIALNR) omci ont-lineprofile-id 10 ont-srvprofile-id 10 

############# Configure Vlan 100 from ONT to OLT gigabit port  ################ 

MA5680T(config)#service-port vlan 100 gpon 0/0/3 ont 0 gemport 0 multi-service user-vlan 100 

############# Add VLAN 100 to OLT gigaport  ################ 

MA5680T(config)#port vlan 100 0/18 0     


Adtran TA-5000)

  • To verify your Adtran TA-5000 is able to detect if the Mikrotik SFP GPON module is connected to your GPON network
  1. 1 Telnet to your Adtran TA-5000 - (enable when you login)
  2. 2 type in "show run" and look for information which appears like this:
    !
    remote-device ont 2@1/20/1.gpon
      mac-spoofing-allowed enable
      serial-number "MKTK0c150621"
      no shutdown
    !

Note - the serial-number "MKTK0c150621" indicates the Adtran TA-5000 does see the Mikrotik SFP GPON module.

  1. 3 To view additional information - type in the following

show remote-device ont 2@1/20/1.gpon note: Replace the 2@1/20/1.gpon part of the command with your configuration You should something similar to the following:

TA5000-3#show remote-device ont 2@1/20/1.gpon remote-device ont 2@1/20/1.gpon is IS and up

 Uptime                          : 0 days, 04 hours, 46 minutes, 20 seconds
 Description                     : MKTK0c150621_Mikrotik-MKTK0c1506
 Activated Serial Number         : MKTK0c150621
 CLEI                            :
 Software Version                : <forced-A>
 Inactive Software Version       : <forced-B>
 Boot Software Version           : na
 Upgrade Status                  : Upgrade Completed
 Part Number                     : 2.7-D-P5
 Product Name                    :
 OLT Rx Power (RSSI)         dBm : -10.5
 ONT Rx Power                dBm : -11.7
 ONT Tx Power                dBm : 2.0
 Upstream BIP                    : 52413
 Downstream BIP                  : 69
 RDI                             : 0
 RX Ploam CRC Error              : na
 US Good DBRu                    : na
 US Bad DBRu                     : na
 Equalization Delay          bit : 300870
 Fiber Distance                m : 834
 ACS Server Profile              :
 ACS Username                    :
 Management Mac Address          : 00:00:00:00:00:00
 Last Error                      : Error: Management IP not suppoted in this ONT

I will later edit and add more information for how to configure the Adtran and Mikrotik (when I figure it out). North Idaho Tom Jones

EDIT December 30 2016 by "TomjNorthIdaho"

I am now able to confirm the that I was able to get a Mikrotik GPON SFP module (inserted into a Mikrotik 2011UiAS-2HnD running 6.37.3) to work in my ISP GPON network. My head-end to the GPON networks are Adtran TA-5000 units (System Release 08.05.01.02).

I suspect there may be more than one way to configure everything... Here is what I did:

- - - (Simple bridge) - On the Head-End that terminates all your customer GPON networks/devices, you need to configure the head-end as if you are connecting a simple bridging ONT.  Do not configure Virtual Ethernets.
- - - (Simple bridge) - On the Mikrotik with the Mikrotik GPON SFP module inserted; configure the sfp1 interface the same way you would configure a normal Ethernet.  Do not use vlan tagging (802.1q).

This is a CLI show run from my Adtran TA-5000 showing the parts of the Adtran configuration to make the Mikrotik GPON module work:

========================================
========================================
!
remote-device ont 2@1/20/1.gpon
  description "Mikrotik--2@1/20/1--MKTK0c150621"
  mac-spoofing-allowed enable
  serial-number "MKTK0c150621"
  no shutdown
!

!
evc "Data"
  s-tag 246
  connect men-port default-ethernet
  mac-switched
  no preserve-ce-vlan
  no shutdown
!

!
evc "Data"
  s-tag 246
  connect men-port default-ethernet
  mac-switched
  no preserve-ce-vlan
  no shutdown
!

!
interface gpon 1/20/1
  activation-mode auto-activate
  resource allocation-mode 32 32
  thresholds total-min-rate 2488000
  no shutdown
!

!
shaper "Download-MKTK0c150621" 1/20
  per remote-device 2@1/20/1.gpon queue 0-7
  rate 999999
  gpon channel assured-bandwidth 0
  gpon channel fixed-bandwidth 0
  min-rate 0
  no shutdown
!
!
shaper "Upload-MKTK0c150621" 2@1/20/1.gpon
  per interface gpon 2/0/1@1/20/1.gpon channel 1
  rate 999999
  gpon channel assured-bandwidth 0
  gpon channel fixed-bandwidth 0
  min-rate 0
  no shutdown
!

========================================
========================================

. . . edit (added additional information) ... Feb 24 2017 North Idaho Tom Jones - I have been able to successfully test the Mikrotik GPON module installed in a Mikrotik to my Adtran TA-5000 using the following configurations:

- - Bridge Mode (and Bridge Mode using 802.1q where I can bridge different networks to different Ethernet ports on my mikrotik where all networks remained isolated from each other).
- - Residential Gateway , where the client Mikrotik performs NAT, FireWall, DHCP to client LAN, just about everything a Mikrotik can already do.
. . .

A very interesting possibility for use could be where a single GPON module equipped Mikrotik may be able to function as a Multi-Dwelling multi-Residential-Gateway device and support something similar to SubH. To do this, configure the Mikrotik on a Vlan on talking to your Out-Of-Band SubH network. Then add some MetaRouter virtual routers to your Mikrotik where each virtual Mikrotik is uniquely dedicated to each dwelling. Thus it is possible to make a single Mikrotik act as if it were multiple routers where each virtual router is isolated. This may be cost effective compared to other GPON multi-dwelling solutions. North Idaho Tom Jones