MTK方案GPON ONU注册流程和OMCI分析

进入串口登录:输入以下指令 开启GPON ONU OMCI报文调试指令:
echo msg init 1 > /proc/gpon/debug
echo msg oam 1 > /proc/gpon/debug
echo msg err 1 > /proc/gpon/debug
echo msg omci 1 > /proc/gpon/debug
ONU 激活概述
ONU的激活过程由OLT控制,其激活过程大致如下:
1.ONU 通过 Upstream_Overhead 消息接收工作参数
2.ONU 根据接收到的工作参数调整自己的参数(如:发送光功率)
3.OLT 通过 Serial_Number Acquisition 流程发现新 ONU 的序列号
4.OLT 给所有新 ONU 分配 ONU-ID
5.OLT 测量新 ONU 的均衡时延
6.OLT 将测量的均衡时延传送给 ONU
7.ONU 根据均衡时延调整其上行帧的发送起始点
以上激活过程是通过交互上下行标记(flag)以及PLOAM消息来完成的

tcphy[2]: Link-down!!!str = 0tcphy[2]: Link-up at 100F. tx_amp_save=0.tcphy[10]: boosten=1 agccode=5 zfgain=5 ch_idx=23 snr=3 set olt type: 0
echo used greatest stack depth: 9644 bytes left
sendOmciCmdMsg open message queue fail![4415850ms]PLOAM: State change O5 —> O1
a) 初始状态 Initial-state(O1)
该状态的ONU刚刚上电,仍处于LOS/LOF。一旦接收到下行流,LOS和LOF消除,ONU
就转移到待机状态(O2)
[4415860ms]PLOAM: State change O1 —> O2

b) 待机状态 Standby-state(O2)
该 状 态 的 ONU 已 经 接 收 到 下 行 流 , 在 等 待 接 收 网 络 参 数 。 当 ONU 接 收 到Upstream_Overhead消息后根据这些网络参数进行相关配置(如:定界符、功率模式、预置的均衡时延)并转移到序列号状态(O3)
[4419560ms]PLOAM: Rx Upstream_Overhead.(FF012000 00AAAB59 83200000),state O2
[4419570ms]PLOAM: State change O2 —> O3

c) 序列号状态 Serial-Number-state(O3)
OLT给所有处于该状态的ONU发送Serial-Number Request消息,以发现新的ONU以及
他们的序列号。当OLT发现了新的ONU后,ONU就等待OLT给它指配ONU-ID。OLT通过
Assign_ONU-ID消息来指配ONU-ID。ONU获得ONU-ID后就转移到测距状态(O4)

[4419570ms]Receive the PLOAM message same:FF012000
[4419570ms]Receive the PLOAM message same:FF012000
[4419570ms]PLOAM: Receive Extended_Burst_Length message.(FF14770F 00000000 00000000)
[4419570ms]PLOAM: Setting the O3/O4 type 3 preamble. Overflow: 0, Rec. Value: 119, Set Value: 119
[4419570ms]Receive the PLOAM message same:FF14770F
[4419570ms]Receive the PLOAM message same:FF14770F
[4420350ms]PLOAM: Rx Upstream_Overhead.(FF012000 00AAAB59 83200000),state O3
[4420360ms]Receive the PLOAM message same:FF012000
[4420360ms]Receive the PLOAM message same:FF012000
[4420360ms]PLOAM: Receive Extended_Burst_Length message.(FF14770F 00000000 00000000)
[4420360ms]PLOAM: Setting the O3/O4 type 3 preamble. Overflow: 0, Rec. Value: 119, Set Value: 119
[4420360ms]Receive the PLOAM message same:FF14770F
[4420360ms]Receive the PLOAM message same:FF14770F
[4420360ms]PLOAM: Receive Assign_ONU_ID message.(FF030448 48474E80 031F6800)
[4420360ms]PLOAM: State change O3 —> O4
Serial_Number Acquisition流程:
首先OLT暂停对上行带宽的授权,从而产生一个安静期。等待一段测距延时之后,OLT发送Serial_Number Request。处于Serial_Number 状 态 ( O3 ) 的 ONU 接 收 到 Serial_Number Request 后 等 待 一 段SN-Response-Time时间(见8.7.1 节)再发送响应消息。OLT收到响应消息后发送Assi

  • 8
    点赞
  • 43
    收藏
    觉得还不错? 一键收藏
  • 5
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值