WO2009062351A1 - Method for stacking system merging - Google Patents

Method for stacking system merging Download PDF

Info

Publication number
WO2009062351A1
WO2009062351A1 PCT/CN2007/003919 CN2007003919W WO2009062351A1 WO 2009062351 A1 WO2009062351 A1 WO 2009062351A1 CN 2007003919 W CN2007003919 W CN 2007003919W WO 2009062351 A1 WO2009062351 A1 WO 2009062351A1
Authority
WO
WIPO (PCT)
Prior art keywords
stacking
stacking system
optimal
stack
information
Prior art date
Application number
PCT/CN2007/003919
Other languages
French (fr)
Chinese (zh)
Inventor
Zheng Zhang
Shaohua Hu
Original Assignee
Zte Corporation
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 Zte Corporation filed Critical Zte Corporation
Publication of WO2009062351A1 publication Critical patent/WO2009062351A1/en

Links

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

Definitions

  • the present invention relates to the field of data communications, and in particular, to a method for merging stacking systems.
  • Routing switching equipment is now the most important and core component of the Internet, and it is responsible for route propagation and traffic forwarding for the Internet.
  • the network grows larger and larger, there are more and more routing and switching devices, and its management complexity increases exponentially.
  • Device overhead such as memory and processor, can be reduced to a minimum.
  • This method is stacking. The entire stacking system appears to be a device on the outside. Generally, a stack system includes a master device, a standby device, and other common devices. The application of the stacking system greatly reduces the complexity of network management and deployment, and has a very advanced meaning.
  • the traditional processing method is to manually restart all the devices, so that the entire stacking system can be topology-built, the main device is re-selected, and then re-stabilized. This process takes a long time, and the operation of the entire stacking system is affected.
  • the entire stacking system has to be completely inoperable, which increases the complexity of network management, which is not conducive to the stability of the network.
  • the stacking system should be based on the principle of high stability and lowest level of business impact.
  • the stacking system can be merged while the stacking system is still running.
  • the combined stacking system can be instantly Put into operation, so that the system impact brought by the consolidation of the stack system can be minimized, which is conducive to the stability of the entire network. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a method for merging stacking systems to ensure that the stacking system is minimized by the merger, thereby enhancing the stability of the stacking system and reducing the network's
  • the present invention provides a method for merging stacking systems, including:
  • the stacking interface device advertises the stacking multicast packets of the stacking system information of the stacking device of the device to the linked device after the link is changed; Disconnecting and turning on the stacked device;
  • Each stacking system selects an optimal stacking system according to the stacking information
  • the optimal stacking system maintains the original operation.
  • the devices in the other stacking systems are merged with the optimal stacking system after performing service restart operations or device restart operations based on the stacking information of the optimal stacking system.
  • the stack information includes one or any combination of the following information: a master device priority, a MAC address, and a running version of the stack system.
  • the optimal stacking system refers to a stacking system that satisfies one of the following conditions or any combination thereof:
  • the priority of the master device of the stacking system is higher than that of other stacking system master devices participating in the merge;
  • the MAC address of the master device of the stack system is larger or smaller than the MAC address of the master device of the other stacking systems participating in the merge;
  • the running version of the main device of the stacking system is higher than the running version of the main device of the other stacked stacking systems.
  • the step C includes: the optimal stacking system maintains the original operation; the stack interface device in the stack system that is involved in the merge is flooded and distributed to the stacking system; After the stacking information of the stacking system is received, the master device of the stacking system is compared with the running version of the master device. If the running version is the same, all devices in the stack are restarted. After the operation, the device is added to the optimal stacking system. Otherwise, all devices in the stack are added to the optimal stacking system after the device is restarted.
  • the service restarting operation of the device means that the device is added to the device of the optimal stacking system on the topology, and the service operation is directly restarted after the topology is successfully added.
  • the device restarts the device. After the device is restarted, the device is re-joined to the optimal stack system, and the consistent running version and other stack information are downloaded from the master device of the optimal stacking system.
  • the device further includes: after the stacking system is established, each device saves stack information of the stacking system.
  • the merging method of the stacking system of the present invention when the stacking system is merged, the sub-optimal stacking system is integrated into the optimal stacking system as a newly added device, and the optimal stacking system operation is completely unaffected, and all processing processes are completed. Auto-completion, simple network control, minimizes stack system turbulence caused by stacking systems again, greatly enhancing network stability.
  • FIG. 1 is a schematic diagram of two stacking systems ready to be merged in an application example of the present invention
  • FIG. 2 is a schematic diagram of a processing situation of a sub-optimal stacking system that has just been merged in an application example; and FIG. 3 is a flowchart of a method for merging a stacking system according to an application example of the present invention.
  • the main idea of the present invention is: After the routing switching device is formed into a stacking system, when multiple stacking systems are merged, the stacking system can be based on the priority, the MAC device (Media Access Control), and the like. Sub-optimal or low-priority stacking systems are automatically merged; stacking systems that are optimal or of high importance remain in normal operation without having to perform operations such as restarts; and stacking systems that are suboptimal or of low importance are of high importance After the information is compared, the stacking system issues a control command, or restarts, or keeps running, and only restarts the bearer service. Applying such an implementation method, the optimal or high-priority stacking system in the combined stacking system is completely unaffected, and the network stability is enhanced.
  • the above priorities can be set automatically by the system, that is, by default, the priority of all stacked devices is the same.
  • the device importance of a stacking system is generally different, so its priority is also different. For example, it is important for certain locations, or devices with very good stability.
  • the priority is manually configured to give it a better priority than other devices, so that the device can be elected as the master device, which facilitates the management of the stacking system.
  • the method of merging the stacking system of the present invention comprises the following steps:
  • each device After the stacking system is set up, each device saves the stack information of the stacking system.
  • the stack information includes one or any combination of the following information: the priority of the master device, the MAC address, the running version, and the like of the stacking system where the device is located.
  • the priority of the master device may be a system level or a device level priority.
  • the priority of the master device can be determined automatically by the system or manually. For example, the priority can be determined according to the importance of the device.
  • the specific steps are as follows: When the stacking system starts to merge, the links between some devices are disconnected and they are linked with the devices in another stacking system; the stacking device that will cause the link disconnection and the closing operation is called a stack interface device. After the link status changes, these devices advertise the stack multicast packets that identify the stack system stack information of the device to the connected device.
  • the optimal stacking system refers to a stacking system that satisfies one of the following conditions or any combination thereof:
  • the priority of the master device of the stacking system is higher than that of the other stacking system master devices participating in the merge;
  • the MAC address of the master device of the stacking system is larger or smaller than the MAC address of the master device of the other stacking systems participating in the merge;
  • information such as the MAC address is used to determine which stacking system is the optimal stacking system.
  • the device advertises only the information of the device, it indicates that the device is newly added to the stack system, rather than the system merge; Just operate.
  • the optimal stacking system keeps its original operation unchanged; the other stacking systems that participate in the merge perform the merge operation according to the stacking information of the optimal stacking system, specifically:
  • the stack interface device of the other stacking system that has been merged is used to flood the stacking information of the optimal stacking system to the stacking system.
  • the master device of the other stacking system that receives the merged stack receives the stacking information of the optimal stacking system. If the running version of the master device is the same as that of the master device in the optimal stacking system, all the devices in the stacking system are only required to perform the service restarting operation.
  • the device in the stacking system is the device that is added to the optimal stacking system on the top of the topology. However, the device can be restarted after the topology is successfully added, and then added to the optimal stacking system. Then, all the devices in the stack are restarted. After the devices in the stack are restarted, they are added to the optimal stack and the consistent running version and other devices are downloaded from the master of the optimal stack. Information to maintain consistency between the basic information and the optimal stacking system Into the optimal stacking system.
  • the above is an example of using the running version as a criterion.
  • other criteria such as the version of the user configuration information and the related information, or other information and running version information can be used. These can be flexibly determined according to actual needs. , there are no restrictions here.
  • the stacking system that participates in the consolidation is the newly added device of the stacking system.
  • the master device of the optimal stacking system collects all the device information of the other stacked stacking systems and joins the stacking device. Member information for the system.
  • the stacking systems that participate in the consolidation are merged into one stacking system, which is externally represented as a routing switching device with an added interface.
  • the original equipment in the optimal stacking system is completely unaffected.
  • This application example is described by taking the process of combining two stacking systems as an example. More than two stacking systems are merged similar to the process.
  • the two stacking systems participating in the merge are denoted as A system and B system respectively, the numbers following A or B are used to indicate the number of stacked device numbers that have been allocated; the master device of system A is Al, and the master device of system B is B1;
  • the two stacking systems were originally running well, and now merged for network planning.
  • the combined stacking system is shown in Figure 2.
  • Step 301 The stack interface device is the device A4, the device A5, the device B2, and the device B3.
  • the stack information of the stack system is obtained by the stacking packets sent by each other.
  • Step 302 The stack interface device performs the system pros and cons judgment. It is assumed that the judgment condition is the above (1), and the judgment result is that the master device of the A system has a higher priority, and the conclusion that the A system is the optimal stack system is obtained. . Then, the stack interface devices A4 and A5 in the A system know that they belong to the optimal system, and all the devices in the A system do not need to perform the restart operation such as restarting; the stack interface devices B2 and B3 in the B system know that they are in the suboptimal system. Then, the stack information of the A system is flooded and released to the B system.
  • Step 303 After receiving the stack information of the optimal stacking system A, the original master device B1 of the B system compares the running version and other information with the master device A1 of the system A.
  • Step 304 The original master device B1 of the B system notifies the device that belongs to the system B to perform the stacking and merging operation according to the comparison result: if the information such as the running version is consistent, the device that belongs to the system B is notified to perform the service restart operation; If the information is inconsistent, the device that belongs to System B is notified to perform the device restart operation, so that the two stack systems complete the merge.
  • the method for judging the importance of the routing switching device stacking system described in this paper is to ensure that the optimal stacking system is completely unaffected by the method of judging the importance of the system, and only the suboptimal stacking system is to be stacked and merged. ; equipment stability when merging stack systems
  • the method of the present invention is applied to the merging of a plurality of stacking systems composed of routing switching devices, which can reduce the turbulence of the stacking system generated after the stacking system is stacked again, and enhance network stability.

Abstract

A method for a stacking system merging is disclosed. The method includes: the link circuits of the stacking system in mergence are linked; after the linking is changed, the stacking interface equipment distributes the stacking group reporting which marking the stacking information of the stacking system of the linking equipment for the linked equipment; the stacking interface equipment is stacking equipment which carries the operations of switching-off and switching-on; each of the stacking system selects an optimal stacking system according to the stacking information; the optimal stacking system maintains the existing operation, and the equipment of the other stacking system which participating in mergence is combined with the optimal stacking system after performing operation of business restarting or equipment restarting according to the stacking information of the optimal stacking system. When the stacking system is merging, the running of the optimal stacking system is not affected absolutely and the other stacking system joined the optimal stacking system as a new equipment. This solution controls the network simply, and reduces the stacking system turbulence which is generated after stacking of the stacking system, and strengthens the network's stability.

Description

一种堆叠系统的合并方法  Method for merging stacking systems
技术领域 Technical field
本发明涉及数据通讯领域, 尤其涉及一种堆叠系统的合并方法。  The present invention relates to the field of data communications, and in particular, to a method for merging stacking systems.
背景技术 Background technique
路由交换设备是现在因特网上的最重要和核心的组成部分,承担着因特 网的路由传播以及流量转发工作。 随着网络规模的越来越大,路由交换设备 越来越多, 其管理复杂度呈指数级上升。 现在已经有一种手段, 对于组网中 比较相关的一组设备, 可以将其当成一台设备来进行配置管理,这些设备之 间无需进行动态路由协议、 设备互连等相关配置, 使得这一组设备的开销, 例如内存和处理器可以降低到最低。这个方法就是堆叠。整个堆叠系统在外 界看来就是一台设备。一般堆叠系统都包含主设备、备设备和其他普通设备。 堆叠系统的应用大大降低了网络管理和部署的复杂度, 具有很先进的意义。  Routing switching equipment is now the most important and core component of the Internet, and it is responsible for route propagation and traffic forwarding for the Internet. As the network grows larger and larger, there are more and more routing and switching devices, and its management complexity increases exponentially. There is already a means for configuring a group of devices in a network to be related to a group of devices for configuration management. These devices do not need to be configured with dynamic routing protocols, device interconnections, etc. Device overhead, such as memory and processor, can be reduced to a minimum. This method is stacking. The entire stacking system appears to be a device on the outside. Generally, a stack system includes a master device, a standby device, and other common devices. The application of the stacking system greatly reduces the complexity of network management and deployment, and has a very advanced meaning.
随着堆叠系统越来越广泛的应用, 基于某些需要, 可能运转良好的多个 堆叠系统会合并在一起运行。遇到这种情况时,传统的处理方法是人工重启 所有的设备, 使整个堆叠系统进行拓朴建立、 重新选取主设备等流程, 然后 重新稳定。 这个过程耗时很长, 整个堆叠系统的运行都受到影响, 整个堆叠 系统要经由完全不能运行的状态,增加了网络管理的复杂度, 非常不利于网 络的稳定。  As stacking systems become more widely used, multiple stacking systems that may work well will be combined to operate based on certain needs. In this case, the traditional processing method is to manually restart all the devices, so that the entire stacking system can be topology-built, the main device is re-selected, and then re-stabilized. This process takes a long time, and the operation of the entire stacking system is affected. The entire stacking system has to be completely inoperable, which increases the complexity of network management, which is not conducive to the stability of the network.
所以, 堆叠系统在处理多个堆叠系统合并时, 应该基于稳定性高, 业务 影响程度最低的原则, 能在堆叠系统仍然保持运行的情况下, 进行堆叠系统 的合并,合并后的堆叠系统能即刻投入运行,从而使堆叠系统合并带来的系 统影响能减少到最低, 利于整个网络的稳定。 发明内容  Therefore, when stacking multiple stacking systems, the stacking system should be based on the principle of high stability and lowest level of business impact. The stacking system can be merged while the stacking system is still running. The combined stacking system can be instantly Put into operation, so that the system impact brought by the consolidation of the stack system can be minimized, which is conducive to the stability of the entire network. Summary of the invention
本发明要解决的技术问题是提供一种堆叠系统的合并方法,保证堆叠系 统受合并影响的程度降到最低,从而增强堆叠系统的稳定性, 减少了网络的  The technical problem to be solved by the present invention is to provide a method for merging stacking systems to ensure that the stacking system is minimized by the merger, thereby enhancing the stability of the stacking system and reducing the network's
1 180700383 动荡。 1 180700383 turmoil.
为了解决上述问题, 本发明提供了一种堆叠系统的合并方法, 包括: In order to solve the above problems, the present invention provides a method for merging stacking systems, including:
A、 将参与合并的堆叠系统的链路链接起来; 堆叠接口设备在链接变化 后向所链接的设备发布标识本设备所在堆叠系统堆叠信息的堆叠组播报文; 所述堆叠接口设备为发生链接断开和接通操作的堆叠设备; A. Linking the links of the stacking system to be merged; the stacking interface device advertises the stacking multicast packets of the stacking system information of the stacking device of the device to the linked device after the link is changed; Disconnecting and turning on the stacked device;
B、 各堆叠系统根据堆叠信息选出最优堆叠系统;  B. Each stacking system selects an optimal stacking system according to the stacking information;
C、 最优堆叠系统保持原有运转; 其它参与合并的堆叠系统里的设备根 据最优堆叠系统的堆叠信息进行业务重启操作或设备重启操作后,与最优堆 叠系统融合。  C. The optimal stacking system maintains the original operation. The devices in the other stacking systems are merged with the optimal stacking system after performing service restart operations or device restart operations based on the stacking information of the optimal stacking system.
进一步地, 所述堆叠信息包括以下信息中的一个或任意组合: 堆叠系统 的主设备优先级、 MAC地址、 运行版本。  Further, the stack information includes one or any combination of the following information: a master device priority, a MAC address, and a running version of the stack system.
进一步地,所述最优堆叠系统是指满足以下条件之一或其任意组合的堆 叠系统:  Further, the optimal stacking system refers to a stacking system that satisfies one of the following conditions or any combination thereof:
31、该堆叠系统主设备的优先级比其它参与合并的堆叠系统主设备的优 先级都高;  31. The priority of the master device of the stacking system is higher than that of other stacking system master devices participating in the merge;
32、 该堆叠系统的主设备的 MAC地址比其它参与合并的堆叠系统的主 设备的 MAC地址都大或都小;  32. The MAC address of the master device of the stack system is larger or smaller than the MAC address of the master device of the other stacking systems participating in the merge;
33、该堆叠系统的主设备的运行版本比其它参与合并的堆叠系统的主设 备的运行版本都高。  33. The running version of the main device of the stacking system is higher than the running version of the main device of the other stacked stacking systems.
进一步地, 所述步骤 C具体包括: 最优堆叠系统保持原有运转; 其它参 与合并的堆叠系统中的堆叠接口设备将最优堆叠系统的堆叠信息洪泛发布 到本堆叠系统中;所述其它参与合并的堆叠系铳的主设备收到最优堆叠系统 的堆叠信息后, 与最优堆叠系统主设备的运行版本进行比较; 如果运行版本 一致,则命令本堆叠系统中所有设备仅进行业务重启操作后加入到最优堆叠 系统中;否则命令本堆叠系统中所有设备进行设备重启操作后加入到最优堆 叠系统中。  Further, the step C includes: the optimal stacking system maintains the original operation; the stack interface device in the stack system that is involved in the merge is flooded and distributed to the stacking system; After the stacking information of the stacking system is received, the master device of the stacking system is compared with the running version of the master device. If the running version is the same, all devices in the stack are restarted. After the operation, the device is added to the optimal stacking system. Otherwise, all devices in the stack are added to the optimal stacking system after the device is restarted.
进一步地,设备进行业务重启操作是指: 该设备在拓朴上作为新加入最 优堆叠系统的设备, 并在拓朴加入成功后直接重启业务操作。  Further, the service restarting operation of the device means that the device is added to the device of the optimal stacking system on the topology, and the service operation is directly restarted after the topology is successfully added.
2 180700383 进一步地, 设备进行设备重启操作是指: 该设备重新启动后, 重新加入 到最优堆叠系统中,并从最优堆叠系统的主设备处下载一致的运行版本以及 其他堆叠信息。 2 180700383 Further, the device restarts the device. After the device is restarted, the device is re-joined to the optimal stack system, and the consistent running version and other stack information are downloaded from the master device of the optimal stacking system.
进一步地, 所述步骤 A前还包括: 当堆叠系统建立后, 各设备保存所 在堆叠系统的堆叠信息。  Further, before the step A, the device further includes: after the stacking system is established, each device saves stack information of the stacking system.
采用本发明所述的堆叠系统的合并方法, 能使堆叠系统合并时, 次优的 堆叠系统作为新加设备融入到最优堆叠系统中,最优的堆叠系统运行完全不 受影响, 所有处理流程自动完成, 网络控制简单, 最大限度的降低了堆叠系 统再次堆叠后所产生的堆叠系统动荡, 极大的增强了网络稳定性。 附图概述  With the merging method of the stacking system of the present invention, when the stacking system is merged, the sub-optimal stacking system is integrated into the optimal stacking system as a newly added device, and the optimal stacking system operation is completely unaffected, and all processing processes are completed. Auto-completion, simple network control, minimizes stack system turbulence caused by stacking systems again, greatly enhancing network stability. BRIEF abstract
图 1是本发明应用实例中两个准备合并的堆叠系统示意图;  1 is a schematic diagram of two stacking systems ready to be merged in an application example of the present invention;
图 2是应用实例中刚进行合并的次优堆叠系统处理情况示意图; 图 3是本发明应用实例的堆叠系统的合并方法的流程图。 本发明的较佳实施方式  2 is a schematic diagram of a processing situation of a sub-optimal stacking system that has just been merged in an application example; and FIG. 3 is a flowchart of a method for merging a stacking system according to an application example of the present invention. Preferred embodiment of the invention
下面将结合附图及实施例对本发明的技术方案进行更详细的说明。  The technical solution of the present invention will be described in more detail below with reference to the accompanying drawings and embodiments.
本发明主要思想是: 使得路由交换设备形成堆叠系统后, 多个堆叠系统 合并时, 能基于既定原则, 根据优先级、 堆叠设备 MAC ( Media Access Control, 介质访问控制)等类似的信息, 对处于次优或者重要性低的堆叠系 统进行自动合并; 处于最优或者重要性高的堆叠系统仍然保持正常运转, 不 必进行重启等操作处理;而处于次优或者重要性低的堆叠系统与重要性高的 堆叠系统进行信息比较后发出控制命令,或者重新启动,或者保持运转状态, 仅仅将承载业务重新启动即可。应用这样的实现方法,使合并的堆叠系统中 最优或者重要性高的堆叠系统运行完全不受到影响, 增强了网络稳定性。  The main idea of the present invention is: After the routing switching device is formed into a stacking system, when multiple stacking systems are merged, the stacking system can be based on the priority, the MAC device (Media Access Control), and the like. Sub-optimal or low-priority stacking systems are automatically merged; stacking systems that are optimal or of high importance remain in normal operation without having to perform operations such as restarts; and stacking systems that are suboptimal or of low importance are of high importance After the information is compared, the stacking system issues a control command, or restarts, or keeps running, and only restarts the bearer service. Applying such an implementation method, the optimal or high-priority stacking system in the combined stacking system is completely unaffected, and the network stability is enhanced.
上述的优先级可以由系统自动完成设置, 即在默认情况下, 所有堆叠设 备的优先级是一致的。但是堆叠系统的设备重要性一般都是有区别的, 所以 其优先级也有区别, 比如对某些位置重要, 或者稳定性非常好的设备, 可以  The above priorities can be set automatically by the system, that is, by default, the priority of all stacked devices is the same. However, the device importance of a stacking system is generally different, so its priority is also different. For example, it is important for certain locations, or devices with very good stability.
3 180700383 对其优先级进行人为配置,使其优先级优于其他设备,从而该设备可当选主 设备, 便于堆叠系统的管理。 3 180700383 The priority is manually configured to give it a better priority than other devices, so that the device can be elected as the master device, which facilitates the management of the stacking system.
本发明的堆叠系统的合并方法包括以下步骤: The method of merging the stacking system of the present invention comprises the following steps:
A、 当堆叠系统建立后, 各设备保存所在堆叠系统的堆叠信息。  A. After the stacking system is set up, each device saves the stack information of the stacking system.
所述堆叠信息包括以下信息中的一个或任意组合:本设备所在堆叠系统 主设备的优先级、 MAC地址、 运行版本等。  The stack information includes one or any combination of the following information: the priority of the master device, the MAC address, the running version, and the like of the stacking system where the device is located.
所述主设备的优先级可以是系统级或设备级的优先级。  The priority of the master device may be a system level or a device level priority.
所述主设备的优先级的确定可以由系统自动完成,也可以进行人为的指 定, 比如可以按照设备的重要性来确定优先级。  The priority of the master device can be determined automatically by the system or manually. For example, the priority can be determined according to the importance of the device.
B、 堆叠系统开始合并时, 先将参与合并的堆叠系统的链路链接起来。 堆叠系统中的设备检测到堆叠链接方式变化,则向所链接的设备发送标识本 设备所在堆叠系统堆叠信息的堆叠组播报文。  B. When the stacking system starts to merge, link the links of the stacking systems that are involved in the merge. If the device in the stack detects a change in the stacking mode, the device sends a stack multicast packet to the device that is connected to the stack.
具体步骤为: 堆叠系统开始合并时, 会将一些设备间的链接断开, 并使 它们和另一堆叠系统中的设备链接;将发生链接断开和接通操作的堆叠设备 称为堆叠接口设备,这些设备在链接情况发生变化后向所链接的设备发布标 识本设备所在堆叠系统堆叠信息的堆叠组播报文。  The specific steps are as follows: When the stacking system starts to merge, the links between some devices are disconnected and they are linked with the devices in another stacking system; the stacking device that will cause the link disconnection and the closing operation is called a stack interface device. After the link status changes, these devices advertise the stack multicast packets that identify the stack system stack information of the device to the connected device.
C、 根据互相发送的堆叠信息, 对参与合并的各堆叠系统进行评估, 选 出最优堆叠系统。所述最优堆叠系统是指满足以下条件之一或其任意组合的 堆叠系统:  C. According to the stack information sent by each other, evaluate the stacking systems participating in the merge and select the optimal stacking system. The optimal stacking system refers to a stacking system that satisfies one of the following conditions or any combination thereof:
( 1 )该堆叠系统主设备的优先级比其它参与合并的堆叠系统主设备的 优先级都高;  (1) The priority of the master device of the stacking system is higher than that of the other stacking system master devices participating in the merge;
( 2 )该堆叠系统的主设备的 MAC地址比其它参与合并的堆叠系统的 主设备的 MAC地址都大或都小;  (2) The MAC address of the master device of the stacking system is larger or smaller than the MAC address of the master device of the other stacking systems participating in the merge;
( 3 )该堆叠系统的主设备的运行版本比其它参与合并的堆叠系统的主 设备的运行版本都高。  (3) The running version of the master device of the stacking system is higher than the running version of the master device of the other stacking systems participating in the merge.
以上判断条件可以组合使用, 比如当两个堆叠系统主设备优先级一致  The above judgment conditions can be used in combination, for example, when the priorities of the master devices of the two stack systems are the same.
4 180700383 时, 将通过 MAC地址等信息来决定哪个堆叠系统为最优堆叠系统。 4 180700383 At the same time, information such as the MAC address is used to determine which stacking system is the optimal stacking system.
需要指出的是, 如果一个设备发布的报文中只有本设备的信息, 则说明 该设备是新加入堆叠系统的设备, 而非系统合并; 此时就按照现有技术中新 加入设备的方式进行操作即可。  It should be noted that if the device advertises only the information of the device, it indicates that the device is newly added to the stack system, rather than the system merge; Just operate.
D、 所述最优堆叠系统保持自身原有的运转不变; 其它参与合并的堆叠 系统根据最优堆叠系统的堆叠信息进行合并操作, 具体为:  D. The optimal stacking system keeps its original operation unchanged; the other stacking systems that participate in the merge perform the merge operation according to the stacking information of the optimal stacking system, specifically:
所述其它参与合并的堆叠系统中的堆叠接口设备将最优堆叠系统的堆 叠信息洪泛发布到本堆叠系统中;所述其它参与合并的堆叠系统的主设备收 到最优堆叠系统的堆叠信息后, 与最优堆叠系统的主设备作运行版本的比 较; 如果本主设备运行版本与最优堆叠系统的主设备一致, 则命令本堆叠系 统中所有设备仅仅进行业务重启操作,也就是说该堆叠系统的设备在拓朴上 是新加入最优堆叠系统的设备,但实际上设备可以不用重启, 而是在拓朴加 入成功后直接重启业务操作, 从而加入到最优堆叠系统中; 如果不一致, 则 命令本堆叠系统中所有设备进行设备重启操作,该堆叠系统中的设备重新启 动后, 重新加入到最优堆叠系统中, 并从最优堆叠系统的主设备处下载一致 的运行版本以及其他信息,从而保持基本信息与最优堆叠系统的一致性,加 入到最优堆叠系统中。  The stack interface device of the other stacking system that has been merged is used to flood the stacking information of the optimal stacking system to the stacking system. The master device of the other stacking system that receives the merged stack receives the stacking information of the optimal stacking system. If the running version of the master device is the same as that of the master device in the optimal stacking system, all the devices in the stacking system are only required to perform the service restarting operation. The device in the stacking system is the device that is added to the optimal stacking system on the top of the topology. However, the device can be restarted after the topology is successfully added, and then added to the optimal stacking system. Then, all the devices in the stack are restarted. After the devices in the stack are restarted, they are added to the optimal stack and the consistent running version and other devices are downloaded from the master of the optimal stack. Information to maintain consistency between the basic information and the optimal stacking system Into the optimal stacking system.
上述是以运行版本为判断标准进行举例,实际应用中也可以用其它判断 标准, 比如用户配置信息版本等和运行相关的信息、或其它信息与运行版本 信息的结合; 这些可以根据实际需求灵活确定, 此处不做限制。  The above is an example of using the running version as a criterion. In actual applications, other criteria such as the version of the user configuration information and the related information, or other information and running version information can be used. These can be flexibly determined according to actual needs. , there are no restrictions here.
E、 各参与合并的堆叠系统完全融合, 成为一个堆叠系统。  E. The stacked systems participating in the merger are fully integrated and become a stacking system.
除最优堆叠系统以外的其它参与合并的堆叠系统成为最优堆叠系统的 新加设备;最优堆叠系统的主设备收集到所述其它参与合并的堆叠系统的所 有设备信息, 并加入成为本堆叠系统的成员信息。  The stacking system that participates in the consolidation is the newly added device of the stacking system. The master device of the optimal stacking system collects all the device information of the other stacked stacking systems and joins the stacking device. Member information for the system.
从此, 各参与合并的堆叠系统合并成为一个堆叠系统, 对外表现成一个 增加了接口的路由交换设备; 最优堆叠系统中的原有设备, 其运行完全不受 影响。  As a result, the stacking systems that participate in the consolidation are merged into one stacking system, which is externally represented as a routing switching device with an added interface. The original equipment in the optimal stacking system is completely unaffected.
5 180700383 下面用本发明的一个应用实例进一步加以说明。 5 180700383 The following is further illustrated by an application example of the present invention.
本应用实例以两个堆叠系统合并时的流程为例进行说明,多于两个堆叠 系统合并类似该流程。  This application example is described by taking the process of combining two stacking systems as an example. More than two stacking systems are merged similar to the process.
两个参与合并的堆叠系统分别表示为 A系统和 B系统, A或 B后面的 数字用于表示已经分配好的堆叠设备号; A系统的主设备是 Al, B系统的 主设备是 B1 ; 这两个堆叠系统本来各自运行良好, 现在出于网络规划的需 要进行合并,如图 1所示, 断开 A系统中的设备 A4和设备 A5之间的链接, 断开 B系统中设备 B2和设备 B3之间的链接; 使设备 A4和设备 B2相连, 设备 A5和设备 B3相连; 从链路上将两个堆叠系统链接起来。 合并后的堆 叠系统如图 2所示。  The two stacking systems participating in the merge are denoted as A system and B system respectively, the numbers following A or B are used to indicate the number of stacked device numbers that have been allocated; the master device of system A is Al, and the master device of system B is B1; The two stacking systems were originally running well, and now merged for network planning. As shown in Figure 1, disconnect the link between device A4 and device A5 in system A, and disconnect device B2 and device in system B. Link between B3; Connect device A4 to device B2, device A5 and device B3; link the two stack systems from the link. The combined stacking system is shown in Figure 2.
下面的步骤如图 3所示:  The following steps are shown in Figure 3:
步骤 301、 堆叠接口设备为设备 A4、 设备 A5、 设备 B2和设备 B3, 它 们通过互相发送的堆叠报文得到对方所在堆叠系统的堆叠信息。  Step 301: The stack interface device is the device A4, the device A5, the device B2, and the device B3. The stack information of the stack system is obtained by the stacking packets sent by each other.
步骤 302、 堆叠接口设备进行系统优劣判断, 假设判断条件是上文中的 奈件( 1 ), 判断结果是 A系统的主设备优先级更高, 则得出 A系统是最优 堆叠系统的结论。则 A系统中的堆叠接口设备 A4、 A5得知自身属于最优系 统, A系统的所有设备都无需进行重启等合并操作; B系统中的堆叠接口设 备 B2、 B3得知自身处于次优系统, 则将 A系统的堆叠信息洪泛发布到 B 系统中。  Step 302: The stack interface device performs the system pros and cons judgment. It is assumed that the judgment condition is the above (1), and the judgment result is that the master device of the A system has a higher priority, and the conclusion that the A system is the optimal stack system is obtained. . Then, the stack interface devices A4 and A5 in the A system know that they belong to the optimal system, and all the devices in the A system do not need to perform the restart operation such as restarting; the stack interface devices B2 and B3 in the B system know that they are in the suboptimal system. Then, the stack information of the A system is flooded and released to the B system.
步骤 303、 B系统的原有主设备 B1收到最优堆叠系统 A系统的堆叠信 息后, 将自身的运行版本等信息与 A系统的主设备 A1进行比较。  Step 303: After receiving the stack information of the optimal stacking system A, the original master device B1 of the B system compares the running version and other information with the master device A1 of the system A.
步骤 304、 B系统的原有主设备 B1根据比较结果通知原属于系统 B的 设备进行堆叠合并操作: 如果运行版本等信息一致, 则通知原属于系统 B 的设备进行业务重启操作; 如果版本等信息不一致, 则通知原属于系统 B 的设备进行设备重启操作, 从而使两个堆叠系统完成合并。  Step 304: The original master device B1 of the B system notifies the device that belongs to the system B to perform the stacking and merging operation according to the comparison result: if the information such as the running version is consistent, the device that belongs to the system B is notified to perform the service restart operation; If the information is inconsistent, the device that belongs to System B is notified to perform the device restart operation, so that the two stack systems complete the merge.
采用本文所述的路由交换设备堆叠系统的合并实现方法,通过判断系统 重要性的方法,使处于最优的堆叠系统运行完全不受影响, 仅仅是处于次优 的堆叠系统要进行堆叠合并的操作;使堆叠系统合并时所带来的设备稳定性  The method for judging the importance of the routing switching device stacking system described in this paper is to ensure that the optimal stacking system is completely unaffected by the method of judging the importance of the system, and only the suboptimal stacking system is to be stacked and merged. ; equipment stability when merging stack systems
6 180700383 影响降低到最小;所有处理流程自动完成,极大的降低了网络控制的复杂度, 增强了网络的稳定性。 6 180700383 The impact is reduced to a minimum; all processing processes are automatically completed, greatly reducing the complexity of network control and enhancing the stability of the network.
当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的 形, 但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。 It is a matter of course that the invention may be embodied in various other forms without departing from the spirit and scope of the invention.
工业实用性 Industrial applicability
本发明方法应用于由路由交换设备组成的多个堆叠系统的合并,可降低 堆叠系统再次堆叠后所产生的堆叠系统动荡, 增强网络稳定性。  The method of the present invention is applied to the merging of a plurality of stacking systems composed of routing switching devices, which can reduce the turbulence of the stacking system generated after the stacking system is stacked again, and enhance network stability.
180700383 180700383

Claims

权 利 要 求 书  Claims
1、 一种堆叠系统的合并方法, 其特征在于, 包括:  A method for merging stacking systems, comprising:
A、 将参与合并的堆叠系统的链路链接起来; 堆叠接口设备在链接变化 后向所链接的设备发布标识本设备所在堆叠系统堆叠信息的堆叠组播报文; 所述堆叠接口设备为发生链接断开和接通操作的堆叠设备; A. Linking the links of the stacking system to be merged; the stacking interface device advertises the stacking multicast packets of the stacking system information of the stacking device of the device to the linked device after the link is changed; Disconnecting and turning on the stacked device;
B、 各堆叠系统根据堆叠信息选出最优堆叠系统;  B. Each stacking system selects an optimal stacking system according to the stacking information;
C、 最优堆叠系统保持原有运转; 其它参与合并的堆叠系统里的设备根 据最优堆叠系统的堆叠信息进行业务重启操作或设备重启操作后,与最优堆 叠系统融合。 2、 如权利要求 1所述的合并方法, 其特征在于,  C. The optimal stacking system maintains the original operation. The devices in the other stacking systems are merged with the optimal stacking system after performing service restart operations or device restart operations based on the stacking information of the optimal stacking system. 2. The merging method according to claim 1, wherein
所述堆叠信息包括以下信息中的一个或任意组合:堆叠系统的主设备优 先级、 MAC地址、 运行版本。  The stack information includes one or any combination of the following information: a master device priority, a MAC address, and a running version of the stack system.
3、 如权利要求 1或 2所述的合并方法, 其特征在于, 3. The merging method according to claim 1 or 2, characterized in that
所述最优堆叠系统是指满足以下条件之一或其任意组合的堆叠系统: 31、该堆叠系统主设备的优先级比其它参与合并的堆叠系统主设备的优 先级都高;  The optimal stacking system refers to a stacking system that satisfies one of the following conditions or any combination thereof: 31. The priority of the stacking system master device is higher than that of other stacking system master devices participating in the merge;
32、 该堆叠系统的主设备的 MAC地址比其它参与合并的堆叠系统的主 设备的 MAC地址都大或都小;  32. The MAC address of the master device of the stack system is larger or smaller than the MAC address of the master device of the other stacking systems participating in the merge;
33、该堆叠系统的主设备的运行版本比其它参与合并的堆叠系统的主设 备的运行版本都高。  33. The running version of the main device of the stacking system is higher than the running version of the main device of the other stacked stacking systems.
4、 如权利要求 1或 2所述的合并方法, 其特征在于, 4. The merging method according to claim 1 or 2, characterized in that
所述步骤 C具体包括: 最优堆叠系统保持原有运转;其它参与合并的堆 叠系统中的堆叠接口设备将最优堆叠系统的堆叠信息洪泛发布到本堆叠系 统中;所述其它参与合并的堆叠系统的主设备收到最优堆叠系统的堆叠信息 后, 与最优堆叠系统主设备的运行版本进行比较; 如果运行版本一致, 则命 令本堆叠系统中所有设备仅进行业务重启操作后加入到最优堆叠系统中;否  The step C includes: the optimal stacking system maintains the original operation; the stack interface device in the stacking system that is involved in the merge is flooded and distributed to the stacking system; After the master device of the stack system receives the stack information of the optimal stack system, it compares with the running version of the master device. If the running version is the same, all the devices in the stack are added to the service restart. Optimal stacking system; no
8 180700383 则命令本堆叠系统中所有设备进行设备重启操作后加入到最优堆叠系统中。 8 180700383 Then, all devices in the stack are added to the optimal stack system after the device is restarted.
5、 如权利要求 4所述的合并方法, 其特征在于, 5. The merging method according to claim 4, wherein
设备进行业务重启操作是指:该设备在拓朴上作为新加入最优堆叠系统 的设备, 并在拓朴加入成功后直接重启业务操作。  The device restarts the service. The device is added to the optimal stacking system on the topology. After the topology is successfully added, the device restarts the service.
6、 如权利要求 4所述的合并方法, 其特征在于, 6. The merging method according to claim 4, wherein
设备进行设备重启操作是指: 该设备重新启动后, 重新加入到最优堆叠 系统中,并从最优堆叠系统的主设备处下载一致的运行版本以及其他堆叠信 息。  After the device is restarted, the device restarts and joins the optimal stack system and downloads the consistent running version and other stack information from the master device of the optimal stacking system.
7、 如权利要求 1所述的合并方法, 其特征在于, 7. The merging method according to claim 1, wherein
所述步骤 A前还包括: 当堆叠系统建立后, 各设备保存所在堆叠系统 的堆叠信息。  The step A includes: After the stacking system is established, each device saves stack information of the stacking system.
9 180700383 9 180700383
PCT/CN2007/003919 2007-11-12 2007-12-29 Method for stacking system merging WO2009062351A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2007101881834A CN101163077B (en) 2007-11-12 2007-11-12 Combination method of stacked system
CN200710188183.4 2007-11-12

Publications (1)

Publication Number Publication Date
WO2009062351A1 true WO2009062351A1 (en) 2009-05-22

Family

ID=39297911

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/003919 WO2009062351A1 (en) 2007-11-12 2007-12-29 Method for stacking system merging

Country Status (2)

Country Link
CN (1) CN101163077B (en)
WO (1) WO2009062351A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163077B (en) * 2007-11-12 2010-12-08 中兴通讯股份有限公司 Combination method of stacked system
CN101355520B (en) * 2008-09-12 2010-08-25 杭州华三通信技术有限公司 Method for preventing flux in stack from being interrupted and stacking equipment
CN101883045B (en) * 2010-04-29 2013-01-30 北京星网锐捷网络技术有限公司 Method, system and device for combining stacking systems
CN103944838B (en) * 2013-01-22 2017-07-14 新华三技术有限公司 Pile system and its implementation
CN109005111B (en) * 2018-08-24 2021-07-23 新华三技术有限公司 IRF splitting and merging method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6785272B1 (en) * 1999-06-24 2004-08-31 Allied Telesyn, Inc. Intelligent stacked switching system
CN1885810A (en) * 2006-06-13 2006-12-27 杭州华为三康技术有限公司 Equipment topology structure forming method in stack system
CN101068250A (en) * 2007-06-08 2007-11-07 杭州华三通信技术有限公司 Network equipment ID distributing method and device
CN101163077A (en) * 2007-11-12 2008-04-16 中兴通讯股份有限公司 Combination method of stacked system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6785272B1 (en) * 1999-06-24 2004-08-31 Allied Telesyn, Inc. Intelligent stacked switching system
CN1885810A (en) * 2006-06-13 2006-12-27 杭州华为三康技术有限公司 Equipment topology structure forming method in stack system
CN101068250A (en) * 2007-06-08 2007-11-07 杭州华三通信技术有限公司 Network equipment ID distributing method and device
CN101163077A (en) * 2007-11-12 2008-04-16 中兴通讯股份有限公司 Combination method of stacked system

Also Published As

Publication number Publication date
CN101163077A (en) 2008-04-16
CN101163077B (en) 2010-12-08

Similar Documents

Publication Publication Date Title
US9769054B2 (en) Network topology discovery method and system
US9294343B2 (en) System and method using RSVP hello suppression for graceful restart capable neighbors
CN101304340B (en) Method and apparatus for monitoring resource condition as well as communication network
US20060092849A1 (en) Stack manager protocol with automatic set up mechanism
CN1937521A (en) Retention of a stack address during primary master failover
JPH11163854A (en) Data communication method
EP2731313A1 (en) Distributed cluster processing system and message processing method thereof
WO2017000832A1 (en) Mac address synchronization method, device and system
CN105656645A (en) Decision making method and device for fault processing of stacking system
CN104301226A (en) Designated routing bridge (DRB) election method, equipment and system
US20130132499A1 (en) Method and system for auto-configuartion, and network node
WO2009062351A1 (en) Method for stacking system merging
EP2728797B1 (en) Message processing method, device and system
JP2008502234A (en) How to achieve route forwarding in a network
WO2010048875A1 (en) Method, device of cluster system extension and cluster system
CN110768823A (en) Software defined network topology discovery method based on LLDP
CN101562576A (en) Route distribution method and equipment thereof
JP4467500B2 (en) Network relay device
CN102769571B (en) Graceful restart realization method and equipment
WO2016065925A1 (en) Controller replacing method and device
EP2464062B1 (en) Method for switch device establishing topology structure and switch device
CN111163003A (en) Topology discovery method of wireless multi-control-domain SDN
CN106209633A (en) A kind of message forwarding method and device
CN101102231B (en) An automatic discovery method and device of PPP link routing device
US11811900B2 (en) Packet processing method and first network device

Legal Events

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

Ref document number: 07855919

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

Country of ref document: EP

Kind code of ref document: A1