WO2012174957A1 - Distributed link aggregation method and node therefor - Google Patents

Distributed link aggregation method and node therefor Download PDF

Info

Publication number
WO2012174957A1
WO2012174957A1 PCT/CN2012/075428 CN2012075428W WO2012174957A1 WO 2012174957 A1 WO2012174957 A1 WO 2012174957A1 CN 2012075428 W CN2012075428 W CN 2012075428W WO 2012174957 A1 WO2012174957 A1 WO 2012174957A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
port
aggregation
link aggregation
network
Prior art date
Application number
PCT/CN2012/075428
Other languages
French (fr)
Chinese (zh)
Inventor
吴少勇
魏月华
敖婷
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012174957A1 publication Critical patent/WO2012174957A1/en

Links

Classifications

    • 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
    • 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

Definitions

  • the present invention relates to network communication technologies, and in particular, to a method for distributed link aggregation and a node for implementing the method.
  • the Link Aggregation technology logically aggregates multiple physical links between two nodes into one link, and the respective aggregate link ports of the two nodes form a logical port. That is, the aggregation port.
  • the aggregation port can be considered as a port when the service flow is forwarded. Therefore, link aggregation is also called port aggregation.
  • Link aggregation technology aggregates multiple links with smaller bandwidth into larger-band links, making full use of link resources. As the data of the network grows larger, network nodes need more transmission bandwidth. And link aggregation technology has the advantage of facilitating network maintenance and management, so link aggregation technology has been widely used.
  • nodes S1 and S2 run the link aggregation protocol.
  • node S1 sends and receives node S2 through port 1.
  • the link aggregation message, or the link aggregation message of the node S2 is sent and received through the port 2, and the node S2 sends and receives the link aggregation message of the node S1 through the port 3, or sends and receives the chain of the node S1 through the port 4.
  • Road aggregation message is the link aggregation message.
  • the node S1 aggregates the physical ports 1 and 2 into a successful aggregation port group, that is, the node S1 uses the physical ports 1 and 2 as the aggregation port group of the aggregation port.
  • the node S2 aggregates the physical ports 3 and 4 into a successful aggregation port group, that is, the node S2 uses the physical ports 3 and 4 as members of the successful aggregation port group of the aggregation port.
  • the node S1 When the node S1 needs to send the service flow to the node S2, the node S1 forwards the service flow from a physical port in the successful aggregation port group according to the characteristics of the service flow, and based on a certain algorithm, so between the nodes S1 and S2
  • the service flow can be shared on each physical port in the successfully aggregated port group.
  • the link bandwidth between the two nodes is twice that of a single physical port. That is, the bandwidth of the aggregated port is the sum of the aggregated physical ports.
  • the traditional link aggregation technology mainly solves the problem of aggregation of multiple physical links between two nodes. That is, the interconnection nodes between the two networks have only one scenario, and cannot be applied to the mutual interaction between the two networks. There are multiple scenes in the connected node. As shown in Figure 2, the two nodes S1 and S3 of the network A are interconnected with the node S2 of the network B.
  • the network needs to perform link aggregation on the nodes S1 and S3, according to the traditional link aggregation technology, only the network can be used.
  • the nodes in node A are respectively aggregated with the node S2, and the nodes S1 and S3 cannot be aggregated with the node S2. Therefore, the interconnection link between the network A and the network B is two links instead of one aggregated link. Link aggregation for distributed networks is not possible.
  • the technical problem to be solved by the present invention is to provide a distributed link aggregation method and a node for implementing the same, which provides a possibility for using link aggregation technology in a distributed network.
  • the present invention provides a distributed link aggregation method, which includes: after a node in a network is successfully aggregated with a node in another network, the successful aggregation port is added to the successful aggregation saved by the node.
  • the port group advertises the link aggregation success information to other nodes in the network.
  • the node that receives the link aggregation success information updates the successful aggregation port group saved by the node according to the link aggregation success information.
  • the link aggregation success information includes port information of the successfully aggregated port.
  • the method further includes: successfully aggregating a port failure event in the port group, the node to which the port belongs removes the port from the successfully aggregated port group, and advertises the link aggregation failure information to other nodes in the network;
  • the node that fails the link aggregation update information updates the successful aggregation port group saved by the local node according to the link aggregation failure information.
  • the failure event comprises one or more of the following events: port failure, port mode change, port configuration change.
  • the method further includes: when the node that performs link aggregation in the network sends the service flow through the aggregation link, the service flow is successfully aggregated according to the successfully aggregated port group saved by the node. A port recorded in the port group is sent out.
  • the present invention further provides a node for implementing distributed link aggregation, which includes an aggregation module, a recording module, a notification module, and an update module, where:
  • the aggregation module is configured to: perform link aggregation with nodes in other networks;
  • the recording module is configured to: after the aggregation of the aggregation module and the node in the other network is successful, add the successfully aggregated port to the successfully aggregated port group saved by the local node;
  • the notification module is configured to: advertise the link aggregation success information to other nodes in the network; the update module is configured to: after receiving the link aggregation success information, update the success of the node according to the link aggregation success information. Aggregate port group.
  • the link aggregation success information includes port information of the successfully aggregated port.
  • the recording module is further configured to: when the port in the successfully aggregated port group fails, delete the port from the successfully aggregated port group;
  • the notification module is further configured to: notify the other nodes in the network of the link aggregation failure information; the update module is further configured to:: the node that receives the link aggregation failure information updates the node according to the link aggregation failure information. Successful aggregation of port groups.
  • the failure event comprises one or more of the following events: port failure, port mode change, port configuration change.
  • the node further includes a transmission module, configured to: when the service flow is sent through the aggregation link, send the service flow from a port recorded in the successfully aggregated port group according to the saved successful aggregation port group.
  • a transmission module configured to: when the service flow is sent through the aggregation link, send the service flow from a port recorded in the successfully aggregated port group according to the saved successful aggregation port group.
  • each node when each link is aggregated, each node advertises successful link aggregation port information to the network. Finally, each node can learn all the successfully aggregated port information in the network and record it as The port group was successfully aggregated.
  • the network forwards the service flow from a physical port in the successful aggregation port according to the characteristics of the service flow and based on a certain algorithm, so the service flow between the networks Able to share In the physical port of the successfully aggregated port group, the link bandwidth between the two networks is the sum of the aggregated physical ports.
  • the embodiment of the present invention implements the link aggregation technology in the distributed network, and expands the link aggregation.
  • the application field of technology enables distributed networks to take advantage of link aggregation to increase link bandwidth and facilitate network maintenance and management.
  • FIG. 1 is a schematic diagram of a conventional link aggregation technology
  • FIG. 2 is a schematic diagram of link aggregation of a distributed network
  • FIG. 3 is a flowchart of distributed link aggregation according to an embodiment of the present invention.
  • FIG. 4 is a schematic view of a first example of the present invention.
  • Figure 5 is a schematic illustration of Example 2 of the present invention.
  • the nodes in the network After the nodes in the network are successfully aggregated with the nodes in the other network, the nodes that are successfully aggregated are added to the successful aggregation port group saved by the local node, and the link aggregation success information is advertised to other nodes in the network.
  • the node that aggregates the success information updates the successful aggregation port group saved by the local node according to the link aggregation success information.
  • Step 301 A node in the first network and a node in the second network connected to the node perform link aggregation.
  • Step 302 After the link aggregation is successful, the node in the first network adds the successfully aggregated port to the successfully aggregated port group, and advertises the link aggregation success information to other nodes in the first network.
  • the link is successfully aggregated.
  • the information includes the port information of the successfully aggregated port.
  • Step 303 After receiving the link aggregation success information, the other nodes in the first network join the successfully aggregated port to the successfully aggregated port group saved by the local node.
  • the above method is repeated.
  • the nodes in the first network and the second network complete the link aggregation and advertisement
  • the nodes in the network record the successfully aggregated port information of the node and other nodes, that is, the nodes in the same network.
  • the content of the successfully aggregated port group saved on the same is the same.
  • the node When a port in a successful aggregation port group of a node in the network (that is, a port that has been successfully aggregated) fails, the node deletes the port from the successfully aggregated port group and advertises the port link to other nodes in the network. Aggregation failure information. After receiving the link aggregation failure information, the other nodes in the network update the successful aggregation port group saved by the node according to the link aggregation failure information, that is, the port that failed the event is deleted from the successful aggregation port group.
  • the link aggregation failure information contains the port information of the port where the failure event occurred. Failure events include one or more of the following: port failure, port mode change, port configuration change.
  • a node that performs link aggregation on the network sends a service flow through the aggregation link, it sends the service flow from a port recorded in the successful aggregation port group according to the successfully aggregated port group saved in this node.
  • the nodes implementing the above method include an aggregation module, a recording module, a notification module, and an update module, where:
  • An aggregation module configured to perform link aggregation with nodes in other networks
  • a recording module configured to add the successfully aggregated port to the successfully aggregated port group saved by the node after the aggregation of the link between the aggregation module and the other network is successful;
  • An advertisement module configured to advertise link aggregation success information to other nodes in the network
  • the update module is configured to: after receiving the link aggregation success information, update the successfully aggregated port group saved by the node according to the link aggregation success information.
  • update the successfully aggregated port group saved by the node according to the link aggregation success information is configured to: after receiving the link aggregation success information, update the successfully aggregated port group saved by the node according to the link aggregation success information.
  • the recording module is further configured to delete the port from the successfully aggregated port group when the port in the port group is successfully aggregated;
  • the notification module is further configured to notify the other nodes in the network of the link aggregation failure information;
  • the update module is further configured to: when the node that receives the link aggregation failure information updates the successful aggregation port group saved by the local node according to the link aggregation failure information.
  • the node further includes a transmission module, configured to send the service flow from a port recorded in the successfully aggregated port group according to the saved successfully aggregated port group when the service flow is sent through the aggregation link.
  • Figure 4 is a schematic diagram of link aggregation of a distributed network.
  • Nodes S1 and S3 of network A are interconnected with nodes S2 of network B.
  • links S1-S2 and S3-S2 are required for aggregation. , so that the forwarding service flow between the networks A and B can be shared on the two links.
  • the distributed link aggregation is enabled on the nodes S1 and S3, including: Step 401: The node S1 performs link aggregation message transmission through the link S1-S2 and the node S2 to perform link aggregation.
  • Step 402 After the port 1 of the node S1 is successfully aggregated, the port information is recorded in the successfully aggregated port group, and the link aggregation success information is advertised to other nodes of the network A (S3 in this example);
  • Step 403 After receiving the link aggregation success information of the node S1, the node S3 adds the port 1 of the node S1 to the successfully aggregated port group.
  • Step 404 Similarly, the node S3 performs link aggregation information transmission through the link S3-S2 and the node S2 to perform link aggregation.
  • Step 405 After the port 2 of the node S3 is successfully aggregated, the port information is recorded in the successfully aggregated port group, and the link aggregation success information is advertised to other nodes of the network A (S1 in this example);
  • Step 406 After receiving the link aggregation success information of the node S3, the node S1 adds the port 2 of the node S3 to the successfully aggregated port group.
  • the order of execution of the above steps 401-403 and steps 404-406 is not limited. For example, steps 404-406 may be performed first, and then steps 401-403 may be performed.
  • the nodes S1 and S3 of the network A After the nodes S1 and S3 of the network A complete the link aggregation and advertisement, the nodes S1 and S3 record the aggregation successful port information of the local node and other nodes in the network, forming a successful aggregation port group.
  • the node S1 detects the failure of the aggregation of the port 1, the port 1 is deleted from the successfully aggregated port group, and then the node S1 advertises the link aggregation failure message to the other nodes in the network A, and the node S3 receives the link aggregation failure of the node S1. After the information, port 1 of node S1 is deleted from the successfully aggregated port group.
  • the node S1 or the node S3 forwards the service flow from a physical port in the successfully aggregated port group according to the characteristics of the service flow, and therefore, based on a certain algorithm,
  • the service flow between the networks A and B can be shared on the physical links of the aggregated link, and the link aggregation method of the distributed network is implemented.
  • FIG. 5 is a schematic diagram of link aggregation of another distributed network.
  • Nodes S1 and S3 of network A are interconnected with nodes S2 and S4 of network B, respectively.
  • nodes S1, 1, and S3 are required.
  • Ports 3 and 4 are aggregated.
  • nodes S2, 5, and 6 and ports 7 and 8 of node S4 are required to be aggregated, so that the forwarding service flows between networks A and B can be shared on four links.
  • Step 501 The node S1 performs link aggregation message transmission through the ports 1, 2, and the node of the network B, and performs link aggregation.
  • Step 502 After the aggregation of the ports 1 and 2 of the node S1 is successful, the port information is recorded in the active aggregation port group, and the link aggregation success information is advertised to other nodes of the network A (S3 in this example);
  • Step 503 After receiving the link aggregation success information of the node S1, the node S3 adds the ports 1 and 2 of the node S1 to the successfully aggregated port group.
  • Step 504 Similarly, the node S3 performs link aggregation through the nodes of the ports 3, 4 and the network B. The transmission of the message, performing link aggregation;
  • Step 505 After the aggregation of the ports 3 and 4 of the node S3 is successful, the port information is recorded in the active aggregation port group, and the link aggregation success information is advertised to other nodes of the network A (S1 in this example);
  • Step 506 After receiving the link aggregation success information of the node S3, the node S1 adds the ports 3 and 4 of the node S3 to the successfully aggregated port group.
  • steps 501-503 and steps 504-506 are not limited. For example, steps 504-506 may be performed first, and then steps 501-503 may be performed.
  • the nodes S1 and S3 of the network A After the nodes S1 and S3 of the network A complete the link aggregation and advertisement, the nodes S1 and S3 record the aggregation successful port information of the local node and other nodes in the network, forming a successful aggregation port group.
  • the distributed link aggregation method is also enabled on the nodes S2 and S4.
  • the process is similar to that of the network A.
  • the nodes S2 and S4 record the node.
  • the aggregation successful port information with other nodes forms a successful aggregation port group.
  • the node S1 or the node S3 forwards the service flow from a physical port in the successfully aggregated port group according to the characteristics of the service flow, and therefore, based on a certain algorithm,
  • the service flow forwarded by the network A to the B can be shared on the physical links of the aggregated link, and the link aggregation method of the distributed network is implemented.
  • the node S2 or the node S4 forwards the service flow from a physical port in the successful aggregation port group according to the characteristics of the service flow and based on a certain algorithm. Therefore, the service flow forwarded by the network B to the A can be shared on the physical links of the aggregated link, and the link aggregation method of the distributed network is implemented.
  • the distributed aggregation link method of the present invention implements a link aggregation technology in a distributed network, facilitates network maintenance and management, increases network bandwidth, and expands application fields of link aggregation technologies, thereby making Distributed networks can also take advantage of the various advantages of link aggregation.
  • each node when each link is aggregated, each node advertises successful link aggregation port information to the network. Finally, each node can learn all the successfully aggregated port information in the network and record it as The port group was successfully aggregated.
  • the network forwards the service flow from a physical port in the successful aggregation port according to the characteristics of the service flow and based on a certain algorithm, so the service flow between the networks
  • the link aggregation between the two networks is the sum of the aggregated physical ports on the physical ports of the successfully aggregated port group.
  • the embodiment of the present invention implements the link aggregation technology in the distributed network, and expands the chain.
  • the application field of the road aggregation technology enables the distributed network to utilize link aggregation to increase the link bandwidth, which facilitates network maintenance and management.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A distributed link aggregation method and a node therefor, making possible the use of link aggregation technology in a distributed network. The method comprises: when a node in one network is successfully aggregated with a node in another network, the port to which the node is aggregated successfully is added to a group of successfully-aggregated ports saved in the node, and a link aggregation success information is sent to the other nodes in the network; each node receiving the link aggregation success information then updates, according to the link aggregation success information, the group of successfully-aggregated ports saved in said node. The node comprises an aggregation module, a record module, a notification module and an update module. The present method and node realize link aggregation in a distributed network, expand the field of application of link aggregation technology, and enable distributed networks to use link aggregation to increase link bandwidth, thereby facilitating network maintenance and management.

Description

一种分布式链路聚合方法及实现该方法的节点  Distributed link aggregation method and node implementing the same
技术领域 Technical field
本发明涉及网络通信技术, 尤其涉及一种分布式链路聚合的方法及实现 该方法的节点。  The present invention relates to network communication technologies, and in particular, to a method for distributed link aggregation and a node for implementing the method.
背景技术 Background technique
根据 IEEE标准的定义, 链路聚合 ( Link Aggregation )技术是将两个节点 之间的多条物理链路在逻辑上聚合为一条链路, 两个节点各自的聚合链路端 口形成一个逻辑端口, 即聚合端口, 对于这两个节点, 聚合端口在业务流转 发时可认为是一个端口。 故链路聚合又称为端口聚合。 链路聚合技术将多条 带宽较小的链路聚合为带宽较大的链路, 充分利用了链路资源, 随着网络的 数据越来越大, 网络节点之间需要更大的传输带宽, 并且链路聚合技术有便 于网络维护和管理的优点, 因此链路聚合技术得到了广泛的应用。  According to the definition of the IEEE standard, the Link Aggregation technology logically aggregates multiple physical links between two nodes into one link, and the respective aggregate link ports of the two nodes form a logical port. That is, the aggregation port. For these two nodes, the aggregation port can be considered as a port when the service flow is forwarded. Therefore, link aggregation is also called port aggregation. Link aggregation technology aggregates multiple links with smaller bandwidth into larger-band links, making full use of link resources. As the data of the network grows larger, network nodes need more transmission bandwidth. And link aggregation technology has the advantage of facilitating network maintenance and management, so link aggregation technology has been widely used.
传统的链路聚合技术组网为两个节点之间的互联, 如图 1所示, 节点 S1 和 S2运行链路聚合协议, 根据链路聚合的协议, 节点 S1通过端口 1发送和 接收节点 S2的链路聚合消息, 或者通过端口 2发送和接收节点 S2的链路聚 合消息, 同样, 节点 S2通过端口 3发送和接收节点 S1的链路聚合消息, 或 者通过端口 4发送和接收节点 S1的链路聚合消息。根据链路聚合算法, 节点 S1的端口 1和 2聚合成功后, 节点 S1将物理端口 1和 2聚合为一个成功聚 合端口组,即节点 S1将物理端口 1和 2作为聚合端口的成功聚合端口组的成 员; 节点 S2的端口 3和 4聚合成功后, 节点 S2将物理端口 3和 4聚合为一 个成功聚合端口组,即节点 S2将物理端口 3和 4作为聚合端口的成功聚合端 口组的成员。 当节点 S1需要向节点 S2发送业务流时, 节点 S1根据业务流的 特征, 并基于一定的算法, 将业务流从成功聚合端口组中的某一个物理端口 转发出去, 因此节点 S1和 S2之间的业务流能够分担在成功聚合端口组中的 各个物理端口上, 两个节点之间的链路带宽为单个物理端口的两倍, 即聚合 端口的带宽为所聚合的物理端口的总和。  The traditional link aggregation technology networking is the interconnection between two nodes. As shown in Figure 1, nodes S1 and S2 run the link aggregation protocol. According to the protocol of link aggregation, node S1 sends and receives node S2 through port 1. The link aggregation message, or the link aggregation message of the node S2 is sent and received through the port 2, and the node S2 sends and receives the link aggregation message of the node S1 through the port 3, or sends and receives the chain of the node S1 through the port 4. Road aggregation message. According to the link aggregation algorithm, after the aggregation of the ports 1 and 2 of the node S1 is successful, the node S1 aggregates the physical ports 1 and 2 into a successful aggregation port group, that is, the node S1 uses the physical ports 1 and 2 as the aggregation port group of the aggregation port. After the aggregation of the ports 3 and 4 of the node S2 is successful, the node S2 aggregates the physical ports 3 and 4 into a successful aggregation port group, that is, the node S2 uses the physical ports 3 and 4 as members of the successful aggregation port group of the aggregation port. When the node S1 needs to send the service flow to the node S2, the node S1 forwards the service flow from a physical port in the successful aggregation port group according to the characteristics of the service flow, and based on a certain algorithm, so between the nodes S1 and S2 The service flow can be shared on each physical port in the successfully aggregated port group. The link bandwidth between the two nodes is twice that of a single physical port. That is, the bandwidth of the aggregated port is the sum of the aggregated physical ports.
但是随着网络的扩大, 两个网络之间的通信需要将多条物理链路的聚合 起来形成一条链路, 这两个网络之间的互连节点分别可能有一个, 也可能有 多个, 对于链路聚合而言, 一端可能有多个节点, 这也称为分布式网络。 传 统的链路聚合技术主要解决了两个节点之间多条物理链路的聚合问题, 即两 个网络之间的互连节点分别只有一个的场景, 而无法适用于两个网络之间的 互连节点分别有多个的场景。 如图 2所示, 网络 A的两个节点 S1和 S3与网 络 B的节点 S2互联, 由于网络 A中需要在节点 S1和 S3上进行链路聚合, 根据传统的链路聚合技术, 只能网络 A中节点分别与节点 S2进行聚合, 无 法达到节点 S 1和 S3共同与节点 S2聚合的目的, 因此网络 A和网络 B之间 的互联链路为两条链路, 而不是一条聚合链路, 无法实现分布式网络的链路 聚合。 But as the network expands, communication between the two networks requires aggregation of multiple physical links. To form a link, there may be one or more interconnected nodes between the two networks. For link aggregation, there may be multiple nodes at one end, which is also called a distributed network. The traditional link aggregation technology mainly solves the problem of aggregation of multiple physical links between two nodes. That is, the interconnection nodes between the two networks have only one scenario, and cannot be applied to the mutual interaction between the two networks. There are multiple scenes in the connected node. As shown in Figure 2, the two nodes S1 and S3 of the network A are interconnected with the node S2 of the network B. Since the network needs to perform link aggregation on the nodes S1 and S3, according to the traditional link aggregation technology, only the network can be used. The nodes in node A are respectively aggregated with the node S2, and the nodes S1 and S3 cannot be aggregated with the node S2. Therefore, the interconnection link between the network A and the network B is two links instead of one aggregated link. Link aggregation for distributed networks is not possible.
发明内容 Summary of the invention
本发明要解决的技术问题是提供一种分布式链路聚合方法及实现该方法 的节点, 为在分布式网络中运用链路聚合技术提供可能。  The technical problem to be solved by the present invention is to provide a distributed link aggregation method and a node for implementing the same, which provides a possibility for using link aggregation technology in a distributed network.
为解决上述技术问题, 本发明提供了一种分布式链路聚合方法, 包括: 网络中的节点在与其他网络中的节点链路聚合成功后, 将聚合成功的端 口加入本节点保存的成功聚合端口组, 并向本网络中其他节点通告链路聚合 成功信息; 收到链路聚合成功信息的节点根据该链路聚合成功信息更新本节 点保存的成功聚合端口组。  To solve the above technical problem, the present invention provides a distributed link aggregation method, which includes: after a node in a network is successfully aggregated with a node in another network, the successful aggregation port is added to the successful aggregation saved by the node. The port group advertises the link aggregation success information to other nodes in the network. The node that receives the link aggregation success information updates the successful aggregation port group saved by the node according to the link aggregation success information.
优选地, 所述链路聚合成功信息中包含聚合成功的端口的端口信息。 优选地, 所述方法还包括: 成功聚合端口组中的端口发生失败事件, 该 端口所属节点从成功聚合端口组中删除该端口, 并向本网络中其他节点通告 链路聚合失败信息; 收到链路聚合失败信息的节点根据该链路聚合失败信息 更新本节点保存的成功聚合端口组。 优选地, 所述失败事件包括以下事件的一种或几种: 端口故障、 端口模 式变化、 端口配置改变。  Preferably, the link aggregation success information includes port information of the successfully aggregated port. Preferably, the method further includes: successfully aggregating a port failure event in the port group, the node to which the port belongs removes the port from the successfully aggregated port group, and advertises the link aggregation failure information to other nodes in the network; The node that fails the link aggregation update information updates the successful aggregation port group saved by the local node according to the link aggregation failure information. Preferably, the failure event comprises one or more of the following events: port failure, port mode change, port configuration change.
优选地, 所述方法还包括: 网络内进行了链路聚合的节点在通过聚合链 路发送业务流时, 根据本节点保存的成功聚合端口组, 将业务流从成功聚合 端口组中记录的一个端口发送出去。 Preferably, the method further includes: when the node that performs link aggregation in the network sends the service flow through the aggregation link, the service flow is successfully aggregated according to the successfully aggregated port group saved by the node. A port recorded in the port group is sent out.
为解决上述技术问题,本发明还提供了一种实现分布式链路聚合的节点, 包括聚合模块、 记录模块、 通告模块和更新模块, 其中: To solve the above technical problem, the present invention further provides a node for implementing distributed link aggregation, which includes an aggregation module, a recording module, a notification module, and an update module, where:
所述聚合模块设置为: 与其他网络中的节点进行链路聚合;  The aggregation module is configured to: perform link aggregation with nodes in other networks;
所述记录模块设置为: 在所述聚合模块与其他网络中的节点链路聚合成 功后, 将聚合成功的端口加入本节点保存的成功聚合端口组;  The recording module is configured to: after the aggregation of the aggregation module and the node in the other network is successful, add the successfully aggregated port to the successfully aggregated port group saved by the local node;
所述通告模块设置为: 向本网络中其他节点通告链路聚合成功信息; 所述更新模块设置为: 在收到链路聚合成功信息后, 根据该链路聚合成 功信息更新本节点保存的成功聚合端口组。  The notification module is configured to: advertise the link aggregation success information to other nodes in the network; the update module is configured to: after receiving the link aggregation success information, update the success of the node according to the link aggregation success information. Aggregate port group.
优选地, 所述链路聚合成功信息中包含聚合成功的端口的端口信息。 优选地, 所述记录模块还设置为: 在成功聚合端口组中的端口发生失败 事件时, 从成功聚合端口组中删除该端口;  Preferably, the link aggregation success information includes port information of the successfully aggregated port. Preferably, the recording module is further configured to: when the port in the successfully aggregated port group fails, delete the port from the successfully aggregated port group;
所述通告模块还设置为: 向本网络中其他节点通告链路聚合失败信息; 所述更新模块还设置为: 在收到链路聚合失败信息的节点根据该链路聚 合失败信息更新本节点保存的成功聚合端口组。  The notification module is further configured to: notify the other nodes in the network of the link aggregation failure information; the update module is further configured to:: the node that receives the link aggregation failure information updates the node according to the link aggregation failure information. Successful aggregation of port groups.
优选地, 所述失败事件包括以下事件的一种或几种: 端口故障、 端口模 式变化、 端口配置改变。  Preferably, the failure event comprises one or more of the following events: port failure, port mode change, port configuration change.
优选地, 所述节点还包括传输模块, 设置为: 在通过聚合链路发送业务 流时, 根据保存的成功聚合端口组, 将业务流从成功聚合端口组中记录的一 个端口发送出去。  Preferably, the node further includes a transmission module, configured to: when the service flow is sent through the aggregation link, send the service flow from a port recorded in the successfully aggregated port group according to the saved successful aggregation port group.
釆用上述方法和节点, 当各个链路都聚合完成时, 各个节点都向网络内 部通告成功的链路聚合端口信息, 最终各个节点都能获知网络内的所有的成 功聚合端口信息, 并记录为成功聚合端口组。 当一个网络需要向对端网络发 送业务流时, 该网络根据业务流的特征, 并基于一定的算法, 将业务流从成 功聚合端口中的某一个物理端口转发出去, 因此网络之间的业务流能够分担 在成功聚合端口组中的各个物理端口上, 两个网络之间的链路带宽为所聚合 的物理端口的总和, 本发明实施例实现了在分布式网络的链路聚合技术, 扩 大链路聚合技术的应用领域, 使得分布式网络也能利用链路聚合增加链路带 宽的优点, 便于网络的维护和管理。 附图概述 Using the above methods and nodes, when each link is aggregated, each node advertises successful link aggregation port information to the network. Finally, each node can learn all the successfully aggregated port information in the network and record it as The port group was successfully aggregated. When a network needs to send a service flow to the peer network, the network forwards the service flow from a physical port in the successful aggregation port according to the characteristics of the service flow and based on a certain algorithm, so the service flow between the networks Able to share In the physical port of the successfully aggregated port group, the link bandwidth between the two networks is the sum of the aggregated physical ports. The embodiment of the present invention implements the link aggregation technology in the distributed network, and expands the link aggregation. The application field of technology enables distributed networks to take advantage of link aggregation to increase link bandwidth and facilitate network maintenance and management. BRIEF abstract
图 1为传统链路聚合技术的示意图;  1 is a schematic diagram of a conventional link aggregation technology;
图 2为分布式网络的链路聚合的示意图;  2 is a schematic diagram of link aggregation of a distributed network;
图 3为本发明实施例的分布式链路聚合流程图;  3 is a flowchart of distributed link aggregation according to an embodiment of the present invention;
图 4为本发明示例一的示意图;  4 is a schematic view of a first example of the present invention;
图 5为本发明示例二的示意图。  Figure 5 is a schematic illustration of Example 2 of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。  In order to make the objects, the technical solutions and the advantages of the present invention more clearly, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments of the present application may be arbitrarily combined with each other.
本文提供方案如下:  This article provides the following options:
网络中的节点在与其他网络中的节点链路聚合成功后, 将聚合成功的端 口加入本节点保存的成功聚合端口组, 并向本网络中其他节点通告链路聚合 成功信息; 收到链路聚合成功信息的节点根据该链路聚合成功信息更新本节 点保存的成功聚合端口组。  After the nodes in the network are successfully aggregated with the nodes in the other network, the nodes that are successfully aggregated are added to the successful aggregation port group saved by the local node, and the link aggregation success information is advertised to other nodes in the network. The node that aggregates the success information updates the successful aggregation port group saved by the local node according to the link aggregation success information.
具体如图 3所示, 包括以下步骤:  As shown in Figure 3, the following steps are included:
步骤 301 : 第一网络中的节点和与该节点相连接的第二网络中的节点进 行链路聚合;  Step 301: A node in the first network and a node in the second network connected to the node perform link aggregation.
步骤 302: 当链路聚合成功后, 所述第一网络中的节点将聚合成功的端 口加入到成功聚合端口组,向第一网络内的其他节点通告链路聚合成功信息, 该链路聚合成功信息中包含聚合成功的端口的端口信息; 步骤 303 : 第一网络内的其他节点收到该链路聚合成功信息后, 将该聚 合成功的端口加入到本节点保存的成功聚合端口组。 Step 302: After the link aggregation is successful, the node in the first network adds the successfully aggregated port to the successfully aggregated port group, and advertises the link aggregation success information to other nodes in the first network. The link is successfully aggregated. The information includes the port information of the successfully aggregated port. Step 303: After receiving the link aggregation success information, the other nodes in the first network join the successfully aggregated port to the successfully aggregated port group saved by the local node.
重复上述方法, 当第一网络和第二网络内的各节点都完成了链路聚合和 通告, 最终网络内各节点都记录了本节点和其他节点聚合成功的端口信息 , 即同一网络中的节点上保存的成功聚合端口组内容相同。  The above method is repeated. When the nodes in the first network and the second network complete the link aggregation and advertisement, the nodes in the network record the successfully aggregated port information of the node and other nodes, that is, the nodes in the same network. The content of the successfully aggregated port group saved on the same is the same.
当网络中某个节点的成功聚合端口组中的端口(即已经聚合成功的端口) 发生失败事件, 该节点将该端口从成功聚合端口组中删除, 并向网络内其他 节点通告该端口链路聚合失败信息; 网络内其他节点收到该链路聚合失败信 息后, 根据该链路聚合失败信息更新本节点保存的成功聚合端口组, 即将该 发生失败事件的端口从成功聚合端口组中删除。 该链路聚合失败信息中包含 发生失败事件的端口的端口信息。 失败事件包括以下事件的一种或几种: 端 口故障、 端口模式变化、 端口配置改变。  When a port in a successful aggregation port group of a node in the network (that is, a port that has been successfully aggregated) fails, the node deletes the port from the successfully aggregated port group and advertises the port link to other nodes in the network. Aggregation failure information. After receiving the link aggregation failure information, the other nodes in the network update the successful aggregation port group saved by the node according to the link aggregation failure information, that is, the port that failed the event is deleted from the successful aggregation port group. The link aggregation failure information contains the port information of the port where the failure event occurred. Failure events include one or more of the following: port failure, port mode change, port configuration change.
网络内进行了链路聚合的节点在通过聚合链路发送业务流时, 根据本节 点保存的成功聚合端口组, 将业务流从成功聚合端口组中记录的一个端口发 送出去。  When a node that performs link aggregation on the network sends a service flow through the aggregation link, it sends the service flow from a port recorded in the successful aggregation port group according to the successfully aggregated port group saved in this node.
实现上述方法的节点包括聚合模块、 记录模块、 通告模块和更新模块, 其中: The nodes implementing the above method include an aggregation module, a recording module, a notification module, and an update module, where:
聚合模块, 用于与其他网络中的节点进行链路聚合;  An aggregation module, configured to perform link aggregation with nodes in other networks;
记录模块, 用于在所述聚合模块与其他网络中的节点链路聚合成功后, 将聚合成功的端口加入本节点保存的成功聚合端口组;  a recording module, configured to add the successfully aggregated port to the successfully aggregated port group saved by the node after the aggregation of the link between the aggregation module and the other network is successful;
通告模块, 用于向本网络中其他节点通告链路聚合成功信息;  An advertisement module, configured to advertise link aggregation success information to other nodes in the network;
更新模块, 用于在收到链路聚合成功信息后, 根据该链路聚合成功信息 更新本节点保存的成功聚合端口组。 优选地:  The update module is configured to: after receiving the link aggregation success information, update the successfully aggregated port group saved by the node according to the link aggregation success information. Preferably:
所述记录模块还用于在成功聚合端口组中的端口发生失败事件时, 从成 功聚合端口组中删除该端口; 所述通告模块还用于向本网络中其他节点通告链路聚合失败信息; 所述更新模块还用于在收到链路聚合失败信息的节点根据该链路聚合失 败信息更新本节点保存的成功聚合端口组。 The recording module is further configured to delete the port from the successfully aggregated port group when the port in the port group is successfully aggregated; the notification module is further configured to notify the other nodes in the network of the link aggregation failure information; The update module is further configured to: when the node that receives the link aggregation failure information updates the successful aggregation port group saved by the local node according to the link aggregation failure information.
优选地:  Preferably:
所述节点还包括传输模块, 其用于在通过聚合链路发送业务流时, 根据 保存的成功聚合端口组, 将业务流从成功聚合端口组中记录的一个端口发送 出去。  The node further includes a transmission module, configured to send the service flow from a port recorded in the successfully aggregated port group according to the saved successfully aggregated port group when the service flow is sent through the aggregation link.
下面结合具体示例对上述方法作进一步的详细描述。 The above method will be further described in detail below with reference to specific examples.
示例一:  Example 1:
图 4为一种分布式网络的链路聚合示意图, 网络 A的节点 S1和 S3分别 同网络 B的节点 S2互联, 对于网络 A和 B而言, 需要链路 S1-S2和 S3-S2 进行聚合, 使得网络 A和 B之间的转发业务流能够分担在两条链路上。  Figure 4 is a schematic diagram of link aggregation of a distributed network. Nodes S1 and S3 of network A are interconnected with nodes S2 of network B. For networks A and B, links S1-S2 and S3-S2 are required for aggregation. , so that the forwarding service flow between the networks A and B can be shared on the two links.
釆用上述方法, 在节点 S1和 S3上启用分布式链路聚合, 包括: 步骤 401, 节点 S1通过链路 S1-S2和节点 S2进行链路聚合消息的传输, 进行链路聚合;  Using the above method, the distributed link aggregation is enabled on the nodes S1 and S3, including: Step 401: The node S1 performs link aggregation message transmission through the link S1-S2 and the node S2 to perform link aggregation.
步骤 402, 当节点 S1的端口 1聚合成功后, 将该端口信息记录到成功聚 合端口组中, 并向网络 A的其他节点(本示例中为 S3 )通告链路聚合成功信 息;  Step 402: After the port 1 of the node S1 is successfully aggregated, the port information is recorded in the successfully aggregated port group, and the link aggregation success information is advertised to other nodes of the network A (S3 in this example);
步骤 403 , 节点 S3收到节点 S1的链路聚合成功信息后, 将节点 S1的端 口 1加入到成功聚合端口组中;  Step 403: After receiving the link aggregation success information of the node S1, the node S3 adds the port 1 of the node S1 to the successfully aggregated port group.
步骤 404, 同样地, 节点 S3通过链路 S3-S2和节点 S2进行链路聚合消 息的传输, 进行链路聚合;  Step 404: Similarly, the node S3 performs link aggregation information transmission through the link S3-S2 and the node S2 to perform link aggregation.
步骤 405 , 当节点 S3的端口 2聚合成功后, 将该端口信息记录到成功聚 合端口组中, 并向网络 A的其他节点(本示例中为 S1 )通告链路聚合成功信 息;  Step 405: After the port 2 of the node S3 is successfully aggregated, the port information is recorded in the successfully aggregated port group, and the link aggregation success information is advertised to other nodes of the network A (S1 in this example);
步骤 406, 节点 S1收到节点 S3的链路聚合成功信息后, 将节点 S3的端 口 2加入到成功聚合端口组中。 上述步骤 401-403与步骤 404-406的执行顺序不限, 例如可先执行步骤 404-406, 再执行步骤 401-403。 Step 406: After receiving the link aggregation success information of the node S3, the node S1 adds the port 2 of the node S3 to the successfully aggregated port group. The order of execution of the above steps 401-403 and steps 404-406 is not limited. For example, steps 404-406 may be performed first, and then steps 401-403 may be performed.
当网络 A的节点 S1和 S3都完成链路聚合和通告后, 节点 S1和 S3都记 录了本节点和网络中其他节点的聚合成功端口信息,形成了成功聚合端口组。  After the nodes S1 and S3 of the network A complete the link aggregation and advertisement, the nodes S1 and S3 record the aggregation successful port information of the local node and other nodes in the network, forming a successful aggregation port group.
当节点 S1检测到端口 1聚合失败时,将端口 1从成功聚合端口组中删除, 然后节点 S1向网络 A中的其他节点通告链路聚合失败消息, 节点 S3收到节 点 S1的链路聚合失败信息后,将节点 S1的端口 1从成功聚合端口组中删除。  When the node S1 detects the failure of the aggregation of the port 1, the port 1 is deleted from the successfully aggregated port group, and then the node S1 advertises the link aggregation failure message to the other nodes in the network A, and the node S3 receives the link aggregation failure of the node S1. After the information, port 1 of node S1 is deleted from the successfully aggregated port group.
当网络 A通过聚合链路向网络 B转发业务流时,节点 S1或者节点 S3根 据业务流的特征, 并基于一定的算法, 将业务流从成功聚合端口组中的某一 个物理端口转发出去, 因此网络 A和 B之间的业务流能够分担在聚合链路的 各个物理链路上, 实现了分布式网络的链路聚合方法。  When the network A forwards the service flow to the network B through the aggregation link, the node S1 or the node S3 forwards the service flow from a physical port in the successfully aggregated port group according to the characteristics of the service flow, and therefore, based on a certain algorithm, The service flow between the networks A and B can be shared on the physical links of the aggregated link, and the link aggregation method of the distributed network is implemented.
示例二: Example two:
图 5为另一种分布式网络的链路聚合示意图, 网络 A的节点 S1和 S3分 别同网络 B的节点 S2和 S4互联, 对于网络 A而言, 需要节点 S1端口 1、 2 以及节点 S3的端口 3、 4进行聚合, 对于网络 B而言, 需要节点 S2端口 5、 6以及节点 S4的端口 7、 8进行聚合, 使得网络 A和 B之间的转发业务流能 够分担在四条链路上。  FIG. 5 is a schematic diagram of link aggregation of another distributed network. Nodes S1 and S3 of network A are interconnected with nodes S2 and S4 of network B, respectively. For network A, nodes S1, 1, and S3 are required. Ports 3 and 4 are aggregated. For network B, nodes S2, 5, and 6 and ports 7 and 8 of node S4 are required to be aggregated, so that the forwarding service flows between networks A and B can be shared on four links.
釆用上述方法,在网络 A中,节点 S1和 S3上启用分布式链路聚合方法, 包括:  Using the above method, in Network A, distributed link aggregation methods are enabled on nodes S1 and S3, including:
步骤 501 , 节点 S1通过端口 1、 2和网络 B的节点进行链路聚合消息的 传输, 进行链路聚合;  Step 501: The node S1 performs link aggregation message transmission through the ports 1, 2, and the node of the network B, and performs link aggregation.
步骤 502, 当节点 S1的端口 1、 2聚合成功后, 将该端口信息记录到成 功聚合端口组中, 并向网络 A的其他节点(本示例中为 S3 )通告链路聚合成 功信息;  Step 502: After the aggregation of the ports 1 and 2 of the node S1 is successful, the port information is recorded in the active aggregation port group, and the link aggregation success information is advertised to other nodes of the network A (S3 in this example);
步骤 503 , 节点 S3收到节点 S1的链路聚合成功信息后, 将节点 S1的端 口 1、 2加入到成功聚合端口组中;  Step 503: After receiving the link aggregation success information of the node S1, the node S3 adds the ports 1 and 2 of the node S1 to the successfully aggregated port group.
步骤 504, 同样地, 节点 S3通过端口 3、 4和网络 B的节点进行链路聚 合消息的传输, 进行链路聚合; Step 504, Similarly, the node S3 performs link aggregation through the nodes of the ports 3, 4 and the network B. The transmission of the message, performing link aggregation;
步骤 505 , 当节点 S3的端口 3、 4聚合成功后, 将该端口信息记录到成 功聚合端口组中, 并向网络 A的其他节点(本示例中为 S1 )通告链路聚合成 功信息;  Step 505: After the aggregation of the ports 3 and 4 of the node S3 is successful, the port information is recorded in the active aggregation port group, and the link aggregation success information is advertised to other nodes of the network A (S1 in this example);
步骤 506, 节点 S1收到节点 S3的链路聚合成功信息后, 将节点 S3的端 口 3、 4加入到成功聚合端口组中。  Step 506: After receiving the link aggregation success information of the node S3, the node S1 adds the ports 3 and 4 of the node S3 to the successfully aggregated port group.
上述步骤 501-503与步骤 504-506的执行顺序不限, 例如可先执行步骤 504-506, 再执行步骤 501-503。  The order of execution of the above steps 501-503 and steps 504-506 is not limited. For example, steps 504-506 may be performed first, and then steps 501-503 may be performed.
当网络 A的节点 S1和 S3都完成链路聚合和通告后, 节点 S1和 S3都记 录了本节点和网络中其他节点的聚合成功端口信息,形成了成功聚合端口组。  After the nodes S1 and S3 of the network A complete the link aggregation and advertisement, the nodes S1 and S3 record the aggregation successful port information of the local node and other nodes in the network, forming a successful aggregation port group.
同样网络 B中, 节点 S2和 S4上也会启用分布式链路聚合方法, 流程和 网络 A的类似, 在节点 S2和 S4都完成链路聚合和通告后, 节点 S2和 S4都 记录了本节点和其他节点的聚合成功端口信息, 形成了成功聚合端口组。  In the same network B, the distributed link aggregation method is also enabled on the nodes S2 and S4. The process is similar to that of the network A. After the link aggregation and advertisement are completed on the nodes S2 and S4, the nodes S2 and S4 record the node. The aggregation successful port information with other nodes forms a successful aggregation port group.
当网络 A通过聚合链路向网络 B转发业务流时,节点 S1或者节点 S3根 据业务流的特征, 并基于一定的算法, 将业务流从成功聚合端口组中的某一 个物理端口转发出去, 因此网络 A转发给 B的业务流能够分担在聚合链路的 各个物理链路上, 实现了分布式网络的链路聚合方法。  When the network A forwards the service flow to the network B through the aggregation link, the node S1 or the node S3 forwards the service flow from a physical port in the successfully aggregated port group according to the characteristics of the service flow, and therefore, based on a certain algorithm, The service flow forwarded by the network A to the B can be shared on the physical links of the aggregated link, and the link aggregation method of the distributed network is implemented.
同样当网络 B通过聚合链路向网络 A转发业务流时, 节点 S2或者节点 S4根据业务流的特征, 并基于一定的算法, 将业务流从成功聚合端口组中的 某一个物理端口转发出去, 因此网络 B转发给 A的业务流能够分担在聚合链 路的各个物理链路上, 实现了分布式网络的链路聚合方法。  Similarly, when the network B forwards the service flow to the network A through the aggregation link, the node S2 or the node S4 forwards the service flow from a physical port in the successful aggregation port group according to the characteristics of the service flow and based on a certain algorithm. Therefore, the service flow forwarded by the network B to the A can be shared on the physical links of the aggregated link, and the link aggregation method of the distributed network is implemented.
综上所述, 由于本发明的分布式聚合链路方法, 实现了在分布式网络的 链路聚合技术, 便于网络维护和管理, 增加了网络的带宽, 扩大链路聚合技 术的应用领域, 使得分布式网络也能利用链路聚合的各种优点。 In summary, the distributed aggregation link method of the present invention implements a link aggregation technology in a distributed network, facilitates network maintenance and management, increases network bandwidth, and expands application fields of link aggregation technologies, thereby making Distributed networks can also take advantage of the various advantages of link aggregation.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct the associated hardware, such as a read only memory, a magnetic disk, or an optical disk. Optionally, all or part of the steps of the above embodiments may also be used. One or more integrated circuits are implemented. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may be implemented in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
当然, 本发明还可有其他多种实施例, 在不背离本发明精神及其实质的 但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。  It is a matter of course that the invention may be embodied in various other forms and modifications without departing from the spirit and scope of the invention.
工业实用性 Industrial applicability
釆用上述方法和节点, 当各个链路都聚合完成时, 各个节点都向网络内 部通告成功的链路聚合端口信息, 最终各个节点都能获知网络内的所有的成 功聚合端口信息, 并记录为成功聚合端口组。 当一个网络需要向对端网络发 送业务流时, 该网络根据业务流的特征, 并基于一定的算法, 将业务流从成 功聚合端口中的某一个物理端口转发出去, 因此网络之间的业务流能够分担 在成功聚合端口组中的各个物理端口上, 两个网络之间的链路带宽为所聚合 的物理端口的总和, 本发明实施例实现了在分布式网络的链路聚合技术, 扩 大链路聚合技术的应用领域, 使得分布式网络也能利用链路聚合增加链路带 宽的优点, 便于网络的维护和管理。  Using the above methods and nodes, when each link is aggregated, each node advertises successful link aggregation port information to the network. Finally, each node can learn all the successfully aggregated port information in the network and record it as The port group was successfully aggregated. When a network needs to send a service flow to the peer network, the network forwards the service flow from a physical port in the successful aggregation port according to the characteristics of the service flow and based on a certain algorithm, so the service flow between the networks The link aggregation between the two networks is the sum of the aggregated physical ports on the physical ports of the successfully aggregated port group. The embodiment of the present invention implements the link aggregation technology in the distributed network, and expands the chain. The application field of the road aggregation technology enables the distributed network to utilize link aggregation to increase the link bandwidth, which facilitates network maintenance and management.

Claims

权 利 要 求 书 Claim
1、 一种分布式链路聚合方法, 包括:  A distributed link aggregation method, comprising:
网络中的节点在与其他网络中的节点链路聚合成功后, 将聚合成功的端 口加入本节点保存的成功聚合端口组, 并向本网络中其他节点通告链路聚合 成功信息; 收到链路聚合成功信息的节点根据该链路聚合成功信息更新本节 点保存的成功聚合端口组。  After the nodes in the network are successfully aggregated with the nodes in the other network, the nodes that are successfully aggregated are added to the successful aggregation port group saved by the local node, and the link aggregation success information is advertised to other nodes in the network. The node that aggregates the success information updates the successful aggregation port group saved by the local node according to the link aggregation success information.
2、 如权利要求 1所述的方法, 其中,  2. The method of claim 1 wherein
所述链路聚合成功信息中包含聚合成功的端口的端口信息。  The link aggregation success information includes port information of the successfully aggregated port.
3、 如权利要求 1或 2所述的方法, 其中, 所述方法还包括:  3. The method according to claim 1 or 2, wherein the method further comprises:
成功聚合端口组中的端口发生失败事件, 该端口所属节点从成功聚合端 口组中删除该端口, 并向本网络中其他节点通告链路聚合失败信息; 收到链 路聚合失败信息的节点根据该链路聚合失败信息更新本节点保存的成功聚合 端口组。  A port in the port group is successfully aggregated. The node to which the port belongs deletes the port from the successfully aggregated port group and advertises the link aggregation failure information to other nodes in the network. The node that receives the link aggregation failure information is based on the node. The link aggregation failure information updates the successful aggregation port group saved by the local node.
4、 如权利要求 3所述的方法, 其中,  4. The method of claim 3, wherein
所述失败事件包括以下事件的一种或几种: 端口故障、 端口模式变化、 端口配置改变。  The failure event includes one or more of the following events: port failure, port mode change, port configuration change.
5、 如权利要求 1所述的方法, 其中, 所述方法还包括:  5. The method of claim 1, wherein the method further comprises:
网络内进行了链路聚合的节点在通过聚合链路发送业务流时, 根据本节 点保存的成功聚合端口组, 将业务流从成功聚合端口组中记录的一个端口发 送出去。  When a node that performs link aggregation on the network sends a service flow through the aggregation link, it sends the service flow from a port recorded in the successful aggregation port group according to the successfully aggregated port group saved in this node.
6、 一种实现分布式链路聚合的节点, 包括聚合模块、 记录模块、 通告模 块和更新模块, 其中:  6. A node for implementing distributed link aggregation, comprising an aggregation module, a recording module, a notification module, and an update module, wherein:
所述聚合模块设置为: 与其他网络中的节点进行链路聚合;  The aggregation module is configured to: perform link aggregation with nodes in other networks;
所述记录模块设置为: 在所述聚合模块与其他网络中的节点链路聚合成 功后, 将聚合成功的端口加入本节点保存的成功聚合端口组;  The recording module is configured to: after the aggregation of the aggregation module and the node in the other network is successful, add the successfully aggregated port to the successfully aggregated port group saved by the local node;
所述通告模块设置为: 向本网络中其他节点通告链路聚合成功信息; 所述更新模块设置为: 在收到链路聚合成功信息后, 根据该链路聚合成 功信息更新本节点保存的成功聚合端口组。 The notification module is configured to: advertise the link aggregation success information to other nodes in the network; the update module is configured to: after receiving the link aggregation success information, aggregate according to the link The function information updates the successful aggregation port group saved by this node.
7、 如权利要求 6所述的节点, 其中,  7. The node according to claim 6, wherein
所述链路聚合成功信息中包含聚合成功的端口的端口信息。  The link aggregation success information includes port information of the successfully aggregated port.
8、 如权利要求 6或 7所述的节点, 其中,  8. The node according to claim 6 or 7, wherein
所述记录模块还设置为: 在成功聚合端口组中的端口发生失败事件时, 从成功聚合端口组中删除该端口;  The recording module is further configured to: when the port in the successfully aggregated port group fails, delete the port from the successfully aggregated port group;
所述通告模块还设置为: 向本网络中其他节点通告链路聚合失败信息; 所述更新模块还设置为: 在收到链路聚合失败信息的节点根据该链路聚 合失败信息更新本节点保存的成功聚合端口组。  The notification module is further configured to: notify the other nodes in the network of the link aggregation failure information; the update module is further configured to:: the node that receives the link aggregation failure information updates the node according to the link aggregation failure information. Successful aggregation of port groups.
9、 如权利要求 8所述的节点, 其中,  9. The node according to claim 8, wherein
所述失败事件包括以下事件的一种或几种: 端口故障、 端口模式变化、 端口配置改变。  The failure event includes one or more of the following events: port failure, port mode change, port configuration change.
10、 如权利要求 6所述的节点, 其中,  10. The node according to claim 6, wherein
所述节点还包括传输模块, 设置为: 在通过聚合链路发送业务流时, 根 据保存的成功聚合端口组, 将业务流从成功聚合端口组中记录的一个端口发 送出去。  The node further includes a transmission module, configured to: when the service flow is sent through the aggregation link, send the service flow from a port recorded in the successfully aggregated port group according to the saved successful aggregation port group.
PCT/CN2012/075428 2011-06-24 2012-05-14 Distributed link aggregation method and node therefor WO2012174957A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011101742166A CN102843285A (en) 2011-06-24 2011-06-24 Distributed link aggregation method and node for realizing same
CN201110174216.6 2011-06-24

Publications (1)

Publication Number Publication Date
WO2012174957A1 true WO2012174957A1 (en) 2012-12-27

Family

ID=47370360

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/075428 WO2012174957A1 (en) 2011-06-24 2012-05-14 Distributed link aggregation method and node therefor

Country Status (2)

Country Link
CN (1) CN102843285A (en)
WO (1) WO2012174957A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501250B (en) * 2013-09-30 2016-10-05 杭州华三通信技术有限公司 Data flow processing method in distributed aggregated link network and device
CN108881011B (en) * 2017-05-08 2022-03-29 中兴通讯股份有限公司 LACP (Link aggregation control protocol) switching method and device applied to cross-device
CN108259348B (en) * 2017-05-24 2020-05-12 新华三技术有限公司 Message transmission method and device
CN107547283B (en) * 2017-09-21 2021-03-02 新华三技术有限公司 Management method and device of distributed aggregation group

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070280258A1 (en) * 2006-06-05 2007-12-06 Balaji Rajagopalan Method and apparatus for performing link aggregation
CN101340456A (en) * 2008-08-15 2009-01-07 杭州华三通信技术有限公司 A converging method of distributed aggregated link failure and a stacking apparatus
CN101505270A (en) * 2009-03-24 2009-08-12 神州数码网络(北京)有限公司 Method for aggregated link rapid convergence of distributed switch

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070280258A1 (en) * 2006-06-05 2007-12-06 Balaji Rajagopalan Method and apparatus for performing link aggregation
CN101340456A (en) * 2008-08-15 2009-01-07 杭州华三通信技术有限公司 A converging method of distributed aggregated link failure and a stacking apparatus
CN101505270A (en) * 2009-03-24 2009-08-12 神州数码网络(北京)有限公司 Method for aggregated link rapid convergence of distributed switch

Also Published As

Publication number Publication date
CN102843285A (en) 2012-12-26

Similar Documents

Publication Publication Date Title
CN102823205B (en) Aggregating data traffic from access domains
TWI393401B (en) System, apparatus, method and memory having computer program embodied thereon for managing multicast routing
KR102043071B1 (en) Methods and apparatus for detecting and handling split brain issues in a link aggregation group
US8274919B2 (en) System and method for implementing multiple ring networks using a common link
US9019814B1 (en) Fast failover in multi-homed ethernet virtual private networks
JP6234440B2 (en) Support for 802.1AQ over IETF VPN
CN101999224B (en) Redundant Ethernet automatic protection switching access to virtual private lan services
US9860081B2 (en) General user network interface (UNI) multi-homing techniques for shortest path bridging (SPB) networks
WO2014183519A1 (en) Network topology discovery method and system
JP2012090058A (en) Communication system, control device, method for setting processing rule, and program
US20160088578A1 (en) Link layer discovery protocol (lldp) on multiple nodes of a distributed fabric
WO2018072732A1 (en) Information processing method and device, and computer storage medium
EP2899919B1 (en) Distributed link aggregation group service handover method and device
WO2012174957A1 (en) Distributed link aggregation method and node therefor
CN102957620A (en) Equipment and method for management of MAC (media access control) address table entries in TRILL (transparent interconnection of lots of links) network
TWI638550B (en) Tree recovery method, controller and recording medium for software-defined network
EP2314029B1 (en) Multiple tree registration protocol
CN102437967A (en) Method and device for forwarding messages
US9762403B2 (en) Shortest path bridging (SPB)—protocol-independent multicast (PIM) interactions on a backbone edge bridge (BEB) acting as a multicast boundary router interfacing with a PIM network
WO2016131359A1 (en) Multicast line switching method and device for ring-shaped network
Ferrari et al. Multipath redundancy for industrial networks using IEEE 802.1 aq Shortest Path Bridging
JP2004530387A (en) Method for managing a communication network including a wireless link having more than two wireless devices
JP5711420B2 (en) Method and system for setting detection frame timeout time of Ethernet node
WO2016086721A1 (en) Method, device and system for transmitting multicast data in trill network
US20160373318A1 (en) Debugging Auto-Attach Entities (Client And Proxy) Using Connectivity Fault Management (CFM) And Shortest Path Bridging MAC (SPBM) Cloud

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

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

Country of ref document: EP

Kind code of ref document: A1