WO2012083670A1 - Method, apparatus and system for reference link negotiation - Google Patents
Method, apparatus and system for reference link negotiation Download PDFInfo
- Publication number
- WO2012083670A1 WO2012083670A1 PCT/CN2011/076585 CN2011076585W WO2012083670A1 WO 2012083670 A1 WO2012083670 A1 WO 2012083670A1 CN 2011076585 W CN2011076585 W CN 2011076585W WO 2012083670 A1 WO2012083670 A1 WO 2012083670A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- docking device
- reference link
- link
- docking
- priority
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/41—Flow control; Congestion control by acting on aggregated flows or links
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for reference link negotiation.
- Trunk ie, link aggregation group
- Trunk technology is a link aggregation control technology that allows multiple chains. The roads are aggregated together and used as a logical port to form a link combination. Trunk technology can implement the function of backing up multiple links in a trunk. That is, when a link fails, traffic of other links is not affected, and traffic balancing can be implemented between multiple links.
- the docking devices at both ends of the aggregation link cannot perceive the reference link information of the peer end, and the selection manner of the reference link is different, and is provided by different equipment vendors.
- the device does not agree on the reference link selection.
- the reference link of the docking device at both ends is not selected on the same link, the sub-link cannot be aggregated into the current aggregation group. The selected state.
- the ACP Link Aggregation Control Protocol
- An embodiment of the present invention provides a method, an apparatus, and a system for negotiating a link.
- the device at both ends of the trunk can sense the reference link of the peer end and negotiate the reference links of the two ends on the same link to avoid The LACP negotiation failure and the trunk port failure caused by the inconsistent reference link selection.
- the embodiment of the present invention provides a method for negotiating a reference link, where the method includes: the first interfacing device receives an LACP negotiation packet sent by the second interfacing device by using all the sub-links in the aggregation link group, where the LACP is The negotiation packet carries the system priority of the second docking device and the reference link information;
- the first docking device determines, according to the reference link information of the second docking device, whether the reference link selected by the second docking device is the same as the reference link selected by itself, and if not, the first docking device is configured according to The system priority of the second docking device sets the reference link selected by the second docking device to be the same as the reference link selected by itself;
- the first docking device and the second docking device are devices at both ends of the aggregation link group.
- the embodiment of the present invention further provides a reference link negotiation system, where the system includes a first docking device and a second docking device, where the first docking device and the second docking device are both ends of an aggregation link group.
- Equipment
- the second docking device is configured to send an LACP negotiation packet to the first docking device by using all the sub-links in the aggregation link group, where the LACP negotiation packet carries the system priority of the second docking device and Reference link information;
- the first docking device is configured to receive an LACP negotiation packet sent by the second docking device, where the first docking device is further configured to determine, according to the reference link information of the second docking device, the second docking device Whether the selected reference link is the same as the reference link selected by itself, and if not, the reference link selected by the second docking device and the reference link selected by itself are set according to the system priority of the second docking device the same.
- the embodiment of the present invention further provides a reference link negotiation device, where the device is a first docking device, and the first docking device and the second docking device are devices at both ends of the aggregation link group, and the first docking device
- the device includes: a receiving unit; a reference link determining unit
- the receiving unit is configured to receive an LACP negotiation packet sent by the second docking device by using all the sub-links in the aggregation link group, where the LACP negotiation packet carries the system priority and the reference chain of the second docking device.
- Road information
- the reference link determining unit is configured to determine, according to the reference link information of the second docking device, whether the reference link selected by the second docking device is the same as the reference link selected by itself, and if not, according to the The system priority of the second docking device sets the reference link selected by the second docking device to be the same as the reference link selected by itself.
- Embodiments of the present invention provide a method, apparatus, and system for reference link negotiation
- the LACP negotiation packet where the LACP negotiation packet carries the system priority of the second docking device and the reference link information, and the first docking device sets the second according to the system priority of the second docking device.
- the reference link selected by the docking device is the same as the reference link selected by itself. Therefore, the reference devices at both ends of the trunk interface are negotiated to select the reference links on both ends of the same sub-link to avoid inconsistency in the reference link selection.
- the resulting LACP Association The failure of the quotient and the failure of the trunk port.
- FIG. 1 is a schematic flowchart of a reference link negotiation method according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of docking a trunk port device according to an embodiment of the present invention
- FIG. 3 is a schematic flow chart of another reference link negotiation method according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram of a format of an LACP negotiation packet according to an embodiment of the present invention
- FIG. 5 is a schematic structural diagram of a reference link negotiation system according to an embodiment of the present invention
- FIG. 6 is a reference chain according to an embodiment of the present invention
- a method for negotiating a reference link includes: Step 101: A first docking device receives an LACP sent by a second docking device through all sub-links in an aggregation link group. Negotiating the message, the LACP negotiation message carrying the system priority of the second docking device and the reference link information;
- Step 102 The first docking device determines, according to the reference link information of the second docking device, whether the reference link selected by the second docking device is the same as the reference link selected by itself, and if not, the first The docking device sets the reference link selected by the second docking device to the reference link selected by itself according to the system priority of the second docking device;
- the first docking device and the second docking device are devices at both ends of the aggregation link group.
- Embodiments of the present invention provide a method, apparatus, and system for reference link negotiation
- the LACP negotiation packet where the LACP negotiation packet carries the system priority of the second docking device and the reference link information, and the first docking device sets the second according to the system priority of the second docking device.
- the reference link selected by the docking device is the same as the reference link selected by itself. Therefore, the reference devices at both ends of the trunk interface are negotiated to select the reference links on both ends of the same sub-link to avoid inconsistency in the reference link selection.
- the reference link information includes: a reference link selection flag or a reference link selection manner
- the reference link selection flag is used to indicate that the LACP negotiation packet is sent. Whether the link is a reference link, and the reference link selection mode is used to indicate that the second docking device selects a rule of the reference link.
- the referenced link selection flag is carried in the Reserved field in the LACP negotiation packet.
- the Reserved field is set to 1
- the sub-link that sends the LACP negotiation packet is selected by the second docking device. Reference link.
- the reference link selection mode includes rate priority and/or port priority priority.
- the referenced link selection mode is carried in the Reserved field in the LACP negotiation packet.
- the Reserved field is set to 1
- the reference link selection mode is rate priority.
- the Reserved field is set to 2
- the sub-link selection mode is port priority first.
- the LACP negotiation packet further includes a port priority and a port rate.
- the first docking device sets the reference link selected by the second docking device to the reference link selected by itself according to the system priority of the second docking device:
- the first docking device determines whether the system priority of the second docking device is higher than the second docking device according to the system priority of the second docking device carried in the LACP negotiation packet, if not, then:
- the first docking device modifies its own reference link selection mode to the reference link selection mode of the second docking device, so that both parties select the same reference link.
- the first docking device sets the reference link selected by the second docking device to the reference link selected by itself according to the system priority of the second docking device:
- the first docking device determines whether the system priority of the second docking device is higher than the second docking device according to the system priority of the second docking device carried in the LACP negotiation packet. If yes, then:
- the first docking device sends an advertisement message to the second docking device, and advertises its own reference link selection manner, so that the second docking device unifies its reference link selection manner to the first according to the advertisement message.
- the reference link selection mode of the docking device so that both parties select the same reference link; or,
- the first docking device sends a negotiation message to the second docking device, and sends a reference link selection manner corresponding to each sub-link to the second docking device by using all the sub-links in the aggregation link group, so that The second docking device unifies its own reference link selection mode to the reference link selection mode of the first docking device, so that both parties select the same reference link.
- the first docking device sets the reference link selected by the second docking device to the reference link selected by itself according to the system priority of the second docking device:
- the first docking device determines whether the system priority of the second docking device is higher than the second docking device according to the system priority of the second docking device carried in the LACP negotiation packet, and if not, the first docking device Modifying the reference link selected by itself to the reference link selected by the second docking device according to the reference link selection flag.
- the first docking device sets the reference link selected by the second docking device to the reference link selected by itself according to the system priority of the second docking device:
- the first docking device determines whether the system priority of the second docking device is higher than the second docking device according to the system priority of the second docking device carried in the LACP negotiation packet. If yes, then:
- the first docking device sends an advertisement message to the second docking device, and advertises the reference link selected by the first docking device, so that the second docking device unifies the reference link selected by itself to the first docking device according to the notification message.
- Reference link or,
- the first docking device sends a negotiation message to the second docking device, and sends a reference link identifier corresponding to each sub-link to the second docking device by using all the sub-links in the aggregation link group, so that the The second docking device may actively modify its own reference link to the reference link selected by the first docking device according to the reference link identifier of the first docking device.
- the method further includes:
- the first docking device and the second docking device respectively select the port of the negotiated reference link, and notify the peer that the port is successfully selected.
- the ports of the reference link that are selected by the first docking device and the second docking device respectively include:
- the first docking device and the second docking device set the attribute value Synchron i za t i on in the Ac t or - s t a t e of the negotiated reference link to 1.
- the method further includes: the first pair of connection devices
- the configuration information is exchanged with the second docking device, and the configuration information of the peer end is obtained.
- the docking device (including the first docking device and the second docking device) is a router.
- FIG. 2 a schematic diagram of a trunk port device connection is provided in the embodiment of the present invention.
- the embodiment of the present invention uses two sub-links between two routers as an example for description. The number of the sub-links may be greater than two, which is not limited by the embodiment of the present invention.
- the docking devices at both ends of the trunk port are Router A and Router.
- Router A has interfaces Port A and Port B.
- Router B has interfaces Port Al and Port Bl.
- FIG. 3 is a schematic flowchart of a method for negotiating a reference link according to an embodiment of the present invention, including:
- Step 301 The router A resets the state machine and resets the configuration information with the router B.
- the format of the LACP negotiation packet is as follows:
- the LACP negotiation packet includes at least the local information and the peer information. In the initial state, Router A and Router B have no peer information, and Router A sends an LACP negotiation packet to Router B.
- the LACP negotiation packet carries the local information and the peer information. There is no peer information. Therefore, the peer information in the LACP negotiation packet is the default.
- the reset state machine reset of the docking device may be caused.
- Step 302 Router B receives the LACP negotiation packet sent by the router A, records the configuration information of the router A to the local configuration information, and returns an LACP negotiation packet to the router A.
- the returned LACP negotiation packet includes the local information of the router B and the configuration information of the received router A.
- the information of the router A is carried in the peer information part of the returned LACP negotiation packet.
- Step 303 After the configuration information interaction process is completed, the connection device (the router A or the router B, the router A is used as an example, but is not limited to the router A) to initiate the reference link negotiation process.
- Router A sends an LACP negotiation packet to the router B through all the sub-links in the aggregation link group.
- the LACP negotiation packet includes at least the local Actor_system_priority (the local system priority) and the local reference link identifier.
- the reference link flag is used to indicate whether the sub-link that sends the LACP negotiation message is a reference link.
- the priority of the local system is used to indicate the system priority of the device that sends the LACP negotiation packet.
- the Reserved field in the LACP negotiation packet can be used to carry the local reference link identifier.
- the local reference link flag is set to 1 to indicate that the sub-link that the router A sends the LACP negotiation packet is a reference link, and the local reference link flag is set to 2 to indicate the router A.
- the sub-link that sends the LACP negotiation packet is a non-reference link. When the local reference link flag is set to 0, it is used to indicate an invalid value. It should be noted that only one sub-link can be used as the reference link in the link aggregation group that is aggregated by multiple sub-links. That is, the router A only selects the LACP negotiation packets sent by all the sub-links.
- the Reserved field of an LACP negotiation packet takes the value 1.
- the interface device has at least the system priority of the peer end and the reference link selection flag of the peer end.
- the further LACP negotiation message may further include Actor_port_priority (port priority) and Actor_key (indicating the sub-link port). Attributes, including port rate, negotiation mode Information)
- Step 304 Router B receives the LACP negotiation packet sent by the router A, and obtains the reference link identifier of the router A from the LACP negotiation packet, so as to determine the reference link selected by the router A. If the reference link selected by the router B is inconsistent with the reference link selected by the router A, the docking device at both ends of the aggregated link group uniquely determines one of the link aggregation groups between the router A and the router B according to the system priority of both parties.
- the reference link includes the following methods:
- the LACP negotiation packet sent by the router A to the router B includes the system priority of the router A.
- the router B determines that the priority of the router A is higher than itself, the router B can actively modify the reference link identifier of the local end to enable the router.
- the reference link of B is unified with the reference link of the router A.
- the negotiation message may be sent to the router A, and the negotiation message may be an LACP negotiation packet, where the LACP negotiation report is used.
- the reference carries the reference link identifier of Router B and the system priority of Router B. After Router A receives the negotiation message, it can determine that Router B has a higher priority than itself according to the priority information of Router B. When the reference link is different, Router A with lower priority actively modifies the reference link selected by itself to make it consistent with the reference link of Router B.
- Manner 2 When the priority of the router B is high, the router can directly send an advertisement message to the router A to advertise the reference link selected by the router, so that the low-priority router A modifies its own reference link according to the advertisement message, so that both sides The reference link is unified.
- the docking device determines the system with the higher priority according to the system priority information of the two parties, and unifies the reference link to the docking device with the higher system priority, that is, the docking device with the lower system priority.
- the reference link selection of the two parties is found to be inconsistent, the reference link is actively modified to The reference link selected by the peer device with high system priority.
- Step 305 After the reference link is determined, the docking device at both ends of the aggregation link performs port state selection, and the attribute value Synchronization in the Actor state corresponding to the selected reference link is set to 1, that is, both sides of the aggregation link are selected by the same child. Ports at both ends of the link, and notify the other party that the port selection is successful.
- the docking device notifies the reference link selected by the peer end by referring to the link identifier.
- the embodiment of the present invention can also standardize the selection manner of the reference link, and carry the standardized reference chain through the Reserved field.
- the docking device unifies the reference link selection manner through negotiation, so that the reference links selected by the two parties are the same.
- the reference link selection mode includes rate priority and port priority priority.
- the Reserved field is set to 1
- the reference link selection mode is rate priority.
- the Reserved field is set to 2
- the reference link selection is indicated.
- the mode is port priority first.
- the connection device may use the Reserved field in the LACP negotiation packet to carry the reference link selection mode, and notify the peer end of the reference link selection mode, so that the reference link selection of the two parties is selected.
- the mode is unified so that both parties can select the same reference link in the reference link negotiation process (similar to steps 303, 304).
- the specific method is similar to the description in the above embodiment, and the present invention is not described again.
- An embodiment of the present invention provides a method for negotiating a link between two first modes (negotiating the same reference link flag or negotiating the same reference link selection mode) between the first docking device and the second docking device.
- the same reference link is used to ensure that the referenced links at both ends of the trunk interface are selected on the same sub-link through negotiation. This prevents the LACP negotiation failure and the trunk port failure caused by the inconsistent reference link selection. .
- FIG. 5 is a schematic structural diagram of a reference link negotiation system according to an embodiment of the present invention, where the system includes a first docking device 501 and a second docking device 502, where The first docking device 501 and the second docking device 502 are devices at both ends of the aggregation link group, and the second docking device 502 is configured to send to the first docking device 501 by using all the sub-links in the aggregation link group.
- the LACP negotiation message where the LACP negotiation message carries the system priority of the second docking device 502 and the reference link information;
- the first docking device 501 is configured to receive an LACP negotiation packet sent by the second docking device 502.
- the first docking device 501 is further configured to determine, according to the reference link information of the second docking device 502, whether the reference link selected by the second docking device 502 is the same as the reference link selected by itself, and if not, The reference link selected by the second docking device 502 is set to be the same as the reference link selected by itself according to the system priority of the second docking device 502.
- first docking device 501 and the second docking device 502 are further configured to respectively select the port of the negotiated reference link, and notify the peer end that the port selection is successful.
- the first docking device 501 and the second docking device 502 are specifically configured to set an attribute value Synchronization in the Actor-state of the negotiated reference link to L.
- FIG. 6 is a schematic structural diagram of a reference link negotiation apparatus according to an embodiment of the present invention, where the apparatus is a first docking device, and the first docking device and the second docking device are an aggregation link group.
- the first docking device includes: a receiving unit 601; a reference link determining unit 602
- the receiving unit 601 is configured to receive an LACP negotiation packet sent by the second interface device by using all the sub-links in the aggregation link group, where the LACP negotiation packet carries the second pair System priority and reference link information of the connected device;
- the reference link determining unit 602 is configured to determine, according to the reference link information of the second docking device, whether the reference link selected by the second docking device is the same as the reference link selected by itself, and if not, according to the The system priority of the second docking device sets the reference link selected by the second docking device to be the same as the reference link selected by itself.
- the first docking device further includes a port selection advertisement unit 603, configured to notify the second docking device that the port selection is successful after the port of the negotiated reference link is selected.
- the port selection advertising unit 603 is specifically configured to use the negotiated reference link.
- ZA ti on is set to 1.
- Embodiments of the present invention provide a method, an apparatus, and a system for referencing link negotiation, in which two methods (negotiating the same reference link flag or negotiating the same reference link selection mode) are used in the first docking device and the second docking device.
- the same reference link is determined between the devices, so that the reference devices at both ends of the trunk port are negotiated to select the reference links on both ends of the same sub-link to avoid the reference link selection.
- the storage medium may be a magnetic disk, an optical disk, a corpse, a Read-On Memory (ROM), or a Random Acce s Memory (RAM).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method, an apparatus and a system for reference link negotiation. A first joint device receives Link Aggregation Control Protocol (LACP) negotiation messages sent from a second joint device through all the sub links of an aggregation link group, wherein the LACP negotiation messages carry the system priority and reference link information of the second joint device; the first joint device sets, according to the system priority of the second joint device, the reference link chosen by the second joint device and the reference link chosen by itself to be the same, so that the joint devices at the two ends of a Trunk port choose the same sub link as the reference link of the two ends through negotiation, and the occurrence of the problems of LACP negotiation failure and Trunk port fault which are caused by the inconsistency of reference link choice can be avoided.
Description
参考链路协商的方法、 装置和系统 Reference link negotiation method, device and system
技术领域 Technical field
本发明涉及通信技术领域, 尤其涉及一种参考链路协商的方法、 装置和系统。 The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for reference link negotiation.
背景技术 Background technique
在网络的分层结构和宽带的合理分配方面, Trunk (即, 链路聚合 组)是带宽扩展和链路备份的一个重要途径. Trunk 技术是一种链路聚 合控制技术, 就是允许多个链路聚合在一起, 当作一个逻辑端口使用, 构成一个链路组合。 Trunk技术可以实现 Trunk内部多条链路互为备份 的功能, 即当一条链路出现故障时, 不影响其他链路的工作, 同时多 链路之间还能实现流量均衡。 Trunk (ie, link aggregation group) is an important way for bandwidth extension and link backup in terms of network layered structure and reasonable allocation of broadband. Trunk technology is a link aggregation control technology that allows multiple chains. The roads are aggregated together and used as a logical port to form a link combination. Trunk technology can implement the function of backing up multiple links in a trunk. That is, when a link fails, traffic of other links is not affected, and traffic balancing can be implemented between multiple links.
但是, 现有技术中, 聚合链路两端的对接设备 (例如, 路由器 A 和路由器 B)无法感知对端的参考链路信息, 同时参考链路的选择方式 又各不相同, 不同的设备商提供的设备没有在参考链路选择上达成一 致, 而当两端的对接设备的参考链路没有选择在同一条链路上的时候, 子链路无法聚合到当前聚合组中, 则该端口一直无法达到被选中的状 态。 这种情况下会导致 ACP ( Link Aggregation Control Protocol , 链路汇聚控制协议) 协商失败, 从而造成 Trunk口通讯故障。
发明内容 However, in the prior art, the docking devices at both ends of the aggregation link (for example, Router A and Router B) cannot perceive the reference link information of the peer end, and the selection manner of the reference link is different, and is provided by different equipment vendors. The device does not agree on the reference link selection. When the reference link of the docking device at both ends is not selected on the same link, the sub-link cannot be aggregated into the current aggregation group. The selected state. In this case, the ACP (Link Aggregation Control Protocol) negotiation fails, causing the communication failure of the trunk port. Summary of the invention
本发明的实施例提供一种参考链路协商的方法、装置和系统, Trunk 两端的对接设备可以感知对端的参考链路,并通过协商使两端的参考链路选 择在同一条链路上,避免出现因参考链路选择不一致而导致的 LACP协商失 败以及 Trunk口故障的问题。 An embodiment of the present invention provides a method, an apparatus, and a system for negotiating a link. The device at both ends of the trunk can sense the reference link of the peer end and negotiate the reference links of the two ends on the same link to avoid The LACP negotiation failure and the trunk port failure caused by the inconsistent reference link selection.
本发明实施例提供了一种参考链路协商的方法, 所述方法包括: 第一对接设备接收第二对接设备通过聚合链路组中的所有子链路 发送的 LACP协商报文, 所述 LACP协商报文携带所述第二对接设备的 系统优先级以及参考链路信息; The embodiment of the present invention provides a method for negotiating a reference link, where the method includes: the first interfacing device receives an LACP negotiation packet sent by the second interfacing device by using all the sub-links in the aggregation link group, where the LACP is The negotiation packet carries the system priority of the second docking device and the reference link information;
所述第一对接设备根据所述第二对接设备的参考链路信息判断所 述第二对接设备选择的参考链路与自身选择的参考链路是否相同, 如 果否, 所述第一对接设备根据所述第二对接设备的系统优先级将所述 第二对接设备选择的参考链路与自身选择的参考链路置为相同; The first docking device determines, according to the reference link information of the second docking device, whether the reference link selected by the second docking device is the same as the reference link selected by itself, and if not, the first docking device is configured according to The system priority of the second docking device sets the reference link selected by the second docking device to be the same as the reference link selected by itself;
其中, 所述第一对接设备与第二对接设备为聚合链路组两端的设 备。 The first docking device and the second docking device are devices at both ends of the aggregation link group.
本发明实施例还提供了一种参考链路的协商系统, 所述系统包括 第一对接设备和第二对接设备, 所述第一对接设备与所述第二对接设 备为聚合链路组两端的设备, The embodiment of the present invention further provides a reference link negotiation system, where the system includes a first docking device and a second docking device, where the first docking device and the second docking device are both ends of an aggregation link group. Equipment,
所述第二对接设备, 用于通过聚合链路组中的所有子链路向第一 对接设备发送的 LACP协商报文, 所述 LACP协商报文携带所述第二对 接设备的系统优先级以及参考链路信息;
所述第一对接设备,用于接收第二对接设备发送的 LACP协商报文; 所述第一对接设备, 还用于根据所述第二对接设备的参考链路信 息判断所述第二对接设备选择的参考链路与自身选择的参考链路是否 相同, 如果否, 根据所述第二对接设备的系统优先级将所述第二对接 设备选择的参考链路与自身选择的参考链路置为相同。 The second docking device is configured to send an LACP negotiation packet to the first docking device by using all the sub-links in the aggregation link group, where the LACP negotiation packet carries the system priority of the second docking device and Reference link information; The first docking device is configured to receive an LACP negotiation packet sent by the second docking device, where the first docking device is further configured to determine, according to the reference link information of the second docking device, the second docking device Whether the selected reference link is the same as the reference link selected by itself, and if not, the reference link selected by the second docking device and the reference link selected by itself are set according to the system priority of the second docking device the same.
本发明实施例还提供了一种参考链路的协商装置, 所述装置为第 一对接设备, 所述第一对接设备与第二对接设备为聚合链路组两端的 设备, 所述第一对接设备包括: 接收单元; 参考链路确定单元 The embodiment of the present invention further provides a reference link negotiation device, where the device is a first docking device, and the first docking device and the second docking device are devices at both ends of the aggregation link group, and the first docking device The device includes: a receiving unit; a reference link determining unit
所述接收单元, 用于接收第二对接设备通过聚合链路组中的所有 子链路发送的 LACP协商报文, 所述 LACP协商报文携带所述第二对接 设备的系统优先级以及参考链路信息; The receiving unit is configured to receive an LACP negotiation packet sent by the second docking device by using all the sub-links in the aggregation link group, where the LACP negotiation packet carries the system priority and the reference chain of the second docking device. Road information
所述参考链路确定单元, 用于根据所述第二对接设备的参考链路 信息判断所述第二对接设备选择的参考链路与自身选择的参考链路是 否相同, 如果否, 根据所述第二对接设备的系统优先级将所述第二对 接设备选择的参考链路与自身选择的参考链路置为相同。 The reference link determining unit is configured to determine, according to the reference link information of the second docking device, whether the reference link selected by the second docking device is the same as the reference link selected by itself, and if not, according to the The system priority of the second docking device sets the reference link selected by the second docking device to be the same as the reference link selected by itself.
本发明的实施例提供一种参考链路协商的方法、 装置和系统, 第 Embodiments of the present invention provide a method, apparatus, and system for reference link negotiation,
LACP协商报文,所述 LACP协商报文携带所述第二对接设备的系统优先 级以及参考链路信息, 所述第一对接设备根据所述第二对接设备的系 统优先级将所述第二对接设备选择的参考链路与自身选择的参考链路 置为相同, 从而使得 Trunk口两端的对接设备通过协商使两端的参考链路 选择在同一条子链路上,避免出现因参考链路选择不一致而导致的 LACP协
商失败以及 Trunk口故障的问题。 附图说明 The LACP negotiation packet, where the LACP negotiation packet carries the system priority of the second docking device and the reference link information, and the first docking device sets the second according to the system priority of the second docking device. The reference link selected by the docking device is the same as the reference link selected by itself. Therefore, the reference devices at both ends of the trunk interface are negotiated to select the reference links on both ends of the same sub-link to avoid inconsistency in the reference link selection. The resulting LACP Association The failure of the quotient and the failure of the trunk port. DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例描 述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的 附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following drawings will be briefly described, and the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图 1为本发明实施例提供的一种参考链路协商方法的流程示意图; 图 2为本发明实施例提供的一种 Trunk口设备对接示意图; 1 is a schematic flowchart of a reference link negotiation method according to an embodiment of the present invention; FIG. 2 is a schematic diagram of docking a trunk port device according to an embodiment of the present invention;
图 3 为本发明实施例提供的另一种参考链路协商方法的流程示意 图; 3 is a schematic flow chart of another reference link negotiation method according to an embodiment of the present invention;
图 4为本发明实施例通过的 LACP协商报文的格式示意图; 图 5为本发明实施例提供的一种参考链路协商系统的架构示意图; 图 6为本发明实施例提供的一种参考链路协商装置的架构示意图。 4 is a schematic diagram of a format of an LACP negotiation packet according to an embodiment of the present invention; FIG. 5 is a schematic structural diagram of a reference link negotiation system according to an embodiment of the present invention; FIG. 6 is a reference chain according to an embodiment of the present invention; Schematic diagram of the structure of the road negotiation device.
具体实施方式 detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方 案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部 分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普 通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
如图 1所示,为本发明实施例提供的一种参考链路的协商方法,包括: 步骤 101 : 第一对接设备接收第二对接设备通过聚合链路组中的所 有子链路发送的 LACP协商报文, 所述 LACP协商报文携带所述第二对 接设备的系统优先级以及参考链路信息; The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention. As shown in FIG. 1 , a method for negotiating a reference link according to an embodiment of the present invention includes: Step 101: A first docking device receives an LACP sent by a second docking device through all sub-links in an aggregation link group. Negotiating the message, the LACP negotiation message carrying the system priority of the second docking device and the reference link information;
步骤 102 : 所述第一对接设备根据所述第二对接设备的参考链路信 息判断所述第二对接设备选择的参考链路与自身选择的参考链路是否 相同, 如果否, 所述第一对接设备根据所述第二对接设备的系统优先 级将所述第二对接设备选择的参考链路与自身选择的参考链路置为相 同; Step 102: The first docking device determines, according to the reference link information of the second docking device, whether the reference link selected by the second docking device is the same as the reference link selected by itself, and if not, the first The docking device sets the reference link selected by the second docking device to the reference link selected by itself according to the system priority of the second docking device;
其中, 所述第一对接设备与第二对接设备为聚合链路组两端的设 备。 The first docking device and the second docking device are devices at both ends of the aggregation link group.
本发明的实施例提供一种参考链路协商的方法、 装置和系统, 第 Embodiments of the present invention provide a method, apparatus, and system for reference link negotiation,
LACP协商报文,所述 LACP协商报文携带所述第二对接设备的系统优先 级以及参考链路信息, 所述第一对接设备根据所述第二对接设备的系 统优先级将所述第二对接设备选择的参考链路与自身选择的参考链路 置为相同, 从而使得 Trunk口两端的对接设备通过协商使两端的参考链路 选择在同一条子链路上,避免出现因参考链路选择不一致而导致的 LACP协 商失败以及 Trunk口故障的问题。 The LACP negotiation packet, where the LACP negotiation packet carries the system priority of the second docking device and the reference link information, and the first docking device sets the second according to the system priority of the second docking device. The reference link selected by the docking device is the same as the reference link selected by itself. Therefore, the reference devices at both ends of the trunk interface are negotiated to select the reference links on both ends of the same sub-link to avoid inconsistency in the reference link selection. The LACP negotiation failed and the trunk port failed.
进一步的, 所述参考链路信息包括: 参考链路选择标志或参考链 路选择方式; Further, the reference link information includes: a reference link selection flag or a reference link selection manner;
其中, 所述参考链路选择标志用来表示发送所述 LACP协商报文的
链路是否为参考链路, 所述参考链路选择方式用来表示所述第二对接 设备选择参考链路的规则。 The reference link selection flag is used to indicate that the LACP negotiation packet is sent. Whether the link is a reference link, and the reference link selection mode is used to indicate that the second docking device selects a rule of the reference link.
通过所述 LACP协商报文中的 Reserved字段携带所述参考链路选 择标志, 当所述 Reserved字段设置为 1 时, 表示发送所述 LACP协商 报文的子链路为所述第二对接设备选择的参考链路。 The referenced link selection flag is carried in the Reserved field in the LACP negotiation packet. When the Reserved field is set to 1, the sub-link that sends the LACP negotiation packet is selected by the second docking device. Reference link.
所述参考链路选择方式包括速率优先和 /或端口优先级优先。 The reference link selection mode includes rate priority and/or port priority priority.
通过所述 LACP协商报文中的 Reserved字段携带所述参考链路选 择方式, 当所述 Reserved字段设置为 1时, 表示参考链路选择方式为 速率优先, 当 Reserved字段设置为 2时, 则表示子链路选择方式为端 口优先级优先。 The referenced link selection mode is carried in the Reserved field in the LACP negotiation packet. When the Reserved field is set to 1, the reference link selection mode is rate priority. When the Reserved field is set to 2, it indicates The sub-link selection mode is port priority first.
所述 LACP协商报文还包括端口优先级和端口速率。 The LACP negotiation packet further includes a port priority and a port rate.
在一种情况下: 所述第一对接设备根据所述第二对接设备的系统 优先级将所述第二对接设备选择的参考链路与自身选择的参考链路置 为相同包括: In one case, the first docking device sets the reference link selected by the second docking device to the reference link selected by itself according to the system priority of the second docking device:
所述第一对接设备根据所述 LACP协商报文中携带的第二对接设备 的系统优先级判断自身的系统优先级是否高于所述第二对接设备, 如 果否, 则: The first docking device determines whether the system priority of the second docking device is higher than the second docking device according to the system priority of the second docking device carried in the LACP negotiation packet, if not, then:
所述第一对接设备将自身的参考链路选择方式修改成所述第二对 接设备的参考链路选择方式, 从而使得双方选择相同的参考链路。 The first docking device modifies its own reference link selection mode to the reference link selection mode of the second docking device, so that both parties select the same reference link.
在另一种情况下: 所述第一对接设备根据所述第二对接设备的系 统优先级将所述第二对接设备选择的参考链路与自身选择的参考链路 置为相同包括:
所述第一对接设备根据所述 LACP协商报文中携带的第二对接设备 的系统优先级判断自身的系统优先级是否高于所述第二对接设备, 如 果是, 则: In another case, the first docking device sets the reference link selected by the second docking device to the reference link selected by itself according to the system priority of the second docking device: The first docking device determines whether the system priority of the second docking device is higher than the second docking device according to the system priority of the second docking device carried in the LACP negotiation packet. If yes, then:
所述第一对接设备向所述第二对接设备发送通告消息, 通告自身 参考链路选择方式, 从而使得所述第二对接设备按照通告消息将自身 的参考链路选择方式统一为所述第一对接设备的参考链路选择方式, 从而使得双方选择相同的参考链路; 或, The first docking device sends an advertisement message to the second docking device, and advertises its own reference link selection manner, so that the second docking device unifies its reference link selection manner to the first according to the advertisement message. The reference link selection mode of the docking device, so that both parties select the same reference link; or,
所述第一对接设备向所述第二对接设备发送协商消息, 通过聚合 链路组中的所有子链路将各子链路对应的参考链路选择方式发送给所 述第二对接设备, 使得所述第二对接设备将自身的参考链路选择方式 统一为所述第一对接设备的参考链路选择方式, 从而使得双方选择相 同的参考链路。 The first docking device sends a negotiation message to the second docking device, and sends a reference link selection manner corresponding to each sub-link to the second docking device by using all the sub-links in the aggregation link group, so that The second docking device unifies its own reference link selection mode to the reference link selection mode of the first docking device, so that both parties select the same reference link.
在另一种情况下: 所述第一对接设备根据所述第二对接设备的系 统优先级将所述第二对接设备选择的参考链路与自身选择的参考链路 置为相同包括: In another case, the first docking device sets the reference link selected by the second docking device to the reference link selected by itself according to the system priority of the second docking device:
所述第一对接设备根据所述 LACP协商报文中携带的第二对接设备 的系统优先级判断自身的系统优先级是否高于所述第二对接设备, 如 果否, 则所述第一对接设备根据所述参考链路选择标志将自身选择的 参考链路修改成所述第二对接设备选择的参考链路。 The first docking device determines whether the system priority of the second docking device is higher than the second docking device according to the system priority of the second docking device carried in the LACP negotiation packet, and if not, the first docking device Modifying the reference link selected by itself to the reference link selected by the second docking device according to the reference link selection flag.
在另一种情况下: 所述第一对接设备根据所述第二对接设备的系 统优先级将所述第二对接设备选择的参考链路与自身选择的参考链路 置为相同包括:
所述第一对接设备根据所述 LACP协商报文中携带的第二对接设备 的系统优先级判断自身的系统优先级是否高于所述第二对接设备, 如 果是, 则: In another case, the first docking device sets the reference link selected by the second docking device to the reference link selected by itself according to the system priority of the second docking device: The first docking device determines whether the system priority of the second docking device is higher than the second docking device according to the system priority of the second docking device carried in the LACP negotiation packet. If yes, then:
所述第一对接设备向所述第二对接设备发送通告消息, 通告自身 选择的参考链路, 从而使得所述第二对接设备按照通告消息将自身选 择的参考链路统一为第一对接设备选择的参考链路; 或, The first docking device sends an advertisement message to the second docking device, and advertises the reference link selected by the first docking device, so that the second docking device unifies the reference link selected by itself to the first docking device according to the notification message. Reference link; or,
所述第一对接设备向所述第二对接设备发送协商消息, 通过聚合 链路组中的所有子链路将各子链路对应的参考链路标志发送给所述第 二对接设备, 使得所述第二对接设备可以根据所述第一对接设备的参 考链路标志将自身的参考链路主动修改为所述第一对接设备选择的参 考链路。 The first docking device sends a negotiation message to the second docking device, and sends a reference link identifier corresponding to each sub-link to the second docking device by using all the sub-links in the aggregation link group, so that the The second docking device may actively modify its own reference link to the reference link selected by the first docking device according to the reference link identifier of the first docking device.
在所述第一对接设备根据所述第二对接设备的系统优先级将所述 第二对接设备选择的参考链路与自身选择的参考链路置为相同之后, 所述方法还包括: After the first docking device sets the reference link selected by the second docking device to be the same as the reference link selected by the first docking device according to the system priority of the second docking device, the method further includes:
所述第一对接设备与所述第二对接设备分别选中协商后的参考链 路的端口, 并向对端通告端口选择成功。 The first docking device and the second docking device respectively select the port of the negotiated reference link, and notify the peer that the port is successfully selected.
所述第一对接设备与所述第二对接设备分别选中协商后的参考链 路的端口包括: The ports of the reference link that are selected by the first docking device and the second docking device respectively include:
所述第一对接设备与所述第二对接设备将所述协商后的参考链路 的 Ac t or - s t a t e中的属性值 Synchron i za t i on置为 1。 The first docking device and the second docking device set the attribute value Synchron i za t i on in the Ac t or - s t a t e of the negotiated reference link to 1.
在所述第一对接设备接收第二对接设备通过聚合链路组中的所有 子链路发送的 LACP协商报文之前, 所述方法还包括: 所述第一对接设
备与所述第二对接设备进行配置信息交互, 分别获取对端的配置信息。 所述对接设备 (包括第一对接设备和第二对接设备) 为路由器。 如图 2所示, 为本发明实施例提供的一种 Trunk口设备对接示意图, 本发明 实施例以两个路由器之间聚合两条子链路为例进行说明, 需要指出的是, 聚合 链路中子链路的数量可以大于 2条, 本发明实施例对此并不限定。 Trunk口两端 的对接设备分别为路由器 A和路由器 其中, 路由器 A有接口 Port A、 Port B , 路由器 B有接口 Port Al、 Port Bl , 路由器 A和路由器 B之间存在两条子链路: Port A—— Port Al ; Port B—— Port BU 本发明后续实施例将以此架构为基础 进行描述。 Before the first docking device receives the LACP negotiation packet sent by the second interface device by using all the sub-links in the aggregation link group, the method further includes: the first pair of connection devices The configuration information is exchanged with the second docking device, and the configuration information of the peer end is obtained. The docking device (including the first docking device and the second docking device) is a router. As shown in FIG. 2, a schematic diagram of a trunk port device connection is provided in the embodiment of the present invention. The embodiment of the present invention uses two sub-links between two routers as an example for description. The number of the sub-links may be greater than two, which is not limited by the embodiment of the present invention. The docking devices at both ends of the trunk port are Router A and Router. Router A has interfaces Port A and Port B. Router B has interfaces Port Al and Port Bl. There are two sub-links between Router A and Router B: Port A— — Port Al ; Port B — Port BU A subsequent embodiment of the present invention will be described based on this architecture.
如图 3所示,为本发明实施例通过的一种参考链路协商的方法流程示意图, 包括: FIG. 3 is a schematic flowchart of a method for negotiating a reference link according to an embodiment of the present invention, including:
步骤 301 : 路由器 A复位状态机复位, 与路由器 B进行配置信息交互, 通过 如图 4所示, 为 LACP协商报文的格式示意图, LACP协商报文至少包括本 端信息和对端信息, 需要说明的是, 在初始状态下, 路由器 A和路由器 B均无 对端信息, 路由器 A向路由器 B发送 LACP协商报文, 所述 LACP协商报文携带 本端信息和对端信息, 此时由于路由器 A中无对端信息, 因此 LACP协商报文 中的对端信息均为缺省值。 Step 301: The router A resets the state machine and resets the configuration information with the router B. As shown in Figure 4, the format of the LACP negotiation packet is as follows: The LACP negotiation packet includes at least the local information and the peer information. In the initial state, Router A and Router B have no peer information, and Router A sends an LACP negotiation packet to Router B. The LACP negotiation packet carries the local information and the peer information. There is no peer information. Therefore, the peer information in the LACP negotiation packet is the default.
需要说明的是,当聚合链路组两端的至少一个对接设备中的至少一个子链 路属性发生改变时, 即可以引起对接设备的复位状态机复位。 It should be noted that when at least one sub-link attribute of at least one docking device at both ends of the aggregation link group is changed, the reset state machine reset of the docking device may be caused.
步骤 302: 路由器 B接收路由器 A发送的 LACP协商报文, 将所述路由器 A 的配置信息记录到本地的配置信息中, 并向路由器 A返回 LACP协商报文, 返
回的 LACP协商报文中包括路由器 B的本端信息以及接收到的路由器 A的配置 信息, 其中, 路由器 A的信息携带在返回的 LACP协商报文的对端信息部分。 通过步骤 301和 302, 完成配置信息交互过程,使得对接设备获知对端的配置信 息。 Step 302: Router B receives the LACP negotiation packet sent by the router A, records the configuration information of the router A to the local configuration information, and returns an LACP negotiation packet to the router A. The returned LACP negotiation packet includes the local information of the router B and the configuration information of the received router A. The information of the router A is carried in the peer information part of the returned LACP negotiation packet. Through the steps 301 and 302, the configuration information interaction process is completed, so that the docking device learns the configuration information of the peer end.
步骤 303: 配置信息交互过程完成后, 对接设备(路由器 A或路由器 B, 本 发明实施例以路由器 A为例进行说明, 但并不限定于路由器 A )发起参考链路 协商过程。路由器 A通过聚合链路组中的所有子链路向路由器 B发送 LACP协商 报文, 所述 LACP协商报文中至少包括本端 Actor_system_priority (本端系统优 先级)和本端参考链路标志, 所述参考链路标志用来指示发送所述 LACP协商 报文的子链路是否为参考链路。 其中, 所述本端系统优先级用于表示发送所述 LACP协商报文的对接设备的系统优先级; 可以选取 LACP协商报文中的 Reserved字段来携带该本端参考链路标志, 例如, 可以将该本端参考链路标志 设置为 1用来表示路由器 A将发送所述 LACP协商报文的子链路为参考链路, 可 以将该本端参考链路标志设置为 2用来表示路由器 A将发送所述 LACP协商报 文的子链路为非参考链路, 当该本端参考链路标志设置为 0时, 用来表示无效 值。 需要说明的是, 多条子链路聚合的链路聚合组中只能有一条子链路作为参 考链路, 即路由器 A在所有的子链路上发送的 LACP协商报文中, 仅会选择其 中一个 LACP协商报文的 Reserved字段取值为 1。 Step 303: After the configuration information interaction process is completed, the connection device (the router A or the router B, the router A is used as an example, but is not limited to the router A) to initiate the reference link negotiation process. Router A sends an LACP negotiation packet to the router B through all the sub-links in the aggregation link group. The LACP negotiation packet includes at least the local Actor_system_priority (the local system priority) and the local reference link identifier. The reference link flag is used to indicate whether the sub-link that sends the LACP negotiation message is a reference link. The priority of the local system is used to indicate the system priority of the device that sends the LACP negotiation packet. The Reserved field in the LACP negotiation packet can be used to carry the local reference link identifier. For example, The local reference link flag is set to 1 to indicate that the sub-link that the router A sends the LACP negotiation packet is a reference link, and the local reference link flag is set to 2 to indicate the router A. The sub-link that sends the LACP negotiation packet is a non-reference link. When the local reference link flag is set to 0, it is used to indicate an invalid value. It should be noted that only one sub-link can be used as the reference link in the link aggregation group that is aggregated by multiple sub-links. That is, the router A only selects the LACP negotiation packets sent by all the sub-links. The Reserved field of an LACP negotiation packet takes the value 1.
对于本发明实施例来说,对接设备至少获知对端的系统优先级和对端的参 考链路选择标志,进一步的 LACP协商报文中还可以包括 Actor_port_priority(端 口优先级)和 Actor_key (指示子链路端口的属性,包括了端口速率、 协商模式
等信息) For the embodiment of the present invention, the interface device has at least the system priority of the peer end and the reference link selection flag of the peer end. The further LACP negotiation message may further include Actor_port_priority (port priority) and Actor_key (indicating the sub-link port). Attributes, including port rate, negotiation mode Information)
步骤 304: 路由器 B接收路由器 A发送的 LACP协商报文,从所述 LACP协商 报文中获取路由器 A的参考链路标志, 从而确定路由器 A选择的参考链路。 如 果路由器 B选择的参考链路与路由器 A选择的参考链路不一致, 则聚合链路组 两端的对接设备根据双方的系统优先级在路由器 A和路由器 B之间的链路聚合 组中唯一确定一条参考链路, 具体包括一下方式: Step 304: Router B receives the LACP negotiation packet sent by the router A, and obtains the reference link identifier of the router A from the LACP negotiation packet, so as to determine the reference link selected by the router A. If the reference link selected by the router B is inconsistent with the reference link selected by the router A, the docking device at both ends of the aggregated link group uniquely determines one of the link aggregation groups between the router A and the router B according to the system priority of both parties. The reference link includes the following methods:
方式一: method one:
由于步骤 303中路由器 A发送给路由器 B的 LACP协商报文中包括路由器 A 的系统优先级, 当路由器 B确定路由器 A的优先级高于自身时, 可以主动修改 本端的参考链路标志, 使路由器 B的参考链路与路由器 A的参考链路统一; 或 者, 当路由器 B的优先级高时, 可以向路由器 A发送协商消息, 所述协商消息 具体可以采用 LACP协商报文, 所述 LACP协商报文中携带路由器 B的参考链路 标志和路由器 B的系统优先级, 当路由器 A收到所述协商消息后,根据路由器 B 的优先级信息即可确定路由器 B的优先级高于自身, 在选择参考链路不同的情 况下, 优先级较低的路由器 A主动修改自身选择的参考链路, 使之与路由器 B 的参考链路统一。 In step 303, the LACP negotiation packet sent by the router A to the router B includes the system priority of the router A. When the router B determines that the priority of the router A is higher than itself, the router B can actively modify the reference link identifier of the local end to enable the router. The reference link of B is unified with the reference link of the router A. Alternatively, when the priority of the router B is high, the negotiation message may be sent to the router A, and the negotiation message may be an LACP negotiation packet, where the LACP negotiation report is used. The reference carries the reference link identifier of Router B and the system priority of Router B. After Router A receives the negotiation message, it can determine that Router B has a higher priority than itself according to the priority information of Router B. When the reference link is different, Router A with lower priority actively modifies the reference link selected by itself to make it consistent with the reference link of Router B.
方式二: 当路由器 B的优先级高时, 还可以直接向路由器 A发送通告消息, 通告自身选择的参考链路, 从而使得低优先级的路由器 A按照通告消息修改自 身的参考链路, 使得双方的参考链路统一。 Manner 2: When the priority of the router B is high, the router can directly send an advertisement message to the router A to advertise the reference link selected by the router, so that the low-priority router A modifies its own reference link according to the advertisement message, so that both sides The reference link is unified.
具体的, 方式一的原理即为: 对接设备根据双方的系统优先级信息确定系 统优先级较高的一方,将参考链路向系统优先级高的对接设备统一, 即系统优 先级低的对接设备发现双方的参考链路选择不一致时,主动将参考链路修改为
系统优先级高的对端设备选择的参考链路。 Specifically, the principle of the first method is: the docking device determines the system with the higher priority according to the system priority information of the two parties, and unifies the reference link to the docking device with the higher system priority, that is, the docking device with the lower system priority. When the reference link selection of the two parties is found to be inconsistent, the reference link is actively modified to The reference link selected by the peer device with high system priority.
步骤 305: 参考链路确定后, 聚合链路两端的对接设备进行端口状态选择, 将选定的参考链路对应的 Actor state中的属性值 Synchronization置为 1, 即聚合 链路双方均选中同一子链路两端的端口, 并通告对方端口选择成功。 Step 305: After the reference link is determined, the docking device at both ends of the aggregation link performs port state selection, and the attribute value Synchronization in the Actor state corresponding to the selected reference link is set to 1, that is, both sides of the aggregation link are selected by the same child. Ports at both ends of the link, and notify the other party that the port selection is successful.
更进一步的, 步骤 303中对接设备通过参考链路标志通知对端自身选择的 参考链路, 此外, 本发明实施例还可以对参考链路的选择方式进行标准化, 通 过 Reserved字段携带标准化的参考链路选择方式, 对接设备通过协商, 将参考 链路选择方式统一起来, 从而使得最后双方各自选择的参考链路相同。 Further, in step 303, the docking device notifies the reference link selected by the peer end by referring to the link identifier. In addition, the embodiment of the present invention can also standardize the selection manner of the reference link, and carry the standardized reference chain through the Reserved field. In the path selection mode, the docking device unifies the reference link selection manner through negotiation, so that the reference links selected by the two parties are the same.
具体的, 参考链路选择方式包括速率优先和端口优先级优先, 当 Reserved 字段设置为 1时, 则表示参考链路选择方式为速率优先, 当 Reserved字段设置 为 2时, 则表示参考链路选择方式为端口优先级优先。 本发明实施例步骤 303、 304中, 对接设备可以使用 LACP协商报文中的 Reserved字段携带上述参考链路 选择方式, 将自身的参考链路选择方式通知给对端,使得双方的参考链路选择 方式统一,从而使得双方在参考链路协商过程(类似于步骤 303、 304 ) 中可以 选择相同的参考链路。具体方法与上述实施例中的描述类似,本发明不在赘述。 Specifically, the reference link selection mode includes rate priority and port priority priority. When the Reserved field is set to 1, the reference link selection mode is rate priority. When the Reserved field is set to 2, the reference link selection is indicated. The mode is port priority first. In the steps 303 and 304 of the embodiment of the present invention, the connection device may use the Reserved field in the LACP negotiation packet to carry the reference link selection mode, and notify the peer end of the reference link selection mode, so that the reference link selection of the two parties is selected. The mode is unified so that both parties can select the same reference link in the reference link negotiation process (similar to steps 303, 304). The specific method is similar to the description in the above embodiment, and the present invention is not described again.
本发明的实施例提供一种参考链路协商的方法, 采用两种方式(协商相同 的参考链路标志或协商相同的参考链路选择方式)在第一对接设备和第二对接 设备之间确定相同的参考链路, 从而使得 Trunk口两端的对接设备通过协商使 两端的参考链路选择在同一条子链路上,避免出现因参考链路选择不一致而导 致的 LACP协商失败以及 Trunk口故障的问题。 An embodiment of the present invention provides a method for negotiating a link between two first modes (negotiating the same reference link flag or negotiating the same reference link selection mode) between the first docking device and the second docking device. The same reference link is used to ensure that the referenced links at both ends of the trunk interface are selected on the same sub-link through negotiation. This prevents the LACP negotiation failure and the trunk port failure caused by the inconsistent reference link selection. .
如图 5所示, 为为本发明实施例提供的一种参考链路协商系统的架 构示意图, 所述系统包括第一对接设备 501和第二对接设备 502, 所述
第一对接设备 501与所述第二对接设备 502为聚合链路组两端的设备, 所述第二对接设备 502,用于通过聚合链路组中的所有子链路向第 一对接设备 501发送的 LACP协商报文, 所述 LACP协商报文携带所述 第二对接设备 502的系统优先级以及参考链路信息; FIG. 5 is a schematic structural diagram of a reference link negotiation system according to an embodiment of the present invention, where the system includes a first docking device 501 and a second docking device 502, where The first docking device 501 and the second docking device 502 are devices at both ends of the aggregation link group, and the second docking device 502 is configured to send to the first docking device 501 by using all the sub-links in the aggregation link group. The LACP negotiation message, where the LACP negotiation message carries the system priority of the second docking device 502 and the reference link information;
所述第一对接设备 501, 用于接收第二对接设备 502发送的 LACP 协商报文; The first docking device 501 is configured to receive an LACP negotiation packet sent by the second docking device 502.
所述第一对接设备 501,还用于根据所述第二对接设备 502的参考 链路信息判断所述第二对接设备 502 选择的参考链路与自身选择的参 考链路是否相同, 如果否, 根据所述第二对接设备 502 的系统优先级 将所述第二对接设备 502 选择的参考链路与自身选择的参考链路置为 相同。 The first docking device 501 is further configured to determine, according to the reference link information of the second docking device 502, whether the reference link selected by the second docking device 502 is the same as the reference link selected by itself, and if not, The reference link selected by the second docking device 502 is set to be the same as the reference link selected by itself according to the system priority of the second docking device 502.
进一步的, 所述第一对接设备 501与所述第二对接设备 502, 还用 于分别选中协商后的参考链路的端口, 并向对端通告端口选择成功。 Further, the first docking device 501 and the second docking device 502 are further configured to respectively select the port of the negotiated reference link, and notify the peer end that the port selection is successful.
所述第一对接设备 501与所述第二对接设备 502, 具体用于将所述 协商后的参考链路的 Actor-state 中的属性值 Synchronization 置为 L The first docking device 501 and the second docking device 502 are specifically configured to set an attribute value Synchronization in the Actor-state of the negotiated reference link to L.
如图 6 所示, 为本发明实施例提供的一种参考链路协商装置的架 构示意图, 所述装置为第一对接设备, 所述第一对接设备与第二对接 设备为聚合链路组两端的设备,所述第一对接设备包括:接收单元 601; 参考链路确定单元 602 FIG. 6 is a schematic structural diagram of a reference link negotiation apparatus according to an embodiment of the present invention, where the apparatus is a first docking device, and the first docking device and the second docking device are an aggregation link group. End device, the first docking device includes: a receiving unit 601; a reference link determining unit 602
所述接收单元 601,用于接收第二对接设备通过聚合链路组中的所 有子链路发送的 LACP协商报文, 所述 LACP协商报文携带所述第二对
接设备的系统优先级以及参考链路信息; The receiving unit 601 is configured to receive an LACP negotiation packet sent by the second interface device by using all the sub-links in the aggregation link group, where the LACP negotiation packet carries the second pair System priority and reference link information of the connected device;
所述参考链路确定单元 602,用于根据所述第二对接设备的参考链 路信息判断所述第二对接设备选择的参考链路与自身选择的参考链路 是否相同, 如果否, 根据所述第二对接设备的系统优先级将所述第二 对接设备选择的参考链路与自身选择的参考链路置为相同。 The reference link determining unit 602 is configured to determine, according to the reference link information of the second docking device, whether the reference link selected by the second docking device is the same as the reference link selected by itself, and if not, according to the The system priority of the second docking device sets the reference link selected by the second docking device to be the same as the reference link selected by itself.
所述第一对接设备还包括端口选择通告单元 603, 用于在选中协商 后的参考链路的端口后, 向所述第二对接设备通告端口选择成功。 The first docking device further includes a port selection advertisement unit 603, configured to notify the second docking device that the port selection is successful after the port of the negotiated reference link is selected.
所述端口选择通告单元 603, 具体用于将所述协商后的参考链路的
za t i on置为 1。 The port selection advertising unit 603 is specifically configured to use the negotiated reference link. ZA ti on is set to 1.
本发明的实施例提供一种参考链路协商的方法、装置和系统, 采用两种方 式(协商相同的参考链路标志或协商相同的参考链路选择方式)在第一对接设 备和第二对接设备之间确定相同的参考链路, 从而使得 Trunk口两端的对接设 备通过协商使两端的参考链路选择在同一条子链路上,避免出现因参考链路选 Embodiments of the present invention provide a method, an apparatus, and a system for referencing link negotiation, in which two methods (negotiating the same reference link flag or negotiating the same reference link selection mode) are used in the first docking device and the second docking device. The same reference link is determined between the devices, so that the reference devices at both ends of the trunk port are negotiated to select the reference links on both ends of the same sub-link to avoid the reference link selection.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部 分流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程 序可存储于一计算机可读取存储介质中, 该程序在执行时, 可包括如 上述各方法的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 尸、读存储己 乙体 ( Read-On l y Memory , ROM )或随机存储 ^己 乙体 ( Random Acce s s Memory , RAM ) 等。 A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. In execution, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a corpse, a Read-On Memory (ROM), or a Random Acce s Memory (RAM).
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并 不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范
围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应所述以权利要求的保护范围为准。
The above description is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, and any technical person disclosed in the present invention is familiar to those skilled in the art. Variations or substitutions are readily conceivable within the scope of the invention. Therefore, the scope of the invention should be determined by the scope of the claims.
Claims
1、 一种参考链路的协商方法, 其特征在于, 所述方法包括: 第一对接设备接收第二对接设备通过聚合链路组中的所有子链路 发送的链路汇聚控制协议 LACP协商报文, 所述 LACP协商报文携带所 述第二对接设备的系统优先级以及参考链路信息; A method for negotiating a reference link, the method includes: the first docking device receives a link aggregation control protocol LACP negotiation report sent by the second docking device through all the sub-links in the aggregation link group. The LACP negotiation packet carries the system priority of the second docking device and the reference link information;
所述第一对接设备根据所述第二对接设备的参考链路信息判断所 述第二对接设备选择的参考链路与自身选择的参考链路是否相同, 如 果否, 所述第一对接设备根据所述第二对接设备的系统优先级将所述 第二对接设备选择的参考链路与自身选择的参考链路置为相同; The first docking device determines, according to the reference link information of the second docking device, whether the reference link selected by the second docking device is the same as the reference link selected by itself, and if not, the first docking device is configured according to The system priority of the second docking device sets the reference link selected by the second docking device to be the same as the reference link selected by itself;
其中, 所述第一对接设备与第二对接设备为聚合链路组两端的设 备。 The first docking device and the second docking device are devices at both ends of the aggregation link group.
2、 如权利要求 1所述的方法, 其特征在于, 所述参考链路信息包 括: 参考链路选择标志或参考链路选择方式; 2. The method according to claim 1, wherein the reference link information comprises: a reference link selection flag or a reference link selection manner;
其中, 所述参考链路选择标志用来表示发送所述 LACP协商报文的 链路是否为参考链路, 所述参考链路选择方式用来表示所述第二对接 设备选择参考链路的规则。 The reference link selection flag is used to indicate whether the link that sends the LACP negotiation packet is a reference link, and the reference link selection mode is used to indicate that the second docking device selects a reference link. .
3、 如权利要求 2 所述的方法, 其特征在于, 通过所述 LACP协商 报文中的 Re s e rved字段携带所述参考链路选择标志, 当所述 Re s e r ved 字段设置为 1时, 表示发送所述 LACP协商报文的子链路为所述第二对 接设备选择的参考链路。 The method according to claim 2, wherein the reference link selection flag is carried by a Re se rved field in the LACP negotiation packet, and when the Re ved field is set to 1, The sub-link that sends the LACP negotiation packet is the reference link selected by the second docking device.
4、 如权利要求 2所述的方法, 其特征在于, 所述参考链路选择方 式包括速率优先和 /或端口优先级优先。 4. The method according to claim 2, wherein the reference link selection mode comprises rate priority and/or port priority priority.
5、 如权利要求 4 所述的方法, 其特征在于, 通过所述 LACP协商 报文中的 Re s e rved字段携带所述参考链路选择方式, 当所述 Re s e r ved 字段设置为 1时, 表示参考链路选择方式为速率优先, 当 Re s e r ved字 段设置为 2时, 则表示子链路选择方式为端口优先级优先。 The method according to claim 4, wherein the Res rved field in the LACP negotiation message carries the reference link selection mode, and when the Re ved field is set to 1, The reference link selection mode is rate priority. When the Re ser ved field is set to 2, it indicates that the sublink selection mode is port priority priority.
6、 如权利要求 5 所述的方法, 其特征在于, 所述 LACP协商报文 还包括端口优先级和端口速率。 The method of claim 5, wherein the LACP negotiation message further includes a port priority and a port rate.
7、 如权利要求 2所述的方法, 其特征在于, 所述第一对接设备根 据所述第二对接设备的系统优先级将所述第二对接设备选择的参考链 路与自身选择的参考链路置为相同包括: The method according to claim 2, wherein the first docking device selects a reference link selected by the second docking device and a reference chain selected by itself according to a system priority of the second docking device The way the road is set to include:
所述第一对接设备根据所述 LACP协商报文中携带的第二对接设备 的系统优先级判断自身的系统优先级是否高于所述第二对接设备, 如 果否, 则: The first docking device determines whether the system priority of the second docking device is higher than the second docking device according to the system priority of the second docking device carried in the LACP negotiation packet, if not, then:
所述第一对接设备将自身的参考链路选择方式修改成所述第二对 接设备的参考链路选择方式, 从而使得双方选择相同的参考链路。 The first docking device modifies its own reference link selection mode to the reference link selection mode of the second docking device, so that both parties select the same reference link.
8、 如权利要求 2 所述的方法, 其特征在于, 所述第一对接设备根据 所述第二对接设备的系统优先级将所述第二对接设备选择的参考链路 与自身选择的参考链路置为相同包括: The method according to claim 2, wherein the first docking device selects a reference link selected by the second docking device and a reference chain selected by itself according to a system priority of the second docking device The way the road is set to include:
所述第一对接设备根据所述 LACP协商报文中携带的第二对接设备 的系统优先级判断自身的系统优先级是否高于所述第二对接设备, 如 果是, 贝' J : The first docking device determines whether the system priority of the second docking device is higher than the second docking device according to the system priority of the second docking device carried in the LACP negotiation packet, and if yes,
所述第一对接设备向所述第二对接设备发送通告消息, 通告自身参 考链路选择方式,从而使得所述第二对接设备按照通告消息将自身的参考链 路选择方式统一为所述第一对接设备的参考链路选择方式, 从而使得双方 选择相同的参考链路; 或, The first docking device sends an advertisement message to the second docking device, and advertises its own reference link selection manner, so that the second docking device sets its own reference chain according to the notification message. The path selection mode is unified as the reference link selection mode of the first docking device, so that both parties select the same reference link; or
所述第一对接设备向所述第二对接设备发送协商消息,通过聚合链路组 中的所有子链路将各子链路对应的参考链路选择方式发送给所述第二对接 设备,使得所述第二对接设备将自身的参考链路选择方式统一为所述第一对 接设备的参考链路选择方式, 从而使得双方选择相同的参考链路。 The first docking device sends a negotiation message to the second docking device, and sends a reference link selection manner corresponding to each sub-link to the second docking device by using all the sub-links in the aggregation link group, so that The second docking device unifies its own reference link selection mode to the reference link selection mode of the first docking device, so that both parties select the same reference link.
9、 如权利要求 2 所述的方法, 其特征在于, 所述第一对接设备根据 所述第二对接设备的系统优先级将所述第二对接设备选择的参考链路 与自身选择的参考链路置为相同包括: The method according to claim 2, wherein the first docking device selects a reference link selected by the second docking device and a reference chain selected by itself according to a system priority of the second docking device The way the road is set to include:
所述第一对接设备根据所述 LACP协商报文中携带的第二对接设备 的系统优先级判断自身的系统优先级是否高于所述第二对接设备, 如 果否, 则所述第一对接设备根据所述参考链路选择标志将自身选择的 参考链路修改成所述第二对接设备选择的参考链路。 The first docking device determines whether the system priority of the second docking device is higher than the second docking device according to the system priority of the second docking device carried in the LACP negotiation packet, and if not, the first docking device Modifying the reference link selected by itself to the reference link selected by the second docking device according to the reference link selection flag.
10、 如权利要求 2所述的方法, 其特征在于, 所述第一对接设备根据 所述第二对接设备的系统优先级将所述第二对接设备选择的参考链路 与自身选择的参考链路置为相同包括: The method according to claim 2, wherein the first docking device selects a reference link selected by the second docking device and a reference chain selected by itself according to a system priority of the second docking device The way the road is set to include:
所述第一对接设备根据所述 LACP协商报文中携带的第二对接设备 的系统优先级判断自身的系统优先级是否高于所述第二对接设备, 如 果是, 则: The first docking device determines whether the system priority of the second docking device is higher than the second docking device according to the system priority of the second docking device carried in the LACP negotiation packet. If yes, then:
所述第一对接设备向所述第二对接设备发送通告消息, 通告自身选 择的参考链路,从而使得所述第二对接设备按照通告消息将自身选择的参考 链路统一为第一对接设备选择的参考链路; 或, 所述第一对接设备向所述第二对接设备发送协商消息,通过聚合链路组 中的所有子链路将各子链路对应的参考链路标志发送给所述第二对接设备, 使得所述第二对接设备可以根据所述第一对接设备的参考链路标志将自身 的参考链路主动修改为所述第一对接设备选择的参考链路。 The first docking device sends an advertisement message to the second docking device, and advertises the reference link selected by the first docking device, so that the second docking device unifies the reference link selected by itself to the first docking device according to the notification message. Reference link; or, The first docking device sends a negotiation message to the second docking device, and sends a reference link identifier corresponding to each sub-link to the second docking device by using all the sub-links in the aggregation link group, so that the The second docking device may actively modify its own reference link to the reference link selected by the first docking device according to the reference link identifier of the first docking device.
11、 如权利要求 1-10任一所述的方法, 其特征在于, 在所述第一 对接设备根据所述第二对接设备的系统优先级将所述第二对接设备选 择的参考链路与自身选择的参考链路置为相同之后, 所述方法还包括: 所述第一对接设备与所述第二对接设备分别选中协商后的参考链 路的端口, 并向对端通告端口选择成功。 The method according to any one of claims 1 to 10, wherein the first docking device selects a reference link selected by the second docking device according to a system priority of the second docking device After the self-selected reference link is set to be the same, the method further includes: selecting, by the first docking device and the second docking device, the port of the negotiated reference link, and notifying the peer that the port is successfully selected.
12、 如权利要求 11所述的方法, 其特征在于, 所述第一对接设备 与所述第二对接设备分别选中协商后的参考链路的端口包括: The method of claim 11, wherein the first docking device and the second docking device respectively select the ports of the negotiated reference link include:
所述第一对接设备与所述第二对接设备将所述协商后的参考链路 的 Ac t or - s t a t e中的属性值 Synchronization置为 1。 The first docking device and the second docking device set the attribute value Synchronization in the Ac t or - s t a t e of the negotiated reference link to 1.
13、 如权利要求 1-10任一所述的方法, 其特征在于, 在所述第一对接 设备接收第二对接设备通过聚合链路组中的所有子链路发送的 LACP协 商报文之前, 所述方法还包括: 所述第一对接设备与所述第二对接设 备进行配置信息交互, 分别获取对端的配置信息。 The method according to any one of claims 1 to 10, wherein before the first docking device receives the LACP negotiation message sent by the second docking device through all the sub-links in the aggregation link group, The method further includes: the first docking device interacts with the second docking device to obtain configuration information of the peer end.
14、 如权利要求 13所述的方法, 其特征在于, 在配置信息交互之 前, 所述方法还包括: The method according to claim 13, wherein before the configuration information interaction, the method further comprises:
聚合链路组两端的至少一个对接设备中的至少一个子链路属性发 生改变。 At least one of the at least one docking device at both ends of the aggregated link group changes.
15、 如权利要求 1 所述的方法, 其特征在于, 所述对接设备为路 由器。 15. The method of claim 1, wherein the docking device is a road By the device.
16、 一种参考链路的协商系统, 其特征在于, 所述系统包括第一 对接设备和第二对接设备, 所述第一对接设备与所述第二对接设备为 聚合链路组两端的设备, A reference link negotiation system, wherein the system includes a first docking device and a second docking device, and the first docking device and the second docking device are devices at both ends of the aggregation link group. ,
所述第二对接设备, 用于通过聚合链路组中的所有子链路向第一 对接设备发送的链路汇聚控制协议 LACP协商报文, 所述 LACP协商报 文携带所述第二对接设备的系统优先级以及参考链路信息; The second docking device is configured to send, by using the link aggregation control protocol LACP negotiation packet sent by the first connection device, all the sub-links in the aggregation link group, where the LACP negotiation packet carries the second docking device System priority and reference link information;
所述第一对接设备,用于接收第二对接设备发送的 LACP协商报文; 所述第一对接设备, 还用于根据所述第二对接设备的参考链路信 息判断所述第二对接设备选择的参考链路与自身选择的参考链路是否 相同, 如果否, 根据所述第二对接设备的系统优先级将所述第二对接 设备选择的参考链路与自身选择的参考链路置为相同。 The first docking device is configured to receive an LACP negotiation packet sent by the second docking device, where the first docking device is further configured to determine, according to the reference link information of the second docking device, the second docking device Whether the selected reference link is the same as the reference link selected by itself, and if not, the reference link selected by the second docking device and the reference link selected by itself are set according to the system priority of the second docking device the same.
17、 如权利要求 16所述的系统, 其特征在于, 所述第一对接设备 与所述第二对接设备, 还用于分别选中协商后的参考链路的端口, 并 向对端通告端口选择成功。 The system according to claim 16, wherein the first docking device and the second docking device are further configured to respectively select a port of the negotiated reference link, and notify the peer to select a port. success.
18、 如权利要求 17所述的系统, 其特征在于, 所述第一对接设备 与所述第二对接设备, 具体用于将所述协商后的参考链路的 Ac t or - s t a t e中的属性值 Synchronization置为 1。 The system according to claim 17, wherein the first docking device and the second docking device are specifically configured to use an attribute in the Ac t or - state of the negotiated reference link. The value Synchronization is set to 1.
19、 一种参考链路的协商装置, 其特征在于, 所述装置为第一对 接设备, 所述第一对接设备与第二对接设备为聚合链路组两端的设备, 所述第一对接设备包括: 接收单元; 参考链路确定单元 A device for negotiating a reference link, wherein the device is a first docking device, and the first docking device and the second docking device are devices at both ends of the aggregation link group, and the first docking device is Including: receiving unit; reference link determining unit
所述接收单元, 用于接收第二对接设备通过聚合链路组中的所有 子链路发送的链路汇聚控制协议 LACP协商报文, 所述 LACP协商报文 携带所述第二对接设备的系统优先级以及参考链路信息; The receiving unit is configured to receive the second docking device by aggregating all the groups in the link group The link aggregation control protocol LACP negotiation packet sent by the sub-link, the LACP negotiation packet carrying the system priority of the second docking device and the reference link information;
所述参考链路确定单元, 用于根据所述第二对接设备的参考链路 信息判断所述第二对接设备选择的参考链路与自身选择的参考链路是 否相同, 如果否, 根据所述第二对接设备的系统优先级将所述第二对 接设备选择的参考链路与自身选择的参考链路置为相同。 The reference link determining unit is configured to determine, according to the reference link information of the second docking device, whether the reference link selected by the second docking device is the same as the reference link selected by itself, and if not, according to the The system priority of the second docking device sets the reference link selected by the second docking device to be the same as the reference link selected by itself.
20、 如权利要求 19所述的装置, 其特征在于, 所述第一对接设备 还包括端口选择通告单元, 用于在选中协商后的参考链路的端口后, 向所述第二对接设备通告端口选择成功。 The device of claim 19, wherein the first docking device further comprises a port selection advertising unit, configured to notify the second docking device after selecting the port of the negotiated reference link The port selection was successful.
21、 如权利要求 20所述的装置, 其特征在于, 所述端口选择通告 单元, 具体用于将所述协商后的参考链路的 Ac t or _ s ta t e 中的属性值 Synchronization置为 1。 The device according to claim 20, wherein the port selection and advertising unit is configured to set an attribute value Synchronization in the Ac t or _ s ta te of the negotiated reference link to 1 .
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/076585 WO2012083670A1 (en) | 2011-06-29 | 2011-06-29 | Method, apparatus and system for reference link negotiation |
CN2011800008900A CN102388581B (en) | 2011-06-29 | 2011-06-29 | Method, device and system of reference link negotiation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/076585 WO2012083670A1 (en) | 2011-06-29 | 2011-06-29 | Method, apparatus and system for reference link negotiation |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012083670A1 true WO2012083670A1 (en) | 2012-06-28 |
Family
ID=45826509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/076585 WO2012083670A1 (en) | 2011-06-29 | 2011-06-29 | Method, apparatus and system for reference link negotiation |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102388581B (en) |
WO (1) | WO2012083670A1 (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102625478B (en) * | 2012-03-28 | 2015-02-18 | 杭州华三通信技术有限公司 | Wireless meshy Mesh link aggregation method and MPs |
CN102647355B (en) * | 2012-04-12 | 2014-11-05 | 华为技术有限公司 | LACP (Link Aggregation Control Protocol) consultation processing method, relay node and system |
CN103780510B (en) * | 2012-10-19 | 2020-03-17 | 中兴通讯股份有限公司 | Method and device for negotiating flow path in link aggregation group |
CN104040973B (en) * | 2012-12-28 | 2017-05-24 | 华为技术有限公司 | Aggregation group link negotiation method, device and system |
CN103401851B (en) * | 2013-07-18 | 2017-03-15 | 杭州华三通信技术有限公司 | A kind of system of selection of the working interface of HDLC bundle links and device |
CN105635069B (en) * | 2014-11-04 | 2019-07-09 | 华为技术有限公司 | The machinery of consultation of IPDR operating mode and device |
CN109842694B (en) * | 2019-03-22 | 2022-02-25 | 新华三技术有限公司 | Method for synchronizing MAC addresses, network equipment and computer readable storage medium |
KR20220011723A (en) | 2019-05-24 | 2022-01-28 | 마벨 아시아 피티이 엘티디. | Power Saving and Group Addressed Frames in WLAN Using Multiple Communication Links |
CN111585910B (en) * | 2020-04-29 | 2023-05-30 | 深圳震有科技股份有限公司 | Input data selection method, system and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1997034A (en) * | 2006-12-21 | 2007-07-11 | 华为技术有限公司 | A method and system for protection of the link convergence group |
CN101110663A (en) * | 2007-08-31 | 2008-01-23 | 华为技术有限公司 | Method, system and device for implementing periodic line failure processing |
US20080056247A1 (en) * | 2006-08-31 | 2008-03-06 | Chang Darda M | Discontinuing the implementation of an aggregation protocol |
-
2011
- 2011-06-29 CN CN2011800008900A patent/CN102388581B/en active Active
- 2011-06-29 WO PCT/CN2011/076585 patent/WO2012083670A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080056247A1 (en) * | 2006-08-31 | 2008-03-06 | Chang Darda M | Discontinuing the implementation of an aggregation protocol |
CN1997034A (en) * | 2006-12-21 | 2007-07-11 | 华为技术有限公司 | A method and system for protection of the link convergence group |
CN101110663A (en) * | 2007-08-31 | 2008-01-23 | 华为技术有限公司 | Method, system and device for implementing periodic line failure processing |
Also Published As
Publication number | Publication date |
---|---|
CN102388581B (en) | 2013-12-04 |
CN102388581A (en) | 2012-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2012083670A1 (en) | Method, apparatus and system for reference link negotiation | |
US9665530B2 (en) | Method and system for implementing elastic network interface and interconnection | |
KR102043071B1 (en) | Methods and apparatus for detecting and handling split brain issues in a link aggregation group | |
EP1779590B1 (en) | Port aggregation for fibre channel interfaces | |
EP2911354B1 (en) | Method, device and system for bidirectional flow on same path in aggregation group | |
US10374895B2 (en) | Configuration of communication interfaces for link aggregation | |
EP2959659B1 (en) | Mechanism for co-ordinated authentication key transition for is-is protocol | |
CN105871674B (en) | Ring protection link failure protection method, device and system | |
CN105706393A (en) | Method and system of supporting operator commands in link aggregation group | |
WO2017124791A1 (en) | Link detecting method and device | |
WO2015070383A1 (en) | Link aggregation method, apparatus, and system | |
CN110808816A (en) | Railway train-ground redundant wireless data communication method | |
WO2014059867A1 (en) | Method and device for flow path negotiation in link aggregation group | |
WO2009074093A1 (en) | Method and apparatus for finding topology and managing resource automatically in the pbb network | |
CN112822102A (en) | Link switching method, device, equipment, system and storage medium | |
WO2010048875A1 (en) | Method, device of cluster system extension and cluster system | |
CN103229463B (en) | A kind of method, the network equipment and Virtual Cluster determining management domain | |
WO2011113395A2 (en) | A method and apparatus for load balance | |
WO2013086858A1 (en) | Method and device for recovering customer service | |
WO2015035851A1 (en) | Data transmission method and device | |
CN103812769B (en) | TRILL network construction method, node and system | |
WO2014101125A1 (en) | Aggregation group link negotiation method, device and system | |
WO2009076848A1 (en) | A method and device of automatic topology discovery and resource management in the pbb network | |
WO2012088909A1 (en) | Method and device for updating vpn routing | |
WO2011110037A1 (en) | Multicast implementation method, access layer equipment and system under ring network architecture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 201180000890.0 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11850878 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: 11850878 Country of ref document: EP Kind code of ref document: A1 |