CN104104596A - Intelligent resilient framework (IRF) split processing method and device - Google Patents
Intelligent resilient framework (IRF) split processing method and device Download PDFInfo
- Publication number
- CN104104596A CN104104596A CN201410363316.7A CN201410363316A CN104104596A CN 104104596 A CN104104596 A CN 104104596A CN 201410363316 A CN201410363316 A CN 201410363316A CN 104104596 A CN104104596 A CN 104104596A
- Authority
- CN
- China
- Prior art keywords
- information
- irf
- equipment
- devices
- member device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 102000043138 IRF family Human genes 0.000 claims description 80
- 108091054729 IRF family Proteins 0.000 claims description 80
- 238000000034 method Methods 0.000 claims description 55
- 238000012545 processing Methods 0.000 claims description 37
- 101001011393 Homo sapiens Interferon regulatory factor 2 Proteins 0.000 description 30
- 102100029838 Interferon regulatory factor 2 Human genes 0.000 description 30
- 101000598002 Homo sapiens Interferon regulatory factor 1 Proteins 0.000 description 27
- 102100036981 Interferon regulatory factor 1 Human genes 0.000 description 27
- 230000008901 benefit Effects 0.000 description 12
- 238000001514 detection method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 6
- 230000002776 aggregation Effects 0.000 description 5
- 238000004220 aggregation Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000003776 cleavage reaction Methods 0.000 description 4
- 230000007017 scission Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 238000013467 fragmentation Methods 0.000 description 2
- 238000006062 fragmentation reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 102000004289 Interferon regulatory factor 1 Human genes 0.000 description 1
- 108090000890 Interferon regulatory factor 1 Proteins 0.000 description 1
- 241001233242 Lontra Species 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000002405 diagnostic procedure Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- -1 include: ports Chemical compound 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Landscapes
- Selective Calling Equipment (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides an intelligent resilient framework (IRF) split processing method and device. The technical scheme includes that each member device in an IRF is connected with an intermediate device, member device information is transmitted among the IRF member devices by means of the intermediate device, whether the member device information is good or bad is compared, the member devices which are required to close all business ports are determined according to a compared result, all business ports of the IRF with sub-optimal member device information can be closed after splitting, and the IRF with optimal member device information can continue undertaking data forwarding work.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an IRF splitting method and an IRF splitting apparatus.
Background
An Intelligent Resilient Framework (IRF) technology is a software virtualization technology, and the principle of the IRF technology is to connect a plurality of physical devices through an IRF port, and virtualize the physical devices into one logical device after necessary configuration, which is called an IRF. The IRF technology can be used for integrating hardware resources and software processing capacity of a plurality of devices, providing strong expansion capacity and realizing cooperative work, unified management and uninterrupted maintenance of the plurality of devices.
Each device in the IRF is called a member device, and the member devices are divided into two types according to functional division: a Master device responsible for managing the entire IRF; a Slave (Slave) device operating as a backup device for the master device. When the master device fails, the system automatically selects a new master device from the slave devices. The IRF identifies member devices using member numbers, all of which must be unique, in order to manage them. Each IRF uniquely corresponds to one IRF domain, and domain numbers (domainids) are used for distinguishing the IRFs from one another. As shown in the IRF diagram of fig. 1, the physical devices A, B, C are connected in sequence by an IRF link to form an IRF. Wherein, equipment A is Master equipment, and other equipment are slave equipment. Each device A, B, C is configured with a member number that is different from the other member devices. The IRF itself is also configured with a different domain number than the other IRFs.
An IRF link failure may cause the IRF to split into multiple IRFs, and the multiple IRFs formed after the splitting have the same routing configuration, and thus may cause a network failure, such as an IP address collision. Taking fig. 1 as an example, when an IRF link between device a and device B fails, device a forms an IRF 1; device B and device C form another IRF 2; IRF1 and IRF2 have the same IP address, so when IRF1 and IRF2 communicate through other links, an IP address conflict occurs.
In order to solve the above problems, the prior art provides an MAD (Multi-Active Detection) mechanism. The MAD mechanism has three functions of split detection, conflict processing and fault recovery, and can avoid network faults caused by IRF split by carrying out corresponding processing when the IRF split is detected.
There are many MAD split detection mechanisms, such as a split detection mechanism based on a Bidirectional Forwarding Detection (BFD) technique, and a split detection mechanism based on a Link Aggregation Control Protocol (LACP) extension technique.
The LACP MAD split detection mechanism is realized by expanding the content of an LACP protocol message, namely, the member equipment interacts the DomainID and the ActiveID (which are the member numbers of the main equipment) of the IRF by mutually sending the LACP protocol message, and whether the IRF split occurs is determined according to the comparison result of the DomainID and the ActiveID. The following describes the principle of LACP MAD in detail with reference to fig. 2 as an example.
Referring to fig. 2, fig. 2 is a schematic diagram of an IRF networking based on an LACP MAD in the prior art, and fig. 2 is based on fig. 1, in which a device a, a device B, and a device C are sequentially connected through an IRF link to form an IRF, and are all connected with an intermediate device through an aggregation member link.
The method comprises the steps that a device A sends an LACP protocol message carrying a DomainID and an ActiveID to an intermediate device through an aggregation member link, the intermediate device acquires the DomainID and the ActiveID and sends the DomainID and the ActiveID to a device B and a device C through the LACP protocol message, so that the device B and the device C acquire the DomainID and the ActiveID of an IRF where the device A is located and compare the DomainID and the ActiveID with those of the IRF where the device A is located, the DomainIDs are different, the device A does not belong to the same IRF, and MAD processing is not needed; if both DomainID and ActiveID are the same, no IRF split occurs; if DomainID is the same and ActiveID is different, IRF splitting occurs. Similarly, both the device B and the device C may send LACP protocol packets carrying the DomainID and the ActiveID to the intermediate device through the aggregation member link, and the LACP protocol packets are forwarded to other member devices by the intermediate device. Finally, all member devices determine whether IRF splitting occurs according to the comparison result of DomainID and ActiveID.
Assume that IRF1 (including only one member device: device a) and IRF2 (including two member devices: device B and device C) are formed after an IRF link between device a and device B fails; IRF1 and IRF2 have the same DomainID and different activeids, and IRF splitting will be detected when device a, device B and device C interact with DomainID and ActiveID through intermediary devices. After the IRF is split, the IRF with the minimum ActiveID continues working, and other IRFs enter a Recovery state and are not forwarding the service message temporarily.
In practical implementation, different manufacturers use different extended LACP protocol messages to implement LACPMAD split detection, and the implementation functions of the intermediate device are different, so that the selection of the intermediate device is limited. In addition, when the IRF member device receives an LACP protocol message carrying an ActiveID different from the ActiveID of the IRF where the IRF is located, it is determined that IRF splitting occurs and corresponding splitting processing is performed, and if the IRF member device receives the message of the malicious attack on the network, potential safety hazards are brought to the IRF. In addition, after IRF splitting, the IRF that continues normal operation is determined only according to the size of the ActiveID, and an optimal IRF cannot be selected to continue to carry traffic, for example, the IRF that continues normal operation includes fewer devices and has a weaker forwarding capability, and for example, if IRF splitting is caused by a forwarding fault caused by an interface board or an otter board of an IRF member device, the IRF in which the IRF member device is located after IRF splitting will have a forwarding fault and should not be selected as the IRF that normally operates, however, the existing method cannot eliminate the possibility that the IRF in which the IRF member device is located is selected as the IRF that normally operates.
Disclosure of Invention
In view of this, the present invention provides an IRF splitting method and apparatus, which can optimize IRF splitting.
In order to achieve the purpose, the invention provides the following technical scheme:
an IRF splitting processing method, wherein each member device in the IRF is connected with an intermediate device; the method is applied to any member device in the IRF and comprises the following steps:
sending the member device information to the intermediate device, so that the intermediate device informs the member device information to other member devices;
when receiving the information of other member devices announced by the intermediate device, comparing the information of the member device with the information of the other member devices, if the information of the other member devices is superior to the information of the member device, setting the port of the member device connected with the intermediate device as a non-selected port, closing all service ports except the port of the member device connected with the intermediate device, otherwise, keeping the selected state of the port of the member device connected with the intermediate device.
An IRF splitting processing device, wherein each member device in the IRF is connected with an intermediate device; the device is applied to any member device in the IRF and comprises the following components: the device comprises a sending unit, a receiving unit and a processing unit;
the sending unit is used for sending the member equipment information to the intermediate equipment so that the intermediate equipment can inform the member equipment information to other member equipment;
a receiving unit, configured to receive device information of other members notified by the intermediate device;
and the processing unit is used for comparing the member device information with the other member device information when the receiving unit receives the other member device information notified by the intermediate device, setting the port of the member device connected with the intermediate device as a non-selected port if the other member device information is superior to the member device information, closing all service ports except the port of the member device connected with the intermediate device, and otherwise, keeping the selected state of the port of the member device connected with the intermediate device.
According to the technical scheme, in the invention, each member device in the IRF transmits the member device information of the member device to other member devices by using the intermediate device, meanwhile, the information of other member devices is also acquired, the port of the IRF corresponding to the optimal member device information and connected with the intermediate device is set as the selected port by comparing the member device information, so that the selected port can continuously undertake flow transmission, and the IRF corresponding to the non-optimal member device information closes all service ports except the port connected with the intermediate device and does not undertake flow transmission. The invention selects the optimal IRF to carry the flow transmission by comparing the quality of the member equipment information, thereby optimizing the IRF splitting processing.
Drawings
FIG. 1 is a prior art IRF schematic;
FIG. 2 is a diagram of prior art IRF networking based on LACP MAD;
FIG. 3 is a flowchart of an IRF fragmentation processing method according to an embodiment of the present invention;
FIG. 4 is a flowchart of a second IRF splitting processing method according to an embodiment of the present invention;
FIG. 5 is a flow chart of a method for processing three IRF splits according to an embodiment of the present invention;
FIG. 6 is a flowchart of a four IRF fragmentation processing method according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating a virtual SYSTEM-ID-MAC format according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an IRF splitting apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention are described in detail below with reference to the accompanying drawings according to embodiments.
In the invention, each member device in the IRF is connected with an intermediate device, the intermediate device is utilized to transmit member device information between the IRF member devices, and the member devices of all service ports are determined to be closed according to the comparison result by comparing the advantages and disadvantages of the member device information, so that all the service ports of the IRF of which the member device information is not optimal after splitting are closed, and the IRF of which the member device information is optimal continues to undertake data forwarding work.
Referring to fig. 3, fig. 3 is a flowchart of an IRF splitting processing method according to an embodiment of the present invention, where each member device in an IRF is connected to an intermediate device, and ports of each member device in an initial IRF, which are connected to the intermediate device, are in a selected state. The method mainly comprises the following steps:
step 301, any member device in the IRF sends its own member device information to the intermediate device.
Step 302, after receiving the member device information, the intermediate device notifies the member device information to other member devices in the IRF.
Step 303, after receiving the member device information notified by the intermediate device, each of the other member devices determines whether the received member device information is better than the member device information of itself, and if so, sets the port of itself connected to the intermediate device as a non-selected port, and closes all the service ports except the non-selected port, otherwise, maintains the selected state of the port of itself connected to the intermediate device.
In the embodiment of the present invention shown in fig. 3, the member device information includes a company OUI (organization unique identifier) identifier, a domain number, a priority of an IRF where the member device is currently located, a number of member devices, an ActiveID, and the like, where the company OUI identifier may uniquely identify one company. Because the information of the OUI identification, the domain number and the like of the company before and after IRF splitting is unchanged, the information of the two member devices can be compared according to the priority of the IRF where the member devices are currently located, the number of the member devices and the ActiveID sequence, and the information of the member devices with higher priority of the currently located IRF is better; when the priorities of the current IRFs of the two member devices are the same, the member devices with more member devices are better in member device information; the priority and the number of the member devices of the IRF where the two member devices are currently located are the same, and the member devices with smaller or larger activeids of the IRF where the two member devices are currently located (in the following example of member device information comparison, the member devices with smaller activeids and the member device information thereof is optimized as an example, the member device information is optimized and compared), and the member device information thereof is optimized.
The embodiment of the present invention shown in fig. 3 will be described below by taking fig. 2 as an example.
In fig. 2, the priority of the IRF formed by the device a, the device B, and the device C is 1, and the member numbers of the device a, the device B, and the device C are respectively: 10. 20, 30, the ActiveID of the IRF is 10 (the member device with the minimum member number is elected to be the Master device, and the ActiveID of the IRF is the member number of the Master device); initially, the ports of the device a, the device B, and the device C connected to the intermediate device are all selected ports.
IRF non-split treatment case:
the member device information (IRF priority is 1, IRF member device number is 3, and IRF ActiveID is 10) sent by device a, device B, and device C to the intermediate device are all the same, so when device a receives the member device information of device B and the member device information of device C, because the received member device information is the same as the member device information of device a itself, the selected state of its own connected intermediate device will be maintained, and all service ports of device a will not be closed.
In the same way, when the device B and the device C receive the information of other member devices, since the received information of the member devices is the same as the information of the member devices of the device C, the device B and the device C both maintain the selected state of the device C connected to the intermediate device, and do not close all service ports of the device C.
It can be seen that according to the method shown in fig. 3, when the IRF is not split, the IRF operates normally, and does not affect IRF traffic forwarding.
Treatment of IRF cleavage:
when the IRF link between the device a and the device B is broken, which causes the IRF to be split into an IRF1 (composed of the device a) and an IRF2 (composed of the device B and the device C), the priorities of the IRF1 and the IRF2 are consistent with the priority of the original IRF and still equal to 1; the number of member devices of IRF1 is 1, and ActiveID is 10; the IRF2 has a member device number of 2 and an ActiveID of 20.
Therefore, in the member device information of the device a, the IRF priority, the number of member devices, and the ActiveID are 1, and 10, respectively; in the member device information of the device B, the IRF priority, the member device number and the ActiveID are respectively 1, 2 and 20; the member device information of device C is the same as the member device information of device B.
Device a, device B, and device C all send their own member device information to the intermediate device, and are advertised by the intermediate device to other member devices, wherein,
when the device a receives the member device information of the device B and/or the device C, the member device information of the device a is determined to be inferior to the member device information of the device B and the device C by comparing the merits of the member device information, so that the port of the device a connected to the intermediate device is set as a non-selected port, and all service ports on the device a except the port connected to the intermediate device are closed.
When the device B receives the member device information of the device A, the member device information of the device B is determined to be superior to the member device information of the device A by comparing the advantages and disadvantages of the member device information, so that the selected state of a port of the device B connected with the intermediate device is maintained; when the device B receives the member device information of the device C, the member device information of the device B is determined to be the same as the member device information of the device C by comparing the advantages and disadvantages of the member device information, so that the selected state of the port of the device B connected with the intermediate device is maintained.
When the equipment C receives the member equipment information of the equipment A, the member equipment information of the equipment C is determined to be superior to the member equipment information of the equipment A by comparing the advantages and disadvantages of the member equipment information, so that the selected state of a port of the equipment C connected with the intermediate equipment is maintained; when the device C receives the member device information of the device B, the member device information of the device C is determined to be the same as the member device information of the device B by comparing the advantages and disadvantages of the member device information, so that the selected state of the port of the device C connected with the intermediate device is maintained.
It can be seen that according to the method shown in fig. 3, after the IRF is split, all service ports of the IRF1 formed by the device a except the port of the device a connected to the intermediate device are closed, and the IRF1 does not undertake data traffic forwarding. In the IRF2 formed by device B and device C, all traffic ports are not closed, so IRF2 assumes data traffic forwarding.
Referring to fig. 4, fig. 4 is a flowchart of a second IRF splitting processing method according to an embodiment of the present invention, where each member device in the IRF is connected to an intermediate device, and ports of each member device in the initial IRF, which are connected to the intermediate device, are all in a selected state. The method mainly comprises the following steps:
step 401, any member device in the IRF sends its own member device information to the intermediate device.
Step 402, after receiving the member device information, the intermediate device compares the member device information with the optimal member device information currently recorded by the intermediate device, if the member device information is better than the optimal member device information currently recorded by the intermediate device, the optimal member device information currently recorded by the intermediate device is updated to be the member device information, the member device information is notified to other member devices in the IRF, the step 403 is carried out, otherwise, the member device information is discarded.
Step 403, after receiving the member device information, each other member device determines whether the received member device information is better than the member device information of itself, if so, sets the port of itself connected to the intermediate device as a non-selected port, closes all the service ports except the non-selected port, otherwise, maintains the selected state of the port of itself connected to the intermediate device.
In the embodiment of the present invention shown in fig. 4, the member device information includes a company OUI identifier, a domain number, a priority of an IRF in which the member device is currently located, a number of member devices, an ActiveID, and the like. The information quality of the two member devices can be sequentially compared according to the IRF priority level, the number of the member devices and the ActiveID sequence where the member devices are currently located, and a specific method for comparing the information quality of the two member devices is the same as the method for comparing the information quality of the two member devices in the embodiment shown in fig. 3, and is not described again.
The embodiment of the present invention shown in fig. 4 will be described below by taking fig. 2 as an example.
In fig. 2, the priority of the IRF formed by the device a, the device B, and the device C is 1, and the member numbers of the device a, the device B, and the device C are respectively: 10. 20, 30, the ActiveID of the IRF is 10 (the member device with the minimum member number is elected to be the Master device, and the ActiveID of the IRF is the member number of the Master device); initially, the ports of the device a, the device B, and the device C connected to the intermediate device are all selected ports.
IRF non-split treatment case:
when the IRF is not split, the member device information (IRF priority 1, IRF member device number 3, and IRF ActiveID 10) sent by the device a, the device B, and the device C to the intermediate device are all the same, so the intermediate device only notifies the member device information received first to other member devices, and the member device information received later is the same as the member device information received first, so the member device notification is not performed.
Assuming that the intermediate device receives the member device information sent by the device a first, since the intermediate device does not record the optimal device information at present, the optimal device information is updated to the member device information of the device a, and the member device information of the device a is notified to the device B and the device C.
When the device B receives the member device information of the device a, the received member device information is the same as the member device information of the device B itself, and the device B will maintain the selected state of its own connection intermediate device, and will not close all its service ports.
When the device C receives the member device information of the device a, the selected state of the device C itself connected to the intermediate device is maintained, and all service ports of the device C itself are not closed, because the received member device information is the same as the member device information of the device C itself.
Moreover, since the device a does not receive the member device information of the device B and the device C all the time, the port connected with the intermediate device is always in the selected state, and the service port is not closed. Finally, all service ports in the IRF are not closed, and the IRF operates normally.
It can be seen that according to the method shown in fig. 4, when the IRF is not split, the IRF normally operates, and does not affect IRF traffic forwarding.
Treatment of IRF cleavage:
when the IRF link between the device a and the device B is broken, which causes the IRF to be split into an IRF1 (composed of the device a) and an IRF2 (composed of the device B and the device C), the priorities of the IRF1 and the IRF2 are consistent with the priority of the original IRF and still equal to 1; the number of member devices of IRF1 is 1, and ActiveID is 10; the IRF2 has a member device number of 2 and an ActiveID of 20.
Therefore, in the member device information of the device a, the IRF priority, the number of member devices, and the ActiveID are 1, and 10, respectively; in the member device information of the device B, the IRF priority, the member device number and the ActiveID are respectively 1, 2 and 20; the member device information of device C is the same as the member device information of device B.
The device A, the device B and the device C all send own member device information to the intermediate device, and the intermediate device determines whether to notify the received member device information to other member devices according to the quality comparison between the received member device information and the currently recorded optimal member device information. Assuming that the intermediate device receives the member device information sent by the device a, the device B, and the device C in sequence, then,
when the intermediate device receives the member device information of the device a, the currently recorded optimal member device information is updated to the member device information of the device a, and the member device information of the device a is notified to the device B and the device C. When the device B receives the member device information of the device A, the device B determines that the member device information of the device B is superior to the member device information of the device A by comparing the advantages and disadvantages of the member device information, so that the selected state of the port of the device B connected with the intermediate device is kept. When the device C receives the member device information of the device A, the device C determines that the member device information of the device C is superior to the member device information of the device A by comparing the advantages and disadvantages of the member device information, so that the selected state of the port of the device C connected with the intermediate device is kept.
When the intermediate device receives the member device information of the device B, the member device information of the device B is compared with the optimal member device information currently recorded by the intermediate device (at this time, the member device information of the device a), and it is determined that the member device information of the device B is superior to the optimal member device information currently recorded by the intermediate device. When the device A receives the member device information of the device B, the device A determines that the member device information of the device A is inferior to the member device information of the device B by comparing the advantages and disadvantages of the member device information, so that the port of the device A connected with the intermediate device is set to be in an unselected state, and all service ports of the device A are closed. When the device C receives the member device information of the device B, the device C determines that the member device information of the device C is the same as the member device information of the device B by comparing the advantages and disadvantages of the member device information, so that the selected state of the port of the device C connected with the intermediate device is kept.
When the intermediate device receives the member device information of the device C, the member device information of the device C is compared with the best member device information currently recorded by the intermediate device (at this time, the member device information of the device B), and it is determined that the member device information of the device C is the same as the best member device information currently recorded by the intermediate device, so that the member device announcement is not performed.
It can be seen that, in the method shown in fig. 4, after the IRF is split, the intermediate device compares the received member device information with the currently recorded optimal member device information, and only when the received member device information is better than the currently recorded optimal member device information, the intermediate device continues to pass through the member device information, which can reduce the waste of bandwidth resources compared with the method shown in fig. 3. Furthermore, according to the method shown in fig. 4, after the IRF is split, all service ports in the IRF1 formed by the device a are closed, and the IRF1 does not undertake data traffic forwarding. In the IRF2 formed by device B and device C, all traffic ports are not closed, so IRF2 assumes data traffic forwarding.
Referring to fig. 5, fig. 5 is a flowchart of a three-IRF splitting processing method according to an embodiment of the present invention, where each member device in an IRF is connected to an intermediate device, and all ports of each member device in an initial IRF, which are connected to the intermediate device, are required to be in a selected state. The method mainly comprises the following steps:
step 501, any member device in the IRF sends its own member device information to the intermediate device.
Step 502, after receiving the member device information, the intermediate device compares the member device information with the optimal member device information currently recorded by the intermediate device, if the member device information is better than the optimal member device information currently recorded by the intermediate device, the optimal member device information currently recorded by the intermediate device is updated to be the member device information, the member device information is notified to other member devices in the IRF, the step 503 is carried out, otherwise, the member device information is discarded.
Step 503, after receiving the member device information, each other member device determines whether the received member device information is better than the member device information of itself if it is a Master device, if so, sets the port of itself connected to the intermediate device as a non-selected port, further determines whether all the ports of the member devices in its IRF connected to the intermediate device are all non-selected ports, and if so, closes all the service ports outside the ports of the member devices in its IRF connected to the intermediate device (that is, closes all the service ports of itself connected to the intermediate device, and simultaneously closes all the service ports outside the ports of the other member devices in its IRF connected to the intermediate device); and if the Slave equipment is the Slave equipment, sending the received member equipment information to the Master equipment.
The embodiment of the invention shown in fig. 5 further comprises: when any member device is used as a Master device, if the member device information sent by the Slave device is received, comparing the received member device information with the member device information of the Slave device, if the received member device information is superior to the member device information of the Slave device, setting a port of the Slave device connected with the intermediate device as a non-selected port, further judging whether the ports of the Slave device connected with the intermediate device in the current IRF where the any member device is located are all non-selected ports, and if yes, closing all service ports outside the ports of the Slave device connected with the intermediate device in the current IRF where the any member device is located.
In the embodiment of the present invention shown in fig. 5, the member device information includes a company OUI identifier, a domain number, a priority of an IRF in which the member device is currently located, a number of member devices, an ActiveID, and the like. The information quality of the two member devices can be sequentially compared according to the IRF priority level, the number of the member devices and the ActiveID sequence where the member devices are currently located, and a specific method for comparing the information quality of the two member devices is the same as the method for comparing the information quality of the two member devices in the embodiment shown in fig. 3, and is not described again.
The embodiment of the present invention shown in fig. 5 will be described below by taking fig. 2 as an example.
In fig. 2, the priority of the IRF formed by the device a, the device B, and the device C is 1, and the member numbers of the device a, the device B, and the device C are respectively: 10. 20, 30, the ActiveID of the IRF is 10 (the member device with the minimum member number is elected to be the Master device, and the ActiveID of the IRF is the member number of the Master device); initially, the ports of the device a, the device B, and the device C connected to the intermediate device are all selected ports.
IRF non-split treatment case:
when the IRF is not split, the device a is Master device, the device B and the device C are Slave devices, and the member device information (IRF priority is 1, IRF member device number is 3, and IRF ActiveID is 10) sent by the device a, the device B, and the device C to the intermediate device are all the same, so that the intermediate device only notifies the member device information received first to other member devices, and the member device information received thereafter is the same as the member device information received first, and therefore, the member device notification is not performed.
Assuming that the intermediate device receives the member device information sent by the device a first, since the intermediate device does not record the optimal device information at present, the optimal device information is updated to the member device information of the device a, and the member device information of the device a is notified to the device B and the device C.
When the device B receives the member device information of the device A, the device A is a Master device, and the device B is a Slave device, so that the member device information of the device A is sent to the device A; the device A judges and determines that the member device information sent by the device B is the same as the member device information of the device B, so that the selected state of the device B connected with the intermediate device is maintained, and all service ports of the device B cannot be closed.
In the same way, when the device C receives the member device information of the device a, since the device a is a Master device and the device C is a Slave device, the member device information of the device a is sent to the device a; the device a determines that the member device information sent by the device C is the same as the member device information of the device C itself, and thus maintains the selected state of the device C connected to the intermediate device without closing all service ports of the device C itself.
Moreover, the device a does not receive the member device information of the device B and the device C all the time, so the port of the device a connected with the intermediate device is always in the selected state, and the service port is not closed.
Finally, all service ports in the IRF are not closed, and the IRF operates normally.
It can be seen that according to the method shown in fig. 5, when the IRF is not split, the IRF operates normally, and the traffic forwarding is not affected.
Treatment of IRF cleavage:
when an IRF link between the device a and the device B is broken, which causes the IRF to be split into an IRF1 (composed of the device a, the device a is a Master device) and an IRF2 (composed of the device B and the device C, the device B is a Master device, and the device C is a Slave device), the priorities of the IRF1 and the IRF2 are consistent with the priority of the original IRF and are still 1; the number of member devices of IRF1 is 1, and ActiveID is 10; the IRF2 has a member device number of 2 and an ActiveID of 20.
Therefore, in the member device information of the device a, the IRF priority, the number of member devices, and the ActiveID are 1, and 10, respectively; in the member device information of the device B, the IRF priority, the member device number and the ActiveID are respectively 1, 2 and 20; the member device information of device C is the same as the member device information of device B.
The device A, the device B and the device C all send own member device information to the intermediate device, the intermediate device determines whether to inform the received member device information to other member devices according to the quality comparison between the received member device information and the currently recorded optimal member device information, if the intermediate device receives the member device information sent by the device A, the device B and the device C in sequence,
when the intermediate device receives the member device information of the device a, the currently recorded optimal member device information is updated to the member device information of the device a, and the member device information of the device a is notified to the device B and the device C. When the device B receives the member device information of the device A, the device B determines that the member device information of the device B is superior to the member device information of the device A by comparing the advantages and disadvantages of the member device information, so that the selected state of the port of the device B connected with the intermediate device is kept. When the device C receives the member device information of the device a, the device B is a Master device, and the device C is a Slave device, so that the member device information of the device a is sent to the device B; the device B determines that the member device information of the device C is superior to the received member device information by comparing the merits of the received member device information and the member device information of the device C, thereby maintaining the selected state of the port of the device C connected to the intermediate device.
When the intermediate device receives the member device information of the device B, the member device information of the device B is compared with the optimal member device information currently recorded by the intermediate device (at this time, the member device information of the device a), and it is determined that the member device information of the device B is superior to the optimal member device information currently recorded by the intermediate device. When the device a receives the member device information of the device B, because the device a is the Master device, the device a determines that the member device information of the device a is inferior to the member device information of the device B by comparing the merits of the member device information, and thus sets the port of the device a connected to the intermediate device to an unselected state, and because the IRF1 only includes the device a and the port of the device a connected to the intermediate device is an unselected port, all service ports except the port of the device a connected to the intermediate device are closed. When the device C receives the member device information of the device B, because the device B is a Master device and the device C is a Slave device, the member device information of the device B is sent to the device B; the device B determines that the member device information of the device C is the same as the received member device information by comparing the merits of the received member device information and the member device information of the device C, thereby maintaining the selected state of the port of the device C connected to the intermediate device.
When the intermediate device receives the member device information of the device C, the member device information of the device C is compared with the best member device information currently recorded by the intermediate device (at this time, the member device information of the device B), and it is determined that the member device information of the device C is the same as the best member device information currently recorded by the intermediate device, so that the member device announcement is not performed.
It can be seen that, in the method shown in fig. 5, after the IRF is split, the intermediate device compares the received member device information with the currently recorded optimal member device information, and only when the received member device information is better than the currently recorded optimal member device information, continues to perform the member device information notification, which can reduce the waste of bandwidth resources compared with the method shown in fig. 3. Furthermore, according to the method shown in fig. 4, after the IRF is split, all service ports in the IRF1 formed by the device a are closed, and the IRF1 does not undertake data traffic forwarding. In the IRF2 formed by device B and device C, all traffic ports are not closed, so IRF2 assumes data traffic forwarding.
Referring to fig. 6, fig. 6 is a flowchart of a four-IRF splitting processing method according to an embodiment of the present invention, where each member device in an IRF is connected to an intermediate device, and ports of each member device in an initial IRF, which are connected to the intermediate device, are in a selected state; the IRF and the intermediate device both enable the LACP protocol, and the LACP priority of the IRF is greater than that of the intermediate device. The method mainly comprises the following steps:
step 601, any member device in the IRF carries the member device information in an LACP protocol message and sends the LACP protocol message to the intermediate device.
In practical application, in the interconnection device with the LACP protocol enabled, the party with higher LACP priority is used as a reference end to preferentially select the selected port, and the end with lower LACP priority determines the selected port of the local end according to the selected port selected by the end with higher LACP priority.
In this embodiment, the member device information includes system information and port information, where the system information includes information such as a company OUI identifier, a domain number, an LACP priority of the member device, a priority of an IRF in which the member device is currently located, a number of the member devices, and an ActiveID; the port information includes a port ID of the member device connecting the intermediate device. Here, the LACP priority of each member device in the IRF is the same as the LACP priority of the IRF itself.
The member device also receives an LACP protocol message which is sent by the intermediate device and carries the intermediate device information, and determines the IRF as a reference end by comparing the LACP priority of the member device with the LACP priority of the intermediate device contained in the intermediate device information.
Step 602, the intermediate device receives the member device information carried in the LACP protocol message, compares the member device information with the currently recorded optimal member device information of the intermediate device, if the member device information is superior to the currently recorded optimal member device information of the intermediate device, updates the currently recorded optimal member device information of the intermediate device to the member device information, and notifies the member device information to other member devices in the IRF, and goes to step 603, otherwise, discards the member device information.
After receiving the member device information carried in the LACP protocol message, the intermediate device also determines the IRF as the reference end by comparing the LACP priority of the member device with the LACP priority of the intermediate device.
Step 603, after receiving the information of the member device, if the other member devices are Master devices, judging whether the received member equipment information is superior to the member equipment information of the member equipment, if so, setting a port of the member equipment connected with the intermediate equipment as a non-selected port when the system information contained in the received member equipment information is superior to the system information of the member equipment, further judging whether all the ports of the intermediate device connected with all the member devices in the IRF where the member devices are located are unselected ports, if yes, closing all the service ports outside the ports of the intermediate device connected with all the member devices in the IRF where the member devices are located (namely, closing all the service ports of the intermediate device connected with the member devices, and simultaneously closing all the service ports outside the ports of the intermediate device connected with other member devices in the IRF where the member devices are located); when the received member device information contains system information inferior to the system information of the member device or is the same as the system information of the member device, discarding the received member device information; and if the Slave equipment is the Slave equipment, sending the received member equipment information to the Master equipment.
The embodiment of the invention shown in fig. 5 further comprises: when any member device is used as a Master device, if the member device information sent by the Slave device is received, comparing the received member device information with the member device information of the Slave device, if the received member device information is superior to the member device information of the Slave device, setting a port of the Slave device connected with the intermediate device as a non-selected port when the system information contained in the received member device information is superior to the system information in the member device information of the Slave device, further judging whether ports of the member device in the current IRF where the member device is connected with the intermediate device are all non-selected ports, and if so, closing all service ports except the ports of the member device in the current IRF where the member device is connected with the intermediate device; and when the system information contained in the received member device information is inferior to or the same as the system information in the member device information of the Slave device, discarding the received member device information.
Fig. 6 shows an embodiment of the present invention, in which a method for comparing information quality of two member devices includes: the member equipment with better system information has better information; when the system information of the two member devices is the same, the member device information of the member device with smaller port ID is better.
Before and after the IRF is split, information such as company OUI identification, domain number and the like of member devices in the IRF cannot be changed (if the received member device information is different from the member device information of the IRF, it is indicated that two member devices before the IRF is split belong to one IRF, the received member device information can be directly discarded, which is the same as the prior art), so that comparison may not be performed in the process of comparing the quality of the member device information, and therefore, the method for comparing the quality of the system information of the two member devices is as follows: the system information of the member equipment with higher LACP priority is better; when the LACP priorities of the two member devices are the same, the system information of the member device with higher priority of the current IRF is better; the LACP priorities of the two member devices and the priority of the current IRF are the same, and the system information of the member devices with more member devices of the current IRF is better; the LACP priority, the priority of the current IRF and the number of the member devices of the two member devices are the same, and the system information of the member device with smaller or larger ActiveID of the current IRF is better.
The embodiment of the present invention shown in fig. 6 will be described below by taking fig. 2 as an example.
In fig. 2, it is assumed that the IRF composed of device a, device B, and device C has a priority of 1, and the LACP priority of the IRF has a priority of 1; the member numbers of the device a, the device B and the device C are respectively: 10. 20, 30, the ActiveID of the IRF is 10 (the member device with the minimum member number is elected to be the Master device, and the ActiveID of the IRF is the member number of the Master device), and the port IDs of the device a, the device B, and the device C connected to the intermediate device are 100, 200, and 300, respectively; initially, the ports of the device a, the device B, and the device C connected to the intermediate device are all selected ports.
IRF non-split treatment case:
when the IRF is not split, device a is a Master device, and devices B and C are Slave devices. The system information in the member devices of device a, device B, and device C is the same (same as the IRF device information), and only the port information is different. Wherein,
the member device information of device a is: the system information of the device a (LACP priority 1, IRF member device number 3, IRF ActiveID 10) and the port information of the device a connection intermediate device (port ID 100). The member device information of device B is: the system information of the device B (LACP priority 1, IRF member device number 3, IRF ActiveID 10) and the port information of the device B connection intermediate device (port ID 200). The member device information of device C is: system information of the device C (LACP priority 1, IRF member device number 3, IRF ActiveID 10) and port information of the device C connection intermediate device (port ID 300).
The device A, the device B and the device C all send the member device information of the devices to the intermediate device, and the intermediate device determines whether to inform the received member device information to other member devices according to the quality comparison between the received member device information and the currently recorded optimal member device information. Assuming that the intermediate device receives the member device information sequentially sent by the device a, the device B, and the device C, then,
after the intermediate device receives the LACP protocol message carrying the member device information of the device a sent by the device a, since the intermediate device does not record the optimal device information at present, the optimal device information is updated to the member device information of the device a, and the member device information of the device a is notified to the device B and the device C.
When the device B receives the member device information of the device A, the device A is a Master device, and the device B is a Slave device, so that the member device information of the device A is sent to the device A; the device A judges and determines that the received member device information is superior to the member device information of the device B and the system information contained in the received member device information is the same as the system information in the member device information of the device B, so that the selected state of the device B connected with the intermediate device is maintained, and all service ports of the device B cannot be closed.
In the same way, when the device C receives the member device information of the device a, since the device a is a Master device and the device C is a Slave device, the member device information of the device a is sent to the device a; the device a determines that the received member device information is better than the member device information of the device C itself and the system information included in the received member device information is the same as the system information in the member device information of the device C, so that the selected state of the device C connected to the intermediate device is maintained, and all service ports of the device C cannot be closed.
After the intermediate device receives the LACP protocol packet carrying the member device information of the device B sent by the device B, the intermediate device discards the member device information of the device B because the intermediate device currently records the optimal device information (the member device information of the device a at this time) that is superior to the member device information of the device B.
After the intermediate device receives the LACP protocol packet carrying the member device information of the device C sent by the device C, the intermediate device discards the member device information of the device B because the intermediate device currently records the optimal device information (at this time, the member device information of the device a) that is superior to the member device information of the device B.
Moreover, the device a does not receive the member device information of the device B and the device C all the time, so the port of the device a connected with the intermediate device is always in the selected state, and the service port is not closed. After the device B and the device C receive the member device information of the device a notified by the intermediate device, the device a, as a Master device, determines that the system information of the device B and the system information of the device C are the same as the system information of the device a through comparison, and therefore, the ports of the device B and the device C connected to the intermediate device are always kept in the selected state, and the service port is not closed. Finally, all service ports in the IRF are not closed, and the IRF operates normally.
It can be seen that according to the method shown in fig. 6, when the IRF is not split, the IRF operates normally, and the traffic forwarding of the IRF is not affected.
Treatment of IRF cleavage:
when an IRF link between the device a and the device B is disconnected, causing the IRF to split into an IRF1 (composed of the device a, the device a is a Master device) and an IRF2 (composed of the device B and the device C, the device B is a Master device, and the device C is a Slave device), LACP priorities of the IRF1 and the IRF2 are consistent with an LACP priority of an original IRF and are still 1; the priorities of the IRF1 and the IRF2 are consistent with the priority of the original IRF and are also 1; the number of member devices of IRF1 is 1, and ActiveID is 10; the IRF2 has a member device number of 2 and an ActiveID of 20.
Therefore, the LACP priority, the IRF priority, the number of member devices, and the ActiveID in the system information included in the member device information of the device a are 1, and 10, respectively, and the port ID in the port information included in the member device information of the device a is 100. In the system information included in the member device information of the device B, the LACP priority, the IRF priority, the number of member devices, and the ActiveID are 1, 2, and 20, respectively, and in the port information included in the member device information of the device B, the port ID is 200. In the system information included in the member device information of the device C, the LACP priority, the IRF priority, the number of member devices, and the ActiveID are 1, 2, and 20, respectively, and in the port information included in the member device information of the device C, the port ID is 300.
The device A, the device B and the device C all send own member device information to the intermediate device, the intermediate device determines whether to inform the received member device information to other member devices according to the quality comparison between the received member device information and the currently recorded optimal member device information, if the intermediate device receives the member device information sent by the device A, the device B and the device C in sequence,
when the intermediate device receives the member device information of the device a, since the intermediate device does not currently record the optimal device information, the currently recorded optimal member device information is updated to the member device information of the device a, and the member device information of the device a is notified to the device B and the device C. When the device B receives the member device information of the device a, since the device B is the Master device of the IRF2, it is determined that the member device information of the device B is superior to the member device information of the device a by comparing the merits of the member device information, and thus the selected state of the port of the device B connected to the intermediate device is maintained. When the device C receives the member device information of the device a, since the device B is a Master device of the IRF2 and the device C is a Slave device of the IRF2, the member device information of the device a is sent to the device B; the device B determines that the member device information of the device C is superior to the received member device information by comparing the merits of the received member device information and the member device information of the device C, thereby maintaining the selected state of the port of the device C connected to the intermediate device.
When the intermediate device receives the member device information of the device B, the member device information of the device B is compared with the optimal member device information currently recorded by the intermediate device (at this time, the member device information of the device a), and it is determined that the member device information of the device B is superior to the optimal member device information currently recorded by the intermediate device. When the device a receives the member device information of the device B, because the device a is the Master device, the device a determines that the member device information of the device a is inferior to the member device information of the device B by comparing the merits of the member device information, and thus sets the port of the device a connected to the intermediate device to an unselected state, and because the IRF1 only includes the device a and the port of the device a connected to the intermediate device is not an unselected port, all service ports except the port of the device a connected to the intermediate device are closed. When the device C receives the member device information of the device B, because the device B is a Master device of the IRF2 and the device C is a Slave device of the IRF2, the member device information of the device B is sent to the device B; the device B determines that the received member device information is superior to the member device information of the device C and the system information included in the received member device information is the same as the system information of the device C by comparing the advantages and disadvantages of the received member device information and the member device information of the device C, thereby maintaining the selected state of the port of the device C connected to the intermediate device.
When the intermediate device receives the member device information of the device C, the member device information of the device C is compared with the best member device information currently recorded by the intermediate device (at this time, the member device information of the device B), and it is determined that the member device information of the device C is the same as the best member device information currently recorded by the intermediate device, so that the member device announcement is not performed.
It can be seen that, in the method shown in fig. 5, the intermediate device compares the received member device information with the currently recorded optimal member device information, and only when the received member device information is better than the currently recorded optimal member device information, continues to perform the member device information notification, which can reduce the waste of bandwidth resources compared to the method shown in fig. 3. Furthermore, according to the method shown in fig. 6, after the IRF is split, all service ports in the IRF1 formed by the device a are closed, and the IRF1 does not undertake data traffic forwarding. In the IRF2 formed by device B and device C, all traffic ports are not closed, so IRF2 assumes data traffic forwarding.
In the embodiment of the present invention shown in fig. 6, a virtual SYSTEM-ID-MAC may be used to replace the SYSTEM-ID-MAC field in the LACP protocol message, and the virtual SYSTEM-ID-MAC is used to carry partial fields of the SYSTEM information included in the member device information, such as the company OUI identifier, the domain number, the priority of the IRF where the member device is currently located, the number of member devices, and the ActiveID, as shown in fig. 7 specifically, wherein,
in the virtual SYSTEM-ID-MAC field, the upper 25 to 48 bits are consistent with the upper 25 to 48 bits of the IRF bridge MAC address, and are the unique identifier of the company (company OUI identifier).
The next 15 bits to 24 bits are the domain number (DomainID), which by default is consistent with the 15 bits to 24 bits of the IRF bridge MAC address, but if multiple IRFs occur or if a virtual SYSTEM-ID-MAC collides with the actual device bridge MAC, the user can configure the modified number DomainID to ensure uniqueness.
The next 13 to 14 bits are the priority information of the IRF where the member device is currently located after the IRF is split, and the value range is 0 to 3, where 0 to 2 is available and 3 is temporarily reserved.
The next 7 to 12 bits are the number of member devices currently owned by the IRF in which the member device is currently located after splitting, and a maximum may represent 64 devices, and in an embodiment of the present invention, a smaller value indicates a larger number of member devices currently owned by the IRF in which the member device is currently located, for example: this value is 1 when there are 63 member devices, and 63 when there are only 1 member device.
The lowest bits 1 to 6 are the serial number ActiveID of the IRF where the member device is currently located after the splitting (i.e., the ActiveID of the Master device of the IRF where the member device is currently located).
It should be noted that the embodiment of the present invention shown in fig. 6 is actually based on the implementation idea of LACP MAD, and in actual implementation, it is necessary to ensure that each attribute information related to link aggregation, such as operation Key and attribute configuration of IRF devices and intermediate devices, is consistent through configuration.
Moreover, according to the LACP protocol, the IRF is used as a reference end, and after the selected port is set, a port selection notice can be sent to the intermediate equipment through each selected port, so that the intermediate equipment can set the selected port of the intermediate equipment according to the selected port on the IRF side. The selected ports on the intermediate device should have the same attribute information, and the system information in the member device information of the member devices connected to the selected ports on the intermediate device should also be kept consistent, which is the same as the implementation principle in the prior art.
In the prior art, GOLD (Generic OnLine Diagnostics) performs a diagnostic test case on a device to find a hardware fault and report a problem. Hardware faults checked by GOLD mainly include: ports, memory, chips, connections, forwarding paths, and control paths are normal, etc.
The IRF is usually provided with a GOLD module for detecting whether a hardware fault occurs in the IRF. In practical applications, when the IRF has a data forwarding problem, the GOLD module may detect the problem and report the problem. In the embodiment of the invention, after the IRF is split, if the IRF which continuously undertakes the traffic forwarding has a data forwarding problem, the IRF can not undertake the traffic forwarding continuously by reducing the priority of the IRF.
According to the methods shown in fig. 3, 4, 5, and 6, the LACP priority of each member device before and after IRF splitting is the same as the LACP priority of the original IRF and does not change, so that after IRF splitting, the smaller the priority of a certain IRF is, when comparing the member device information of the IRF with the member device information of other IRFs, the device information of the member device of the IRF is not superior to the member device information of the other IRFs, and therefore, all ports of the IRF except the port connected to the intermediate device are closed, which means that the IRF does not carry traffic.
Therefore, in the present invention, when the IRF has a data forwarding failure, the IRF can no longer undertake the traffic forwarding by reducing the IRF priority, and the specific implementation method is as follows: and when the IRF where the member equipment is located is informed of data forwarding faults, and the member equipment information is sent to the intermediate equipment through a port connected with the intermediate equipment, setting the priority of the IRF where the member equipment is currently located, which is contained in the system information in the member equipment information, as a minimum priority value.
The method for learning that the data forwarding fault exists in the current IRF of the member device comprises the following steps: and receiving a data forwarding fault notification sent after the GOLD module of the IRF where the member device is located detects that the IRF has the data forwarding fault, and determining that the IRF where the member device is located currently has the data forwarding fault.
In fact, after IRF splitting, if the administrator finds that there is a data forwarding failure in the IRF that undertakes traffic forwarding after IRF splitting, a forced shutdown command may be sent below to force the IRF that is carrying traffic forwarding to shut down all service ports, so that it no longer undertakes traffic forwarding. Meanwhile, the administrator can also select one of the split IRFs and issue a forced enabling command to the IRF to force the IRFs of all the service ports to be closed to undertake traffic forwarding. Therefore, when one member device is used as the Master device of the current IRF, if a forced closing command from the network management system is received at the management interface, all service ports of the current IRF of the member device except the port connected with the intermediate device are closed, so that the current IRF of the member device does not undertake flow forwarding any more; when a member device is used as the Master device of the IRF where the member device is currently located, and under the condition that all service ports of the IRF where the member device is currently located, except for the port connected with the intermediate device, are closed, if a forced enabling command from a network management system is received at a management interface, all service ports of the IRF where the member device is currently located can be started UP, so that the IRF where the member device is located starts to undertake data traffic forwarding.
It can be seen that, when there is a forwarding failure in the IRF, by reducing the priority of the member device sending the member device information, it can be avoided that the IRF is selected as an IRF for continuing to carry traffic forwarding.
The IRF splitting processing method according to the embodiment of the present invention is described in detail above, and the present invention further provides an IRF splitting processing apparatus, which is described in detail below with reference to fig. 8.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an IRF splitting apparatus according to an embodiment of the present invention, where each member device in the IRF is connected to an intermediate device; the device is applied to any member device in the IRF and comprises the following components: a transmitting unit 801, a receiving unit 802, a processing unit 803; wherein,
a sending unit 801, configured to send the member device information to an intermediate device, so that the intermediate device notifies the member device information to each of the other member devices;
a receiving unit 802, configured to receive device information of other members advertised by the intermediate device;
a processing unit 803, configured to compare the member device information with the other member device information notified by the intermediate device when the receiving unit 802 receives the other member device information, set a port of the member device connected to the intermediate device as a non-selected port if the other member device information is better than the member device information, close all service ports except the port of the member device connected to the intermediate device, and otherwise, keep the selected state of the port of the member device connected to the intermediate device.
In the arrangement shown in figure 8 of the drawings,
the other member device information received by the receiving unit 802 is notified after the intermediate device determines, by comparison, that the other member device information is better than the optimal member device information currently recorded by the intermediate device when the intermediate device receives the other member device information; and when the intermediate device announces the information of the other member devices, the intermediate device further updates the currently recorded optimal member device information of the intermediate device into the information of the other member devices.
In the arrangement shown in figure 8 of the drawings,
after the receiving unit 802 receives the other member device information advertised by the intermediate device, and before comparing the member device information with the other member device information, the processing unit 803 is further configured to: judging whether the member equipment is Master equipment of the current IRF, if the member equipment is the Master equipment, comparing the information of the member equipment with the information of other member equipment, if the information of other member equipment is superior to the information of the member equipment, setting a port of the member equipment, which is connected with the intermediate equipment, as a non-selected port, further judging whether ports of all the member equipment, which are connected with the intermediate equipment, in the current IRF of the member equipment are all non-selected ports, and if so, closing all service ports, which are outside the ports, of all the member equipment, which are connected with the intermediate equipment, in the current IRF of the member equipment; if the member device is not the Master device, the notification sending unit 801 sends the information of the other member devices to the Master device of the IRF where the member device is currently located;
the sending unit 801 is configured to send the information of the other member devices to Master devices of the IRF where the member device is currently located according to the notification of the processing unit 803;
the receiving unit 802 is configured to receive member device information sent by a Slave device of the IRF where the member device is currently located when the member device is the Master device of the IRF where the member device is currently located;
the processing unit 803 is configured to, if the receiving unit 802 receives member device information sent by a Slave device of an IRF where the member device is currently located, compare the member device information of the Slave device with the received member device information, if the received member device information is better than the member device information of the Slave device, set a port of the Slave device, which is connected to the intermediate device, as an unselected port, and further determine whether ports, which are connected to the intermediate device, of each member device in the IRF where the member device is currently located are all unselected ports, and if yes, close all service ports, which are outside the ports, of each member device, which is connected to the intermediate device, in the IRF where the member device is currently located.
In the arrangement shown in figure 8 of the drawings,
the member device information comprises the priority level of the IRF where the member device is located, the number of the member devices and an ActiveID;
when the processing unit 803 compares the merits of two pieces of member device information, it is configured to: the member equipment information of the member equipment with higher priority of the current IRF is better; when the priorities of the current IRFs of the two member devices are the same, the member devices with more member devices are better in member device information; the priority and the number of the member devices of the current IRF of the two member devices are the same, and the member device information of the member device with smaller or larger ActiveID of the current IRF is better.
In the arrangement shown in figure 8 of the drawings,
the IRF and the intermediate device both enable an LACP protocol, and the LACP priority of the IRF is higher than that of the intermediate device;
the member device information includes: system information; LACP priority of the system information member device;
the sending unit 801 carries the member device information in an LACP protocol message and sends the LACP protocol message to the intermediate device through a port connected to the intermediate device, so that the intermediate device determines the IRF as a reference end according to the LACP priority of the intermediate device and the LACP priority of the member device, and notifies the member device information to other member devices after determining that the member device information is superior to the optimal member device information currently recorded by the intermediate device;
the receiving unit 802 is further configured to receive an LACP protocol packet that is sent by the intermediate device and carries intermediate device information, and determine, according to the LACP priority of the member device and the LACP priority of the intermediate device included in the intermediate device information, that the IRF serves as a reference end.
In the arrangement shown in figure 8 of the drawings,
the system information in the member device information also comprises the priority level of the IRF where the member device is currently located, the number of the member devices and an ActiveID; the member equipment information also comprises port information of the member equipment connected with the intermediate equipment; the port information includes a port ID;
the processing unit 803 compares the member device information with the other member device information, and after determining that the other member device information is better than the member device information, sets the port of the member device connected to the intermediate device as a non-selected port, and further: if the system information contained in the information of the other member devices is superior to the system information of the member device, setting the port of the member device connected with the intermediate device as a non-selected port, otherwise, discarding the information of the other member devices;
the processing unit 803 compares the member device information of the Slave device with the received member device information, and after determining that the received member device information is better than the member device information of the Slave device, sets a port of the Slave device, which is connected to the intermediate device, as a non-selected port, and is further configured to: if the system information contained in the received member equipment information is superior to the system information in the member equipment of the Slave equipment, setting a port of the Slave equipment, which is connected with the intermediate equipment, as a non-selected port, otherwise, discarding the received member equipment information;
in the arrangement shown in figure 8 of the drawings,
when the processing unit 803 compares the quality of the two pieces of member device information, it is configured to: the member equipment with better system information has better information; when the system information of the two member devices is the same, the member device with smaller port ID has better member device information;
wherein, when the processing unit 803 compares the system information of two member devices, it is configured to: the system information of the member equipment with higher LACP priority is better; when the LACP priorities of the two member devices are the same, the system information of the member device with higher priority of the current IRF is better; the LACP priorities of the two member devices and the priority of the current IRF are the same, and the system information of the member devices with more member devices of the current IRF is better; the LACP priority, the priority of the current IRF and the number of the member devices of the two member devices are the same, and the system information of the member device with smaller or larger ActiveID of the current IRF is better.
In the arrangement shown in figure 8 of the drawings,
the sending unit 801 uses the SYSTEM-ID-MAC field in the LACP protocol message to carry the priority, the number of member devices, and the ActiveID of the IRF where the member device is currently located, which are included in the SYSTEM information in the member device information.
In the apparatus shown in fig. 8, a failure processing unit 804 is further included;
the failure processing unit 804 is configured to, when it is known that the IRF where the member device is located has a data forwarding failure, carry the member device information in an LACP protocol message and send the LACP protocol message to the intermediate device through a port connected to the intermediate device, and set a priority of the IRF where the member device is currently located, which is included in system information in the member device information carried in the LACP protocol message, to a value corresponding to the minimum priority.
In the arrangement shown in figure 8 of the drawings,
when learning that the IRF where the member device is currently located has a data forwarding failure, the failure processing unit 804 is configured to: and receiving a data forwarding fault notification sent after the GOLD module of the IRF where the member device is located detects that the IRF has the data forwarding fault, and determining that the IRF where the member device is located currently has the data forwarding fault.
In the apparatus shown in fig. 8, a switch unit 805 is further included;
the switch unit 805 is configured to, if the member device serves as a Master device of the IRF where the member device is currently located and receives a forced shutdown command from the network management system at the management interface, shut down all service ports, except for all ports connected to the intermediate device, in the IRF where the member device is currently located; the method is used for starting UP all service ports of the IRF where the member equipment is currently located if a forced enabling command from a network management system is received at a management interface under the condition that all service ports except all ports connected with the intermediate equipment in the IRF where the member equipment is currently located are closed.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (20)
1. An IRF splitting processing method is characterized in that each member device in the IRF is connected with an intermediate device; the method is applied to any member device in the IRF and comprises the following steps:
sending the member device information to the intermediate device, so that the intermediate device informs the member device information to other member devices;
when receiving the information of other member devices announced by the intermediate device, comparing the information of the member device with the information of the other member devices, if the information of the other member devices is superior to the information of the member device, setting the port of the member device connected with the intermediate device as a non-selected port, closing all service ports except the port of the member device connected with the intermediate device, otherwise, keeping the selected state of the port of the member device connected with the intermediate device.
2. The method of claim 1,
the received information of other member devices is announced after the intermediate device determines that the information of other member devices is superior to the information of the optimal member device currently recorded by the intermediate device through comparison when the intermediate device receives the information of other member devices; and when the intermediate device announces the information of the other member devices, the intermediate device further updates the currently recorded optimal member device information of the intermediate device into the information of the other member devices.
3. The method of claim 2,
after the member device receives the information of other member devices announced by the intermediate device, and before comparing the information of the member device with the information of other member devices, the method further includes:
judging whether the member equipment is Master equipment of the current IRF, if the member equipment is the Master equipment, comparing the information of the member equipment with the information of other member equipment, if the information of other member equipment is superior to the information of the member equipment, setting a port of the member equipment, which is connected with the intermediate equipment, as a non-selected port, further judging whether ports of all the member equipment, which are connected with the intermediate equipment, in the current IRF of the member equipment are all non-selected ports, and if so, closing all service ports, which are outside the ports, of all the member equipment, which are connected with the intermediate equipment, in the current IRF of the member equipment; if the member equipment is not the Master equipment, the information of the other member equipment is sent to the Master equipment of the IRF where the member equipment is currently located;
when the member device is the Master device of the current IRF, if the member device information sent by the Slave device of the current IRF of the member device is received, the member device information of the Slave device is compared with the received member device information, if the received member device information is superior to the member device information of the Slave device, the port of the Slave device connected with the intermediate device is set as a non-selected port, whether the ports of the member devices in the current IRF of the member device connected with the intermediate device are all non-selected ports is further judged, and if yes, all service ports except the ports of the member devices in the current IRF of the member device connected with the intermediate device are closed.
4. The method of claim 1, 2, or 3,
the member device information comprises the priority level of the IRF where the member device is located, the number of the member devices and an ActiveID;
the method for comparing the quality of the information of the two member devices comprises the following steps: the member equipment information of the member equipment with higher priority of the current IRF is better; when the priorities of the current IRFs of the two member devices are the same, the member devices with more member devices are better in member device information; the priority and the number of the member devices of the current IRF of the two member devices are the same, and the member device information of the member device with smaller or larger ActiveID of the current IRF is better.
5. The method of claim 3,
the IRF and the intermediate device both enable an LACP protocol, and the LACP priority of the IRF is higher than that of the intermediate device;
the member device information includes: system information; the system information includes LACP priorities of the member devices;
the information of the member equipment is carried in an LACP protocol message and is sent to the intermediate equipment through a port connected with the intermediate equipment, so that the intermediate equipment determines the IRF as a reference end according to the self LACP priority and the LACP priority of the member equipment, and notifies the member equipment information to other member equipment after determining that the member equipment information is superior to the optimal member equipment information currently recorded by the intermediate equipment;
the method further comprises the following steps: the member device receives the LACP protocol message which is sent by the intermediate device and carries the intermediate device information, and determines the IRF as a reference end according to the LACP priority of the member device and the LACP priority of the intermediate device contained in the intermediate device information.
6. The method of claim 5,
the system information in the member device information also comprises the priority level of the IRF where the member device is currently located, the number of the member devices and an ActiveID; the member equipment information also comprises port information of the member equipment connected with the intermediate equipment; the port information includes a port ID;
after comparing the member device information with the other member device information and determining that the other member device information is better than the member device information, before setting the port of the member device connected to the intermediate device as a non-selected port, the method further comprises: if the system information contained in the information of the other member devices is superior to the system information of the member device, setting the port of the member device connected with the intermediate device as a non-selected port, otherwise, discarding the information of the other member devices;
after comparing the member device information of the Slave device with the received member device information and determining that the received member device information is better than the member device information of the Slave device, before setting a port of the Slave device, which is connected with the intermediate device, as a non-selected port, the method further includes: and if the system information contained in the received member equipment information is better than the system information in the member equipment information of the Slave equipment, setting a port of the Slave equipment connected with the intermediate equipment as a non-selected port, otherwise, discarding the received member equipment information.
7. The method of claim 6,
the method for comparing the information quality of the two member devices comprises the following steps: the member equipment with better system information has better information; when the system information of the two member devices is the same, the member device with smaller port ID has better member device information;
the method for comparing the system information quality of the two member devices comprises the following steps: the system information of the member equipment with higher LACP priority is better; when the LACP priorities of the two member devices are the same, the system information of the member device with higher priority of the current IRF is better; the LACP priorities of the two member devices and the priority of the current IRF are the same, and the system information of the member devices with more member devices of the current IRF is better; the LACP priority, the priority of the current IRF and the number of the member devices of the two member devices are the same, and the system information of the member device with smaller or larger ActiveID of the current IRF is better.
8. The method of claim 6,
and carrying the priority, the number of member devices and the ActiveID of the current IRF of the member device contained in the SYSTEM information in the member device information by using a SYSTEM-ID-MAC field in the LACP protocol message.
9. The method of claim 5, 6, 7, or 8,
when the IRF where the member device is located has a data forwarding fault, the information of the member device is carried in an LACP protocol message and is sent to the intermediate device through a port connected with the intermediate device, and the priority of the IRF where the member device is currently located, which is contained in the system information in the information of the member device carried in the LACP protocol message, is set to a value corresponding to the minimum priority.
10. The method of claim 5, 6, 7, or 8,
if a forced closing command from a network management system is received at a management interface, closing all service ports except all ports connected with the intermediate equipment in the current IRF of the member equipment;
the member device is used as the Master device of the current IRF, and under the condition that all service ports except all ports connected with the intermediate device in the current IRF of the member device are closed, if a forced enabling command from a network management system is received at a management interface, all the service ports of the current IRF of the member device are started UP.
11. An IRF splitting processing device is characterized in that each member device in the IRF is connected with an intermediate device; the device is applied to any member device in the IRF and comprises the following components: the device comprises a sending unit, a receiving unit and a processing unit;
the sending unit is used for sending the member equipment information to the intermediate equipment so that the intermediate equipment can inform the member equipment information to other member equipment;
a receiving unit, configured to receive device information of other members notified by the intermediate device;
and the processing unit is used for comparing the member device information with the other member device information when the receiving unit receives the other member device information notified by the intermediate device, setting the port of the member device connected with the intermediate device as a non-selected port if the other member device information is superior to the member device information, closing all service ports except the port of the member device connected with the intermediate device, and otherwise, keeping the selected state of the port of the member device connected with the intermediate device.
12. The apparatus of claim 11,
the information of other member devices received by the receiving unit is announced after the intermediate device determines that the information of other member devices is superior to the information of the optimal member device currently recorded by the intermediate device through comparison when the intermediate device receives the information of other member devices; and when the intermediate device announces the information of the other member devices, the intermediate device further updates the currently recorded optimal member device information of the intermediate device into the information of the other member devices.
13. The apparatus of claim 12,
the processing unit, after the receiving unit receives the other member device information notified by the intermediate device, and before comparing the member device information with the other member device information, is further configured to: judging whether the member equipment is Master equipment of the current IRF, if the member equipment is the Master equipment, comparing the information of the member equipment with the information of other member equipment, if the information of other member equipment is superior to the information of the member equipment, setting a port of the member equipment, which is connected with the intermediate equipment, as a non-selected port, further judging whether ports of all the member equipment, which are connected with the intermediate equipment, in the current IRF of the member equipment are all non-selected ports, and if so, closing all service ports, which are outside the ports, of all the member equipment, which are connected with the intermediate equipment, in the current IRF of the member equipment; if the member device is not the Master device, the notification sending unit sends the information of the other member devices to the Master device of the IRF where the member device is currently located;
the sending unit is used for sending the information of the other member devices to the Master device of the IRF where the member device is currently located according to the notification of the processing unit;
the receiving unit is used for receiving member device information sent by the Slave device of the current IRF of the member device when the member device is the Master device of the current IRF;
the processing unit is configured to, if the receiving unit receives member device information sent by a Slave device of an IRF where the member device is currently located, compare the member device information of the Slave device with the received member device information, if the received member device information is better than the member device information of the Slave device, set a port of the Slave device connected to the intermediate device as an unselected port, and further determine whether ports of the Slave device connected to the intermediate device in the IRF where the member device is currently located are all unselected ports, and if so, close all service ports outside the ports of the Slave device connected to the intermediate device in the IRF where the member device is currently located.
14. The apparatus of claim 11, 12, or 13,
the member device information comprises the priority level of the IRF where the member device is located, the number of the member devices and an ActiveID;
when the processing unit compares the quality of the two pieces of member equipment information, the processing unit is used for: the member equipment information of the member equipment with higher priority of the current IRF is better; when the priorities of the current IRFs of the two member devices are the same, the member devices with more member devices are better in member device information; the priority and the number of the member devices of the current IRF of the two member devices are the same, and the member device information of the member device with smaller or larger ActiveID of the current IRF is better.
15. The apparatus of claim 13,
the IRF and the intermediate device both enable an LACP protocol, and the LACP priority of the IRF is higher than that of the intermediate device;
the member device information includes: system information; LACP priority of the system information member device;
the sending unit carries the member device information in an LACP protocol message and sends the member device information to the intermediate device through a port connected with the intermediate device, so that the intermediate device determines the IRF as a reference end according to the LACP priority of the intermediate device and the LACP priority of the member device, and notifies the member device information to other member devices after determining that the member device information is superior to the optimal member device information currently recorded by the intermediate device;
the receiving unit is further configured to receive an LACP protocol packet carrying intermediate device information and sent by the intermediate device, and determine, according to the LACP priority of the member device and the LACP priority of the intermediate device included in the intermediate device information, that the IRF serves as a reference end.
16. The apparatus of claim 15,
the system information in the member device information also comprises the priority level of the IRF where the member device is currently located, the number of the member devices and an ActiveID; the member equipment information also comprises port information of the member equipment connected with the intermediate equipment; the port information includes a port ID;
the processing unit compares the member device information with the other member device information, and after determining that the other member device information is better than the member device information, sets the port of the member device connected to the intermediate device to be a non-selected port, and is further configured to: if the system information contained in the information of the other member devices is superior to the system information of the member device, setting the port of the member device connected with the intermediate device as a non-selected port, otherwise, discarding the information of the other member devices;
the processing unit is further configured to, after comparing the member device information of the Slave device with the received member device information and determining that the received member device information is better than the member device information of the Slave device, set a port of the Slave device, which is connected to the intermediate device, as a non-selected port, before: and if the system information contained in the received member equipment information is better than the system information in the member equipment of the Slave equipment, setting a port of the Slave equipment connected with the intermediate equipment as a non-selected port, otherwise, discarding the received member equipment information.
17. The apparatus of claim 16,
when the processing unit compares the information of the two member devices, the processing unit is used for: the member equipment with better system information has better information; when the system information of the two member devices is the same, the member device with smaller port ID has better member device information;
wherein the processing unit is configured to, when comparing the system information of the two member devices: the system information of the member equipment with higher LACP priority is better; when the LACP priorities of the two member devices are the same, the system information of the member device with higher priority of the current IRF is better; the LACP priorities of the two member devices and the priority of the current IRF are the same, and the system information of the member devices with more member devices of the current IRF is better; the LACP priority, the priority of the current IRF and the number of the member devices of the two member devices are the same, and the system information of the member device with smaller or larger ActiveID of the current IRF is better.
18. The apparatus of claim 14, 15, or 16,
and the sending unit carries the priority, the number of the member devices and the ActiveID of the current IRF of the member devices contained in the SYSTEM information in the member device information by using a SYSTEM-ID-MAC field in the LACP protocol message.
19. The apparatus of claim 14, 16, 17, or 18, further comprising a fault handling unit;
the failure processing unit is configured to notify the sending unit to set, when it is known that there is a data forwarding failure in the IRF where the member device is located, the priority of the IRF where the member device is currently located, which is included in the system information in the member device information carried in the LACP protocol message, to a value corresponding to the minimum priority, when the sending unit carries the member device information in the LACP protocol message and sends the information to the intermediate device through a port connected to the intermediate device.
20. The apparatus of claim 14, 16, 17, or 18, further comprising a switching unit;
the switching unit is used for taking the member device as a Master device of the current IRF, and if a forced closing command from a network management system is received at a management interface, all service ports except all ports connected with the intermediate device in the current IRF of the member device are closed; the method is used for starting UP all service ports of the IRF where the member equipment is currently located if a forced enabling command from a network management system is received at a management interface under the condition that all service ports except all ports connected with the intermediate equipment in the IRF where the member equipment is currently located are closed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410363316.7A CN104104596B (en) | 2014-07-28 | 2014-07-28 | A kind of IRF divides treating method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410363316.7A CN104104596B (en) | 2014-07-28 | 2014-07-28 | A kind of IRF divides treating method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104104596A true CN104104596A (en) | 2014-10-15 |
CN104104596B CN104104596B (en) | 2017-11-24 |
Family
ID=51672408
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410363316.7A Active CN104104596B (en) | 2014-07-28 | 2014-07-28 | A kind of IRF divides treating method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104104596B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104660449A (en) * | 2015-02-13 | 2015-05-27 | 杭州华三通信技术有限公司 | Method and equipment for preventing generation of multiple masters through IRF (intelligent resilient framework) splitting |
CN105656645A (en) * | 2014-11-12 | 2016-06-08 | 杭州华三通信技术有限公司 | Decision making method and device for fault processing of stacking system |
CN106452921A (en) * | 2016-11-28 | 2017-02-22 | 杭州华三通信技术有限公司 | Stacking system split detection method and device |
CN109831330A (en) * | 2019-01-30 | 2019-05-31 | 新华三技术有限公司 | A kind of stack arrangement method and device |
CN114244736A (en) * | 2021-12-14 | 2022-03-25 | 浪潮思科网络科技有限公司 | Multi-master detection method, equipment and medium based on stacking environment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674208A (en) * | 2009-10-28 | 2010-03-17 | 杭州华三通信技术有限公司 | LACP MAD detection method and device thereof |
CN101917287A (en) * | 2010-08-04 | 2010-12-15 | 杭州华三通信技术有限公司 | Fault processing method and fault detecting system of IRF (Intelligent Resilient Framework) |
CN102315975A (en) * | 2011-10-17 | 2012-01-11 | 杭州华三通信技术有限公司 | Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof |
CN102347867A (en) * | 2011-11-14 | 2012-02-08 | 杭州华三通信技术有限公司 | Processing method and equipment for stacking splitting detection |
-
2014
- 2014-07-28 CN CN201410363316.7A patent/CN104104596B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674208A (en) * | 2009-10-28 | 2010-03-17 | 杭州华三通信技术有限公司 | LACP MAD detection method and device thereof |
CN101917287A (en) * | 2010-08-04 | 2010-12-15 | 杭州华三通信技术有限公司 | Fault processing method and fault detecting system of IRF (Intelligent Resilient Framework) |
CN102315975A (en) * | 2011-10-17 | 2012-01-11 | 杭州华三通信技术有限公司 | Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof |
CN102347867A (en) * | 2011-11-14 | 2012-02-08 | 杭州华三通信技术有限公司 | Processing method and equipment for stacking splitting detection |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105656645A (en) * | 2014-11-12 | 2016-06-08 | 杭州华三通信技术有限公司 | Decision making method and device for fault processing of stacking system |
US10277454B2 (en) | 2014-11-12 | 2019-04-30 | Hewlett Packard Enterprise Development Lp | Handling failure of stacking system |
CN105656645B (en) * | 2014-11-12 | 2019-08-06 | 新华三技术有限公司 | The decision-making technique and device of the troubleshooting of stacking system |
CN104660449A (en) * | 2015-02-13 | 2015-05-27 | 杭州华三通信技术有限公司 | Method and equipment for preventing generation of multiple masters through IRF (intelligent resilient framework) splitting |
CN104660449B (en) * | 2015-02-13 | 2018-11-09 | 新华三技术有限公司 | The method and apparatus for preventing the more main equipment Master of stacking splitting |
CN106452921A (en) * | 2016-11-28 | 2017-02-22 | 杭州华三通信技术有限公司 | Stacking system split detection method and device |
CN106452921B (en) * | 2016-11-28 | 2019-12-06 | 新华三技术有限公司 | Stacking system splitting detection method and device |
CN109831330A (en) * | 2019-01-30 | 2019-05-31 | 新华三技术有限公司 | A kind of stack arrangement method and device |
CN109831330B (en) * | 2019-01-30 | 2021-08-24 | 新华三技术有限公司 | Stack configuration method and device |
CN114244736A (en) * | 2021-12-14 | 2022-03-25 | 浪潮思科网络科技有限公司 | Multi-master detection method, equipment and medium based on stacking environment |
Also Published As
Publication number | Publication date |
---|---|
CN104104596B (en) | 2017-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8886831B2 (en) | System and methodology for fast link failover based on remote upstream failures | |
US8213320B2 (en) | Method and switching device for stack port configuration | |
US9794194B2 (en) | Relay system and switching device | |
CN102315975B (en) | Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof | |
US9385944B2 (en) | Communication system, path switching method and communication device | |
JP6287518B2 (en) | OpenFlow switch and OpenFlow network failure recovery method | |
CN104104596B (en) | A kind of IRF divides treating method and apparatus | |
EP1982447A2 (en) | System and method for detecting and recovering from virtual switch link failures | |
CN107465613B (en) | Link aggregation interface communication state switching method and device | |
US9590815B2 (en) | Relay system and switching device | |
CN105656645A (en) | Decision making method and device for fault processing of stacking system | |
CN101695036A (en) | Method and device for detecting IRF links | |
EP3029883B1 (en) | Network protection method and apparatus, next-ring node, and system | |
CN103220189B (en) | Multi-active detection (MAD) backup method and equipment | |
CN101909006A (en) | BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof | |
CN115152192B (en) | PCE controlled network reliability | |
CN111585797B (en) | Ethernet link switching method, device, equipment and computer readable storage medium | |
CN105634848A (en) | Virtual router monitoring method and apparatus | |
CN106453074A (en) | Switching method and apparatus | |
US20150312090A1 (en) | Relay System and Switching Device | |
US9246796B2 (en) | Transmitting and forwarding data | |
CN102420737A (en) | Method for processing fault in MRP ring network and MRP ring network | |
US9692636B2 (en) | Relay system and relay device | |
CN103684719A (en) | Network dual-redundancy hot swap method independent of platforms | |
CN113037622B (en) | System and method for preventing BFD from vibrating |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |