[go: up one dir, main page]

CN115150453B - A method, system, device and storage medium for avoiding LACP protocol timeout - Google Patents

A method, system, device and storage medium for avoiding LACP protocol timeout Download PDF

Info

Publication number
CN115150453B
CN115150453B CN202210756891.8A CN202210756891A CN115150453B CN 115150453 B CN115150453 B CN 115150453B CN 202210756891 A CN202210756891 A CN 202210756891A CN 115150453 B CN115150453 B CN 115150453B
Authority
CN
China
Prior art keywords
lacp
reboot
warm
timeout
lacpdu
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.)
Active
Application number
CN202210756891.8A
Other languages
Chinese (zh)
Other versions
CN115150453A (en
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210756891.8A priority Critical patent/CN115150453B/en
Publication of CN115150453A publication Critical patent/CN115150453A/en
Application granted granted Critical
Publication of CN115150453B publication Critical patent/CN115150453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种避免LACP协议超时的方法、系统、设备和存储介质,方法包括:响应于发送端端口频道管理重启,检查所述数据库中是否存在warm‑reboot标识,响应于数据库中存在warm‑reboot标识,向接收端发送LACPDU封包;响应于接收端接收到所述LACPDU封包,确认所述LACPDU封包内预定字段是否为零;响应于所述LACPDU封包内预定字段不为零,根据warm‑reboot运行所需的秒数设置计时器,并设置LACP状态机忽略LACP超时的标识并持续等待LACPDU封包;以及响应于接收到发送端发出的解除封包或计时器到时还未收到LACPDU封包,解除所述忽略LACP超时的标识并进入正常超时判定模式。本发明使用LACP时可以配置短超时且能兼顾warm‑reboot场景。

The present invention provides a method, system, device and storage medium for avoiding LACP protocol timeout. The method includes: responding to the port channel management restart of the sending end, checking whether there is a warm-reboot identifier in the database, and responding to the presence of a warm-reboot identifier in the database. Reboot flag, send LACPDU package to the receiving end; in response to receiving the LACPDU package at the receiving end, confirm whether the predetermined field in the LACPDU package is zero; in response to the predetermined field in the LACPDU package is not zero, according to warm-reboot Set the timer for the number of seconds required to run, and set the LACP state machine to ignore the LACP timeout flag and continue to wait for the LACPDU packet; Said ignoring the LACP timeout flag and entering the normal timeout judging mode. When the present invention uses LACP, a short timeout can be configured and warm-reboot scenarios can be taken into account.

Description

一种避免LACP协议超时的方法、系统、设备和存储介质A method, system, device and storage medium for avoiding LACP protocol timeout

技术领域technical field

本发明涉及通信领域,更具体地,特别是指一种避免LACP协议超时的方法、系统、设备和存储介质。The present invention relates to the communication field, and more specifically refers to a method, system, device and storage medium for avoiding LACP protocol timeout.

背景技术Background technique

目前透过LACP(Link Aggregation Control Protocol,链路聚合控制协议)建立的Port Channel(端口频道)会周期性的在每个成员端口上发送一个LACPDU的封包来确保这条Port Channel的状态,一旦超过三倍超时时间前都没有收到对方送的LACPDU封包,这个成员端口就不会被纳入负载平衡的目标中,一旦所有成员端口都进入这个状态,该PortChannel的运行状态(oper status)就会变成down。除了现有的业务流中断,端口down还意味着路由表会发生异动也可能导致不必要的路由震荡,在warm-reboot的情景下,上层管理LACP协议的软件也会进行重启,一旦不能在三次超时前启动完成发送LACPDU报文,对方就会认定Port Channel失联并把流量丢弃,关于这个问题在LACP协议中给出的方案就是将Timeout的时间配置为长超时(30s),让软件有90s的时间可以来重启。At present, the Port Channel (Port Channel) established through LACP (Link Aggregation Control Protocol, Link Aggregation Control Protocol) will periodically send an LACPDU packet on each member port to ensure the status of this Port Channel. If the LACPDU packet sent by the other party is not received before three times the timeout period, this member port will not be included in the target of load balancing. Once all member ports enter this state, the operation status (oper status) of the PortChannel will change. into down. In addition to the interruption of the existing service flow, port down also means that the routing table will change and may cause unnecessary routing vibration. In the warm-reboot scenario, the upper layer management software of the LACP protocol will also be restarted. If the startup completes sending LACPDU packets before the timeout, the other party will determine that the Port Channel is disconnected and discard the traffic. The solution given in the LACP protocol for this problem is to configure the Timeout time as a long timeout (30s), so that the software has 90s The time can come to reboot.

更改长超时配置的方案存在三个问题:1、这个timeout的配置是对方传过来的要求,代表对方预期多长时间内会收到LLDP,并非本机自行决定即可;2、在cpu能力较差的机种,90s的时间未必足够让LACP管理软件完成重启,依然存在掉包可能性;3、总是配置长超时,代表当对端真的出问题时,也要90s的时间交换机感知这个错误并把流量转移到其他功能正常的成员端口,同样的情景配置短超时只要3s。There are three problems in the scheme of changing the long timeout configuration: 1. The timeout configuration is a request from the other party, which means how long the other party expects to receive LLDP. For poor models, 90s may not be enough time for the LACP management software to complete the restart, and there is still the possibility of packet loss; 3. Always configure a long timeout, which means that when the peer end really has a problem, it takes 90s for the switch to perceive the error And divert the traffic to other functioning member ports. In the same scenario, the short timeout is only 3s.

发明内容Contents of the invention

有鉴于此,本发明实施例的目的在于提出一种避免LACP协议超时的方法、系统、计算机设备及计算机可读存储介质,本发明通过修改LACPDU内容以及LACP状态机的超时判定方式,让使用LACP时可以配置短超时且能兼顾warm-reboot场景,不会出现不必要的端口link down,从而影响业务报文的传送。In view of this, the purpose of the embodiments of the present invention is to propose a method, system, computer equipment, and computer-readable storage medium for avoiding LACP protocol timeout. The present invention allows the use of LACP You can configure a short timeout and take into account the warm-reboot scenario, so that unnecessary port link down will not occur, which will affect the transmission of service packets.

基于上述目的,本发明实施例的一方面提供了一种避免LACP协议超时的方法,包括如下步骤:响应于发送端端口频道管理重启,检查所述数据库中是否存在warm-reboot标识,响应于数据库中存在warm-reboot标识,向接收端发送LACPDU封包;响应于接收端接收到所述LACPDU封包,确认所述LACPDU封包内预定字段是否为零;响应于所述LACPDU封包内预定字段不为零,根据warm-reboot运行所需的秒数设置计时器,并设置LACP状态机忽略LACP超时的标识并持续等待LACPDU封包;以及响应于接收到发送端发出的解除封包或计时器到时还未收到LACPDU封包,解除所述忽略LACP超时的标识并进入正常超时判定模式。Based on the above purpose, an aspect of the embodiment of the present invention provides a method for avoiding LACP protocol timeout, including the following steps: in response to the port channel management restart of the sending end, check whether there is a warm-reboot identifier in the database, and respond to the database There is a warm-reboot identifier in the receiving end, and the LACPDU packet is sent to the receiving end; in response to receiving the LACPDU packet, the receiving end confirms whether the predetermined field in the LACPDU packet is zero; in response to the predetermined field in the LACPDU packet is not zero, Set the timer according to the number of seconds required for warm-reboot to run, and set the LACP state machine to ignore the LACP timeout flag and continue to wait for the LACPDU packet; and respond to receiving the release packet from the sender or the timer has not yet been received LACPDU package, cancel the flag of ignoring LACP timeout and enter the normal timeout judgment mode.

在一些实施方式中,方法还包括:在发送端的数据库中写入warm-reboot标识,并采用代表warm-reboot的自定义信号对各个进程发送中断信号。In some embodiments, the method further includes: writing the warm-reboot identifier in the database of the sending end, and sending an interrupt signal to each process by using a custom signal representing warm-reboot.

在一些实施方式中,方法还包括:响应于信号处理器接收到代表warm-reboot的自定义信号,对LACP运行者发送请求,LACP运行者对端口频道下的端口发送三次LACPDU封包,并继续执行中断程序。In some embodiments, the method further includes: in response to the signal processor receiving a custom signal representing warm-reboot, sending a request to the LACP operator, the LACP operator sends the LACPDU packet three times to the port under the port channel, and continues to execute Interrupt program.

在一些实施方式中,方法还包括:响应于所述LACPDU封包内预定字段为零,在LACP状态机进入正常超时判定模式。In some embodiments, the method further includes: in response to the predetermined field in the LACPDU packet being zero, entering a normal timeout determination mode in the LACP state machine.

本发明实施例的另一方面,提供了一种避免LACP协议超时的系统,包括:标识模块,配置用于响应于发送端端口频道管理重启,检查所述数据库中是否存在warm-reboot标识,响应于数据库中存在warm-reboot标识,向接收端发送LACPDU封包;确认模块,配置用于响应于接收端接收到所述LACPDU封包,确认所述LACPDU封包内预定字段是否为零;设置模块,配置用于响应于所述LACPDU封包内预定字段不为零,根据warm-reboot运行所需的秒数设置计时器,并设置LACP状态机忽略LACP超时的标识并持续等待LACPDU封包;以及解除模块,配置用于响应于接收到发送端发出的解除封包或计时器到时还未收到LACPDU封包,解除所述忽略LACP超时的标识并进入正常超时判定模式。Another aspect of the embodiments of the present invention provides a system for avoiding LACP protocol timeout, including: an identification module configured to respond to the port channel management restart of the sending end, check whether there is a warm-reboot identification in the database, and respond There is a warm-reboot mark in the database, and the LACPDU packet is sent to the receiving end; the confirmation module is configured to respond to the receiving end receiving the LACPDU packet, confirming whether the predetermined field in the LACPDU packet is zero; the setting module is used for configuration In response to the predetermined field in the LACPDU packet being non-zero, a timer is set according to the number of seconds required for warm-reboot operation, and the LACP state machine is set to ignore the LACP overtime mark and continue to wait for the LACPDU packet; and the module is released for configuration In response to receiving the release packet sent by the sender or the timer has not received the LACPDU packet when the timer expires, the flag of ignoring LACP timeout is removed and the normal timeout judgment mode is entered.

在一些实施方式中,系统还包括中断模块,配置用于:在发送端的数据库中写入warm-reboot标识,并采用代表warm-reboot的自定义信号对各个进程发送中断信号。In some embodiments, the system further includes an interrupt module configured to: write the warm-reboot identifier in the database of the sending end, and send an interrupt signal to each process by using a custom signal representing warm-reboot.

在一些实施方式中,系统还包括请求模块,配置用于:响应于信号处理器接收到代表warm-reboot的自定义信号,对LACP运行者发送请求,LACP运行者对端口频道下的端口发送三次LACPDU封包,并继续执行中断程序。In some embodiments, the system further includes a request module configured to: send a request to the LACP operator in response to the signal processor receiving a custom signal representing warm-reboot, and the LACP operator sends three requests to the port under the port channel LACPDU packet, and continue to execute the interrupt program.

在一些实施方式中,系统还包括转换模块,配置用于:响应于所述LACPDU封包内预定字段为零,在LACP状态机进入正常超时判定模式。In some embodiments, the system further includes a conversion module configured to: respond to the predetermined field in the LACPDU packet being zero, and enter a normal timeout determination mode in the LACP state machine.

本发明实施例的又一方面,还提供了一种计算机设备,包括:至少一个处理器;以及存储器,所述存储器存储有可在所述处理器上运行的计算机指令,所述指令由所述处理器执行时实现如上方法的步骤。In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory, the memory stores computer instructions executable on the processor, and the instructions are executed by the The steps of the above method are realized when the processor executes.

本发明实施例的再一方面,还提供了一种计算机可读存储介质,计算机可读存储介质存储有被处理器执行时实现如上方法步骤的计算机程序。In yet another aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, and the computer-readable storage medium stores a computer program for implementing the above method steps when executed by a processor.

本发明具有以下有益技术效果:通过修改LACPDU内容以及LACP状态机的超时判定方式,让使用LACP时可以配置短超时且能兼顾warm-reboot场景,不会出现不必要的端口link down,从而影响业务报文的传送。The present invention has the following beneficial technical effects: by modifying the LACPDU content and the timeout judgment method of the LACP state machine, a short timeout can be configured when using LACP and warm-reboot scenarios can be taken into account, and unnecessary port link down will not occur, thereby affecting business Message transmission.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的实施例。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention, and those skilled in the art can obtain other embodiments according to these drawings without any creative effort.

图1为本发明提供的避免LACP协议超时的方法的实施例的示意图;Fig. 1 is the schematic diagram of the embodiment of the method for avoiding LACP protocol timeout provided by the present invention;

图2为本发明提供的避免LACP协议超时的系统的实施例的示意图;Fig. 2 is the schematic diagram of the embodiment of the system that avoids LACP protocol overtime provided by the present invention;

图3为本发明提供的避免LACP协议超时的计算机设备的实施例的硬件结构示意图;Fig. 3 is the hardware structure schematic diagram of the embodiment of the computer equipment that avoids LACP protocol overtime provided by the present invention;

图4为本发明提供的避免LACP协议超时的计算机存储介质的实施例的示意图。Fig. 4 is a schematic diagram of an embodiment of a computer storage medium for avoiding LACP protocol timeout provided by the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明实施例进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

需要说明的是,本发明实施例中所有使用“第一”和“第二”的表述均是为了区分两个相同名称非相同的实体或者非相同的参量,可见“第一”“第二”仅为了表述的方便,不应理解为对本发明实施例的限定,后续实施例对此不再一一说明。It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

本发明实施例的第一个方面,提出了一种避免LACP协议超时的方法的实施例。图1示出的是本发明提供的避免LACP协议超时的方法的实施例的示意图。如图1所示,本发明实施例包括如下步骤:According to the first aspect of the embodiments of the present invention, an embodiment of a method for avoiding LACP protocol timeout is proposed. FIG. 1 is a schematic diagram of an embodiment of a method for avoiding LACP protocol timeout provided by the present invention. As shown in Figure 1, the embodiment of the present invention includes the following steps:

S1、响应于发送端端口频道管理重启,检查所述数据库中是否存在warm-reboot标识,响应于数据库中存在warm-reboot标识,向接收端发送LACPDU封包;S1. In response to the port channel management restart of the sending end, check whether there is a warm-reboot identifier in the database, and send an LACPDU packet to the receiving end in response to the presence of a warm-reboot identifier in the database;

S2、响应于接收端接收到所述LACPDU封包,确认所述LACPDU封包内预定字段是否为零;S2. In response to receiving the LACPDU packet at the receiving end, confirm whether the predetermined field in the LACPDU packet is zero;

S3、响应于所述LACPDU封包内预定字段不为零,根据warm-reboot运行所需的秒数设置计时器,并设置LACP状态机忽略LACP超时的标识并持续等待LACPDU封包;以及S3. In response to the predetermined field in the LACPDU packet being not zero, set a timer according to the number of seconds required for warm-reboot operation, and set the LACP state machine to ignore the LACP timeout flag and continue to wait for the LACPDU packet; and

S4、响应于接收到发送端发出的解除封包或计时器到时还未收到LACPDU封包,解除所述忽略LACP超时的标识并进入正常超时判定模式。S4. In response to receiving the release packet sent by the sender or the timer expires and the LACPDU packet has not been received, release the flag of ignoring LACP timeout and enter the normal timeout determination mode.

PortChannel:将复数个物理端口整合为一个逻辑端口以加大逻辑带宽的技术,上面传输的流量会透过负载均衡算法进行平衡流量的工作,建立Port Channel通常有两种方式,一是静态分配,二是透过LACP协议动态建立。PortChannel: A technology that integrates multiple physical ports into one logical port to increase the logical bandwidth. The traffic transmitted on it will be balanced through the load balancing algorithm. There are usually two ways to establish a Port Channel, one is static allocation, The second is to establish dynamically through the LACP protocol.

LACP是一种基于IEEE802.3ad标准的实现链路动态聚合与解聚合的协议,它是链路聚合中常用的一种协议。链路聚合组中启用了LACP协议的成员端口通过发送LACPDU报文进行交互,双方对能够发送和接收报文的端口达成一致,确定承担业务流量的链路。此外,当聚合条件发生变化时,如某个链路发生故障,LACP模式会自动调整聚合组中的链路,组内其他可用成员链路接替故障链路维持负载平衡。LACP is a protocol based on the IEEE802.3ad standard to realize link dynamic aggregation and de-aggregation, and it is a commonly used protocol in link aggregation. The member ports enabled with the LACP protocol in the link aggregation group communicate by sending LACPDU packets. The two parties reach an agreement on the ports that can send and receive packets, and determine the link that bears the service traffic. In addition, when the aggregation conditions change, such as a link failure, the LACP mode will automatically adjust the links in the aggregation group, and other available member links in the group will take over the failed link to maintain load balance.

LACP协议中有一个Timeout的属性,用来告知接收端经过多长的时间没有收到LACP报文就会判定该成员端口失联,并暂时将该成员端口放入deselect状态,避免影响流量转发到该成员端口上,目前这个值可以有两个设定值,长超时(30s)和短超时(1s),超过超时配置的三倍时间后就会判定该成员端口失联。There is a Timeout attribute in the LACP protocol, which is used to inform the receiving end how long the member port is disconnected if it does not receive the LACP message, and temporarily put the member port into the deselect state to avoid affecting the traffic forwarding to On the member port, there are currently two settings for this value, long timeout (30s) and short timeout (1s). After exceeding three times the timeout configuration, the member port will be determined to be disconnected.

Warm-reboot:在数据中心里,设备的脱机意味着业务的中断,尤其是掌管网络的交换机一旦脱机,受到影响的范围就更深远了,一旦软件需要进行升级改版,就会导致业务中断,所以不同于一般的reboot,有一项名为warm-reboot的重开机技术,透过备份数据库→重启内核及上层软件→还原数据库,这样的方式来更新软件并且避免了业务中断(因为芯片未受影响)。Warm-reboot: In the data center, offline equipment means business interruption, especially once the switch in charge of the network is offline, the scope of the impact will be far-reaching. Once the software needs to be upgraded, it will lead to business interruption , so different from the general reboot, there is a reboot technology called warm-reboot, through backup database→restart the kernel and upper-layer software→restore the database, so as to update the software and avoid business interruption (because the chip is not affected Influence).

目前LACP协议中对于长超时的配置是单向的,不存在反向通知的机制,本发明实施例通过扩张LACP封包内容及修改LACP内部状态机,让交换机在warm-reboot期间可以通知对方交换机暂时中止超时判定,等warm-reboot结束后再切换回正常模式,确保PortChannel不会在warm-reboot期间被关闭。At present, the long timeout configuration in the LACP protocol is unidirectional, and there is no mechanism for reverse notification. The embodiment of the present invention allows the switch to notify the other switch temporarily during the warm-reboot period by expanding the content of the LACP packet and modifying the internal state machine of the LACP Stop the timeout judgment and switch back to the normal mode after the warm-reboot is over to ensure that the PortChannel will not be closed during the warm-reboot.

在发送端会先在database(数据库)中写入warm-reboot flag(标识),这个flag是用于让进程重启后能识别本次重启为warm-reboot还是normal reboot。对各个进程发送中断信号,告诉各个进程该结束程序了,本发明实施例采用一个自定义的信号SIGUSR来代表warm reboot以区分normal reboot时使用的SIGTERM信号。当singal handler(信号处理器)知道这是一个warm-reboot后会对LACP runner(运行者)发送request(请求),LACPrunner便立刻对Port Channel下的端口发送三次特制的LACPDU封包,然后才执行原先中断程序的流程。Port channel manager(管理者)重启后,会先到database检查warm-rebootflag是否存在,如果有,代表上次为warm-reboot,此时会再发送特制的LACPDU封包,通知对接端warm-reboot流程已结束,可以回归正常LACP超时模式。The sender will first write the warm-reboot flag (identification) in the database (database). This flag is used to allow the process to recognize whether the restart is a warm-reboot or a normal reboot after the process is restarted. Send an interrupt signal to each process to tell each process that the program should end. The embodiment of the present invention uses a self-defined signal SIGUSR to represent warm reboot to distinguish the SIGTERM signal used during normal reboot. When the signal handler (signal processor) knows that this is a warm-reboot, it will send a request (request) to the LACP runner (runner), and the LACPrunner will immediately send three specially crafted LACPDU packets to the port under the Port Channel, and then execute the original interrupt the flow of the program. After the port channel manager (manager) restarts, it will first go to the database to check whether the warm-rebootflag exists. If so, it means that it was a warm-reboot last time. At this time, it will send a special LACPDU packet to notify the counterpart that the warm-reboot process has completed. After the end, you can return to the normal LACP timeout mode.

在接收端会对LACPDU封包进行解析,确认封包内特定字段是否为零,不为零代表对端即将进入warm-reboot,同时在封包内可以得知warm-reboot所需的秒数(假设为Y秒),接收端这时会做两件事,第一是启动一个timer设定Y秒后到时,第二是设定LACP状态机使其暂时忽略LACP超时,设定timer的原因是对方warm-reboot失败后提醒解除忽略超时的状态。之后状态机会持续等待LACPDU封包,一个情况是对方warm-reboot成功后主动来发送解除封包,另一种情况是Timer到时前都没收到LACPDU封包,那系统也会强制解除忽略LACP超时的标识,并进入正常的超时判定模式。The receiving end will analyze the LACPDU packet to confirm whether the specific field in the packet is zero. If it is not zero, it means that the peer end is about to enter warm-reboot. At the same time, the number of seconds required for warm-reboot can be known in the packet (assumed to be Y Seconds), the receiving end will do two things at this time, the first is to start a timer to set the timeout after Y seconds, and the second is to set the LACP state machine to temporarily ignore the LACP timeout. The reason for setting the timer is that the other party is warm -Remind to remove the state of ignoring the timeout after the reboot fails. Afterwards, the state machine continues to wait for the LACPDU packet. One case is that the other party actively sends a release packet after the warm-reboot succeeds. The other case is that the timer does not receive the LACPDU packet before the timer expires. And enter the normal timeout judgment mode.

LACPDU封包中有一段reserved字段,在这段字段中使用TLV的格式放置想要传递的讯息,本发明实施例中warm-reboot前要求了256秒(0xFF)的忽略超时,并在完成warm-reboot后发送type为0x02的结束封包。LACPDU封包中包含的内容如表1:There is a reserved field in the LACPDU packet. In this field, the TLV format is used to place the message to be transmitted. In the embodiment of the present invention, an ignore timeout of 256 seconds (0xFF) is required before warm-reboot, and the warm-reboot is completed. Then send the end packet with type 0x02. The content contained in the LACPDU packet is shown in Table 1:

表1Table 1

本发明实施例目前可实现在SONiC交换机产品上,尤其PortChannel在一般数据中心的标准组网方式中经常被用做MCLAG的keepalive联机上,在使用本发明实施例的基础上,交换机就能在拥有短超时好处的同时也避免warm-reboot的问题,这可以作为和其他厂商的区隔功能。The embodiment of the present invention can be implemented on the SONiC switch product at present, especially PortChannel is often used as the keepalive connection of MCLAG in the standard networking mode of the general data center, on the basis of using the embodiment of the present invention, the switch can have The benefit of short timeout also avoids the problem of warm-reboot, which can be used as a differentiating function from other manufacturers.

需要特别指出的是,上述避免LACP协议超时的方法的各个实施例中的各个步骤均可以相互交叉、替换、增加、删减,因此,这些合理的排列组合变换之于避免LACP协议超时的方法也应当属于本发明的保护范围,并且不应将本发明的保护范围局限在实施例之上。It should be pointed out that the steps in each embodiment of the above-mentioned method for avoiding LACP protocol overtime can be mutually interleaved, replaced, increased, and deleted. It should belong to the protection scope of the present invention, and should not limit the protection scope of the present invention to the embodiment.

基于上述目的,本发明实施例的第二个方面,提出了一种避免LACP协议超时的系统。如图2所示,系统200包括如下模块:标识模块,配置用于响应于发送端端口频道管理重启,检查所述数据库中是否存在warm-reboot标识,响应于数据库中存在warm-reboot标识,向接收端发送LACPDU封包;确认模块,配置用于响应于接收端接收到所述LACPDU封包,确认所述LACPDU封包内预定字段是否为零;设置模块,配置用于响应于所述LACPDU封包内预定字段不为零,根据warm-reboot运行所需的秒数设置计时器,并设置LACP状态机忽略LACP超时的标识并持续等待LACPDU封包;以及解除模块,配置用于响应于接收到发送端发出的解除封包或计时器到时还未收到LACPDU封包,解除所述忽略LACP超时的标识并进入正常超时判定模式。Based on the above purpose, the second aspect of the embodiments of the present invention proposes a system for avoiding LACP protocol timeout. As shown in Figure 2, the system 200 includes the following modules: an identification module, configured to respond to the restart of the port channel management of the sending end, check whether there is a warm-reboot identifier in the database, and respond to the warm-reboot identifier in the database. The receiving end sends the LACPDU packet; the confirmation module is configured to confirm whether the predetermined field in the LACPDU packet is zero in response to the receiving end receiving the LACPDU packet; the setting module is configured to respond to the predetermined field in the LACPDU packet Not zero, set the timer according to the number of seconds required for warm-reboot to run, and set the LACP state machine to ignore the LACP timeout flag and continue to wait for the LACPDU packet; and the release module, configured to respond to the release sent by the sender When the packet or timer expires and the LACPDU packet has not been received yet, the flag of ignoring the LACP timeout is released and enters the normal timeout judgment mode.

在一些实施方式中,系统还包括中断模块,配置用于:在发送端的数据库中写入warm-reboot标识,并采用代表warm-reboot的自定义信号对各个进程发送中断信号。In some embodiments, the system further includes an interrupt module configured to: write the warm-reboot identifier in the database of the sending end, and send an interrupt signal to each process by using a custom signal representing warm-reboot.

在一些实施方式中,系统还包括请求模块,配置用于:响应于信号处理器接收到代表warm-reboot的自定义信号,对LACP运行者发送请求,LACP运行者对端口频道下的端口发送三次LACPDU封包,并继续执行中断程序。In some embodiments, the system further includes a request module configured to: send a request to the LACP operator in response to the signal processor receiving a custom signal representing warm-reboot, and the LACP operator sends three requests to the port under the port channel LACPDU packet, and continue to execute the interrupt program.

在一些实施方式中,系统还包括转换模块,配置用于:响应于所述LACPDU封包内预定字段为零,在LACP状态机进入正常超时判定模式。In some embodiments, the system further includes a conversion module configured to: respond to the predetermined field in the LACPDU packet being zero, and enter a normal timeout determination mode in the LACP state machine.

基于上述目的,本发明实施例的第三个方面,提出了一种计算机设备,包括:至少一个处理器;以及存储器,存储器存储有可在处理器上运行的计算机指令,指令由处理器执行以实现如下步骤:S1、响应于发送端端口频道管理重启,检查所述数据库中是否存在warm-reboot标识,响应于数据库中存在warm-reboot标识,向接收端发送LACPDU封包;S2、响应于接收端接收到所述LACPDU封包,确认所述LACPDU封包内预定字段是否为零;S3、响应于所述LACPDU封包内预定字段不为零,根据warm-reboot运行所需的秒数设置计时器,并设置LACP状态机忽略LACP超时的标识并持续等待LACPDU封包;以及S4、响应于接收到发送端发出的解除封包或计时器到时还未收到LACPDU封包,解除所述忽略LACP超时的标识并进入正常超时判定模式。Based on the above purpose, a third aspect of the embodiments of the present invention proposes a computer device, including: at least one processor; and a memory, the memory stores computer instructions that can run on the processor, and the instructions are executed by the processor to The following steps are implemented: S1, in response to the port channel management restart of the sending end, check whether there is a warm-reboot identifier in the database, and send an LACPDU packet to the receiving end in response to the presence of a warm-reboot identifier in the database; S2, responding to the receiving end Receive the LACPDU packet, confirm whether the predetermined field in the LACPDU packet is zero; S3, in response to the predetermined field in the LACPDU packet is not zero, set the timer according to the number of seconds required for warm-reboot operation, and set The LACP state machine ignores the LACP timeout mark and continues to wait for the LACPDU packet; and S4, in response to receiving the release packet sent by the sender or the timer not receiving the LACPDU packet when the timer expires, canceling the LACP timeout mark and entering normal Timeout judgment mode.

在一些实施方式中,步骤还包括:在发送端的数据库中写入warm-reboot标识,并采用代表warm-reboot的自定义信号对各个进程发送中断信号。In some embodiments, the step further includes: writing the warm-reboot identifier in the database of the sending end, and sending an interrupt signal to each process by using a custom signal representing warm-reboot.

在一些实施方式中,步骤还包括:响应于信号处理器接收到代表warm-reboot的自定义信号,对LACP运行者发送请求,LACP运行者对端口频道下的端口发送三次LACPDU封包,并继续执行中断程序。In some embodiments, the steps further include: in response to the signal processor receiving a custom signal representing warm-reboot, sending a request to the LACP operator, and the LACP operator sends the LACPDU packet three times to the port under the port channel, and continues to execute Interrupt program.

在一些实施方式中,步骤还包括:响应于所述LACPDU封包内预定字段为零,在LACP状态机进入正常超时判定模式。In some embodiments, the step further includes: in response to the predetermined field in the LACPDU packet being zero, entering a normal timeout determination mode in the LACP state machine.

如图3所示,为本发明提供的上述避免LACP协议超时的计算机设备的一个实施例的硬件结构示意图。As shown in FIG. 3 , it is a schematic diagram of the hardware structure of an embodiment of the computer device for avoiding LACP protocol timeout provided by the present invention.

以如图3所示的装置为例,在该装置中包括一个处理器301以及一个存储器302。Taking the device shown in FIG. 3 as an example, the device includes a processor 301 and a memory 302 .

处理器301和存储器302可以通过总线或者其他方式连接,图3中以通过总线连接为例。The processor 301 and the memory 302 may be connected through a bus or in other ways, and the connection through a bus is taken as an example in FIG. 3 .

存储器302作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的避免LACP协议超时的方法对应的程序指令/模块。处理器301通过运行存储在存储器302中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现避免LACP协议超时的方法。The memory 302, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs and modules, such as the corresponding method for avoiding LACP protocol timeout in the embodiment of the present application program instructions/modules. The processor 301 executes various functional applications and data processing of the server by running non-volatile software programs, instructions and modules stored in the memory 302 , that is, implements a method for avoiding LACP protocol timeout.

存储器302可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据避免LACP协议超时的方法的使用所创建的数据等。此外,存储器302可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器302可选包括相对于处理器301远程设置的存储器,这些远程存储器可以通过网络连接至本地模块。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 302 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created by using a method for avoiding LACP protocol overtime, etc. . In addition, the memory 302 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 302 may optionally include memory that is remotely located relative to the processor 301, and these remote memories may be connected to the local module through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

一个或者多个避免LACP协议超时的方法对应的计算机指令303存储在存储器302中,当被处理器301执行时,执行上述任意方法实施例中的避免LACP协议超时的方法。One or more computer instructions 303 corresponding to the method for avoiding LACP protocol timeout are stored in the memory 302, and when executed by the processor 301, execute the method for avoiding LACP protocol timeout in any of the above method embodiments.

执行上述避免LACP协议超时的方法的计算机设备的任何一个实施例,可以达到与之对应的前述任意方法实施例相同或者相类似的效果。Any one embodiment of the computer device implementing the above-mentioned method for avoiding LACP protocol timeout can achieve the same or similar effects as any of the above-mentioned method embodiments corresponding thereto.

本发明还提供了一种计算机可读存储介质,计算机可读存储介质存储有被处理器执行时执行避免LACP协议超时的方法的计算机程序。The present invention also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program for executing the method for avoiding LACP protocol timeout when executed by a processor.

如图4所示,为本发明提供的上述避免LACP协议超时的计算机存储介质的一个实施例的示意图。以如图4所示的计算机存储介质为例,计算机可读存储介质401存储有被处理器执行时执行如上方法的计算机程序402。As shown in FIG. 4 , it is a schematic diagram of an embodiment of the computer storage medium for avoiding LACP protocol timeout provided by the present invention. Taking the computer storage medium shown in FIG. 4 as an example, the computer readable storage medium 401 stores a computer program 402 for executing the above method when executed by a processor.

最后需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关硬件来完成,避免LACP协议超时的方法的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,程序的存储介质可为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。上述计算机程序的实施例,可以达到与之对应的前述任意方法实施例相同或者相类似的效果。Finally, it should be noted that those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware to complete, and the program of the method for avoiding LACP protocol timeout can be stored in a computer. When the program is read from the storage medium, when executed, it may include the procedures of the embodiments of the above-mentioned methods. Wherein, the storage medium of the program may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), and the like. The foregoing computer program embodiments can achieve the same or similar effects as any of the foregoing method embodiments corresponding thereto.

以上是本发明公开的示例性实施例,但是应当注意,在不背离权利要求限定的本发明实施例公开的范围的前提下,可以进行多种改变和修改。根据这里描述的公开实施例的方法权利要求的功能、步骤和/或动作不需以任何特定顺序执行。此外,尽管本发明实施例公开的元素可以以个体形式描述或要求,但除非明确限制为单数,也可以理解为多个。The above are the exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications can be made without departing from the scope of the disclosed embodiments of the present invention defined in the claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in an individual form, they may also be understood as a plurality unless explicitly limited to a singular number.

应当理解的是,在本文中使用的,除非上下文清楚地支持例外情况,单数形式“一个”旨在也包括复数形式。还应当理解的是,在本文中使用的“和/或”是指包括一个或者一个以上相关联地列出的项目的任意和所有可能组合。It should be understood that as used herein, the singular form "a" and "an" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.

上述本发明实施例公开实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments disclosed in the above-mentioned embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above-mentioned embodiments can be completed by hardware, or can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. The above-mentioned The storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like.

所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本发明实施例公开的范围(包括权利要求)被限于这些例子;在本发明实施例的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,并存在如上的本发明实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。因此,凡在本发明实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本发明实施例的保护范围之内。Those of ordinary skill in the art should understand that: the discussion of any of the above embodiments is exemplary only, and is not intended to imply that the scope (including claims) disclosed by the embodiments of the present invention is limited to these examples; under the idea of the embodiments of the present invention , the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the above embodiments of the present invention, which are not provided in details for the sake of brevity. Therefore, within the spirit and principle of the embodiments of the present invention, any omissions, modifications, equivalent replacements, improvements, etc., shall be included in the protection scope of the embodiments of the present invention.

Claims (6)

1.一种避免LACP协议超时的方法,其特征在于,包括如下步骤:1. A method for avoiding LACP protocol overtime, is characterized in that, comprises the steps: 响应于发送端端口频道管理重启,检查数据库中是否存在warm-reboot标识,响应于数据库中存在warm-reboot标识,向接收端发送LACPDU封包;In response to the restart of the port channel management of the sending end, check whether there is a warm-reboot identifier in the database, and send an LACPDU packet to the receiving end in response to the existence of the warm-reboot identifier in the database; 响应于接收端接收到所述LACPDU封包,确认所述LACPDU封包内预定字段是否为零;In response to receiving the LACPDU packet at the receiving end, confirm whether the predetermined field in the LACPDU packet is zero; 响应于所述LACPDU封包内预定字段不为零,根据warm-reboot运行所需的秒数设置计时器,并设置LACP状态机忽略LACP超时的标识并持续等待LACPDU封包;以及In response to the predetermined field in the LACPDU packet being not zero, a timer is set according to the number of seconds required for warm-reboot operation, and the LACP state machine is set to ignore the LACP timeout flag and continue to wait for the LACPDU packet; and 响应于接收到发送端发出的解除封包或计时器到时还未收到LACPDU封包,解除所述忽略LACP超时的标识并进入正常超时判定模式,In response to receiving the release packet sent by the sending end or the timer has not received the LACPDU packet when the timer expires, remove the flag of ignoring the LACP timeout and enter the normal timeout judgment mode, 方法还包括:Methods also include: 在发送端的数据库中写入warm-reboot标识,并采用代表warm-reboot的自定义信号对各个进程发送中断信号,Write the warm-reboot identifier in the database of the sending end, and use a custom signal representing warm-reboot to send an interrupt signal to each process, 响应于所述LACPDU封包内预定字段为零,在LACP状态机进入正常超时判定模式。In response to the predetermined field in the LACPDU packet being zero, the LACP state machine enters a normal timeout judgment mode. 2.根据权利要求1所述的方法,其特征在于,方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 响应于信号处理器接收到代表warm-reboot的自定义信号,对LACP运行者发送请求,LACP运行者对端口频道下的端口发送三次LACPDU封包,并继续执行中断程序。In response to the signal processor receiving a custom signal representing warm-reboot, it sends a request to the LACP operator, and the LACP operator sends LACPDU packets three times to the port under the port channel, and continues to execute the interrupt program. 3.一种避免LACP协议超时的系统,其特征在于,包括:3. A system for avoiding LACP protocol overtime, characterized in that, comprising: 标识模块,配置用于响应于发送端端口频道管理重启,检查数据库中是否存在warm-reboot标识,响应于数据库中存在warm-reboot标识,向接收端发送LACPDU封包;The identification module is configured to respond to the restart of the port channel management of the sending end, check whether there is a warm-reboot identification in the database, and send an LACPDU packet to the receiving end in response to the existence of the warm-reboot identification in the database; 确认模块,配置用于响应于接收端接收到所述LACPDU封包,确认所述LACPDU封包内预定字段是否为零;A confirmation module, configured to confirm whether the predetermined field in the LACPDU packet is zero in response to the receiving end receiving the LACPDU packet; 设置模块,配置用于响应于所述LACPDU封包内预定字段不为零,根据warm-reboot运行所需的秒数设置计时器,并设置LACP状态机忽略LACP超时的标识并持续等待LACPDU封包;以及The setting module is configured to respond to the predetermined field in the LACPDU packet being non-zero, setting a timer according to the number of seconds required for warm-reboot operation, and setting the LACP state machine to ignore the LACP timeout flag and continue to wait for the LACPDU packet; and 解除模块,配置用于响应于接收到发送端发出的解除封包或计时器到时还未收到LACPDU封包,解除所述忽略LACP超时的标识并进入正常超时判定模式,The release module is configured to respond to receiving the release packet sent by the sender or when the timer expires and has not received the LACPDU packet, release the flag of ignoring the LACP timeout and enter the normal timeout judgment mode, 系统还包括中断模块,配置用于:在发送端的数据库中写入warm-reboot标识,并采用代表warm-reboot的自定义信号对各个进程发送中断信号,The system also includes an interrupt module configured to: write the warm-reboot identifier in the database of the sending end, and use a custom signal representing warm-reboot to send an interrupt signal to each process, 系统还包括转换模块,配置用于:响应于所述LACPDU封包内预定字段为零,在LACP状态机进入正常超时判定模式。The system also includes a conversion module configured to: respond to the predetermined field in the LACPDU packet being zero, enter a normal timeout judgment mode in the LACP state machine. 4.根据权利要求3所述的系统,其特征在于,系统还包括请求模块,配置用于:4. The system according to claim 3, wherein the system also includes a request module configured to: 响应于信号处理器接收到代表warm-reboot的自定义信号,对LACP运行者发送请求,LACP运行者对端口频道下的端口发送三次LACPDU封包,并继续执行中断程序。In response to the signal processor receiving a custom signal representing warm-reboot, it sends a request to the LACP operator, and the LACP operator sends LACPDU packets three times to the port under the port channel, and continues to execute the interrupt program. 5. 一种计算机设备,其特征在于,包括:5. A computer device, comprising: 至少一个处理器;以及at least one processor; and 存储器,所述存储器存储有可在所述处理器上运行的计算机指令,所述指令由所述处理器执行时实现权利要求1-2任意一项所述方法的步骤。A memory, the memory stores computer instructions operable on the processor, and when the instructions are executed by the processor, the steps of the method according to any one of claims 1-2 are implemented. 6.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1-2任意一项所述方法的步骤。6. A computer-readable storage medium, the computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1-2 are implemented.
CN202210756891.8A 2022-06-30 2022-06-30 A method, system, device and storage medium for avoiding LACP protocol timeout Active CN115150453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210756891.8A CN115150453B (en) 2022-06-30 2022-06-30 A method, system, device and storage medium for avoiding LACP protocol timeout

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210756891.8A CN115150453B (en) 2022-06-30 2022-06-30 A method, system, device and storage medium for avoiding LACP protocol timeout

Publications (2)

Publication Number Publication Date
CN115150453A CN115150453A (en) 2022-10-04
CN115150453B true CN115150453B (en) 2023-08-11

Family

ID=83410444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210756891.8A Active CN115150453B (en) 2022-06-30 2022-06-30 A method, system, device and storage medium for avoiding LACP protocol timeout

Country Status (1)

Country Link
CN (1) CN115150453B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626342A (en) * 2008-07-07 2010-01-13 华为技术有限公司 Method, device and system for realizing link aggregation
WO2013097366A1 (en) * 2011-12-28 2013-07-04 中兴通讯股份有限公司 Method for exception recovery of link aggregation and switching device
CN112134797A (en) * 2020-09-04 2020-12-25 苏州浪潮智能科技有限公司 Method and equipment for improving overtime of link aggregation protocol

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626342A (en) * 2008-07-07 2010-01-13 华为技术有限公司 Method, device and system for realizing link aggregation
WO2013097366A1 (en) * 2011-12-28 2013-07-04 中兴通讯股份有限公司 Method for exception recovery of link aggregation and switching device
CN112134797A (en) * 2020-09-04 2020-12-25 苏州浪潮智能科技有限公司 Method and equipment for improving overtime of link aggregation protocol

Also Published As

Publication number Publication date
CN115150453A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
US9054958B2 (en) System and method for reducing information loss in an aggregated information handling system
WO2021077768A1 (en) Method and device for processing route information
CN112039769B (en) A method for processing routing and network equipment
WO2017000832A1 (en) Mac address synchronization method, device and system
EP3813306B1 (en) Message processing method and communications system
US9706016B2 (en) Unconstrained supervisor switch upgrade
CN111988213A (en) Method, equipment and medium for synchronizing VXLAN tunnel in EVPN MLAG environment
CN110351127B (en) Graceful restart method, device and system
WO2020114017A1 (en) Data center traffic exchange method and apparatus, device and storage medium
CN111586505B (en) Method and device for realizing rapid recovery of main/standby switching service in PON access system
US20230327981A1 (en) Efficient traffic redirection for an mclag for controlled unavailability events
CN115150453B (en) A method, system, device and storage medium for avoiding LACP protocol timeout
WO2019179161A1 (en) Data traffic processing method, device and system
CN109150709B (en) Method, equipment and system for realizing Mux machine
CN108282346B (en) Software upgrading method and device
TWI733560B (en) Switch and switch network system thereof
US11095514B2 (en) System and method for propagating anima network objective changes
CN101160855A (en) Method for Realizing IP Forwarding Plane Fault Detection
WO2012079212A1 (en) Method and device for managing service
WO2021244262A1 (en) Packet processing method, device and system
WO2020029928A1 (en) Method for establishing bgp session and sending interface address and alias, and network device
CN115865844B (en) Dynamic traffic scheduling method and device based on virtual and real combination based on SDN and NDN
WO2016065925A1 (en) Controller replacing method and device
WO2015180560A1 (en) Service router packet processing method and service node
CN111224803B (en) Multi-master detection method in stacking system and stacking system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant