DataCom OLT 对接 ZTE ONU 测试 关于配置ethernet问题分析

2022-03-30 00:00:00 配置 指令 端口 禁用 会对

OLT配置这个 Ethernet 1 的问题:
OLT预配置:

DM4610(config-gpon-1/1/6)# show
interface gpon 1/1/6
no shutdown
onu 100
serial-number DACMDFB16C96
line-profile zte-veip-any
veip 1
!

一旦配置了Ethernet指令:

DM4610(config-gpon-onu-100)# show
interface gpon 1/1/6
onu 100
serial-number DACMDFB16C00
line-profile TEST
ethernet 1
negotiation
no shutdown
!
后又把Ethernet指令删除就会把LED熄灭。

现象是;
注册的ONU,在OLT预先配置后不带Ethernet的配置后,ONU的LAN侧LED灯显示正常;一旦对该ONU配置过 Ethernet 这条指令后再次禁用掉就不正常了,LAN口对应LED灯被熄灭。

为什么要配置这个Ethernet这个指令???
如果ONU当做桥接使用,就必须配置 Ethernet,问题就在这,上面也说了一旦配置了这个命令,OLT就会对该ONU的LAN接口进行管理,如果想 删除Ethernet的话(即切换回路由使用),相当于 OLT对ONU的LAN口下发禁用操作,因此LED一直不会亮;

综述: 建议客户不管对 ONU设置 路由 还是 桥接;都配置Ethernet这条命令 好;
要么研发去处理 OLT下发请求这个OMCI 不做任何处理或丢弃掉,这样就不会对ONU的 eth端口进行OMCI管理操作,因此还是的小心处理。

通过抓取OMCI报文分析发现:
当前OLT删除 Ethernet时;串口会出现LAN-LOS告警;OMCI报文如下

当管理状态设置为锁定时,UNI的功能被阻止,报警,TCAs和AVC被阻止
管理实体和所有依赖管理实体不再存在产生。
[0:6:40.457]Recv omci Msg, MsgType=8, MeClass=11, MeId=0x0101, TCI=32871
80 67 48 0a 00 0b 01 01 [08 00 01 00 00 00 00 00 (Administrative state :=1 (Lock))
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 ]00 00 00 28 35 ae 7e 64
[OMCI_Execute_pptp_eth_uni_set_check]OMCI_Execute_pptp_eth_uni_set_check: attr.attr_mask = 800, ret = 0!
Curent Mib Sync is 57
[0:6:40.459]Send omci Msg, MeClass=11, MsgType=8, MeId=0x0101, Result=0
80 67 28 0a 00 0b 01 01 [00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 ]00 00 00 28 f2 53 91 82
##Omci Stack Event: 0x05000038, Mng_Pptp_Uni
OA_SysDrv_Mng_Pptp_Uni: mngmask=0008 attrmask=0800
##Omci Stack Event: 0x05010027, Query_Uni_Index
##Omci Stack Event: 0x03000009, Set_Port_Admin_State
OA_SysDrv_Mng_Pptp_Uni: set admin-state(1) result=0
[GetMacBrPortMeIdFromUniMeId],wunimeid:0101
[GetMacBrPortMeIdFromUniMeId],find mac br,pwmeid:0001
step into zxic_omci_clear_mib_table_attr, meclass 11,msg_type 8.
set message,usMsgMask 0x0800.
mac 1 link down
##Omci Stack Event: 0x05010027, Query_Uni_Index
br0: port 1(eth0) entered disabled state
omci recv lan-los alm!
tETHPort =eth0
Recevie Uni Lan Los port_id 0 port_rate 3 port_mode 0
##Omci Stack Event: 0x05010027, Query_Uni_Index
Step into Alarm_AVC_buffer_report_avc_to_olt
Step into Alarm_AVC_buffer_update_avc_to_db
[GetMacBrPortMeIdFromUniMeId],wunimeid:0101
[GetMacBrPortMeIdFromUniMeId],find mac br,pwmeid:0001
##Omci Stack Event: 0x05030009, CLEAR_ALL_HG_MAC
OA_Do_Empty_Proc
[zxic_omci_mng_event_config] Event (0x05000031) no found!
[zxic_omci_mng_event_callback]Call pFucMngExec ucRet=2
[Sub_ReportAvcToOmci]Sub_ReportAvcToOmci MeCls:11, MeID:257, Mask:0400

[0:6:44.682]Send omci Msg, MeClass=11, MsgType=17, MeId=0x0101, Result=4
00 00 11 0a 00 0b 01 01 [04 00 01 00 00 00 00 00 (Operational state: 该属性值修改为1:指禁用,禁用用户对eth端口进行操作)
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 ]00 00 00 28 a2 68 13 bd
[Sub_IsAlarmNumberExist]Omci will report Alarm(MeCls:11,AlarmNo:0): LAN-LOS
[0:6:44.683]Send omci Msg, MeClass=11, MsgType=16, MeId=0x0101, Result=128
00 00 10 0a 00 0b 01 01 [80 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 01 ]00 00 00 28 49 0c fb f7
[AlarmReportToOmci]ONU Send Alarm To OLT! MeCls:11 MeID: 257 SequenceNo:1



2、当禁用 Ethernet后再次启用Ethernet操作后,在OLT查看ONU的Ethernet端口信息很清楚的看到eth端口 从 down状态 变为 UP状态;由此可以看出OLT禁用Ethernet指令后,会对ONU下发禁用以太网端口使能功能。

DM4610# show interface gpon 1/1/1 onu 3 ethernet

Physical interface : ethernet 1, Enabled, “Physical link is down”
Link-level type : Ethernet
Speed :
Duplex :
Negotiation : Enabled
Status Negotiation:
Native VLAN : -
MAC limit : Unlimited
DM4610#
DM4610# show interface gpon 1/1/1 onu 3 ethernet
Physical interface : ethernet 1, Enabled, “Physical link is up”
Link-level type : Ethernet
Speed :
Duplex :
Negotiation : Enabled
Status Negotiation: 1 Gbit/s Full-Duplex
Native VLAN : -
MAC limit : Unlimited
DM4610#



————————————————
版权声明:本文为CSDN博主「shelly0627」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_42353331/article/details/86529288

相关文章