引言
omci.lua文件是Wireshark的OMCI协议解析插件的核心组件。它配合BinDecHex.lua,可以解析OMCI协议的数据包,提取出消息类型、受管实体标识、受管实体属性等关键信息,并以人类可读的形式显示在Wireshark的解码视图中,方便研发人员分享OMCI消息;目前网上使用的omci.lua是由technicolor公司的Dirk Van Aken和Olivier Hardouin编写并发布在wireshark官网上的。由于原版没有包含所有受管实体,且没有持续更新,导致部分标准受管实体无法解析。本人在原版的基础上,添加部分受管实体,在此分享给大家,欢迎分享更多有需要的朋友。
支持受管实体列表
| Managed entity class value | Managed entity |
| 2 | ONU data |
| 5 | Cardholder |
| 6 | Circuit pack |
| 7 | Software image |
| 11 | Physical path termination point Ethernet UNI |
| 24 | Ethernet performance monitoring history data |
| 25 | VP network CTPBPON |
| 27 | Priority queueB-PON |
| 44 | Vendor specific |
| 48 | MAC bridge port designation data |
| 49 | MAC bridge port filter table data |
| 51 | MAC bridge performance monitoring history data |
| 52 | MAC bridge port performance monitoring history data |
| 53 | Physical path termination point POTS UNI |
| 58 | Voice service profile |
| 79 | MAC bridge port filter pre-assign table |
| 82 | Physical path termination point video UNI |
| 83 | Physical path termination point LCT UNI |
| 84 | VLAN tagging filter data |
| 89 | Ethernet performance monitoring history data 2 |
| 90 | Physical path termination point video ANI |
| 130 | IEEE 802.1p mapper service profile |
| 131 | OLT-G |
| 133 | ONU power shedding |
| 134 | IP host config data |
| 136 | TCP/UDP config data |
| 137 | Network address |
| 138 | VoIP config data |
| 139 | VoIP voice CTP |
| 141 | VoIP line status |
| 142 | VoIP media profile |
| 143 | RTP profile data |
| 145 | Network dial plan table |
| 146 | VoIP application service profile |
| 148 | Authentication security method |
| 150 | SIP agent config data |
| 153 | SIP user data |
| 157 | Large string |
| 158 | ONU remote debug |
| 159 | Equipment protection profile |
| 160 | Equipment extension package |
| 171 | Extended VLAN tagging operation configuration data |
| 256 | ONU-G (NOTE – In [ITU-T G.984.4] this was called ONT-G) |
| 257 | ONU2-G (NOTE – In [ITU-T G.984.4] this was called ONT2-G) |
| 262 | T-CONT |
| 263 | ANI-G |
| 264 | UNI-G |
| 266 | GEM interworking termination point |
| 267 | GEM port performance monitoring history data (obsolete) |
| 268 | GEM port network CTP |
| 271 | GAL TDM profile (deprecated) |
| 272 | GAL Ethernet profile |
| 273 | Threshold data 1 |
| 274 | Threshold data 2 |
| 275 | GAL TDM performance monitoring history data (deprecated) |
| 276 | GAL Ethernet performance monitoring history data |
| 277 | Priority queue |
| 278 | Traffic scheduler |
| 279 | Protection data |
| 280 | Traffic descriptor |
| 281 | Multicast GEM interworking termination point |
| 287 | OMCI |
| 290 | Dot1X port extension package |
| 296 | Ethernet performance monitoring history data 3 |
| 297 | Port-mapping package |
| 309 | Multicast operations profile |
| 310 | Multicast subscriber config info |
| 311 | Multicast subscriber monitor |
| 312 | FEC performance monitoring history data |
| 318 | File transfer controller |
| 321 | Ethernet frame performance monitoring history data downstream |
| 322 | Ethernet frame performance monitoring history data upstream |
| 329 | Virtual Ethernet interface point |
| 332 | Enhanced security control |
| 334 | Ethernet frame extended PM |
| 336 | ONU dynamic power management control |
| 340 | BBF TR-069 management server |
| 341 | GEM port network CTP performance monitoring history data |
| 344 | XG-PON TC performance monitoring history data |
| 345 | XG-PON downstream management performance monitoring history data |
| 347 | IPv6 host config data |
| 349 | PoE control |
| 425 | Ethernet frame extended PM 64 bit |
| 440 | Time Status Message |
20250412版本更新记录
基于2022年版的ITU G.988,对已支持的受管实体进行更新,包括受管实体命名及属性,具体修改如下:
修改以下受管实体
5-Cardholder
7-Software Image
11-PPTP Ethernet UNI
24-Ethernet performance monitoring history data
58-Voice service profile
79-MAC bridge port filter preassign table
146-VoIP application service profile
171-Extended VLAN tagging operation configuration data
256-ONU-G
262-T-CONT
263-ANI-G
264-UNI-G
268-GEM Port Network CTP
276-GAL Ethernet performance monitoring history data
281-Multicast GEM interworking termination point
309-Multicast operations profile
310-Multicast subscriber config info
311-Multicast Subscriber Monitor
321-Ethernet frame performance monitoring history data downstream
改名以下受管实体
24-Ethernet performance monitoring history data
90-Ethernet performance monitoring history data 2
133-ONU Power Shedding
256-ONU-G
257-ONU2-G
276-GAL Ethernet performance monitoring history data
277-Priority queue
278-Traffic Scheduler
297-Port-mapping package
321-Ethernet frame performance monitoring history data downstream
322-Ethernet frame performance monitoring history data upstream
下载链接
链接: 百度网盘 请输入提取码
提取码: d5yn
历史版本
20250306版本:【资料分享】wireshark解析脚本omci.lua文件20250306版本发布(独家分享)-CSDN博客
20250228版本:
【OMCI实践】wireshark解析脚本omci.lua文件(独家分享)-CSDN博客
wireshark安装omci插件的方法,大家可以参考以下文章:
8111

被折叠的 条评论
为什么被折叠?



