WO2018209914A1 - 一种gpon系统中olt环回检测的方法及系统 - Google Patents

一种gpon系统中olt环回检测的方法及系统 Download PDF

Info

Publication number
WO2018209914A1
WO2018209914A1 PCT/CN2017/111561 CN2017111561W WO2018209914A1 WO 2018209914 A1 WO2018209914 A1 WO 2018209914A1 CN 2017111561 W CN2017111561 W CN 2017111561W WO 2018209914 A1 WO2018209914 A1 WO 2018209914A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
packet
olt
mac address
loopback
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/111561
Other languages
English (en)
French (fr)
Inventor
肖云鹏
郭紫健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Publication of WO2018209914A1 publication Critical patent/WO2018209914A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/077Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using a supervisory or additional signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0083Testing; Monitoring

Definitions

  • the present invention relates to the field of optical communication technologies, and in particular, to a method for OLT loopback detection in a GPON system and a system for OLT loopback detection in a GPON system.
  • GPON Gigabit-Capable PON
  • ITU-TG.984.x ITU-TG.984.x standard. It has high bandwidth, high efficiency, large coverage and rich user interfaces. Many advantages, etc., are regarded by most operators as the ideal technology to achieve broadband and integrated transformation of access network services.
  • the ONU Optical Network Unit
  • the ONU receives the uplink data from the UNI (User Network Interface) port, and the ONU encapsulates the uplink data into a GEM frame and sends it to the OLT (optical).
  • Line terminal the optical line terminal, the OLT decapsulates the GEM frame into ETH data, sends it out through the uplink port, and performs similar processing in the downlink direction.
  • the GPON system can also start from the perspective of consumer demand and operator operation and maintenance management. Provides powerful OAM (Operation Administration and Maintenance) support.
  • OAM Operaation Administration and Maintenance
  • the OLT line card in the GPON system supports a 16 PON (Passive Optical Network) port.
  • Each PON port has a split ratio. If the link has a data or protocol packet ring for some reason. Forwarding will cause the network to form a data storm and affect the operation of normal services. Therefore, implementing loopback detection in GPON systems plays an extremely important role.
  • a loop detection protocol is generally used to perform loopback in a GPON system. Detecting, the ring network detection protocol has the advantages of not based on network topology calculation, active loop discovery, and broken loop.
  • the ring network detection protocol determines whether the port is looped through the port information carried in the detection packet received by a certain port.
  • the detection packet is usually a virtual local area network (VLAN) and an Ethernet type, and carries the port information sent to the port.
  • VLAN virtual local area network
  • Ethernet type carries the port information sent to the port.
  • the detection of the packet can be adapted to the application requirements of the GPON system.
  • the detection mode requires that both the OLT and the ONU support the detection, tracking, detection, and ring breaking of the detection packets, and the limitations of the detection.
  • the object of the present invention is to provide a method for OLT loopback detection in a GPON system and a system for OLT loopback detection in a GPON system, which effectively detect loopback in a GPON system. .
  • the technical solution adopted by the present invention includes:
  • S1 Initialize the packet processing task of the OLT device CPU, perform packet receiving, and identify whether the received packet is a Layer 2 learning mac address drift message, and if yes, go to S2, and if not, end;
  • S2 Initialize the Layer 2 learning processing task of the OLT device, and copy the packet to the CPU of the OLT device when the Layer 2 learning MAC address drift detection loopback is enabled.
  • S1 is specifically:
  • S101 Initialize a packet processing task of the OLT device CPU, and the CPU performs packet receiving and receiving;
  • S102 Determine whether the packet received by the CPU is a Layer 2 learning MAC address drift packet. If yes, the message is sent to the receiving queue, then to S2, and if not, it ends.
  • S2 is specifically:
  • S202 Determine whether there is a MAC address in the Layer 2 address table that is the same as the packet received by the receiving queue. If yes, go to S202. If not, the packet is learned by the Layer 2 address table. If yes, Then go to S203;
  • S203 determining whether the input port of the packet is the same as the source address port in the Layer 2 address table, if the same, the end, if not the same, then go to S204;
  • S301 The loopback detection module performs the polling process to receive the polling of the Layer 2 learning mac address drift message. If not, the process repeats S301. If yes, it is determined in the local descriptor table of the memory maintenance. There is an entry, if it exists, go to S302, if it does not exist, go to S303;
  • S304 Find the optical network unit information in the PON table according to the mac address and the vlan information carried in the packet received by the loopback detection module, and then switch to S4.
  • the S4 is specifically: determining the alarm type according to the information of the optical network unit, and reporting the alarm type to the network management.
  • S111 Initialize a Layer 2 learning configuration of an OLT device port.
  • S112 The priority of the uplink port of the PON card is greater than the priority of the PON port.
  • S113 The priority of the uplink port of the configuration switch is greater than the priority of the slot port.
  • the invention also discloses a system for OLT loopback detection in a GPON system, comprising:
  • An initialization module configured to initialize a packet processing task and a layer 2 learning processing task of the OLT device CPU;
  • the judging module is configured to determine whether the packet received by the packet processing task is a Layer 2 learning mac address drift packet, and if yes, the packet is copied when the Layer 2 learning mac address drift detection loopback is enabled. Go to the OLT device CPU;
  • the loopback detection module is configured to determine whether the packet processing task receives the Layer 2 learning mac address drift message, and if received, reports the alarm to the network management.
  • the Layer 2 learning mac address drift message that is determined by the determining module enters the receiving queue.
  • the determining module is further configured to determine whether there is a MAC address in the Layer 2 address table that is the same as the packet received by the receiving queue, and determine the input port and the Layer 2 address table of the packet. If the source address port is the same as the source address port in the Layer 2 address table, if the source address of the packet is different from the source address port in the Layer 2 address table. In the case of the Layer 2 learning mac address drift detection loopback function, the Layer 2 learning mac address drift flag is applied to the packet, and the packet is copied to the OLT device CPU.
  • the initialization module is further configured to initialize a Layer 2 learning configuration of the OLT device port, and configure the priority of the uplink port of the PON card to be greater than the priority of the PON port, and configure the uplink port of the switch disk.
  • the priority is greater than the priority of the slot port.
  • the method of the OLT loopback detection in the GPON system of the present invention has the advantages that the method for detecting the OLT loopback of the present invention is applied to the GPON line card, and the loopback detection module can pass the message.
  • the loopback detection module can pass the message.
  • the application can be used on the main switch disk of the OLT device to identify the loop between the slot port and the uplink port. Reported on the network management, the scope of use is more extensive.
  • the OLT loopback detection system in the GPON system of the present invention has the advantages of judging whether the packet is a Layer 2 learning MAC address flapping packet, and effectively determining the loopback status of the OLT device to ensure that the device is normal. run.
  • FIG. 1 is a flow chart of a method for OLT loopback detection in a GPON system according to the present invention.
  • the present invention provides a method for OLT loopback detection in a GPON system, which is used to solve the problem that an ONU device (usually a different manufacturer or a simple OUN device) in a GPON system does not support inter-communication compatibility.
  • the loopback occurs.
  • an ONU that does not support inter-communication compatibility detection packets between the two companies will be connected to the OLT network side.
  • the address of the server is looped back to the user-side interface of the OLT.
  • the server-related Layer 2 address table on the OLT is rewritten.
  • the data stream sent by the ONU to the server cannot be forwarded to the network-side interface.
  • the ONU is attached to the entire OLT chassis. A service failure occurs, and the OLT cannot sense the cause of the failure and the device that caused the failure.
  • the method for detecting OLT loopback in the GPON system specifically includes:
  • S1 Initialize the packet processing task of the OLT device CPU, and perform packet receiving, And if the received packet is a Layer 2 learning mac (Media Access Control) address drift message, if yes, go to S2, and if not, end.
  • the Mac address is the physical address or hardware address. specific:
  • S101 Initialize a packet processing task of the OLT device CPU, and the CPU performs packet receiving and receiving;
  • S102 Determine whether the packet received by the CPU is a Layer 2 learning MAC address drift message. If yes, send the message to the receiving queue, and then go to S2. If not, the process ends.
  • S2 Initialize the Layer 2 learning processing task of the OLT device. When the Layer 2 learning mac address drift detection loopback is enabled, the packet is copied to the OLT device CPU. specific:
  • S202 Determine whether there is a MAC address in the Layer 2 address table that is the same as the packet received by the receiving queue. If yes, go to S202. If not, the packet is learned by the Layer 2 address table. If yes, Then go to S203;
  • S203 determining whether the input port of the packet is the same as the source address port in the Layer 2 address table, if the same, the end, if not the same, then go to S204;
  • the loopback detection module performs the polling process to receive the polling of the Layer 2 learning mac address drift message. If not, the process repeats S301. If yes, it is determined in the local descriptor table of the memory maintenance. There is an entry, if it exists, go to S302, if Does not exist, go to S303;
  • S304 Find the optical network unit information in the PON table according to the mac address and the vlan (Virtual Local Area Network) information carried in the packet received by the loopback detection module, and then switch to S4.
  • vlan Virtual Local Area Network
  • S4 Perform alarm processing.
  • the alarm type is determined based on the information of the optical network unit, and the alarm type is reported to the network management system. For example, if the alarm type is aging, the aging alarm is reported to the NMS. If the alarm type is other than aging, the new alarm is reported to the NMS. The new alarm is used to indicate that the alarm is other than the aging alarm.
  • the OLT loopback detection method of the present invention is applied to a GPON line card.
  • the loopback detection module can check the PON port through the MAC address and VLAN information of the packet, and obtain the information of the ONU device, thereby reporting the alarm to the network management system. Applicable on the main switch disk of the OLT device, it can identify the loop between the slot port and the uplink port, and report the alarm on the network management. The scope of use is wider.
  • S111 Initialize a Layer 2 learning configuration of an OLT device port.
  • the priority of the uplink port of the PON card is greater than the priority of the PON port, that is, the priority of the uplink port of the PON card is greater than the PON port of the PON card;
  • S113 The priority of the uplink port of the switch disk is greater than the priority of the slot port, that is, the priority of the uplink port of the switch disk is greater than the slot port of the switch disk.
  • the invention also provides a system for OLT loopback detection in a GPON system based on the method for OLT loopback detection in the GPON system, comprising: an initialization module, a judging module and a loopback detection module.
  • the initialization module is configured to initialize the packet processing task of the OLT device CPU and the second layer learning processing task; the determining module is configured to determine whether the packet received by the packet processing task is a Layer 2 learning mac address drift message, and if so, If the Layer 2 learning mac address drift detection loopback is enabled, the loopback detection module is used to determine whether the packet processing task receives the Layer 2 learning MAC address flapping packet. Upon receipt, the police report to the network management.
  • the Layer 2 learning mac address drift message that is determined by the determining module enters the receiving queue.
  • the judging module is further configured to determine whether the same MAC address is received in the L2 address table, and whether the input port of the packet is the same as the source address port in the L2 address table. If the address of the packet is the same as that of the packet received by the receiving queue, and the input port of the packet is different from the source port of the Layer 2 address table, the Layer 2 learning mac address drift detection loop is enabled. In the case of the return function, the Layer 2 learning mac address drift flag is marked for the packet, and the packet is copied to the OLT device CPU.
  • the initialization module is further configured to initialize the Layer 2 learning configuration of the OLT device port, and configure the priority of the uplink port of the PON card to be greater than the priority of the PON port, and the priority of the uplink port of the configuration switch is greater than the priority of the slot port. .
  • the loopback status of the OLT device is effectively judged to ensure the normal operation of the device, and the OLT loopback detection system of the present invention is applied to the GPON line card.
  • the loopback detection module can check the PON port through the MAC address and VLAN information of the packet to obtain the ONU device. The information is reported to the network management system, and is applied to the main switch disk of the OLT device. The loop between the slot port and the uplink port can be identified, and the alarm is reported to the network management.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明涉及光通信技术领域,公开了一种GPON系统中OLT环回检测的方法,包括:S1:初始化OLT设备CPU的收包处理任务,进行报文的收包,并识别收到的报文是否为二层学习mac地址漂移报文,若是,则转到S2,若否,则结束;S2:初始化OLT设备的二层学习处理任务,在使能二层学习mac地址漂移检测环回的情况下,将报文复制到OLT设备CPU中;S3:进行是否收到二层学习mac地址漂移报文的轮询,若收到,则转到S4,若否,则重复S3;S4:进行告警处理。本发明还公开了一种GPON系统中OLT环回检测的系统。本发明有效地对GPON系统中的环回进行检测。

Description

一种GPON系统中OLT环回检测的方法及系统 技术领域
本发明涉及光通信技术领域,具体涉及一种GPON系统中OLT环回检测的方法和一种GPON系统中OLT环回检测的系统。
背景技术
GPON(Gigabit-Capable PON,无源光接入系统)技术是基于ITU-TG.984.x标准的最新一代宽带无源光综合接入标准,具有高带宽、高效率、覆盖范围大和用户接口丰富等众多优点,被大多数运营商视为实现接入网业务宽带化和综合化改造的理想技术。在GPON的数据封装中,ONU(Optical Network Unit,光网络单元)从UNI(User Network Interface,用户网络接口)口接收到上行的数据,ONU把上行数据封装为GEM帧,并发送给OLT(optical line terminal,光线路终端,OLT把GEM帧解封装为ETH数据,通过上联口发送出去,下行方向进行类似处理。同时,GPON系统还能从消费者需求和运营商运行维护管理的角度出发,提供强大的OAM(Operation Administration and Maintenance,操作、管理和维护)支持。
通常情况下,GPON系统中的OLT线卡盘支持16PON(Passive Optical Network,无源光纤网络)口,每PON口128有分路比,若链路中由于某些原因出现数据或协议报文环形转发,将导致网络形成数据风暴,影响正常业务的运行,因此,在GPON系统中实现环回检测具有极其重要的作用。
现有技术中,一般使用环网检测协议进行GPON系统中的环回 检测,环网检测协议有着不基于网络拓扑计算、主动环路发现和破环的优点,环网检测协议通过在某个端口收到的检测报文中携带的端口信息来判定该端口是否成环,探测报文通常使用特殊的vlan(Virtual Local Area Network,虚拟局域网)和以太网类型,并且携带发往端口的端口信息,通过探测报文进行检测的方式可以适应GPON系统的应用需求,但此种检测方式要求OLT和ONU均支持探测报文的识别、跟踪、检测和成环情况下的破环,存在检测的局限性。
发明内容
针对现有技术中存在的缺陷,本发明的目的在于提供一种GPON系统中OLT环回检测的方法和一种GPON系统中OLT环回检测的系统,有效地对GPON系统中的环回进行检测。
为达到以上目的,本发明采取的技术方案是,包括:
S1:初始化OLT设备CPU的收包处理任务,进行报文的收包,并识别收到的报文是否为二层学习mac地址漂移报文,若是,则转到S2,若否,则结束;
S2:初始化OLT设备的二层学习处理任务,在使能二层学习mac地址漂移检测环回的情况下,将报文复制到OLT设备CPU中;
S3:进行是否收到二层学习mac地址漂移报文的轮询,若收到,则转到S4,若否,则重复S3;
S4:进行告警处理。
在上述技术方案的基础上,S1具体为:
S101:初始化OLT设备CPU的收包处理任务,CPU进行报文的收包;
S102:判断CPU收到的报文是否为二层学习mac地址漂移报文, 若是,则将报文发送至收包队列,然后转到S2,若否,则结束。
在上述技术方案的基础上,S2具体为:
S201:初始化OLT设备的二层学习处理任务;
S202:判断二层地址表中是否存在与收包队列收到的报文相同的mac地址,若存在,则转到S202,若不存在,则报文进行二层地址表的学习,若存在,则转到S203;
S203:判断报文的输入端口与二层地址表中的源地址端口是否相同,若相同,则结束,若不相同,则转到S204;
S204:若使能了二层学习mac地址漂移检测环回功能,则转到S205,若没有使能,则结束;
S205:为报文打上二层学习mac地址漂移标记,并将报文复制到OLT设备CPU的功能上层模块。
在上述技术方案的基础上,S3具体为:
S301:环回检测模块进行收包处理任务是否收到二层学习mac地址漂移报文的轮询,若没收到,则重复S301,若收到,则在内存维护的局部描述符表中判断是否有表项存在,若存在,转S302,若不存在,转S303;
S302:刷新局部描述符表中表项对应的老化定时器,转S301;
S303:在局部描述符表新增表项,同时开启新增表项的老化定时器,转S304:;
S304:根据环回检测模块收到的报文所携带的mac地址和vlan信息,在PON表中查找到光网络单元信息,然后转S4。
在上述技术方案的基础上,S4具体为:根据光网络单元信息判断告警类型,并将告警类型上报至网管。
在上述技术方案的基础上,在初始化OLT设备CPU的收包处理 任务前:
S111:初始化OLT设备端口的二层学习配置;
S112:配置PON卡的上联端口优先级大于PON口的优先级;
S113:配置交换盘的上联端口的优先级大于槽位端口的优先级。
本发明还公开了一种GPON系统中OLT环回检测的系统,包括:
初始化模块,其用于初始化OLT设备CPU的收包处理任务和二层学习处理任务;
判断模块,其用于判断收包处理任务收到的报文是否为二层学习mac地址漂移报文,若是,则在使能二层学习mac地址漂移检测环回的情况下,将报文复制到OLT设备CPU中;
环回检测模块,其用于进行收包处理任务是否收到二层学习mac地址漂移报文的判断,若收到,则上报告警至网管。
在上述技术方案的基础上,所述判断模块判断出的二层学习mac地址漂移报文进入收包队列。
在上述技术方案的基础上,所述判断模块还用于判断二层地址表中是否存在与收包队列收到的报文相同的mac地址,以及判断报文的输入端口与二层地址表中的源地址端口是否相同,若二层地址表中存在与收包队列收到的报文相同的mac地址,且报文的输入端口与二层地址表中的源地址端口不相同,则在使能了二层学习mac地址漂移检测环回功能的情况下,为报文打上二层学习mac地址漂移标记,并将报文复制到OLT设备CPU中。
在上述技术方案的基础上,所述初始化模块还用于初始化OLT设备端口的二层学习配置,并配置PON卡的上联端口优先级大于PON口的优先级,以及配置交换盘的上联端口的优先级大于槽位端口的优先级。
与现有技术相比,本发明一种GPON系统中OLT环回检测的方法的优点在于:将本发明的OLT环回检测的方法应用在GPON线卡盘,环回检测模块可以通过报文的MAC地址和VLAN信息反查PON口,得到ONU设备的信息,从而对网管进行上报告警,应用在OLT设备的主交换盘上,可以识别槽位端口和上联端口之间的成环,对网管上报告警,使用范围更加广泛。
本发明一种GPON系统中OLT环回检测的系统的优点在于:通过对报文是否是二层学习mac地址漂移报文的判断,有效的对OLT设备的环回状况进行判断,保证设备的正常运行。
附图说明
图1为本发明一种GPON系统中OLT环回检测的方法的流程图。
具体实施方式
以下结合附图对本发明作进一步详细说明。
参见图1所示,本发明提供一种GPON系统中OLT环回检测的方法,用于解决当GPON系统中的ONU设备(通常是异厂家的或功能简单的OUN设备)不支持厂家间互通兼容性探测报文的识别跟踪,出现环回的情况,例如出现下述情况:某台不支持厂家间互通兼容性探测报文的ONU如果LAN(Local Area Network,局域网)口成环将OLT网络侧的服务器的地址环回到OLT的用户侧接口,OLT上的服务器相关的二层地址表被改写,ONU发往服务器的数据流将无法被转发到网络侧接口,整个OLT机框下挂的ONU均出现业务故障,并且OLT无法感知故障原因和引起故障的设备。该GPON系统中OLT环回检测的方法具体包括:
S1:初始化OLT设备CPU的收包处理任务,进行报文的收包, 并识别收到的报文是否为二层学习mac(Media Access Control,媒体访问控制)地址漂移报文,若是,则转到S2,若否,则结束。Mac地址即为物理地址或硬件地址。具体的:
S101:初始化OLT设备CPU的收包处理任务,CPU进行报文的收包;
S102:判断CPU收到的报文是否为二层学习mac地址漂移报文,若是,则将报文发送至收包队列,然后转到S2,若否,则结束。
S2:初始化OLT设备的二层学习处理任务,在使能二层学习mac地址漂移检测环回的情况下,将报文复制到OLT设备CPU中。具体的:
S201:初始化OLT设备的二层学习处理任务;
S202:判断二层地址表中是否存在与收包队列收到的报文相同的mac地址,若存在,则转到S202,若不存在,则报文进行二层地址表的学习,若存在,则转到S203;
S203:判断报文的输入端口与二层地址表中的源地址端口是否相同,若相同,则结束,若不相同,则转到S204;
S204:若使能了二层学习mac地址漂移检测环回功能,则转到S205,若没有使能,则结束;
S205:为报文打上二层学习mac地址漂移标记,并将报文复制到OLT设备CPU的功能上层模块。
S3:进行收包处理任务是否收到二层学习mac地址漂移报文的轮询,若收到,则转到S4,若否,则重复S3。具体的:
S301:环回检测模块进行收包处理任务是否收到二层学习mac地址漂移报文的轮询,若没收到,则重复S301,若收到,则在内存维护的局部描述符表中判断是否有表项存在,若存在,转S302,若 不存在,转S303;
S302:刷新局部描述符表中表项对应的老化定时器,转S301;
S303:在局部描述符表新增表项,同时开启新增表项的老化定时器,转S304:;
S304:根据环回检测模块收到的报文所携带的mac地址和vlan(Virtual Local Area Network,虚拟局域网)信息,在PON表中查找到光网络单元信息,然后转S4。
S4:进行告警处理。具体的:根据光网络单元信息判断告警类型,并将告警类型上报至网管。例如,若告警类型为老化,上报老化告警至网管,若告警类型为除老化外的其它类型,则上报新告警至网管,新告警用以表示这是除老化告警外的其它类型的告警。
将本发明的OLT环回检测的方法应用在GPON线卡盘,环回检测模块可以通过报文的MAC地址和VLAN信息反查PON口,得到ONU设备的信息,从而对网管进行上报告警,应用在OLT设备的主交换盘上,可以识别槽位端口和上联端口之间的成环,对网管上报告警,使用范围更加广泛。
在初始化OLT设备CPU的收包处理任务前,还能够:
S111:初始化OLT设备端口的二层学习配置;
S112:配置PON卡的上联端口优先级大于PON口的优先级,即PON卡的上联端口优先级大于PON卡的PON口;
S113:配置交换盘的上联端口的优先级大于槽位端口的优先级,即交换盘的上联端口的优先级大于交换盘的槽位端口。
因此,在检测到二层学习mac地址漂移报文之后,除了可以将ONU或者端口等信息上报网管告警,人工手工排查流氓ONU或者异常组网外,还能够基于优先级的划分,保证PON卡和交换盘上网络侧 接口上的地址表不会被覆盖,避免产生环回的端口对其它端口的影响。
本发明还提供一种基于上述GPON系统中OLT环回检测的方法的GPON系统中OLT环回检测的系统,包括:初始化模块、判断模块和环回检测模块。
初始化模块用于初始化OLT设备CPU的收包处理任务和二层学习处理任务;判断模块用于判断收包处理任务收到的报文是否为二层学习mac地址漂移报文,若是,则在使能二层学习mac地址漂移检测环回的情况下,将报文复制到OLT设备CPU中;环回检测模块用于进行收包处理任务是否收到二层学习mac地址漂移报文的判断,若收到,则上报告警至网管。
其中,判断模块判断出的二层学习mac地址漂移报文进入收包队列。判断模块还用于判断二层地址表中是否存在与收包队列收到的报文相同的mac地址,以及判断报文的输入端口与二层地址表中的源地址端口是否相同,若二层地址表中存在与收包队列收到的报文相同的mac地址,且报文的输入端口与二层地址表中的源地址端口不相同,则在使能了二层学习mac地址漂移检测环回功能的情况下,为报文打上二层学习mac地址漂移标记,并将报文复制到OLT设备CPU中。初始化模块还用于初始化OLT设备端口的二层学习配置,并配置PON卡的上联端口优先级大于PON口的优先级,以及配置交换盘的上联端口的优先级大于槽位端口的优先级。
通过对报文是否是二层学习mac地址漂移报文的判断,有效的对OLT设备的环回状况进行判断,保证设备的正常运行,将本发明的OLT环回检测的系统应用在GPON线卡盘,环回检测模块可以通过报文的MAC地址和VLAN信息反查PON口,得到ONU设备的 信息,从而对网管进行上报告警,应用在OLT设备的主交换盘上,可以识别槽位端口和上联端口之间的成环,对网管上报告警。
本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。

Claims (10)

  1. 一种GPON系统中OLT环回检测的方法,其特征在于,包括:
    S1:初始化OLT设备CPU的收包处理任务,进行报文的收包,并识别收到的报文是否为二层学习mac地址漂移报文,若是,则转到S2,若否,则结束;
    S2:初始化OLT设备的二层学习处理任务,在使能二层学习mac地址漂移检测环回的情况下,将报文复制到OLT设备CPU中;
    S3:进行是否收到二层学习mac地址漂移报文的轮询,若收到,则转到S4,若否,则重复S3;
    S4:进行告警处理。
  2. 如权利要求1所述的一种GPON系统中OLT环回检测的方法,其特征在于,S1具体为:
    S101:初始化OLT设备CPU的收包处理任务,CPU进行报文的收包;
    S102:判断CPU收到的报文是否为二层学习mac地址漂移报文,若是,则将报文发送至收包队列,然后转到S2,若否,则结束。
  3. 如权利要求2所述的一种GPON系统中OLT环回检测的方法,其特征在于,S2具体为:
    S201:初始化OLT设备的二层学习处理任务;
    S202:判断二层地址表中是否存在与收包队列收到的报文相同的mac地址,若存在,则转到S202,若不存在,则报文进行二层地址表的学习,若存在,则转到S203;
    S203:判断报文的输入端口与二层地址表中的源地址端口是否相同,若相同,则结束,若不相同,则转到S204;
    S204:若使能了二层学习mac地址漂移检测环回功能,则转到 S205,若没有使能,则结束;
    S205:为报文打上二层学习mac地址漂移标记,并将报文复制到OLT设备CPU的功能上层模块。
  4. 如权利要求2所述的一种GPON系统中OLT环回检测的方法,其特征在于,S3具体为:
    S301:环回检测模块进行收包处理任务是否收到二层学习mac地址漂移报文的轮询,若没收到,则重复S301,若收到,则在内存维护的局部描述符表中判断是否有表项存在,若存在,转S302,若不存在,转S303;
    S302:刷新局部描述符表中表项对应的老化定时器,转S301;
    S303:在局部描述符表新增表项,同时开启新增表项的老化定时器,转S304:;
    S304:根据环回检测模块收到的报文所携带的mac地址和vlan信息,在PON表中查找到光网络单元信息,然后转S4。
  5. 如权利要求4所述的一种GPON系统中OLT环回检测的方法,其特征在于,S4具体为:根据光网络单元信息判断告警类型,并将告警类型上报至网管。
  6. 如权利要求5所述的一种GPON系统中OLT环回检测的方法,其特征在于,在初始化OLT设备CPU的收包处理任务前:
    S111:初始化OLT设备端口的二层学习配置;
    S112:配置PON卡的上联端口优先级大于PON口的优先级;
    S113:配置交换盘的上联端口的优先级大于槽位端口的优先级。
  7. 一种基于权利要求1所述方法的GPON系统中OLT环回检测的系统,其特征在于,包括:
    初始化模块,其用于初始化OLT设备CPU的收包处理任务和二 层学习处理任务;
    判断模块,其用于判断收包处理任务收到的报文是否为二层学习mac地址漂移报文,若是,则在使能二层学习mac地址漂移检测环回的情况下,将报文复制到OLT设备CPU中;
    环回检测模块,其用于进行收包处理任务是否收到二层学习mac地址漂移报文的判断,若收到,则上报告警至网管。
  8. 如权利要求7所述的一种GPON系统中OLT环回检测的系统,其特征在于:所述判断模块判断出的二层学习mac地址漂移报文进入收包队列。
  9. 如权利要求8所述的一种GPON系统中OLT环回检测的系统,其特征在于:所述判断模块还用于判断二层地址表中是否存在与收包队列收到的报文相同的mac地址,以及判断报文的输入端口与二层地址表中的源地址端口是否相同,若二层地址表中存在与收包队列收到的报文相同的mac地址,且报文的输入端口与二层地址表中的源地址端口不相同,则在使能了二层学习mac地址漂移检测环回功能的情况下,为报文打上二层学习mac地址漂移标记,并将报文复制到OLT设备CPU中。
  10. 如权利要求9所述的一种GPON系统中OLT环回检测的系统,其特征在于:所述初始化模块还用于初始化OLT设备端口的二层学习配置,并配置PON卡的上联端口优先级大于PON口的优先级,以及配置交换盘的上联端口的优先级大于槽位端口的优先级。
PCT/CN2017/111561 2017-05-18 2017-11-17 一种gpon系统中olt环回检测的方法及系统 Ceased WO2018209914A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710353778.4 2017-05-18
CN201710353778.4A CN106941634B (zh) 2017-05-18 2017-05-18 一种gpon系统中olt环回检测的方法及系统

Publications (1)

Publication Number Publication Date
WO2018209914A1 true WO2018209914A1 (zh) 2018-11-22

Family

ID=59465044

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/111561 Ceased WO2018209914A1 (zh) 2017-05-18 2017-11-17 一种gpon系统中olt环回检测的方法及系统

Country Status (2)

Country Link
CN (1) CN106941634B (zh)
WO (1) WO2018209914A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941634B (zh) * 2017-05-18 2020-07-14 烽火通信科技股份有限公司 一种gpon系统中olt环回检测的方法及系统
CN110971992B (zh) * 2019-12-12 2021-11-02 太仓市同维电子有限公司 一种具有学习功能的gpon对接方法
CN113727222B (zh) * 2021-08-16 2023-11-03 烽火通信科技股份有限公司 一种pon系统中mac地址漂移的检测方法及装置
CN115767322A (zh) * 2022-09-29 2023-03-07 广州芯德通信科技股份有限公司 一种不同pon口onu环路检测方法和系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008057975A2 (en) * 2006-11-02 2008-05-15 Ocean Broadband Networks, Inc. Passive optical network systems with loop detection capability and methods for the loop detection
CN105119777A (zh) * 2015-09-07 2015-12-02 烽火通信科技股份有限公司 一种在pon系统中链路环回检测的方法
CN105657584A (zh) * 2014-12-01 2016-06-08 北京蓝山科技股份有限公司 一种用于epon/onu中的三网融合光路结构
CN106941634A (zh) * 2017-05-18 2017-07-11 烽火通信科技股份有限公司 一种gpon系统中olt环回检测的方法及系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277243A (zh) * 2007-03-28 2008-10-01 华为技术有限公司 环网中检测mac地址冲突的系统、节点及检测方法
CN101227400B (zh) * 2008-02-01 2011-12-28 中兴通讯股份有限公司 用于以太网的数据包处理方法和装置
CN101820363B (zh) * 2009-02-27 2014-12-03 中国电信股份有限公司 一种对以太网端口环回检测的方法及多业务传送平台
CN102104519A (zh) * 2009-12-17 2011-06-22 中兴通讯股份有限公司 基于拓扑信息的环网恢复方法与装置
CN104219122A (zh) * 2014-08-26 2014-12-17 烽火通信科技股份有限公司 Olt局端快速定位远端onu环路端口的检测方法
CN106549821B (zh) * 2015-09-23 2021-01-01 华为技术有限公司 一种网络环路检测方法及控制器
CN105791048A (zh) * 2016-03-01 2016-07-20 上海斐讯数据通信技术有限公司 环回检测方法,装置以及包含该装置的网络设备
CN105915426B (zh) * 2016-06-20 2019-06-04 普联技术有限公司 环形网络的故障恢复方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008057975A2 (en) * 2006-11-02 2008-05-15 Ocean Broadband Networks, Inc. Passive optical network systems with loop detection capability and methods for the loop detection
CN105657584A (zh) * 2014-12-01 2016-06-08 北京蓝山科技股份有限公司 一种用于epon/onu中的三网融合光路结构
CN105119777A (zh) * 2015-09-07 2015-12-02 烽火通信科技股份有限公司 一种在pon系统中链路环回检测的方法
CN106941634A (zh) * 2017-05-18 2017-07-11 烽火通信科技股份有限公司 一种gpon系统中olt环回检测的方法及系统

Also Published As

Publication number Publication date
CN106941634B (zh) 2020-07-14
CN106941634A (zh) 2017-07-11

Similar Documents

Publication Publication Date Title
US9019840B2 (en) CFM for conflicting MAC address notification
US9007917B2 (en) Method and apparatus for increasing the scalability of the ethernet OAM
EP3468219B1 (en) Method and apparatus for generating forwarding entries for devices in optical network
WO2016095082A1 (zh) 一种流氓光网络单元的检测方法、装置及系统
WO2018209914A1 (zh) 一种gpon系统中olt环回检测的方法及系统
CN106982092B (zh) 光网络终端的异常报文捕获方法及光网络终端
US20090041458A1 (en) Passive optical network system management
US20110242988A1 (en) System and method for providing pseudowire group labels in a network environment
JP5678678B2 (ja) プロバイダ網及びプロバイダエッジ装置
CN106685817A (zh) 一种用于盒端设备流量切换的方法和装置
CN104883337A (zh) 环网用户安全的实现方法及装置
CN108282383B (zh) 一种实现故障处理的方法及设备
CN111917461B (zh) 一种基于df选举机制的mc-pon保护方法与装置
WO2017143935A1 (zh) 用于进行连通性检测的方法和装置
US20220224595A1 (en) Optical communication device and control method
CN111885433B (zh) 一种可实现端到端监测的网络系统、方法及设备
JP2012044384A (ja) 通信装置
CN101252525B (zh) 一种pon网络中的链路备份方法和设备
JP2016092549A (ja) 中継システムおよびスイッチ装置
JP5115771B2 (ja) ネットワークシステム、ルータ装置及びそれらに用いる冗長化方法
US20220376785A1 (en) Optical communication device and communication system
JP3917050B2 (ja) Macコントロールフレームによる装置管理方法
US20240251190A1 (en) Passive optical network
JP2015095741A (ja) 光加入者線終端装置および転送テーブル破損検知方法
US20110211493A1 (en) Systems and methods for configuring a demarcation device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17910274

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17910274

Country of ref document: EP

Kind code of ref document: A1