GPON module basic test examples

From MikroTik Wiki
Revision as of 15:20, 10 February 2016 by Krisjanis (talk | contribs) (Created page with " === ZTE quick basic test configuration example === * gpon-olt_0/14/1 GPON port * gei_0/1/1 ethernet port <pre> configure terminal gpon exit vlan database no vlan 129-2...")
(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
configure terminal
gpon
exit
vlan database
no vlan 129-2900
vlan 2601
exit
interface gpon-olt_1/2/1
no onu 1
onu 1 type ZTE-F622 sn (SERIALNR) vport-mode gemport
exit

/* create profile, 1G bandwidth */
gpon
profile tcont fixed1G type 1 fixed 1000000
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
interface gei_1/2/1
switchport mode hybrid
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