CN106452921A - Stacking system split detection method and device - Google Patents
Stacking system split detection method and device Download PDFInfo
- Publication number
- CN106452921A CN106452921A CN201611069961.3A CN201611069961A CN106452921A CN 106452921 A CN106452921 A CN 106452921A CN 201611069961 A CN201611069961 A CN 201611069961A CN 106452921 A CN106452921 A CN 106452921A
- Authority
- CN
- China
- Prior art keywords
- detection messages
- mad detection
- mad
- pile system
- domain
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Abstract
The invention provides a stacking system split detection method and device. The method comprises the following steps: when a target parent device is a master device of a stacking system, sending an MAD detection message through a PEX port of a preset port expander, so that a PEX device receiving the MAD detection message forwards the MAD detection message to other PEX ports excluding an inlet port until the MAD detection message arrives at other parent devices in the stacking system, wherein the MAD detection message carries a domain identifier Domain ID and an activation identifier Active ID of the stacking system to which the target parent device belongs; and when the target parent device receives the MAD detection message, determining whether stacking system split happens according to the Domain ID and the Active ID carried in the MAD detection message. By adoption of the stacking system split detection method and device provided by the embodiment of the invention, the networking reliability can be improved.
Description
Technical field
The present invention relates to network communication technology field, more particularly to a kind of pile system division detection method and device.
Background technology
IRF3 (Intelligent Resilient Framework 3, third generation intelligent elastic framework) be in order to improve
The access capability of network access layer and the efficiency of management and the portrait network developed integrates Intel Virtualization Technology.Its core concept be by
Multiple stage PEX (Port Extender, port expander) equipment is connected on parent device, after carrying out necessary configuration, will be per platform
PEX device virtualization becomes one block of remote interface plate of parent device, is managed collectively by parent device.Permissible using this Intel Virtualization Technology
With relatively low cost, the interface density of parent device is improved, simplify network topology, reduce network operation cost.
In actual IRF3 networking, the IRF that parent device is typically made up of two or more equipment.In the networking, if
IRF link failure can cause an IRF to split into two new IRF, the two IRF and have identical IP (Internet
Protocol, Internet protocol) etc. three layers of configuration, if the two IRF are Active (activation) state, address can be caused to rush
Dash forward, and then causing trouble expands in a network.
It can be seen that, in order to improve networking reliability, how in time detection goes out IRF occurs division to become a skill urgently to be resolved hurrily
Art problem.
Content of the invention
It is an object of the invention to provide a kind of pile system division detection method and device, to improve pile system networking
Reliability.
For achieving the above object, the present invention provides a kind of pile system division detection method, is applied to vertical stack system
In target parent device, between the parent device of vertical stack system by stack link carry out chain stacking, multiple ports-Extendings
Connected between device entirely, the method includes:
When target parent device is for the main equipment of pile system, MAD detection is sent by presetting port expander PEX port
Message, carries domain identifier Domain ID and the activation mark of the affiliated pile system of target parent device in MAD detection messages
Active ID, so that the PEX equipment for receiving MAD detection messages forwards MAD detection to other the PEX ports outside inbound port
Message, until MAD detection messages reach other parent devices in pile system;
When target parent device receives MAD detection messages, according in the MAD detection messages carry Domain ID and
Active ID determines whether pile system division.
For achieving the above object, the present invention also provides a kind of pile system device, is applied to the target of vertical stack system
Parent device, carries out chain stacking by stacking link between the parent device of vertical stack system, enters between multiple port expanders
Row is complete to be connected, and the device includes:
Transmitting element, for when target parent device is for the main equipment of pile system, by presetting port expander PEX end
Mouth sends MAD detection messages, carries the domain identifier Domain ID of the affiliated pile system of target parent device in MAD detection messages
Active ID is identified with activation, so that the PEX equipment for receiving MAD detection messages turns to other the PEX ports outside inbound port
MAD detection messages are sent out, until MAD detection messages reach other parent devices in pile system;
Receiving unit, for receiving MAD detection messages;
Determining unit, for the Domain ID that carries in the MAD detection messages that received according to receiving unit and Active
ID determines whether pile system division.
For achieving the above object, the present invention also provides a kind of pile system division detection method, is applied to vertical stack system
Target port expander PEX equipment in system, carries out chain stacking by stacking link between the parent device of vertical stack system,
Connected between multiple port expanders entirely, the method includes:
When message is received, judge whether message is MAD detection messages;
If message is other PEX ports MAD detection messages, by receive outside the inbound port of message forwards MAD
Detection messages, during so as to receive MAD detection messages as the parent device of main equipment, according to the domain for carrying in MAD detection messages
Mark Domain ID and activation mark Active ID determine whether pile system division.
Fourth aspect according to embodiments of the present invention, provides a kind of pile system division detection means, is applied to endwise piling
Target port expander PEX equipment in folded system, carries out chain by stacking link between the parent device of vertical stack system
Stacking, is connected between multiple port expanders entirely, and the device includes:
Receiving unit, for receiving message;
Judging unit, for judging whether the message that receiving unit is received is MAD detection messages;
Transmitting element, if the message for receiving for receiving unit is MAD detection messages, by receiving entering for message
Other PEX ports outside port forward MAD detection messages, so that the parent device as main equipment receives MAD detection messages
When, determine whether to stack according to the domain identifier Domain ID for carrying in MAD detection messages and activation mark Active ID
System splitting
The application embodiment of the present invention, when target parent device is for the main equipment of pile system, is sent by presetting PEX port
The MAD detection messages of the Domain ID and Active ID of the affiliated pile system of target parent device are carried, so as to receive this
The PEX equipment of MAD detection messages forwards the MAD detection messages to other the PEX ports outside inbound port, until MAD detection report
Text reaches other parent devices in pile system, when target parent device receives MAD detection messages, according to the MAD detection report
The Domain ID for carrying in text and Active ID determine whether pile system division, so as to special taking
Port or link on the premise of, spread MAD detection messages using PEX passage in pile system, it is to avoid vertical stack system
In, the stacking link between the parent device of chain stacking disconnects and cannot transmit stacking splitting detection messages and be possible to generation
There is the technical problem of multiple main equipments in pile system, it is achieved that the detection of pile system division, improve the reliability of networking.
Description of the drawings
Fig. 1 is the schematic flow sheet that a kind of pile system provided in an embodiment of the present invention divides detection method;
Fig. 2 is the schematic flow sheet that another kind pile system provided in an embodiment of the present invention divides detection method;
Fig. 3 is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention;
Fig. 4 is the structural representation that a kind of pile system provided in an embodiment of the present invention divides detection means;
Fig. 5 is the structural representation that another kind pile system provided in an embodiment of the present invention divides detection means;
Fig. 6 is the structural representation that a kind of pile system provided in an embodiment of the present invention divides detection means;
Fig. 7 is the structural representation that another kind pile system provided in an embodiment of the present invention divides detection means.
Specific embodiment
In order that those skilled in the art more fully understand the technical scheme in the embodiment of the present invention, and make reality of the present invention
Apply the above-mentioned purpose of example, feature and advantage can become apparent from understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present invention
Case is described in further detail.
Fig. 1 is referred to, is the schematic flow sheet that a kind of pile system provided in an embodiment of the present invention divides detection method, such as
Shown in Fig. 1, the method may comprise steps of:
It should be noted that in embodiments of the present invention, the executive agent of step 101~step 102 can be include many
Arbitrary parent device (referred to herein as target parent device) in the vertical stack system of individual parent device, in the vertical stack system
Chain stacking is carried out by stacking link between multiple parent devices, connected between multiple port expanders entirely, for ease of retouching
State, below using the executive agent of step 101~step 102 as pile system in a parent device as a example by target parent device
Illustrate.
Step 101, when target parent device for pile system main equipment when, by preset PEX port send MAD detection report
Text, carries the Domain ID and Active ID of the affiliated pile system of target parent device in the MAD detection messages, so as to receive
PEX equipment to the MAD detection messages forwards the MAD detection messages to other the PEX ports outside inbound port, until MAD inspection
Observe and predict text and reach other parent devices in pile system.
In the embodiment of the present invention, in order in time detection goes out the generation of pile system division, the main equipment in pile system can
With timing or periodically to from equipment transmission MAD detection messages in pile system;Meanwhile, in order to avoid MAD detects opposite end
Mouth and the occupancy of link, the link that can pass through between link and PEX equipment between parent device and PEX equipment spreads MAD
Detection messages.
Correspondingly, in embodiments of the present invention, when target parent device is for the main equipment of pile system, target parent device can
MAD detection messages are sent from default PEX port, carry the affiliated pile system of target parent device in the MAD detection messages
Domain ID (domain identifier) and Active ID (activation mark).
Wherein, when target parent device has multiple PEX ports, from the plurality of PEX port, one can be selected in advance
Individual port is given out a contract for a project port (i.e. above-mentioned default PEX port) as first-selection, and other PEX ports are used as standby port of giving out a contract for a project;Work as first-selection
Give out a contract for a project port Down (closing) when, target parent device can select one as new port of giving out a contract for a project from standby port of giving out a contract for a project,
For sending MAD detection messages.
In the embodiment of the present invention, when PEX equipment receives MAD detection messages from PEX port, PEX equipment can pass through
Receive other the PEX ports outside the inbound port of the MAD detection messages and the MAD detection messages are forwarded, until MAD detection report
Text reaches other parent devices.
Wherein, PEX equipment is may refer in method flow shown in Fig. 2 to the implementing for identification of MAD detection messages
Associated description, the embodiment of the present invention will not be described here.
What deserves to be explained is, in embodiments of the present invention, PEX port include in pile system parent device and PEX equipment it
Between connect port, and between PEX equipment connect port, and do not include connect pile system external equipment port, this
Inventive embodiments are subsequently no longer repeated.
Step 102, when target parent device receives MAD detection messages, according in the MAD detection messages carry
Domain ID and Active ID determine whether pile system division.
In the embodiment of the present invention, when target parent device receives MAD detection messages, can be by comparing the MAD detection report
The Domain ID and Active ID of carrying and the Domain ID belonging to the target parent device for locally recording and Active in text
The mode of ID determines whether pile system division.
As a kind of optional embodiment, in above-mentioned steps 102, according to the Domain ID for carrying in MAD detection messages
Determine whether pile system division with Active ID, may comprise steps of:
11), compare and stack belonging to the Domain ID and Active ID and target parent device for carrying in the MAD detection messages
The Domain ID of system and Active ID;
12) if the Domain ID for carrying in the MAD detection messages and Active ID and stacking system belonging to target parent device
The Domain ID of system and Active ID all same, it is determined that do not occur pile system to divide;
13) if the Domain of the Domain ID and the affiliated pile system of target parent device that carry in the MAD detection messages
ID is identical, but the Active ID of Active ID and the affiliated pile system of target parent device for carrying in the MAD detection messages is not
With, it is determined that there is pile system division.
In this embodiment, when target parent device receives MAD detection messages, target parent device can obtain this
The Domain ID for carrying in MAD detection messages and Active ID, and compare the Domain ID for carrying in the MAD detection messages
Domain ID with the affiliated pile system of the target parent device of local record.
If the Domain ID phase of Domain ID and the affiliated pile system of target parent device for carrying in MAD detection messages
Same, then compare the Active ID of the Active ID and affiliated pile system of target parent device for carrying in the detection messages further
Whether identical.
If the Active ID for carrying in the detection messages is identical with the Active ID of the affiliated pile system of target parent device
(the Domain ID for carrying i.e. in the MAD detection messages and Domain ID of Active ID and the affiliated pile system of target parent device
With Active ID all same), then target parent device determines do not occur pile system to divide.
If the Active ID for carrying in the detection messages is different from the Active ID of the affiliated pile system of target parent device
(the Domain ID for carrying i.e. in MAD detection messages is identical with the Domain ID of the affiliated pile system of target parent device, but should
The Active ID for carrying in MAD detection messages is different from the Active ID of the affiliated pile system of target parent device), that is, detect
Multi-Active conflict, then target parent device can determine there occurs pile system divide.
What deserves to be explained is, in embodiments of the present invention, if carry in the MAD detection messages that receive of target parent device
Domain ID is different from the Domain ID of the affiliated pile system of target parent device, then it is assumed that the MAD detection messages are from difference
Pile system, in this case, target parent device is not processed to the MAD detection messages.
Additionally, the determination of target parent device there occurs the treatment measures after pile system division, Master (master) is such as allowed to become
The minimum pile system of member's numbering continues normal work (maintaining Active state), and other pile systems can move to Recovery
(recovery) state (represents that pile system is in disabled status), and closes all member devices in Recovery state pile system
On other all physical port (usually business interfaces) in addition to reserved port, to ensure that the pile system can not be forwarded again
Service message etc. implements the related realization that may refer in existing related procedure, and the embodiment of the present invention will not be described here.
Fig. 2 is referred to, is the schematic flow sheet that another kind pile system provided in an embodiment of the present invention divides detection method,
As shown in Fig. 2 the method may comprise steps of:
It should be noted that in embodiments of the present invention, the executive agent of step 201~step 202 can be include many
Arbitrary PEX equipment (referred to herein as target PEX equipment) in the vertical stack system of individual parent device, in the vertical stack system
Multiple parent devices between by stack link carry out chain stacking, connected between multiple PEX equipment entirely, for ease of retouching
State, illustrate by taking the target PEX equipment during the executive agent of step 201~step 202 is as pile system as an example below.
Step 201, when message is received, judge whether the message is MAD detection messages.If so, step 202 is gone to;
Otherwise, terminate current process.
In the embodiment of the present invention, when target PEX equipment receives message, target PEX equipment needs to carry out the message
Identification, to judge whether the message is MAD detection messages.
As a kind of optional embodiment, in above-mentioned steps 201, judge whether the message is MAD detection messages, permissible
Including:
Judge to receive ethtype (ethernet type) value that carries in the inbound port of the message and the message whether with
The occurrence coupling of default ACL (Access Control List, accesses control list) list item;Wherein, the default ACL table item
Occurrence be that PEX port, ethtype value is preset value for inbound port, action item be by the message for mating with occurrence from entering
Other PEX ports outside port forward;
If coupling, it is determined that the message is MAD detection messages.
In this embodiment, in order that PEX equipment is capable of identify that MAD detection messages, can be in advance in PEX equipment under
ACL table item is sent out, the occurrence of the ACL table item can be that PEX port, ethtype value (can be according to reality for preset value for inbound port
Border scene settings), action item is that other the PEX ports by the message for being mated with occurrence from outside inbound port are forwarded.
Correspondingly, when target PEX equipment receives message, target PEX equipment may determine that the inbound port of the message with
And whether the ethtype value for carrying in message is mated with the occurrence of default ACL table item, that is, whether judge the inbound port of the message
Whether the ethtype value for carrying in PEX port, and the message is preset value.
If target PEX equipment determines the ethtype value for carrying in the inbound port of the message for receiving and message and presets
It is default that occurrence coupling, the i.e. inbound port of the message of ACL table item is the ethtype value for carrying in PEX port, and the message
Value, then target PEX equipment determine can the message be MAD detection messages.
What deserves to be explained is, in this embodiment, if target PEX equipment determine the inbound port of message for receiving and
The ethtype value for carrying in message is mismatched with the occurrence of default ACL table item, i.e., the inbound port of the message is not PEX port,
Or/and, the ethtype value for carrying in the message is not preset value, then target PEX equipment can determine that the message is not MAD inspection
Observe and predict text.
Correspondingly, in order to realize the identification of above-mentioned MAD detection messages, when parent device is sent to PEX equipment by PEX port
During MAD detection messages, the ethtype value for carrying can be set to preset value, so as to receive this in the MAD detection messages
The PEX equipment of MAD detection messages is according to the ethtype value identification MAD detection messages for carrying in the inbound port of message and message.
It should be noted that in embodiments of the present invention, when parent device constructively states MAD detection messages, except permissible
By above-mentioned ethtype value is set to preset value by way of make PEX equipment be capable of identify that MAD detection messages outside, it is also possible to
Realize otherwise, such as carry in messages consult in advance identification field (identification field can be new field,
Can be the extension to existing field), by PEX equipment, MAD detection messages are recognized according to the identification field, which implements here
Repeat no more.
Step 202, the MAD detection messages are forwarded by receiving other the PEX ports outside the inbound port of the message, with
When making to receive the MAD detection messages as the parent device of main equipment, according to the Domain ID for carrying in the MAD detection messages
Determine whether pile system division with Active ID.
In the embodiment of the present invention, when target PEX equipment determines that the message for receiving is MAD detection messages, target PEX sets
For the MAD detection messages can be forwarded by other the PEX ports outside the inbound port of message, until message reaches other fathers and sets
Standby.
When other parent devices receive MAD detection messages, can be according to the Domain ID for carrying in the MAD detection messages
And Active ID determines whether pile system division, which implements and may refer in method flow shown in above-mentioned Fig. 1
Associated description, the embodiment of the present invention will not be described here.
What deserves to be explained is, in embodiments of the present invention, when target PEX equipment determines that the message for receiving is not MAD inspection
When observing and predicting text, target PEX equipment can be processed to which according to the related realization in existing procedure, embodiment of the present invention here
Do not repeat.
It can be seen that, in the method flow shown in Fig. 1 and Fig. 2, parent device sends MAD detection by PEX port to PEX equipment
Message, completes the forwarding of MAD detection messages using the PEX passage in existing pile system, need not take special port
Or on the premise of link, it is achieved that the detection to pile system division, improve the expansible of pile system division detection scheme
Property.
In order that those skilled in the art more fully understand technical scheme provided in an embodiment of the present invention, with reference to concrete
Application scenarios are described in detail to technical scheme provided in an embodiment of the present invention.
Fig. 3 is referred to, is a kind of configuration diagram of concrete application scene provided in an embodiment of the present invention, as shown in figure 3,
In the application scenarios, being formed between parent device 301 and parent device 302 carries out chain stacking, PEX equipment by stacking link
401 are connected with parent device 301, and PEX equipment 403 is connected with parent device 302, PEX equipment 401, PEX equipment 402 and PEX equipment
Connect between 403 entirely.
Based on the application scenarios, it is as follows that pile system division detection scheme provided in an embodiment of the present invention realizes principle:
1st, MAD detection messages construction
Construction MAD detection messages (being properly termed as PEX MAD detection messages herein) needs to meet following condition:
1), the Domain ID and Active of current pile system can be carried;
2), can be identified in PEX equipment;
Wherein, in this embodiment, in order that PEX equipment can recognize MAD detection messages, special using one
Ethtype value (0xBCCB) carrys out identification message, and message content is the Domain ID and Active ID of current pile system, message
Form can be as follows:
Wherein, source MAC (Media Access Control, media access control) address is to send MAD detection messages
The MAC Address of parent device.
2nd, sending port is selected
Port selects to need to meet following condition:
1), need to select a PEX port so that MAD detection messages can be sent to other pile system member devices;
2), can be changed according to PEX port status, realize port dynamic reselection.
Wherein, in this embodiment, when the PEX port that there are multiple connection PEX equipment on parent device, can choose and appoint
One PEX port of meaning is given out a contract for a project port as first-selection, as PEX port down, from one PEX end of gravity treatment remaining PEX port
Mouth is used as port of giving out a contract for a project.
3rd, MAD detection messages are correctly spread on PEX equipment
Preferentially spread by hardware and realize detection messages, with reduce PEX equipment CPU (Center Process Unit, in
Central Processing Unit) pressure;If cannot spread by hardware, the identification of MAD detection messages is completed by the CPU of PEX equipment
And forwarding.
In this embodiment it is possible to issue ACL table item on PEX equipment, the occurrence of the ACL table item for inbound port is
PEX port, in message, ethtype value is 0xBCCB, action item be by the message for mating with occurrence by outside inbound port
PEX port forwards.
4th, pile system division Cleaning Principle
When parent device receives MAD detection messages, compare the Domain ID and Active for carrying in MAD detection messages
The Domain ID and Active ID of ID and itself affiliated pile system:
If Domain ID is different, the MAD detection messages are not processed;
If Domain ID is identical, and Active ID is also identical, it is determined that do not occur pile system to divide;
If Domain ID is identical, but Active ID is different, it is determined that pile system division occurs.
Based on above-mentioned principle, in this embodiment it is assumed that main equipment of the parent device 301 for pile system, then pile system
During generation division, parent device 301 periodically can send MAD detection messages to PEX1, and PEX equipment 401 receives the MAD inspection
When text is observed and predicted, ACL table item is preset according to the MAD detection messages coupling, coupling is found, the MAD detection messages are passed through inbound port
Outside PEX port forward, that is, be transmitted to PEX equipment 402;In the same manner, the MAD detection messages are transmitted to PEX by PEX equipment 402
Equipment 403;The MAD detection messages are transmitted to parent device 302 by PEX equipment 403;Parent device 302 receives the MAD detection messages
When, the Domain ID and Active ID for carrying in the MAD detection messages is obtained, is found and pile system belonging to itself
Domain ID and Active ID all same, determine and do not occur pile system to divide.
If a certain moment, the pile system link between parent device 301 and parent device 302 breaks down, i.e. pile system
Divide, two new pile systems are formed, now, parent device 301 (parent device 302) can be periodically to PEX equipment 401
(PEX equipment 403) sends MAD detection messages, and the MAD detection messages are forwarded through PEX device channels, eventually arrive at parent device
302 (parent devices 301);When parent device 301 (parent device 302) receives MAD detection messages, obtain and take in the MAD detection messages
The Domain ID of band and Active ID, it is found that Domain ID is identical with the Domain ID of itself affiliated pile system, but
Active ID difference, determines pile system division.
Wherein, after pile system divides, the Active ID for carrying in the MAD detection messages that parent device 301 sends is
Member's numbering of parent device 301, the Active ID for carrying in the MAD detection messages that parent device 302 sends is parent device 302
Member numbers.
By above description as can be seen that in technical scheme provided in an embodiment of the present invention, when target parent device be
During the main equipment of folded system, by preset PEX port send carry the affiliated pile system of target parent device Domain ID and
The MAD detection messages of Active ID, so as to receive the PEX equipment of the MAD detection messages to other PEX outside inbound port
Port forwards the MAD detection messages, until MAD detection messages reach other parent devices in pile system, when target parent device
Receive other parent devices MAD detection messages when, according in the MAD detection messages carry Domain ID and Active ID
Determine whether pile system division, so as on the premise of it need not take special port or link, using stacking system
PEX passage diffusion MAD detection messages in system, it is to avoid the stacking chain in vertical stack system, between the parent device of chain stacking
The technology that the pile system that road disconnects and cannot transmit stacking splitting detection messages and be possible to produce has multiple main equipments is asked
Topic, it is achieved that the detection of pile system division, improves the reliability of networking.
Fig. 4 is referred to, is the structural representation that a kind of pile system provided in an embodiment of the present invention divides detection means, its
In, the device can apply to the target parent device in said method embodiment, as shown in figure 4, the device can include:
Transmitting element 410, for when target parent device is for the main equipment of pile system, by presetting port expander
PEX port sends MAD detection messages, carries the domain identifier of the affiliated pile system of target parent device in MAD detection messages
Domain ID and activation mark Active ID, so as to receive the PEX equipment of MAD detection messages to other outside inbound port
PEX port forwards MAD detection messages, until MAD detection messages reach other parent devices in pile system;
Receiving unit 420, for receiving MAD detection messages;
Determining unit 430, for the Domain ID that carries in the MAD detection messages that received according to receiving unit 420 and
Active ID determines whether pile system division.
In an alternative embodiment, the ethernet type ethtype value for carrying in MAD detection messages is preset value, so as to connect
The PEX equipment of MAD detection messages is received according to the ethtype for carrying in the inbound port of MAD detection messages and MAD detection messages
Value identification MAD detection messages.
Please also refer to Fig. 5, it is that the structure of another kind pile system division detection means provided in an embodiment of the present invention is shown
It is intended to, as shown in figure 5, on the basis of embodiment illustrated in fig. 4, in the division detection means of pile system shown in Fig. 5, determining unit
430, can include:
Comparing subunit 431, for comparing the Domain ID for carrying in the MAD detection messages and Active ID and target
The Domain ID of the affiliated pile system of parent device and Active ID;
Determination subelement 432, if the Domain ID for carrying in the MAD detection messages and Active ID and target father
The Domain ID of the affiliated pile system of equipment and Active ID all same, it is determined that do not occur pile system to divide;If the MAD
The Domain ID for carrying in detection messages is identical with the Domain ID of the affiliated pile system of target parent device, but the MAD detection
The Active ID for carrying in message is different from the Active ID of the affiliated pile system of target parent device, it is determined that stacking system occurs
System division.
Fig. 6 is referred to, is the structural representation that a kind of pile system provided in an embodiment of the present invention divides detection means, its
In, the device can apply to the target PEX equipment in said method embodiment, as shown in fig. 6, the device can include:
Receiving unit 610, for receiving message;
Judging unit 620, for judging whether the message that receiving unit 610 is received is MAD detection messages;
Transmitting element 630, if being MAD detection messages for the message that receiving unit 610 is received, by receiving report
Other PEX ports outside the inbound port of text forward MAD detection messages, so that the parent device as main equipment receives MAD inspection
When observing and predicting text, determine whether to send out according to the domain identifier Domain ID for carrying in MAD detection messages and activation mark Active ID
Raw pile system division.
Please also refer to Fig. 7, it is that the structure of another kind pile system division detection means provided in an embodiment of the present invention is shown
It is intended to, as shown in fig. 7, on the basis of embodiment illustrated in fig. 6, in the division detection means of pile system shown in Fig. 7, judging unit
620, including:
Judgment sub-unit 621, for judging to receive the ethernet type for carrying in the inbound port of message and message
Whether ethtype value is mated with the occurrence of default access control list ACL list item;Wherein, the occurrence of default ACL table item is
Inbound port be PEX port, ethtype value is preset value, action item be by the message for mating with occurrence from outside inbound port
Other PEX ports forward;
Determination subelement 622, if for coupling, it is determined that message is MAD detection messages.
In said apparatus, the process of realizing of the function of unit and effect specifically refers to corresponding step in said method
Process is realized, be will not be described here.
For device embodiment, as which corresponds essentially to embodiment of the method, so related part is referring to method reality
Apply the part explanation of example.Device embodiment described above is only schematically, wherein illustrates as separating component
Unit can be or may not be physically separate, as the part that unit shows can be or may not be
Physical location, you can be located at a place, or can also be distributed on multiple NEs.Can be according to the actual needs
Select some or all of module therein to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying wound
In the case of the property made work, you can to understand and implement.
As seen from the above-described embodiment, when target parent device is for the main equipment of pile system, sent by presetting PEX port
The MAD detection messages of the Domain ID and Active ID of the affiliated pile system of target parent device are carried, so as to receive this
The PEX equipment of MAD detection messages forwards the MAD detection messages to other the PEX ports outside inbound port, until MAD detection report
Text reaches other parent devices in pile system, when target parent device receives MAD detection messages, according to the MAD detection report
The Domain ID for carrying in text and Active ID determine whether pile system division, so as to special taking
Port or link on the premise of, spread MAD detection messages using PEX passage in pile system, it is to avoid vertical stack system
In, the stacking link between the parent device of chain stacking disconnects and cannot transmit stacking splitting detection messages and be possible to generation
There is the technical problem of multiple main equipments in pile system, it is achieved that the detection of pile system division, improve the reliability of networking.
Those skilled in the art will readily occur to its of the present invention after considering description and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modifications, purposes or
Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the precision architecture for being described above and being shown in the drawings is the invention is not limited in, and
And various modifications and changes can carried out without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (10)
1. a kind of pile system divides detection method, the target parent device being applied in vertical stack system, the vertical stack
Chain stacking is carried out by stacking link between the parent device of system, connected between multiple port expanders entirely, its feature
It is, the method includes:
When the target parent device is for the main equipment of pile system, MAD detection is sent by presetting port expander PEX port
Message, carries domain identifier Domain ID and the activation of the affiliated pile system of the target parent device in the MAD detection messages
Mark Active ID, so that the PEX equipment for receiving the MAD detection messages is forwarded to other the PEX ports outside inbound port
The MAD detection messages, until the MAD detection messages reach other parent devices in pile system;
When the target parent device receives MAD detection messages, according in the MAD detection messages carry Domain ID and
Active ID determines whether pile system division.
2. method according to claim 1, it is characterised in that the ethernet type for carrying in the MAD detection messages
Ethtype value is preset value, so as to receive the PEX equipment of the MAD detection messages to enter end according to the MAD detection messages
The ethtype value for carrying in mouth and the MAD detection messages recognizes the MAD detection messages.
3. method according to claim 1, it is characterised in that described according to the Domain for carrying in the MAD detection messages
ID and Active ID determines whether pile system division, including:
The Domain ID for relatively carrying in the MAD detection messages and Active ID and the affiliated pile system of target parent device
Domain ID and Active ID;
If the Domain ID for carrying in the MAD detection messages and Active ID and the affiliated pile system of target parent device
Domain ID and Active ID all same, it is determined that do not occur pile system to divide;
If the Domain ID for carrying in the MAD detection messages is identical with the Domain ID of the affiliated pile system of target parent device,
But the Active ID for carrying in the MAD detection messages is different from the Active ID of the affiliated pile system of target parent device, then really
Surely there is pile system division.
4. a kind of pile system divides detection means, is applied to the target parent device of vertical stack system, the vertical stack system
Chain stacking is carried out by stacking link between the parent device of system, connected between multiple port expanders entirely, its feature exists
In the device includes:
Transmitting element, for when the target parent device is for the main equipment of pile system, by presetting port expander PEX end
Mouth sends the MAD detection messages for generating, and carries the domain of the affiliated pile system of the target parent device in the MAD detection messages
Mark Domain ID and activation mark Active ID so that receive the PEX equipment of the MAD detection messages to inbound port it
Other outer PEX port forwards the MAD detection messages, until the MAD detection messages reach other fathers in pile system
Equipment;
Receiving unit, for receiving MAD detection messages;
Determining unit, for the Domain ID that carries in the MAD detection messages that received according to the receiving unit and Active
ID determines whether pile system division.
5. device according to claim 4, it is characterised in that the ethernet type for carrying in the MAD detection messages
Ethtype value is preset value, so as to receive the PEX equipment of the MAD detection messages to enter end according to the MAD detection messages
The ethtype value for carrying in mouth and the MAD detection messages recognizes the MAD detection messages.
6. device according to claim 4, it is characterised in that the determining unit, including:
Comparing subunit, for comparing the Domain ID for carrying in the MAD detection messages and Active ID and target parent device
The Domain ID of affiliated pile system and Active ID;
Determination subelement, if the Domain ID for carrying in the MAD detection messages and Active ID and target parent device institute
The Domain ID and Active ID all same of category pile system, it is determined that do not occur pile system to divide;If the MAD detection report
The Domain ID for carrying in text is identical with the Domain ID of the affiliated pile system of target parent device, but in the MAD detection messages
The Active ID of carrying is different from the Active ID of the affiliated pile system of target parent device, it is determined that occur pile system to divide
Split.
7. a kind of pile system divides detection method, the target port expander PEX equipment being applied in vertical stack system, institute
Stating between the parent device of vertical stack system carries out chain stacking by stacking link, is connected between multiple port expanders entirely
Connect, it is characterised in that the method includes:
When message is received, judge whether the message is MAD detection messages;
If the message is other PEX ports MAD detection messages, by receive outside the inbound port of the message forwarding
The MAD detection messages, during so as to receive the MAD detection messages as the parent device of main equipment, detect according to the MAD
The domain identifier Domain ID for carrying in message and activation mark Active ID determine whether pile system division.
8. method according to claim 7, it is characterised in that described judge whether the message is MAD detection messages, bag
Include:
Judge to receive the ethernet type ethtype value that carries in the inbound port of the message and the message whether with advance
If the occurrence coupling of access control list ACL list item;Wherein, the occurrence of the default ACL table item is PEX end for inbound port
Mouthful, ethtype value is preset value, and action item is that other the PEX ports by the message for being mated with occurrence from outside inbound port are turned
Send out;
If coupling, it is determined that the message is MAD detection messages.
9. a kind of pile system divides detection means, the target port expander PEX equipment being applied in vertical stack system, institute
Stating between the parent device of vertical stack system carries out chain stacking by stacking link, is connected between multiple port expanders entirely
Connect, it is characterised in that the device includes:
Receiving unit, for receiving message;
Judging unit, for judging whether the message that the receiving unit is received is MAD detection messages;
Transmitting element, if the message for receiving for the receiving unit is MAD detection messages, by receiving the message
Inbound port outside other PEX ports forward described MAD detection messages so that as main equipment parent device receive described
During MAD detection messages, true according to the domain identifier Domain ID for carrying in the MAD detection messages and activation mark Active ID
Whether fixed occur pile system to divide.
10. device according to claim 9, it is characterised in that the judging unit, including:
Judgment sub-unit, for judging to receive the ethernet type for carrying in the inbound port of the message and the message
Whether ethtype value is mated with the occurrence of default access control list ACL list item;Wherein, the coupling of the default ACL table item
For inbound port be PEX port, ethtype value is preset value, action item be by the message for mating with occurrence from inbound port it
Other outer PEX port forwards;
Determination subelement, if for coupling, it is determined that the message is MAD detection messages.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611069961.3A CN106452921B (en) | 2016-11-28 | 2016-11-28 | Stacking system splitting detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611069961.3A CN106452921B (en) | 2016-11-28 | 2016-11-28 | Stacking system splitting detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106452921A true CN106452921A (en) | 2017-02-22 |
CN106452921B CN106452921B (en) | 2019-12-06 |
Family
ID=58219866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611069961.3A Active CN106452921B (en) | 2016-11-28 | 2016-11-28 | Stacking system splitting detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106452921B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106953750A (en) * | 2017-03-09 | 2017-07-14 | 新华三技术有限公司 | One kind detection path establishment method and device |
CN108718248A (en) * | 2018-04-25 | 2018-10-30 | 新华三技术有限公司 | A kind of PEX equipment pulls out event-handling method and device |
CN109039798A (en) * | 2018-06-20 | 2018-12-18 | 新华三技术有限公司 | Divide detection system and method |
CN111343040A (en) * | 2020-01-17 | 2020-06-26 | 新华三信息安全技术有限公司 | Port expander stacking and splitting detection method and device for expansion network bridge |
CN113572661A (en) * | 2021-07-28 | 2021-10-29 | 迈普通信技术股份有限公司 | System and method for testing multi-activation detection performance |
CN114124902A (en) * | 2021-11-12 | 2022-03-01 | 迈普通信技术股份有限公司 | Multi-activation detection method and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050246568A1 (en) * | 2003-04-23 | 2005-11-03 | Dot Hill Systems Corporation | Apparatus and method for deterministically killing one of redundant servers integrated within a network storage appliance chassis |
CN101594304A (en) * | 2009-07-02 | 2009-12-02 | 杭州华三通信技术有限公司 | Prevent that pile system from producing the method for loop and the member device in the pile system |
US20100082822A1 (en) * | 2008-09-29 | 2010-04-01 | Fujitsu Limited | Technique for realizing high reliability in inter-application communication |
CN103166811A (en) * | 2013-03-06 | 2013-06-19 | 杭州华三通信技术有限公司 | Multi-active detection (MAD) detection method and device |
CN103731303A (en) * | 2013-12-20 | 2014-04-16 | 杭州华三通信技术有限公司 | Method and device of vertical converged framework for achieving multi-active detection |
CN104104596A (en) * | 2014-07-28 | 2014-10-15 | 杭州华三通信技术有限公司 | Intelligent resilient framework (IRF) split processing method and device |
CN106161236A (en) * | 2015-04-17 | 2016-11-23 | 杭州华三通信技术有限公司 | Message forwarding method and device |
-
2016
- 2016-11-28 CN CN201611069961.3A patent/CN106452921B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050246568A1 (en) * | 2003-04-23 | 2005-11-03 | Dot Hill Systems Corporation | Apparatus and method for deterministically killing one of redundant servers integrated within a network storage appliance chassis |
US20100082822A1 (en) * | 2008-09-29 | 2010-04-01 | Fujitsu Limited | Technique for realizing high reliability in inter-application communication |
CN101594304A (en) * | 2009-07-02 | 2009-12-02 | 杭州华三通信技术有限公司 | Prevent that pile system from producing the method for loop and the member device in the pile system |
CN103166811A (en) * | 2013-03-06 | 2013-06-19 | 杭州华三通信技术有限公司 | Multi-active detection (MAD) detection method and device |
CN103731303A (en) * | 2013-12-20 | 2014-04-16 | 杭州华三通信技术有限公司 | Method and device of vertical converged framework for achieving multi-active detection |
CN104104596A (en) * | 2014-07-28 | 2014-10-15 | 杭州华三通信技术有限公司 | Intelligent resilient framework (IRF) split processing method and device |
CN106161236A (en) * | 2015-04-17 | 2016-11-23 | 杭州华三通信技术有限公司 | Message forwarding method and device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106953750A (en) * | 2017-03-09 | 2017-07-14 | 新华三技术有限公司 | One kind detection path establishment method and device |
CN108718248A (en) * | 2018-04-25 | 2018-10-30 | 新华三技术有限公司 | A kind of PEX equipment pulls out event-handling method and device |
CN108718248B (en) * | 2018-04-25 | 2021-08-24 | 新华三技术有限公司 | PEX equipment unplugging event processing method and device |
CN109039798A (en) * | 2018-06-20 | 2018-12-18 | 新华三技术有限公司 | Divide detection system and method |
CN109039798B (en) * | 2018-06-20 | 2021-01-26 | 新华三技术有限公司 | Splitting detection system and method |
CN111343040A (en) * | 2020-01-17 | 2020-06-26 | 新华三信息安全技术有限公司 | Port expander stacking and splitting detection method and device for expansion network bridge |
CN111343040B (en) * | 2020-01-17 | 2022-12-16 | 新华三信息安全技术有限公司 | Port expander stacking and splitting detection method and device for expansion network bridge |
CN113572661A (en) * | 2021-07-28 | 2021-10-29 | 迈普通信技术股份有限公司 | System and method for testing multi-activation detection performance |
CN113572661B (en) * | 2021-07-28 | 2022-12-27 | 迈普通信技术股份有限公司 | System and method for testing multi-activation detection performance |
CN114124902A (en) * | 2021-11-12 | 2022-03-01 | 迈普通信技术股份有限公司 | Multi-activation detection method and system |
CN114124902B (en) * | 2021-11-12 | 2023-07-04 | 迈普通信技术股份有限公司 | Multi-activation detection method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106452921B (en) | 2019-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106452921A (en) | Stacking system split detection method and device | |
CN101018228B (en) | A port convergence method and device | |
CN102315975B (en) | Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof | |
CN101442484B (en) | Method, system and equipment for detecting stacking multi-Active | |
CN102355366B (en) | Member-stacking device and method for managing member-stacking device at split stacking moment | |
CN103618621B (en) | A kind of software defined network SDN method of automatic configuration, equipment and system | |
CN102916857B (en) | Stacking and splitting quick detection method and device | |
CN103916275A (en) | BFD detection device and method | |
CN103944828A (en) | Method and equipment for transmitting protocol messages | |
CN104660449B (en) | The method and apparatus for preventing the more main equipment Master of stacking splitting | |
CN101610535A (en) | Multilink direct continuous show scape guarantees the method, system and device of BFD conversation stability down | |
CN101420332A (en) | Notifying method and network device for member terminal port configuring condition | |
CN103067291A (en) | Method and device of up-down link correlation | |
CN103166811A (en) | Multi-active detection (MAD) detection method and device | |
EP2696542A1 (en) | Method, ToR switch, and system for implementing protection switchover based on TRILL network | |
CN106034038B (en) | Prevent the method and apparatus stacked that more conflict | |
CN102255751A (en) | Stacking conflict resolution method and equipment | |
CN102882704A (en) | Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade) | |
WO2016037443A1 (en) | Temporary channel establishment method, device, system and computer storage medium | |
CN103220189B (en) | Multi-active detection (MAD) backup method and equipment | |
CN104518936A (en) | Method and device for link dynamic aggregation | |
CN104104596A (en) | Intelligent resilient framework (IRF) split processing method and device | |
WO2015154423A1 (en) | Cross-domain service processing method, apparatus and system | |
WO2016091094A1 (en) | Optical transport network protection switching method and device | |
CN103414591A (en) | Method and system for fast converging when port failure is recovered |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
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 | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |