WO2018218887A1 - Over-disk lacp link aggregation method and device for pon access system - Google Patents

Over-disk lacp link aggregation method and device for pon access system Download PDF

Info

Publication number
WO2018218887A1
WO2018218887A1 PCT/CN2017/111563 CN2017111563W WO2018218887A1 WO 2018218887 A1 WO2018218887 A1 WO 2018218887A1 CN 2017111563 W CN2017111563 W CN 2017111563W WO 2018218887 A1 WO2018218887 A1 WO 2018218887A1
Authority
WO
WIPO (PCT)
Prior art keywords
lacp
port
aggregation group
main control
packet
Prior art date
Application number
PCT/CN2017/111563
Other languages
French (fr)
Chinese (zh)
Inventor
张显峰
黄勇
Original Assignee
烽火通信科技股份有限公司
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 烽火通信科技股份有限公司 filed Critical 烽火通信科技股份有限公司
Priority to MYPI2019001048A priority Critical patent/MY195304A/en
Publication of WO2018218887A1 publication Critical patent/WO2018218887A1/en
Priority to PH12019500594A priority patent/PH12019500594A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • 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

Definitions

  • the present invention relates to the field of link aggregation, and in particular, to a cross-platform LACP link aggregation method and apparatus for a PON access system.
  • LA Link Aggregation
  • LACP Link Aggregation Control Protocol
  • the LACP provides a standard negotiation mode for the device that exchanges data through the LACPDU (Link Aggregation Control Protocol Data Unit) and the peer exchange information.
  • the LACP is configured according to the device port (that is, rate and duplex). , basic configuration, management key, etc.) form an aggregated link, and start the aggregation link to send and receive data.
  • LACP link aggregation has the advantages of increasing network bandwidth, improving network connection reliability, and load-sharing traffic. With the rapid development of network communication technologies, LACP link aggregation technology is widely used in voice, data, and video services. Therefore, it is very important to ensure the normal LACP and link stability.
  • PON Passive Optical Network
  • the bandwidth requirements are getting higher and higher.
  • the new type of Ethernet line card can support a variety of ports, such as access, cascading, and uplink. It increases the bandwidth of the uplink link and improves the link connection reliability.
  • LACP link aggregation technology can increase bandwidth and improve uplink link reliability. It has been widely used in new Ethernet type line cards, and the demand for supporting cross-disk aggregation is increasing.
  • the LACP technology has been mainly focused on the implementation of the aggregation method.
  • the invention patent of the publication number CN1023B64892B provides an aggregation link switching method, and the patent is mainly applicable to a common uplink disk.
  • the switch and the router support the cross-platform LACP link aggregation
  • the PON access system is mainly a centralized architecture and distinguishes between the user side and the uplink side because it has different system architectures than the PON access system.
  • the Ethernet type of the PON access system has a large number of line card ports, 16 ports, and has its own CPU. It can run the protocol separately and can be applied to multiple application scenarios such as cascading and uplink.
  • the technical problem to be solved by the present invention is to provide a cross-platform LACP link aggregation method and apparatus for a PON access system, and the present invention can change the centralized architecture of the PON access system without changing the centralized architecture of the PON access system.
  • the function of extending the uplink of the Ethernet type single disk increases the bandwidth of the uplink link, thereby significantly improving the reliability of the link.
  • the present invention provides a cross-platform LACP link aggregation method for a PON access system, and the method includes the following steps:
  • S1 The main control panel creates a link aggregation group, and the designated port on each line card is added to the link aggregation group.
  • the main control panel opens the LACP protocol switch and goes to S2.
  • S2 The main control panel adds the link aggregation group to the specified VLAN, and goes to S3.
  • LACP packet When a member port of the link aggregation group on the master control panel sends an LACP packet, the LACP packet is encapsulated into a master-slave communication packet, and the master-slave communication packet is sent to the line card corresponding to the port. After the LACP packet is received, the LACP packet is sent to the peer device for processing.
  • the line card After receiving the LACP packet sent by the peer device, the line card encapsulates the LACP packet as the master-slave communication packet and sends it to the master control disk.
  • the master control disk resolves the master-slave communication packet to obtain the LACP packet. After processing the LACP packet, go to S4;
  • S4 The main control panel determines that all the ports that complete the LACP packet negotiation are normal ports.
  • the main control disk forms an aggregation group entry based on the port numbers of all normal ports and sends them to all line cards.
  • the main control disk and all line cards are saved. Aggregate the group entry and go to S5.
  • the cross-platform LACP link aggregation device of the PON access system for implementing the foregoing method includes a main control panel and at least two line cards of different Ethernet types, and a CPU is respectively disposed on the main control panel and each line card.
  • the switch chip, the CPU of the main control panel includes a configuration module, a bridge module, and an LACP protocol processing module, the CPU of the line card includes a line card bridge module and an LACP protocol adaptation layer, and the LACP protocol processing module further includes an LACP protocol state machine;
  • the configuration module is used to: create a link aggregation group, add a designated port on each line card in the link aggregation group, open the LACP protocol switch of the main control panel, and send a VLAN add signal to the bridge module.
  • the switch chip of the main control disk is used to: save the link aggregation group created by the configuration module. Specifies the aggregation group entry delivered by the specified VLAN and the LACP processing module.
  • the bridge module of the main control panel is configured to: after receiving the VLAN add signal, add the link aggregation group to the specified VLAN, send the aggregation group to the VLAN success signal to all the switch chips of the line card; when the link on the main control panel
  • the member port of the aggregation group sends an LACP packet
  • the LACP packet is encapsulated into a master-slave communication packet
  • the master-slave communication packet is sent to the CPU of the line card corresponding to the port.
  • the CPU of the line card is used to: after the LACP packet is obtained, the LACP packet is sent to the switch chip of the line card; the LACP packet received from the line card port is encapsulated as the master-slave communication packet, and then sent to the master.
  • the switch chip of the line card is used to: save the aggregation group entry delivered by the LACP processing module; after receiving the success message of the aggregation group, the LACP packet is sent to the peer device; the received LACP packet is sent. To the CPU of the main control panel;
  • the CPU of the main control disk is configured to: after parsing the master-slave communication packet to obtain the LACP packet, send the LACP packet to the LACP protocol processing module;
  • the LACP processing module is configured to: process the LACP packet, and determine that all the ports that complete the LACP packet negotiation are normal ports, and the aggregation group entry is formed according to the port number of all the normal ports, and the aggregation group entry is delivered to the master.
  • the port After receiving the port change information reported by the state machine of the LACP, the port is updated according to the port change information, and the updated aggregation group entry is sent to the switch chip of the main control disk and all line cards.
  • the LACP protocol state machine is used to: when the working state of the port of the line card is changed, the port change information is reported to the LACP protocol processing module, and the port change information includes the port number and the port change status, and the port change status includes normal abnormality. Or the exception becomes normal.
  • the present invention can collectively manage the ports on different line cards through the main control panel and maintain the aggregation port of the LACP link, which not only solves the problem that different ports on different Ethernet type line cards cannot be located.
  • the problem of other port events is perceived, and the problem of cross-disk LACP aggregation on the Ethernet type line card in the PON system is solved, which is an extension of the LACP link aggregation of the common uplink port. Therefore, the present invention expands the uplink disk function of the Ethernet type single disk without changing the centralized architecture of the PON access system, increases the bandwidth of the uplink link, and thus significantly improves the reliability of the link.
  • FIG. 1 is a flowchart of a method for a cross-platform LACP link aggregation in a PON access system according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a method for a cross-platform LACP link aggregation in a PON access system according to an embodiment of the present invention.
  • the PON access system in the embodiment of the present invention includes a main control panel and at least two line cards of different Ethernet types.
  • the cross-platform LACP link aggregation of the PON access system in the embodiment of the present invention is performed. The method includes the following steps:
  • S1 Create a link aggregation group on the master control panel, set the link aggregation group mode to LACP static aggregation, add the designated port on each line card in the link aggregation group, and turn the LACP protocol switch on the main control disk. Go to S2.
  • the line card in the embodiment of the present invention is two: a 3-slot line card and a 13-slot line card, and the ports on the 3-slot line card are 3:12, 3:16; 13 slots.
  • the ports on the line card are 13:5, 13:8.
  • S2 The master control panel adds the link aggregation group to the specified VLAN (VLAN 100 in this embodiment).
  • the specific process is as follows: After the master control panel adds the link aggregation group to the specified VLAN, the aggregation group is added to the VLAN. The information is sent to each line card; the line card adds the link aggregation group to the specified VLAN and goes to S3.
  • the member interface of the link aggregation group on the main control panel sends the LACP packet (the LACP packet is sent periodically), and the LACP packet is encapsulated into the master-slave communication packet.
  • the master-slave communication packet is used by the proprietary protocol.
  • the line card is sent to the corresponding line card. After the line card resolves the master-slave communication packet to obtain the LACP packet, the line card sends the LACP packet to the peer device for processing.
  • the line card After the available port of the line card receives the LACP packet from the peer device, the line card encapsulates the LACP packet as the master-slave communication packet and sends it to the master control disk.
  • the master control disk resolves the master-slave communication packet to obtain the LACP packet. Then, process the LACP packet and go to S4.
  • the main control panel determines that all the ports that complete the LACP packet negotiation are normal ports.
  • the port that completes the LACP packet negotiation is the port that can receive and send LACP packets.
  • the LACP packets sent by the master control disk are forwarded to the port.
  • the peer device forwards the LACP packets sent by the peer device to the master control disk.
  • the main control disk forms an aggregation group entry based on the port numbers of all the normal ports and sends them to all line cards.
  • the main control disk and all line cards save the aggregation group entries, so that the information about the specific ports can be known and managed. Go to S5. .
  • the specific process for the main control panel to refresh the aggregation group entry according to the port change information in S5 is: when the abnormality of the normal port becomes an abnormal port, the port number of the abnormal port in the aggregation group entry is removed; when the abnormal port becomes On a normal port, add the port number of the normal port to the aggregation group entry.
  • the multiplexer of the PON access system implementing the above method provided by the embodiment of the present invention includes a main control panel and at least two line cards of different Ethernet types.
  • the main control panel and each line card are respectively provided with a CPU and a switch chip, and the CPU of the main control panel includes a configuration.
  • Module, bridge module, LACP protocol processing module, line card CPU includes line card bridge module and LACP protocol adaptation layer, LACP protocol processing module also includes LACP protocol state machine.
  • the configuration module is used to create a link aggregation group, set the link aggregation group mode to LACP static aggregation, add the designated port on each line card in the link aggregation group, and open the LACP protocol switch on the main control disk.
  • the bridge module sends a VLAN add signal.
  • the switch chip of the master control panel is used to save the specified VLANs added by the link aggregation group created by the configuration module and the aggregation group entries delivered by the LACP processing module.
  • the line card in the embodiment of the present invention is two: a 3-slot bit line card and a 13-slot line line card, and the port on the 3-slot bit line card is 3:12, 3:16; the port on the 13-slot line card is 13:5, 13:8.
  • the bridge module of the main control panel is configured to: after receiving the VLAN add signal, add the link aggregation group to the specified VLAN (VLAN 100 in this embodiment), and send the aggregation group to the VLAN of all line card exchange chips.
  • the signal is sent to the CPU of the line card corresponding to the port.
  • the LACP packet is encapsulated into a master-slave communication packet, and the master-slave communication packet is sent to the CPU of the line card corresponding to the port.
  • the process of adding the link aggregation group to the specified VLAN is as follows: After the link aggregation group is added to the specified VLAN, the information about adding the aggregation group to the VLAN is sent to each line card. The card adds the link aggregation group to the specified VLAN.
  • the CPU of the line card is used to: after the LACP packet is obtained, the LACP packet is sent to the switch chip of the line card; the LACP packet received from the line card port is encapsulated as the master-slave communication packet, and then sent to the master. Control panel.
  • the LACP protocol adaptation layer is used to add and delete the member ports of the aggregation group on the line card.
  • the switch chip of the line card is used to: save the aggregation group table delivered by the LACP protocol processing module.
  • the LACP packet is sent to the peer device; the received LACP packet is sent to the CPU of the master control panel.
  • the CPU of the main control disk is configured to: After parsing the master-slave communication packet to obtain the LACP packet, send the LACP packet to the LACP protocol processing module.
  • the LACP protocol processing module is used to:
  • the LACP packet is processed to determine that the port that completes the LACP packet negotiation is a normal port.
  • the port that performs the LACP packet negotiation is the port that can receive and send LACP packets.
  • An aggregation group entry is generated based on the port number of all the normal ports. The aggregation group entry is delivered to the switch chip of the main control disk and all line cards.
  • the interface of the aggregation group is refreshed according to the port change information, and the updated aggregation group entry is sent to the switch chip of the main control disk and all line cards.
  • the specific process of the LACP protocol processing module to refresh the aggregation group entry according to the port change information is: when the abnormality of the normal port becomes an abnormal port, the port number of the abnormal port in the aggregation group entry is removed; when the abnormal port becomes normal Add the port number of the normal port to the aggregation group entry.
  • the LACP protocol state machine is used to: when the working state of the port of the line card is changed, the port change information is reported to the LACP protocol processing module, and the port change information includes the port number and the port change status, and the port change status includes normal abnormality. Or the exception becomes normal.

Landscapes

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

Abstract

Disclosed in the present invention are an over-disk LACP link aggregation method and device for a PON access system, relating to the field of link aggregation. The steps of said method are: a main control disk creating a link aggregation group, and adding the link aggregation group to a designated VLAN; the main control disk controlling aggregation group member ports on all line cards to interact LACP messages with a peer device; the main control disk determining all ports which have completed LACP message negotiation to be normal ports, and forming aggregation group table entries according to the port numbers of all the normal ports, the main control disk and all the line cards saving the aggregation group table entries; and when the operating states of the ports on the line cards change, the main control disk updating the aggregation group table entries according to port change information. In cases where the centralized architecture of the PON access system is not changed, the present invention can extend the uplink disk function of an Ethernet-type single disk, and increase the uplink link bandwidth, and thus significantly improve the reliability of the link.

Description

PON接入系统的跨盘LACP链路聚合方法及装置Cross-platform LACP link aggregation method and device for PON access system 技术领域Technical field
本发明涉及链路聚合领域,具体涉及一种PON接入系统的跨盘LACP链路聚合方法及装置。The present invention relates to the field of link aggregation, and in particular, to a cross-platform LACP link aggregation method and apparatus for a PON access system.
背景技术Background technique
LA(Link Aggregation,链路聚合)是一种将多个物理端口捆绑成一个逻辑端口的技术;该技术可以将多个物理连接当作一个单一的逻辑连接来处理,进而允许两个网络设备之间通过多个端口并行连接,以实现同时传输数据、提供更高的带宽和吞吐量,增加系统的稳定性的目的。根据成员端口是否运行LACP(Link Aggregation Control Protocol,链路汇聚控制协议),可以将链路聚合分为静态聚合和动态聚合两种模式。LA (Link Aggregation) is a technology that bundles multiple physical ports into one logical port. This technology can treat multiple physical connections as a single logical connection, allowing two network devices to Parallel connection through multiple ports to achieve simultaneous transmission of data, provide higher bandwidth and throughput, and increase the stability of the system. Link aggregation can be classified into static aggregation and dynamic aggregation based on whether the member port is running the Link Aggregation Control Protocol (LACP).
LACP通过LACPDU(Link Aggregation Control Protocol Data Unit,链路汇聚控制协议数据单元)与对端交互信息,为交换数据的设备提供一种标准的协商方式,LACP根据设备端口的配置(即速率、双工、基本配置、管理Key等)形成聚合链路、并启动聚合链路收发数据。LACP链路聚合具有增加网络带宽、提高网络连接可靠性、负载分担流量等优点。随着网络通信技术的迅速发展,LACP链路聚合技术被广泛应用于在语音、数据、视频等业务领域,因此,保障LACP正常和链路稳定性具有十分重要的作用。The LACP provides a standard negotiation mode for the device that exchanges data through the LACPDU (Link Aggregation Control Protocol Data Unit) and the peer exchange information. The LACP is configured according to the device port (that is, rate and duplex). , basic configuration, management key, etc.) form an aggregated link, and start the aggregation link to send and receive data. LACP link aggregation has the advantages of increasing network bandwidth, improving network connection reliability, and load-sharing traffic. With the rapid development of network communication technologies, LACP link aggregation technology is widely used in voice, data, and video services. Therefore, it is very important to ensure the normal LACP and link stability.
随着移动互联网的快速发展,视频和数据等业务呈现快速增长趋势,PON(Passive Optical Network,无源光纤网络)接入系统对上联 带宽的要求越来越高。为满足运营商对P2P以太网接入和上联端口扩展的需求,对新的以太网类型的线卡的需求越来越紧迫。新的以太网类型的线卡,凭借能够能提供数量比较多的端口,支持接入、级联和上联等多种应用场景,具有增加上联侧链路带宽,提高链路连接可靠性等特点,开始被广泛应用在运营商网络中。LACP链路聚合技术能够增加带宽,提高上联链路可靠性,其开始被广泛应用于新的以太类型线卡,并且对支持跨盘聚合的需求越来越强烈。With the rapid development of the mobile Internet, services such as video and data are showing a rapid growth trend. PON (Passive Optical Network) access system is connected to the uplink. The bandwidth requirements are getting higher and higher. In order to meet operators' demand for P2P Ethernet access and uplink port expansion, the demand for new Ethernet type line cards is becoming more and more urgent. The new type of Ethernet line card can support a variety of ports, such as access, cascading, and uplink. It increases the bandwidth of the uplink link and improves the link connection reliability. Features have begun to be widely used in carrier networks. LACP link aggregation technology can increase bandwidth and improve uplink link reliability. It has been widely used in new Ethernet type line cards, and the demand for supporting cross-disk aggregation is increasing.
已有LACP技术主要集中在聚合方法实现上,例如公告号为CN1023B64892B的发明专利提供了一种聚合链路切换方法,该专利主要适用于普通上联盘。交换机与路由器的虽然支持跨盘LACP链路聚合,但是由于其系统架构与PON接入系统不同,PON接入系统目前主要为集中式架构,并且区分用户侧和上联侧,其不适用于PON接入系统上的跨以太网类型线卡上不同端口的LACP链路聚合。PON接入系统的以太网类型的线卡端口数目比较多,有16个端口,并且有自己的CPU,能够单独运行协议,能够应用在级联、上联等多种应用场景,其已开始广泛应用现网中,而目前对于如何实现PON接入系统下的跨以太网类型线卡上不同端口的LACP链路聚合并没有明确而具体的方法。The LACP technology has been mainly focused on the implementation of the aggregation method. For example, the invention patent of the publication number CN1023B64892B provides an aggregation link switching method, and the patent is mainly applicable to a common uplink disk. Although the switch and the router support the cross-platform LACP link aggregation, the PON access system is mainly a centralized architecture and distinguishes between the user side and the uplink side because it has different system architectures than the PON access system. The LACP link aggregation of different ports on the inter-Ethernet type line card on the access system. The Ethernet type of the PON access system has a large number of line card ports, 16 ports, and has its own CPU. It can run the protocol separately and can be applied to multiple application scenarios such as cascading and uplink. In the existing network, there is no clear and specific method for how to implement LACP link aggregation on different ports on the Ethernet type line card under the PON access system.
发明内容Summary of the invention
针对现有技术中存在的缺陷,本发明解决的技术问题为:提供一种PON接入系统的跨盘LACP链路聚合方法及装置,本发明能够在不改变PON接入系统集中式架构的情况下,扩展以太类型单盘的上联盘功能,增加上联链路带宽,进而显著提高链路的可靠性。The technical problem to be solved by the present invention is to provide a cross-platform LACP link aggregation method and apparatus for a PON access system, and the present invention can change the centralized architecture of the PON access system without changing the centralized architecture of the PON access system. The function of extending the uplink of the Ethernet type single disk increases the bandwidth of the uplink link, thereby significantly improving the reliability of the link.
为达到以上目的,本发明提供的PON接入系统的跨盘LACP链路聚合方法,该方法包括以下步骤: To achieve the above objective, the present invention provides a cross-platform LACP link aggregation method for a PON access system, and the method includes the following steps:
S1:主控盘创建链路聚合组,在链路聚合组中添加每块线卡上的指定端口,主控盘将LACP协议开关打开,转到S2;S1: The main control panel creates a link aggregation group, and the designated port on each line card is added to the link aggregation group. The main control panel opens the LACP protocol switch and goes to S2.
S2:主控盘将链路聚合组添加至指定的VLAN,转到S3;S2: The main control panel adds the link aggregation group to the specified VLAN, and goes to S3.
S3:主控盘上的链路聚合组成员端口发送LACP报文时,将LACP报文封装为主从通信报文,将主从通信报文发送至端口对应的线卡;线卡解析主从通信报文得到LACP报文后,将LACP报文通过指定端口发送至对端设备进行处理;S3: When a member port of the link aggregation group on the master control panel sends an LACP packet, the LACP packet is encapsulated into a master-slave communication packet, and the master-slave communication packet is sent to the line card corresponding to the port. After the LACP packet is received, the LACP packet is sent to the peer device for processing.
线卡的端口收到对端设备发送的LACP报文后,线卡将LACP报文封装为主从通信报文后,发送至主控盘;主控盘解析主从通信报文得到LACP报文后,对LACP报文进行处理,转到S4;After receiving the LACP packet sent by the peer device, the line card encapsulates the LACP packet as the master-slave communication packet and sends it to the master control disk. The master control disk resolves the master-slave communication packet to obtain the LACP packet. After processing the LACP packet, go to S4;
S4:主控盘确定所有完成LACP报文协商的端口为正常端口,主控盘根据所有正常端口的端口号形成聚合组表项、并发送至所有线卡,主控盘和所有线卡均保存聚合组表项,转到S5;S4: The main control panel determines that all the ports that complete the LACP packet negotiation are normal ports. The main control disk forms an aggregation group entry based on the port numbers of all normal ports and sends them to all line cards. The main control disk and all line cards are saved. Aggregate the group entry and go to S5.
S5:当线卡上的端口的工作状态发生改变时,主控盘根据端口改变信息刷新聚合组表项后,将刷新后的聚合组表项发送至所有线卡,主控盘和所有线卡均保存刷新后的聚合组表项。S5: When the working status of the port on the line card is changed, the main control disk refreshes the aggregation group entry according to the port change information, and then sends the updated aggregation group entry to all line cards, the main control panel and all line cards. The refreshed aggregation group entries are saved.
本发明提供的实现上述方法的PON接入系统的跨盘LACP链路聚合装置,包括主控盘和至少2块不同以太网类型的线卡,主控盘和每块线卡上分别设置有CPU和交换芯片,主控盘的CPU包括配置模块、桥模块、LACP协议处理模块,线卡的CPU包括线卡桥模块和LACP协议适配层,LACP协议处理模块还包括LACP协议状态机;The cross-platform LACP link aggregation device of the PON access system for implementing the foregoing method includes a main control panel and at least two line cards of different Ethernet types, and a CPU is respectively disposed on the main control panel and each line card. And the switch chip, the CPU of the main control panel includes a configuration module, a bridge module, and an LACP protocol processing module, the CPU of the line card includes a line card bridge module and an LACP protocol adaptation layer, and the LACP protocol processing module further includes an LACP protocol state machine;
配置模块用于:创建链路聚合组,在链路聚合组中添加每块线卡上的指定端口,将主控盘的LACP协议开关打开,向桥模块发送VLAN添加信号;The configuration module is used to: create a link aggregation group, add a designated port on each line card in the link aggregation group, open the LACP protocol switch of the main control panel, and send a VLAN add signal to the bridge module.
主控盘的交换芯片用于:保存配置模块创建的链路聚合组添加的 指定VLAN、以及LACP协议处理模块下发的聚合组表项;The switch chip of the main control disk is used to: save the link aggregation group created by the configuration module. Specifies the aggregation group entry delivered by the specified VLAN and the LACP processing module.
主控盘的桥模块用于:收到VLAN添加信号后,将链路聚合组添加至指定的VLAN,向所有线卡的交换芯片,发送聚合组添加到VLAN成功信号;当主控盘上的链路聚合组成员端口发送LACP报文时,将LACP报文封装为主从通信报文,将主从通信报文发送至端口对应的线卡的CPU;The bridge module of the main control panel is configured to: after receiving the VLAN add signal, add the link aggregation group to the specified VLAN, send the aggregation group to the VLAN success signal to all the switch chips of the line card; when the link on the main control panel When the member port of the aggregation group sends an LACP packet, the LACP packet is encapsulated into a master-slave communication packet, and the master-slave communication packet is sent to the CPU of the line card corresponding to the port.
线卡的CPU用于:解析主从通信报文得到LACP报文后,发送至线卡的交换芯片;将从线卡端口收到的LACP报文封装为主从通信报文后,发送至主控盘;The CPU of the line card is used to: after the LACP packet is obtained, the LACP packet is sent to the switch chip of the line card; the LACP packet received from the line card port is encapsulated as the master-slave communication packet, and then sent to the master. Control panel
线卡的交换芯片用于:保存LACP协议处理模块下发的聚合组表项;收到聚合组添加到VLAN成功信号后,将LACP报文发送至对端设备;将收到的LACP报文发送至主控盘的CPU;The switch chip of the line card is used to: save the aggregation group entry delivered by the LACP processing module; after receiving the success message of the aggregation group, the LACP packet is sent to the peer device; the received LACP packet is sent. To the CPU of the main control panel;
主控盘的CPU用于:解析主从通信报文得到LACP报文后,将LACP报文发送至LACP协议处理模块;The CPU of the main control disk is configured to: after parsing the master-slave communication packet to obtain the LACP packet, send the LACP packet to the LACP protocol processing module;
LACP协议处理模块用于:对LACP报文进行处理,确定所有完成LACP报文协商的端口为正常端口,根据所有正常端口的端口号形成聚合组表项,将聚合组表项下发至主控盘和所有线卡的交换芯片;The LACP processing module is configured to: process the LACP packet, and determine that all the ports that complete the LACP packet negotiation are normal ports, and the aggregation group entry is formed according to the port number of all the normal ports, and the aggregation group entry is delivered to the master. Switch chip for all disks and all line cards;
收到LACP协议状态机上报的端口改变信息后,根据端口改变信息刷新聚合组表项,将刷新后的聚合组表项下发至主控盘和所有线卡的交换芯片;After receiving the port change information reported by the state machine of the LACP, the port is updated according to the port change information, and the updated aggregation group entry is sent to the switch chip of the main control disk and all line cards.
LACP协议状态机用于:当线卡的端口的工作状态发生改变时,将端口改变信息上报至LACP协议处理模块,端口改变信息包括端口号和端口改变状态,端口改变状态包括正常变为异常、或者异常变为正常。The LACP protocol state machine is used to: when the working state of the port of the line card is changed, the port change information is reported to the LACP protocol processing module, and the port change information includes the port number and the port change status, and the port change status includes normal abnormality. Or the exception becomes normal.
与现有技术相比,本发明的优点在于: The advantages of the present invention over the prior art are:
参见本发明S1至S5可知,本发明通过主控盘统一对不同线卡上的端口进行集中管理、以及LACP链路聚合端口维护,不仅解决了位于不同以太网类型线卡上不同端口之间无法感知到其他端口事件的问题,而且解决了PON体系下的以太类型的线卡上的跨盘LACP聚合问题,是对普通上联端口LACP链路聚合的一种扩展。因此,本发明在不改变PON接入系统集中式架构的情况下,扩展了以太类型单盘的上联盘功能,增加了上联链路带宽,进而显著提高了链路的可靠性。Referring to the S1 to S5 of the present invention, the present invention can collectively manage the ports on different line cards through the main control panel and maintain the aggregation port of the LACP link, which not only solves the problem that different ports on different Ethernet type line cards cannot be located. The problem of other port events is perceived, and the problem of cross-disk LACP aggregation on the Ethernet type line card in the PON system is solved, which is an extension of the LACP link aggregation of the common uplink port. Therefore, the present invention expands the uplink disk function of the Ethernet type single disk without changing the centralized architecture of the PON access system, increases the bandwidth of the uplink link, and thus significantly improves the reliability of the link.
附图说明DRAWINGS
图1为本发明实施例中PON接入系统的跨盘LACP链路聚合方法的流程图;1 is a flowchart of a method for a cross-platform LACP link aggregation in a PON access system according to an embodiment of the present invention;
图2为本发明实施例中PON接入系统的跨盘LACP链路聚合方法的示意图。FIG. 2 is a schematic diagram of a method for a cross-platform LACP link aggregation in a PON access system according to an embodiment of the present invention.
具体实施方式detailed description
以下结合附图及实施例对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
本发明实施例中的PON接入系统,包括主控盘和至少2块不同以太网类型的线卡,参见图1所示,本发明实施例中的PON接入系统的跨盘LACP链路聚合方法,包括以下步骤:The PON access system in the embodiment of the present invention includes a main control panel and at least two line cards of different Ethernet types. Referring to FIG. 1 , the cross-platform LACP link aggregation of the PON access system in the embodiment of the present invention is performed. The method includes the following steps:
S1:主控盘创建链路聚合组,将链路聚合组的模式设置为LACP静态聚合,在链路聚合组中添加每块线卡上的指定端口,主控盘将LACP协议开关打开,转到S2。S1: Create a link aggregation group on the master control panel, set the link aggregation group mode to LACP static aggregation, add the designated port on each line card in the link aggregation group, and turn the LACP protocol switch on the main control disk. Go to S2.
参见图2所示,本发明实施例中的线卡为2块:3槽位线卡和13槽位线卡,3槽位线卡上的端口为3:12,3:16;13槽位线卡上的端口为13:5,13:8。 As shown in FIG. 2, the line card in the embodiment of the present invention is two: a 3-slot line card and a 13-slot line card, and the ports on the 3-slot line card are 3:12, 3:16; 13 slots. The ports on the line card are 13:5, 13:8.
S2:主控盘将链路聚合组添加至指定的VLAN(本实施例中为VLAN100),具体流程为:主控盘将链路聚合组添加至指定的VLAN后,将聚合组添加到VLAN的信息下发至每块线卡;线卡将链路聚合组添加至指定的VLAN,转到S3。S2: The master control panel adds the link aggregation group to the specified VLAN (VLAN 100 in this embodiment). The specific process is as follows: After the master control panel adds the link aggregation group to the specified VLAN, the aggregation group is added to the VLAN. The information is sent to each line card; the line card adds the link aggregation group to the specified VLAN and goes to S3.
S3:主控盘上的链路聚合组成员端口发送LACP报文时(LACP报文为周期性发送),将LACP报文封装为主从通信报文,使用私有协议标准将主从通信报文发送至端口对应的线卡;线卡解析主从通信报文得到LACP报文后,将LACP报文发送至对端设备进行处理。S3: The member interface of the link aggregation group on the main control panel sends the LACP packet (the LACP packet is sent periodically), and the LACP packet is encapsulated into the master-slave communication packet. The master-slave communication packet is used by the proprietary protocol. The line card is sent to the corresponding line card. After the line card resolves the master-slave communication packet to obtain the LACP packet, the line card sends the LACP packet to the peer device for processing.
线卡的可用端口收到对端设备发送的LACP报文后,线卡将LACP报文封装为主从通信报文后发送至主控盘;主控盘解析主从通信报文得到LACP报文后,对LACP报文进行处理,转到S4。After the available port of the line card receives the LACP packet from the peer device, the line card encapsulates the LACP packet as the master-slave communication packet and sends it to the master control disk. The master control disk resolves the master-slave communication packet to obtain the LACP packet. Then, process the LACP packet and go to S4.
S4:主控盘确定所有完成LACP报文协商的端口为正常端口,完成LACP报文协商的端口的释义为:能够接收和发送LACP报文的端口,即将主控盘发送的LACP报文转发至对端设备,将对端设备发送的LACP报文转发至主控盘。主控盘根据所有正常端口的端口号形成聚合组表项、并发送至所有线卡,主控盘和所有线卡均保存聚合组表项,以便于知晓和管理具体端口的信息,转到S5。S4: The main control panel determines that all the ports that complete the LACP packet negotiation are normal ports. The port that completes the LACP packet negotiation is the port that can receive and send LACP packets. The LACP packets sent by the master control disk are forwarded to the port. The peer device forwards the LACP packets sent by the peer device to the master control disk. The main control disk forms an aggregation group entry based on the port numbers of all the normal ports and sends them to all line cards. The main control disk and all line cards save the aggregation group entries, so that the information about the specific ports can be known and managed. Go to S5. .
S5:当线卡上的端口的工作状态发生改变时,主控盘根据端口改变信息刷新聚合组表项后,将刷新后的聚合组表项发送至所有线卡,主控盘和所有线卡均保存刷新后的聚合组表项。S5: When the working status of the port on the line card is changed, the main control disk refreshes the aggregation group entry according to the port change information, and then sends the updated aggregation group entry to all line cards, the main control panel and all line cards. The refreshed aggregation group entries are saved.
S5中主控盘根据端口改变信息刷新聚合组表项的具体流程为:当正常端口发生异常变为异常端口时,将聚合组表项中关于该异常端口的端口号去除;当异常端口变为正常端口时,在聚合组表项中添加该正常端口的端口号。The specific process for the main control panel to refresh the aggregation group entry according to the port change information in S5 is: when the abnormality of the normal port becomes an abnormal port, the port number of the abnormal port in the aggregation group entry is removed; when the abnormal port becomes On a normal port, add the port number of the normal port to the aggregation group entry.
本发明实施例提供的实现上述方法的PON接入系统的跨盘 LACP链路聚合装置,包括主控盘和至少2块不同以太网类型的线卡,主控盘和每块线卡上分别设置有CPU和交换芯片,其特征在于:主控盘的CPU包括配置模块、桥模块、LACP协议处理模块,线卡的CPU包括线卡桥模块和LACP协议适配层,LACP协议处理模块还包括LACP协议状态机。The multiplexer of the PON access system implementing the above method provided by the embodiment of the present invention The LACP link aggregation device includes a main control panel and at least two line cards of different Ethernet types. The main control panel and each line card are respectively provided with a CPU and a switch chip, and the CPU of the main control panel includes a configuration. Module, bridge module, LACP protocol processing module, line card CPU includes line card bridge module and LACP protocol adaptation layer, LACP protocol processing module also includes LACP protocol state machine.
配置模块用于:创建链路聚合组,将链路聚合组的模式设置为LACP静态聚合,在链路聚合组中添加每块线卡上的指定端口,主控盘将LACP协议开关打开,向桥模块发送VLAN添加信号。The configuration module is used to create a link aggregation group, set the link aggregation group mode to LACP static aggregation, add the designated port on each line card in the link aggregation group, and open the LACP protocol switch on the main control disk. The bridge module sends a VLAN add signal.
主控盘的交换芯片用于:保存配置模块创建的链路聚合组添加的指定VLAN、以及LACP协议处理模块下发的聚合组表项。The switch chip of the master control panel is used to save the specified VLANs added by the link aggregation group created by the configuration module and the aggregation group entries delivered by the LACP processing module.
本发明实施例中的线卡为2块:3槽位线卡和13槽位线卡,3槽位线卡上的端口为3:12,3:16;13槽位线卡上的端口为13:5,13:8。The line card in the embodiment of the present invention is two: a 3-slot bit line card and a 13-slot line line card, and the port on the 3-slot bit line card is 3:12, 3:16; the port on the 13-slot line card is 13:5, 13:8.
主控盘的桥模块用于:收到VLAN添加信号后,将链路聚合组添加至指定的VLAN(本实施例中为VLAN100),向所有线卡的交换芯片,发送聚合组添加到VLAN成功信号;当主控盘上的链路聚合组成员端口发送LACP报文时,将LACP报文封装为主从通信报文,将主从通信报文发送至端口对应的线卡的CPU。The bridge module of the main control panel is configured to: after receiving the VLAN add signal, add the link aggregation group to the specified VLAN (VLAN 100 in this embodiment), and send the aggregation group to the VLAN of all line card exchange chips. The signal is sent to the CPU of the line card corresponding to the port. The LACP packet is encapsulated into a master-slave communication packet, and the master-slave communication packet is sent to the CPU of the line card corresponding to the port.
主控盘的桥模块将链路聚合组添加至指定的VLAN的具体流程包括:将链路聚合组添加至指定的VLAN后,将聚合组添加到VLAN的信息下发至每块线卡;线卡将链路聚合组添加至指定的VLAN。The process of adding the link aggregation group to the specified VLAN is as follows: After the link aggregation group is added to the specified VLAN, the information about adding the aggregation group to the VLAN is sent to each line card. The card adds the link aggregation group to the specified VLAN.
线卡的CPU用于:解析主从通信报文得到LACP报文后,发送至线卡的交换芯片;将从线卡端口收到的LACP报文封装为主从通信报文后,发送至主控盘。The CPU of the line card is used to: after the LACP packet is obtained, the LACP packet is sent to the switch chip of the line card; the LACP packet received from the line card port is encapsulated as the master-slave communication packet, and then sent to the master. Control panel.
LACP协议适配层用于:线卡上聚合组成员端口添加及删除功能The LACP protocol adaptation layer is used to add and delete the member ports of the aggregation group on the line card.
线卡的交换芯片用于:保存LACP协议处理模块下发的聚合组表 项;将LACP报文发送至对端设备;将收到的LACP报文发送至主控盘的CPU。The switch chip of the line card is used to: save the aggregation group table delivered by the LACP protocol processing module. The LACP packet is sent to the peer device; the received LACP packet is sent to the CPU of the master control panel.
主控盘的CPU用于:解析主从通信报文得到LACP报文后,将LACP报文发送至LACP协议处理模块。The CPU of the main control disk is configured to: After parsing the master-slave communication packet to obtain the LACP packet, send the LACP packet to the LACP protocol processing module.
LACP协议处理模块用于:The LACP protocol processing module is used to:
(1)对LACP报文进行处理,确定所有完成LACP报文协商的端口为正常端口,完成LACP报文协商的端口的释义为:能够接收和发送LACP报文的端口。根据所有正常端口的端口号形成聚合组表项,将聚合组表项下发至主控盘和所有线卡的交换芯片。(1) The LACP packet is processed to determine that the port that completes the LACP packet negotiation is a normal port. The port that performs the LACP packet negotiation is the port that can receive and send LACP packets. An aggregation group entry is generated based on the port number of all the normal ports. The aggregation group entry is delivered to the switch chip of the main control disk and all line cards.
(2)收到LACP协议状态机上报的端口改变信息后,根据端口改变信息刷新聚合组表项,将刷新后的聚合组表项下发至主控盘和所有线卡的交换芯片。(2) After receiving the port change information reported by the state machine of the LACP, the interface of the aggregation group is refreshed according to the port change information, and the updated aggregation group entry is sent to the switch chip of the main control disk and all line cards.
LACP协议处理模块根据端口改变信息刷新聚合组表项的具体流程为:当正常端口发生异常变为异常端口时,将聚合组表项中关于该异常端口的端口号去除;当异常端口变为正常端口时,在聚合组表项中添加该正常端口的端口号。The specific process of the LACP protocol processing module to refresh the aggregation group entry according to the port change information is: when the abnormality of the normal port becomes an abnormal port, the port number of the abnormal port in the aggregation group entry is removed; when the abnormal port becomes normal Add the port number of the normal port to the aggregation group entry.
LACP协议状态机用于:当线卡的端口的工作状态发生改变时,将端口改变信息上报至LACP协议处理模块,端口改变信息包括端口号和端口改变状态,端口改变状态包括正常变为异常、或者异常变为正常。The LACP protocol state machine is used to: when the working state of the port of the line card is changed, the port change information is reported to the LACP protocol processing module, and the port change information includes the port number and the port change status, and the port change status includes normal abnormality. Or the exception becomes normal.
进一步,本发明不局限于上述实施方式,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围之内。本说明书中未作详细描述的内容属于本领域专业技术人员公知的现有技术。 Further, the present invention is not limited to the above embodiments, and those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. These improvements and refinements are also considered as the present invention. Within the scope of protection. The contents not described in detail in the present specification belong to the prior art well known to those skilled in the art.

Claims (10)

  1. 一种PON接入系统的跨盘LACP链路聚合方法,该方法中的PON接入系统包括主控盘和至少2块不同以太网类型的线卡,其特征在于,该方法包括以下步骤:A cross-platform LACP link aggregation method for a PON access system, wherein the PON access system includes a main control panel and at least two line cards of different Ethernet types, and the method includes the following steps:
    S1:主控盘创建链路聚合组,在链路聚合组中添加每块线卡上的指定端口,主控盘将LACP协议开关打开,转到S2;S1: The main control panel creates a link aggregation group, and the designated port on each line card is added to the link aggregation group. The main control panel opens the LACP protocol switch and goes to S2.
    S2:主控盘将链路聚合组添加至指定的VLAN,转到S3;S2: The main control panel adds the link aggregation group to the specified VLAN, and goes to S3.
    S3:主控盘上的链路聚合组成员端口发送LACP报文时,将LACP报文封装为主从通信报文,将主从通信报文发送至端口对应的线卡;线卡解析主从通信报文得到LACP报文后,将LACP报文通过指定端口发送至对端设备进行处理;S3: When a member port of the link aggregation group on the master control panel sends an LACP packet, the LACP packet is encapsulated into a master-slave communication packet, and the master-slave communication packet is sent to the line card corresponding to the port. After the LACP packet is received, the LACP packet is sent to the peer device for processing.
    线卡的端口收到对端设备发送的LACP报文后,线卡将LACP报文封装为主从通信报文后,发送至主控盘;主控盘解析主从通信报文得到LACP报文后,对LACP报文进行处理,转到S4;After receiving the LACP packet sent by the peer device, the line card encapsulates the LACP packet as the master-slave communication packet and sends it to the master control disk. The master control disk resolves the master-slave communication packet to obtain the LACP packet. After processing the LACP packet, go to S4;
    S4:主控盘确定所有完成LACP报文协商的端口为正常端口,主控盘根据所有正常端口的端口号形成聚合组表项、并发送至所有线卡,主控盘和所有线卡均保存聚合组表项,转到S5;S4: The main control panel determines that all the ports that complete the LACP packet negotiation are normal ports. The main control disk forms an aggregation group entry based on the port numbers of all normal ports and sends them to all line cards. The main control disk and all line cards are saved. Aggregate the group entry and go to S5.
    S5:当线卡上的端口的工作状态发生改变时,主控盘根据端口改变信息刷新聚合组表项后,将刷新后的聚合组表项发送至所有线卡,主控盘和所有线卡均保存刷新后的聚合组表项。S5: When the working status of the port on the line card is changed, the main control disk refreshes the aggregation group entry according to the port change information, and then sends the updated aggregation group entry to all line cards, the main control panel and all line cards. The refreshed aggregation group entries are saved.
  2. 如权利要求1所述的PON接入系统的跨盘LACP链路聚合方法,其特征在于:S1中所述主控盘创建链路聚合组之后,还包括以下步骤:将链路聚合组的模式设置为LACP静态聚合。The cross-platform LACP link aggregation method of the PON access system of claim 1, wherein after the link control group is created in the S1, the following steps are further included: the mode of the link aggregation group Set to LACP static aggregation.
  3. 如权利要求1所述的PON接入系统的跨盘LACP链路聚合方法,其特征在于,S2的具体流程包括:主控盘将链路聚合组添加至 指定的VLAN后,将聚合组添加到VLAN的信息下发至每块线卡;线卡将链路聚合组添加至指定的VLAN。The cross-platform LACP link aggregation method of the PON access system of claim 1, wherein the specific process of the S2 includes: adding, by the main control disk, the link aggregation group to After the specified VLAN is added, the information about adding the aggregation group to the VLAN is sent to each line card. The line card adds the link aggregation group to the specified VLAN.
  4. 如权利要求1所述的PON接入系统的跨盘LACP链路聚合方法,其特征在于:S4中所述完成LACP报文协商的端口为:能够接收和发送LACP报文的端口。The cross-platform LACP link aggregation method of the PON access system of claim 1, wherein the port for completing the LACP packet negotiation in S4 is: a port capable of receiving and transmitting LACP packets.
  5. 如权利要求1所述的PON接入系统的跨盘LACP链路聚合方法,其特征在于,S5中所述主控盘根据端口改变信息刷新聚合组表项的具体流程包括:当正常端口发生异常变为异常端口时,将聚合组表项中关于该异常端口的端口号去除;当异常端口变为正常端口时,在聚合组表项中添加该正常端口的端口号。The cross-platform LACP link aggregation method of the PON access system of claim 1, wherein the specific process of the main control panel for refreshing the aggregation group entry according to the port change information in the S5 includes: when an abnormality occurs in the normal port When the port becomes an abnormal port, the port number of the abnormal port is removed from the aggregation group entry. When the abnormal port becomes a normal port, the port number of the normal port is added to the aggregation group entry.
  6. 一种实现权利要求1至5任一项所述方法的PON接入系统的跨盘LACP链路聚合装置,包括主控盘和至少2块不同以太网类型的线卡,主控盘和每块线卡上分别设置有CPU和交换芯片,其特征在于:主控盘的CPU包括配置模块、桥模块、LACP协议处理模块,线卡的CPU包括线卡桥模块,LACP协议处理模块还包括LACP协议状态机;A cross-platform LACP link aggregation device for implementing a PON access system according to any one of claims 1 to 5, comprising a main control panel and at least two line cards of different Ethernet types, a main control panel and each block The CPU card and the switch chip are respectively disposed on the line card, and the CPU of the main control board includes a configuration module, a bridge module, and an LACP protocol processing module. The CPU of the line card includes a line card bridge module, and the LACP protocol processing module further includes an LACP protocol. state machine;
    配置模块用于:创建链路聚合组,在链路聚合组中添加每块线卡上的指定端口,将主控盘的LACP协议开关打开,向桥模块发送VLAN添加信号;The configuration module is used to: create a link aggregation group, add a designated port on each line card in the link aggregation group, open the LACP protocol switch of the main control panel, and send a VLAN add signal to the bridge module.
    主控盘的交换芯片用于:保存配置模块创建的链路聚合组添加的指定VLAN、以及LACP协议处理模块下发的聚合组表项;The switch chip of the main control disk is used to: save the specified VLAN added by the link aggregation group created by the configuration module, and the aggregation group entry delivered by the LACP processing module;
    主控盘的桥模块用于:收到VLAN添加信号后,将链路聚合组添加至指定的VLAN,向所有线卡的交换芯片,发送聚合组添加到VLAN成功信号;当主控盘上的链路聚合组成员端口发送LACP报文时,将LACP报文封装为主从通信报文,将主从通信报文发送至端口 对应的线卡的CPU;The bridge module of the main control panel is configured to: after receiving the VLAN add signal, add the link aggregation group to the specified VLAN, send the aggregation group to the VLAN success signal to all the switch chips of the line card; when the link on the main control panel When an aggregation group member port sends an LACP packet, the LACP packet is encapsulated into a master-slave communication packet, and the master-slave communication packet is sent to the port. The CPU of the corresponding line card;
    线卡的CPU用于:解析主从通信报文得到LACP报文后,发送至线卡的交换芯片;将从线卡端口收到的LACP报文封装为主从通信报文后,发送至主控盘;The CPU of the line card is used to: after the LACP packet is obtained, the LACP packet is sent to the switch chip of the line card; the LACP packet received from the line card port is encapsulated as the master-slave communication packet, and then sent to the master. Control panel
    线卡的交换芯片用于:保存LACP协议处理模块下发的聚合组表项;收到聚合组添加到VLAN成功信号后,将LACP报文发送至对端设备;将收到的LACP报文发送至主控盘的CPU;The switch chip of the line card is used to: save the aggregation group entry delivered by the LACP processing module; after receiving the success message of the aggregation group, the LACP packet is sent to the peer device; the received LACP packet is sent. To the CPU of the main control panel;
    主控盘的CPU用于:解析主从通信报文得到LACP报文后,将LACP报文发送至LACP协议处理模块;The CPU of the main control disk is configured to: after parsing the master-slave communication packet to obtain the LACP packet, send the LACP packet to the LACP protocol processing module;
    LACP协议处理模块用于:对LACP报文进行处理,确定所有完成LACP报文协商的端口为正常端口,根据所有正常端口的端口号形成聚合组表项,将聚合组表项下发至主控盘和所有线卡的交换芯片;The LACP processing module is configured to: process the LACP packet, and determine that all the ports that complete the LACP packet negotiation are normal ports, and the aggregation group entry is formed according to the port number of all the normal ports, and the aggregation group entry is delivered to the master. Switch chip for all disks and all line cards;
    收到LACP协议状态机上报的端口改变信息后,根据端口改变信息刷新聚合组表项,将刷新后的聚合组表项下发至主控盘和所有线卡的交换芯片;After receiving the port change information reported by the state machine of the LACP, the port is updated according to the port change information, and the updated aggregation group entry is sent to the switch chip of the main control disk and all line cards.
    LACP协议状态机用于:当线卡的端口的工作状态发生改变时,将端口改变信息上报至LACP协议处理模块,端口改变信息包括端口号和端口改变状态,端口改变状态包括正常变为异常、或者异常变为正常。The LACP protocol state machine is used to: when the working state of the port of the line card is changed, the port change information is reported to the LACP protocol processing module, and the port change information includes the port number and the port change status, and the port change status includes normal abnormality. Or the exception becomes normal.
  7. 如权利要求6所述的PON接入系统的跨盘LACP链路聚合装置,其特征在于:所述配置模块创建链路聚合组之后,还用于:将链路聚合组的模式设置为LACP静态聚合。The cross-platform LACP link aggregation device of the PON access system of claim 6, wherein after the configuration module creates a link aggregation group, the configuration module further sets the mode of the link aggregation group to LACP static. polymerization.
  8. 如权利要求6所述的PON接入系统的跨盘LACP链路聚合装置,其特征在于:所述主控盘的桥模块将链路聚合组添加至指定的VLAN的具体流程包括:将链路聚合组添加至指定的VLAN后,将 聚合组添加到VLAN的信息下发至每块线卡;线卡将链路聚合组添加至指定的VLAN。The cross-platform LACP link aggregation device of the PON access system of claim 6, wherein the specific process of adding the link aggregation group to the designated VLAN by the bridge module of the main control panel includes: After the aggregation group is added to the specified VLAN, The information added to the VLAN by the aggregation group is sent to each line card. The line card adds the link aggregation group to the specified VLAN.
    主控VLAN添加模块根据VLAN号,发送主从通信消息至所有线卡;主控VLAN添加模块控制所有线卡根据VLAN号,将线卡上的所有端口添加至指定的VLAN。The master VLAN add module sends the master-slave communication message to all line cards according to the VLAN number. The master VLAN add module controls all line cards to add all ports on the line card to the specified VLAN according to the VLAN number.
  9. 如权利要求6所述的PON接入系统的跨盘LACP链路聚合装置,其特征在于:所述LACP协议处理模块确定的正常端口为:能够接收和发送LACP报文的端口。The cross-platform LACP link aggregation device of the PON access system of claim 6, wherein the normal port determined by the LACP protocol processing module is a port capable of receiving and transmitting LACP packets.
  10. 如权利要求6所述的PON接入系统的跨盘LACP链路聚合装置,其特征在于:所述LACP协议处理模块根据端口改变信息刷新聚合组表项的具体流程包括:当正常端口发生异常变为异常端口时,将聚合组表项中关于该异常端口的端口号去除;当异常端口变为正常端口时,在聚合组表项中添加该正常端口的端口号。 The cross-platform LACP link aggregation device of the PON access system of claim 6, wherein the specific process of the LACP protocol processing module for refreshing the aggregation group entry according to the port change information includes: when the normal port is abnormally changed If the port is abnormal, remove the port number of the abnormal port in the aggregation group entry. When the abnormal port becomes a normal port, add the port number of the normal port to the aggregation group entry.
PCT/CN2017/111563 2017-05-27 2017-11-17 Over-disk lacp link aggregation method and device for pon access system WO2018218887A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
MYPI2019001048A MY195304A (en) 2017-05-27 2017-11-17 Over-Disk Lacp Link Aggregation Method and Device for Pon Access System
PH12019500594A PH12019500594A1 (en) 2017-05-27 2019-03-19 Over-disk lacp link aggregation method and device for pon access system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710393667.6 2017-05-27
CN201710393667.6A CN107277652B (en) 2017-05-27 2017-05-27 Across the disk LACP link aggregation method and device of PON access system

Publications (1)

Publication Number Publication Date
WO2018218887A1 true WO2018218887A1 (en) 2018-12-06

Family

ID=60064849

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/111563 WO2018218887A1 (en) 2017-05-27 2017-11-17 Over-disk lacp link aggregation method and device for pon access system

Country Status (4)

Country Link
CN (1) CN107277652B (en)
MY (1) MY195304A (en)
PH (1) PH12019500594A1 (en)
WO (1) WO2018218887A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277652B (en) * 2017-05-27 2019-04-26 烽火通信科技股份有限公司 Across the disk LACP link aggregation method and device of PON access system
CN109547368B (en) * 2018-11-19 2021-05-18 锐捷网络股份有限公司 Data center-based de-stacking adaptation method and device
CN111010298B (en) * 2019-12-10 2022-09-06 中盈优创资讯科技有限公司 PON (passive optical network) network fault monitoring method and device
CN111586505B (en) * 2020-04-26 2022-04-08 烽火通信科技股份有限公司 Method and device for realizing rapid recovery of main/standby switching service in PON access system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070201486A1 (en) * 2005-12-13 2007-08-30 David Solomon GPON management system
CN102098274A (en) * 2009-12-14 2011-06-15 中兴通讯股份有限公司 Method and system for external terminal to remotely log in slave equipment
CN105763442A (en) * 2016-04-14 2016-07-13 烽火通信科技股份有限公司 PON system and method avoiding interruption of LACP aggregation link in main-standby switching process
CN107277652A (en) * 2017-05-27 2017-10-20 烽火通信科技股份有限公司 Across the disk LACP link aggregation methods and device of PON access systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070201486A1 (en) * 2005-12-13 2007-08-30 David Solomon GPON management system
CN102098274A (en) * 2009-12-14 2011-06-15 中兴通讯股份有限公司 Method and system for external terminal to remotely log in slave equipment
CN105763442A (en) * 2016-04-14 2016-07-13 烽火通信科技股份有限公司 PON system and method avoiding interruption of LACP aggregation link in main-standby switching process
CN107277652A (en) * 2017-05-27 2017-10-20 烽火通信科技股份有限公司 Across the disk LACP link aggregation methods and device of PON access systems

Also Published As

Publication number Publication date
MY195304A (en) 2023-01-12
CN107277652A (en) 2017-10-20
PH12019500594A1 (en) 2020-01-20
CN107277652B (en) 2019-04-26

Similar Documents

Publication Publication Date Title
WO2018218887A1 (en) Over-disk lacp link aggregation method and device for pon access system
US8134922B2 (en) Reducing flooding in a bridged network
WO2021088808A1 (en) Method for dual-homing device access traffic forwarding, device, and storage medium
US20080068985A1 (en) Network redundancy method and middle switch apparatus
JP2021100255A (en) Method and device for transmitting service flow based on flexible ethernet, and communication system
CA2534510C (en) Virtual network device
US20080181196A1 (en) Link aggregation across multiple chassis
US20110023111A1 (en) Connection device authentication
CN107735989B (en) Method and system for site interconnection on a transport network
EP2911355B1 (en) Method and device for flow path negotiation in link aggregation group
CN105656645A (en) Decision making method and device for fault processing of stacking system
US20110299551A1 (en) Method and Apparatus for Transferring Data Packets Between a First Network and a Second Network
CN105191339A (en) Software redundancy in a non-homogenous virtual chassis
CN104901825B (en) A kind of method and apparatus for realizing zero configuration starting
US9166868B2 (en) Distributed control plane for link aggregation
CN102904759B (en) Reinforced EOC (Ethernet over Coax) terminal management system and method for broadcast television network
CN102326358A (en) Method, device of cluster system extension and cluster system
CN111586505B (en) Method and device for realizing rapid recovery of main/standby switching service in PON access system
CN101360043B (en) Communication apparatus reliably connected inside
US20150016449A1 (en) Method, System and Apparatus for an OpenFlow Hybrid Architecture Network Device
CN103534985A (en) Service load allocating method, apparatus and communication system
CN103840972A (en) System and method for backup between link aggregation groups in packet switched network
CN105763442A (en) PON system and method avoiding interruption of LACP aggregation link in main-standby switching process
WO2014090098A1 (en) Method and device for implementing detection protocol in distributed system
CN108337162B (en) System and method for supporting dual-homing protection

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: 17911931

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: 17911931

Country of ref document: EP

Kind code of ref document: A1