CN105812292A - Switching equipment stacking method and device - Google Patents

Switching equipment stacking method and device Download PDF

Info

Publication number
CN105812292A
CN105812292A CN201410836152.5A CN201410836152A CN105812292A CN 105812292 A CN105812292 A CN 105812292A CN 201410836152 A CN201410836152 A CN 201410836152A CN 105812292 A CN105812292 A CN 105812292A
Authority
CN
China
Prior art keywords
switching equipment
stacking
message
equipment
default
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.)
Withdrawn
Application number
CN201410836152.5A
Other languages
Chinese (zh)
Inventor
崔向武
沈智星
吴筱苏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201410836152.5A priority Critical patent/CN105812292A/en
Priority to PCT/CN2015/073509 priority patent/WO2016106969A1/en
Publication of CN105812292A publication Critical patent/CN105812292A/en
Withdrawn legal-status Critical Current

Links

Abstract

The present invention provides a switch equipment stacking method and device. The method is applied to switch equipment. The method comprises a step of obtaining the power-on information of first switch equipment which is in the connection system formed by the pre-stacking of multiple switch equipment and has a default port whose initialization is a non-stack mode, a step of obtaining the information of power-on and sending an exchange preset message to the switch equipment which is connected to the first switch equipment, a step of receiving the response message of stack approval returned by the switch equipment which is connected to the first switch equipment according to the exchange preset message, converting the preset port of the first switch equipment into a stack mode from the non-stack mode so as to realize the stack message exchange of the first switch equipment and the switch equipment which is connected to the first switch equipment, and a step of detecting the exchange condition of the first switch equipment and the preset message of the switch equipment which is connected to the first switch equipment, and maintaining the preset port in a stacked mode.

Description

A kind of method that switching equipment is stacking and device
Technical field
The present invention relates to ethernet switch technology, particularly relate to a kind of stacking method of switching equipment and device.
Background technology
Stacking is that on Ethernet switch, ECP Extended Capabilities Port uses more technology at present, is a kind of nonstandardized technique technology.Currently a popular stacking pattern mainly has two kinds: Star Schema and daisy chain pattern.
Star-like Stack Technology, for switch, need to provide an independent or integrated high speed switching centre (stacking center), all of stacking main frame is up to unified stacking center by special (can also be general high-speed port) high speed stack port, stacking center is usually one based on special ASIC (ApplicationSpecificIntegratedCircuit, special IC) hardware switching unit, according to its exchange capacity, bandwidth is typically between 10-32G, and its ASIC exchange capacity limits the stacking number of plies.Star-like stacking pattern is applicable to require the single node local network LAN of high-efficiency high-density port, need to provide high bandwidth matrix Matrix, relatively costly, and Matrix interface does not generally have versatility, it it is stacking center or the stack port of member switch all can not for connecting other network equipments.
Daisy chain type is stacking is a kind of Stack Technology based on concatenation structure, to exchange hardware does not have special requirement, by the support of relatively high speed port concatenation and software, the final stepped construction realizing building a multi-exchange, it is possible to realize redundancy to a certain extent.Daisy chain type is stacking be one class simplify Stack Technology, stacking level less such as communication apparatus machine frame in ECP Extended Capabilities Port between veneer time more outstanding forwarding performance and convenient management characteristic can be provided, but existing daisy chain type stacking opening is fixing, it is impossible to be used as common cascade port.Master-slave equipment is distinguished in stacking management, application is had a definite limitation, when managing concentratedly such as whole system version, version is delivered to by stacked channels from switching equipment requirement master-slave equipment boot, all supports that stacking management is extremely complex, poor reliability, increases port and can cause again cost increase.
In a word, this programme technical problem is that the stacking opening connected between existing switching equipment does not possess versatility and stacking member device needs to distinguish principal and subordinate.
Summary of the invention
It is an object of the invention to provide a kind of stacking method of switching equipment and device so that the stacking opening connected between switching equipment can be general, simultaneously stacking member device is without distinguishing principal and subordinate.
To achieve these goals, the present invention provides a kind of method that switching equipment is stacking, is applied to switching equipment, and described method includes:
First switching equipment obtains the information powered on of described first switching equipment, described first switching equipment is the switching equipment in the connection system of multiple switching equipment stacking composition in advance, and described first switching equipment has the default port being initialized as non-stacking pattern;
After the information powered on described in getting, described first switching equipment sends mutual default message to the switching equipment being connected with described first switching equipment;
Described first switching equipment receives the switching equipment being connected with described first switching equipment according to after the described alternately response message that default message return agreement is stacking, and be stacking pattern by the described default port of described first switching equipment by described non-stacking patten transformation, to realize described first switching equipment and the stacking interacting message of switching equipment being connected with described first switching equipment;
After described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and maintains described default port and be in described stacking pattern.
Further, described first switching equipment receives the switching equipment being connected with described first switching equipment according to after the described alternately response message that default message return agreement is stacking, and be stacking pattern by the described default port of described first switching equipment by described non-stacking patten transformation, include realizing described first switching equipment and the step of the stacking interacting message of switching equipment being connected with described first switching equipment:
Described first switching equipment receives the switching equipment being connected with described first switching equipment and returns, according to described mutual message of presetting, the response message that agreement is stacking, then the described default port of described first switching equipment is stacking pattern by described non-stacking patten transformation, and add the described default port link aggregation trunk of striding equipment to described first switching equipment, the trunk of the striding equipment of wherein said first switching equipment and consistent with the trunk of the switching equipment that described first switching equipment connects.
Further, described first switching equipment receives the switching equipment being connected with described first switching equipment according to after the described alternately response message that default message return agreement is stacking, and be stacking pattern by the described default port of described first switching equipment by described non-stacking patten transformation, include realizing described first switching equipment and the step of the stacking interacting message of switching equipment being connected with described first switching equipment:
Described first switching equipment receives the switching equipment being connected with described first switching equipment and returns, according to described mutual message of presetting, the response message that agreement is stacking, then the described default port of described first switching equipment is stacking pattern by described non-stacking patten transformation, and synchronizes the multicast message of described first switching equipment and the multicast message of switching equipment being connected with described first switching equipment.
Further, it is described after described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and maintains described default port and be in the step of described stacking pattern and include:
After described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time;
When described interaction scenario is for interrupting alternately, the described default port of described first switching equipment is described non-stacking pattern by described stacking patten transformation;
After described default port translation is non-stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and when described interaction scenario is for recovering normal mutual, the described default port of described first switching equipment is described stacking pattern by described non-stacking patten transformation, maintains described default port and is in described stacking pattern.
Wherein, described when described interaction scenario is for interrupting alternately, the described default port of described first switching equipment is by after the step that described stacking patten transformation is described non-stacking pattern, and described method also includes:
Described first switching equipment sends the switching equipment being connected with described first switching equipment and carries out unifying the request of version management and/or upgrading.
To achieve these goals, accordingly, the present invention also provides for the device that a kind of switching equipment is stacking, is applied to switching equipment, and described device includes:
Acquisition module, the information powered on of described first switching equipment is obtained for the first switching equipment, described first switching equipment is the switching equipment in the connection system of multiple switching equipment stacking composition in advance, and described first switching equipment has the default port being initialized as non-stacking pattern;
First sending module, for after the information powered on described in getting, described first switching equipment sends mutual default message to the switching equipment being connected with described first switching equipment;
Processing module, the switching equipment being connected with described first switching equipment is received according to after the described alternately response message that default message return agreement is stacking for described first switching equipment, and be stacking pattern by the described default port of described first switching equipment by described non-stacking patten transformation, to realize described first switching equipment and the stacking interacting message of switching equipment being connected with described first switching equipment;
Detection controls module, for after described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and maintains described default port and be in described stacking pattern.
Further, described processing module includes:
First processes submodule, receive the switching equipment being connected with described first switching equipment for described first switching equipment and return, according to described mutual message of presetting, the response message that agreement is stacking, then the described default port of described first switching equipment is stacking pattern by described non-stacking patten transformation, and add the described default port link aggregation trunk of striding equipment to described first switching equipment, the trunk of the striding equipment of wherein said first switching equipment and consistent with the trunk of the switching equipment that described first switching equipment connects.
Further, described processing module includes:
Second processes submodule, receive the switching equipment being connected with described first switching equipment for described first switching equipment and return, according to described mutual message of presetting, the response message that agreement is stacking, then the described default port of described first switching equipment is stacking pattern by described non-stacking patten transformation, and synchronizes the multicast message of described first switching equipment and the multicast message of switching equipment being connected with described first switching equipment.
Further, described detection control module includes:
Detection sub-module, for after described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time;
Detection controls submodule, for after described default port translation is non-stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and when described interaction scenario is for recovering normal mutual, the described default port of described first switching equipment is described stacking pattern by described non-stacking patten transformation, maintains described default port and is in described stacking pattern.
Wherein, the device that described switching equipment is stacking also includes:
Second sending module, sends, for described first switching equipment, the switching equipment being connected with described first switching equipment and carries out unifying the request of version management and/or upgrading.
Having the beneficial effect that of the technique scheme of the present invention:
In the solution of the present invention, by obtaining the information powered at the first switching equipment, the first switching equipment is made to send mutual default message to the switching equipment being connected with the first switching equipment, stacking response message is agreed at the switching equipment being connected with the first switching equipment, and be stacking pattern by the default port of the first switching equipment by non-stacking patten transformation, to realize the first switching equipment and the stacking interacting message of switching equipment being connected with the first switching equipment, and detect the first switching equipment and the interaction scenario of the default message of switching equipment being connected with the first switching equipment in real time, maintain default port and be in described stacking pattern.Thus can realize switching equipment switching at runtime under stacking and non-stacking both of which, the management method about new stack equipment that this programme proposes simultaneously, it is by interactive information between stacking opening and special algorithm synchronizing chip forward table, master-slave equipment need not be elected, simplify management complexity, shorten pile system simultaneously and set up the time.
Accompanying drawing explanation
Fig. 1 is the step schematic diagram of the stacking method of the switching equipment of the embodiment of the present invention;
Fig. 2 is the particular content schematic diagram of the message frame length of the embodiment of the present invention;
Fig. 3 is that the concrete of the embodiment of the present invention applies whole schematic flow sheet;
Fig. 4 is one of stacking structural representation of device of the switching equipment of the embodiment of the present invention;
Fig. 5 is one of stacking structural representation of device of the switching equipment of the embodiment of the present invention.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, it is described in detail below in conjunction with the accompanying drawings and the specific embodiments.
nullThe present invention is directed to stacking opening between prior art chips and can not automatically switch into the work of non-stacking pattern,Cannot realize realizing the common application of the manystage cascade connection of chip chamber by stacking opening,Do not provide stacking link reliability to detect and forward table synchronization process after exchange piling simultaneously,And the problem that stack equipment is also required to distinguish principal and subordinate,A kind of stacking method of switching equipment and device are provided,By the default port of switching equipment is initialized as non-stacking pattern in advance,Then after switching equipment powers on,Switching equipment switching at runtime under stacking and non-stacking both of which is realized alternately by default message,Thus can realize presetting port and carry out general,Simultaneously by synchronizing trunk and the multicast message of striding equipment,Not only achieve detection reliably and communication,And master-slave equipment need not be elected,Simplify management complexity simultaneously,Also shorten pile system and set up the time.
As it is shown in figure 1, the method that the switching equipment of the embodiment of the present invention is stacking, being applied to switching equipment, wherein, described method includes:
Step 11, first switching equipment obtains the information powered on of described first switching equipment, described first switching equipment is the switching equipment in the connection system of multiple switching equipment stacking composition in advance, and described first switching equipment has the default port being initialized as non-stacking pattern;
The connection system wherein constituted may refer to star-like stacking connection system; may also mean that daisy chain type connection system; may also mean that other by multiple switching equipment stacking connection system constituted in advance; the connection system of any application this programme belongs to protection scope of the present invention, and differ a citing at this.
But owing to the port of star-like stacking connection system is many and port high density, it is also required to provide high bandwidth Matrix simultaneously, add cost, therefore it is generally preferred that daisy chain type connection system, because the stacking level of daisy chain type connection system is few, facilitate control, solve stack layer and make the problem that expense is relatively big and management difficulty is big more.
Wherein said default port refers to the port that switching equipment intercommunication connects.When each switching equipment enters stacking pattern, for during as Stack Technology, it is properly termed as stacking opening, when each switching equipment enters non-stacking pattern, when not adopting Stack Technology, it is possible to be called non-stacking mouth, it is usually beforehand through manufacturer or is set as non-stacking pattern according to demand, wherein non-stacking pattern refers to that switching equipment carries out version download, and is not belonging to the working method in Stack Technology field.
Two of which or multiple switching equipment, described switching equipment has one or more stacking opening of default port, and the stacking opening of equipment room is connected with each other by private cable or optical fiber or backboard cabling;Each switching equipment is a system that can work alone, and is stacked up and does as a whole external offer and extend the switching equipment of port number;The stacking opening of equipment can be regarded common Ethernet cascade port and use (i.e. the port of non-stacking pattern).
Step 12, after the information powered on described in getting, described first switching equipment sends mutual default message to the switching equipment being connected with described first switching equipment;
The concrete frame length of wherein said default message is 64 bytes, and the content of respective section definition at least includes being specifically defined as follows as shown in Figure 2:
1. the MAC of order, the reservation MAC in exchange two-layer retransmitting table, the message of this address can process without forwarding by the exchanged cpu of delivering to;
2. source MAC, the MAC Address of equipment self, it is possible to identify this equipment by it;
3. evil spirit number, the feature field of internal agreement message, value is 0x5A5A;
4. version number, this internal agreement version, value is 0x00;
5. type of message, 0x00=is undefined, 0x01=notification packet, 0x02=detection messages, 0x03=sync message;
6. message direction, 0x01=request message, 0x2=response message;
7. local terminal stacking opening pattern, 0x01=is stacking, and 0x02=is non-stacking;
8. opposite end stacking opening pattern, 0x01=is stacking, and 0x02=is non-stacking;
9. message time-out time, indicates message time-out time, 0x00, does not add up time-out duration;0x1-0x10, interval 100ms are incremented by;
10. Message Payload, fills different loads by different type of messages, specific as follows:
Notification packet, content includes local terminal stacking opening speed (0x01=10G, 0x02=12G, 0x03=16G), duplex information (0x01=full duplex, 0x02=half-duplex), allow stacking mark (0x01=allow stacking, 0x02=does not allow stacking);
Detection messages, content includes local terminal stacking opening speed (0x01=10G, 0x02=12G, 0x03=16G), duplex information (0x01=full duplex, 0x02=half-duplex), (0x01=is normal for stacking opening counting messages, 0x02=receives abnormal, and 0x03=sends abnormal 0x04=transmitting-receiving exception);
Sync message, by synchronous meter class discrimination;
Trunk table, TrunkID (4byte) and member port (16byte);Synchronize at most 2 groups of trunk information every time;
Multicast table, the multicast call number (4bye) of multicast mac address (6byte) and planned assignment synchronizes at most 4 groups of multicast informations every time;
11.FCS, check field.
Step 13, described first switching equipment receives the switching equipment being connected with described first switching equipment according to after the described alternately response message that default message return agreement is stacking, and be stacking pattern by the described default port of described first switching equipment by described non-stacking patten transformation, to realize described first switching equipment and the stacking interacting message of switching equipment being connected with described first switching equipment;
If it is refuse mutual response message according to what preset message return alternately that the first switching equipment receives the switching equipment being connected with the first switching equipment, then the default port of the first switching equipment continues to initialized non-stacking pattern.
This step 13 receives, at the first switching equipment, the switching equipment being connected with described first switching equipment and returns the response message that agreement is stacking, not only the default port of the first switching equipment is stacking pattern by non-stacking patten transformation, also be stacking pattern by non-stacking patten transformation with the port of the switching equipment of the first switching equipment peer end of the connection, then switching equipment complete stacking after carry out subsequent communications.
Step 14, after described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and maintains described default port and be in described stacking pattern.
In step 11 to step 14, by obtaining the information (step 11) powered at the first switching equipment, the first switching equipment is made to send mutual default message (step 12) to the switching equipment being connected with the first switching equipment, stacking response message is agreed at the switching equipment being connected with the first switching equipment, and be stacking pattern by the default port of the first switching equipment by non-stacking patten transformation, to realize the first switching equipment and the stacking interacting message (step 13) of switching equipment being connected with the first switching equipment, and detect the first switching equipment and the interaction scenario of the default message of switching equipment being connected with the first switching equipment in real time, maintain default port and be in described stacking pattern (step 14).Thus can realize switching equipment switching at runtime under stacking and non-stacking both of which.
In order to realize maintaining trunk link concordance between switching equipment, in the method that therefore switching equipment of the embodiment of the present invention is stacking, step 13 includes:
Step 131, described first switching equipment receives the switching equipment being connected with described first switching equipment and returns, according to described mutual message of presetting, the response message that agreement is stacking, then the described default port of described first switching equipment is stacking pattern by described non-stacking patten transformation, and add the described default port link aggregation trunk of striding equipment to described first switching equipment, the trunk of the striding equipment of wherein said first switching equipment and consistent with the trunk of the switching equipment that described first switching equipment connects.
Wherein after the default port of the first switching equipment is stacking pattern by non-stacking patten transformation, it is added the link aggregation trunk presetting port to the striding equipment of the first switching equipment by the stacking sync message between described first switching equipment and the port of switching equipment that is connected with described first switching equipment, realizes synchronizing.
The stack equipment of switching equipment heap poststack operationally requires that the forward table on each equipment is consistent, such as link aggregation Trunk table, multicast table, otherwise there will be message and forward abnormal, the present invention completes forward table by stacking synchronization module and synchronizes, after equipment stacking success, all devices physical port is according to preset algorithm (module No., port numbers renumbers into unique logical port number, when port adds trunk, logically port order is sequentially added into this trunk group), and send the trunk information about firms to add of local terminal to opposite end by stacking opening, opposite end is collected also logically port numbers order and is added in same trunk group after receiving information;With opposite equip., equipment confirms whether same multicast group is created before creating multicast index, without then distributing new index from resource pool, if created, utilizing the index creation multicast group of opposite end, multicast address index same on so each equipment will be consistent.
Need to elect main equipment for existing stacking management agreement, it is longer that pile system sets up the time, increase the burden of primary processor, improve the complexity of system, the problem of the development difficulty increasing system and the reliability reducing system, in the method that the switching equipment of the embodiment of the present invention is stacking, step 13 includes:
Step 132, described first switching equipment receives the switching equipment being connected with described first switching equipment and returns, according to described mutual message of presetting, the response message that agreement is stacking, then the described default port of described first switching equipment is stacking pattern by described non-stacking patten transformation, and synchronizes the multicast message of described first switching equipment and the multicast message of switching equipment being connected with described first switching equipment.
Wherein after the default port of the first switching equipment is stacking pattern by non-stacking patten transformation, by the stacking sync message multicast message that carries out Tong Bu described first switching equipment between described first switching equipment and the port of switching equipment that connects with described first switching equipment and the multicast message of switching equipment that is connected with described first switching equipment.
The unification of multicast message is achieved consistent to maintain equipment room multicast forward table by step 132, therefore forward table synchronous method between the stack equipment of the present invention, guarantee that equipment room forward table is consistent by two kinds of mechanism of preset algorithm and message synchronization, each equipment is the entity worked alone, control needs not distinguish between master-slave equipment, eliminate the time required for election main equipment, simplify the management process of stack equipment.
Being exemplified below of the embodiment implemented of the present invention.
Step A. switching equipment constitutes daisy chain type connection system by stacking opening each other;
The stacking opening initial configuration of all switching equipment of step B. becomes non-stacking pattern;
Step C. version uniform management module participates in version unified management and the upgrading of stack equipment;
Step D. switching equipment passes through stacking opening interaction feature message after powering on, and successfully turns the work of stacking pattern, the non-stacking pattern of unsuccessful maintenance;
Between step E. switching equipment stacking opening, regular interaction feature message, safeguards stacking Link State;
The port of step F. switching equipment adds by special algorithm order to maintain equipment room trunk link concordance when adding the trunk of striding equipment;
Between step G. switching equipment, synchronization message is consistent to maintain equipment room multicast forward table.
Affecting the work of switching equipment to realize avoiding the occurrence of unusual condition when switching equipment is mutual, in the method that therefore switching equipment of the embodiment of the present invention is stacking, step 14 includes:
Step 141, after described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time;
Step 142, when described interaction scenario is for interrupting alternately, the described default port of described first switching equipment is described non-stacking pattern by described stacking patten transformation;
The reason of wherein said mutual interruption may refer to the switching equipment that mutual opposite end is connected with the first switching equipment and breaks down, it is also possible to refer to that restarting occurs in the first switching equipment, it is also possible to be that all switching equipment need to carry out version download.
Step 143, after described default port translation is non-stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and when described interaction scenario is for recovering normal mutual, the described default port of described first switching equipment is described stacking pattern by described non-stacking patten transformation, maintains described default port and is in described stacking pattern.
As it is shown on figure 3, the whole flow process of concrete application of the present invention is exemplified below.
Whether monitoring stacking opening Determines switching equipment can participate in stacking in real time.
Step 30, the stacking opening of switching equipment is initially set to non-stacking pattern;
Step 31, can be used as common switching equipment download version by the switching equipment after step 30, and version is sent by stacking opening and advertises message to the switching equipment that opposite end connects;
Step 32, switching equipment powers on, if it is unsuccessful to power on, continues executing with step 31, if powering on successfully, then performs step 33;
Step 33, if switching equipment powers on successfully, then sends message by stacking opening;
Step 34, wait see whether shake hands successfully, shake hands do not have successful time, perform step 38 switching equipment perform non-stacking pattern work, shake hands successfully, then perform step 35;
Step 35, the switching equipment being connected with opposite end stacking opening after successfully of shaking hands is set to stacking pattern;
Step 36, in stacking process, timing passes through stacking opening in the mutual detection messages of equipment room;
Step 37, if be detected that whether the message interaction of stacking opening is abnormal, if stacking opening is in normally, then continues executing with step 36 and detects, if be detected that stacking opening is abnormal, then performs step 38;
Step 38, if stacking opening is set to non-stacking pattern, switching equipment is by the work of non-stacking pattern;
Step 39, continues to judge whether the heap poststack of switching equipment recovers normal message interaction, without recovery, then continues the switching equipment of step 38 by the work of non-stacking pattern, if after recovering, then switching equipment enters back into the stacking pattern work of step 35.
The switching equipment that is particularly applicable in of the present invention needs to carry out being exemplified below of version download.
If after switching equipment all comes into stacking pattern, owing to switching equipment needs to carry out the unified upgrading of version, the switching equipment that then switching equipment transmission is connected with described first switching equipment carries out unifying the request of version management and/or upgrading and interrupts current stacking pattern, then the stacking opening of switching equipment is non-stacking pattern by stacking patten transformation, then pass through version uniform management module to realize download version and be copied to multiple switching equipment and be downloaded, after version has been downloaded, each switching equipment phase interchangeable again presets message, then the default port of each switching equipment is stacking pattern by non-stacking patten transformation again.
The switching equipment that is particularly applicable in of the present invention presets being exemplified below of message interruption alternately.
If all coming into stacking pattern at switching equipment A and switching equipment B, owing to switching equipment B is restarted, then switching equipment A does not receive the stacking message interaction (illustrating there is exception alternately) of switching equipment B, then switching equipment A is non-stacking pattern by stacking patten transformation, then switching equipment A continues detection mutual message, after switching equipment re-powers, both recover again message interaction, switching equipment A and switching equipment B is stacking pattern by non-stacking patten transformation all again.
In order to conveniently realize version unified management and the upgrading of each switching equipment, in the method that therefore switching equipment of the embodiment of the present invention is stacking, after step 142, described method also includes:
Step 151, described first switching equipment sends the switching equipment being connected with described first switching equipment and carries out unifying the request of version management and/or upgrading.
When carrying out unifying updating and management, switching equipment can send to version uniform management module needs to be uniformly carried out the request of edition upgrading, the default port of switching equipment can be non-stacking pattern by stacking patten transformation, then pass through version uniform management module to realize download version and be copied to multiple switching equipment and be downloaded, after version has been downloaded, each switching equipment phase interchangeable again presets message, and then the default port of each switching equipment is stacking pattern by non-stacking patten transformation again.So each switching equipment is by having the switching equipment piling azido functional when being in non-stacking pattern, and by default port from same source download version, then switching equipment automatically switches into stacking pattern, the unified updating and management of very convenient each equipment after powering on.
As shown in Figure 4, the device that the switching equipment of the embodiment of the present invention is stacking, it is applied to switching equipment, wherein, described device includes:
Acquisition module 41, the information powered on of described first switching equipment is obtained for the first switching equipment, described first switching equipment is the switching equipment in the connection system of multiple switching equipment stacking composition in advance, and described first switching equipment has the default port being initialized as non-stacking pattern;
First sending module 42, for after the information powered on described in getting, described first switching equipment sends mutual default message to the switching equipment being connected with described first switching equipment;
Processing module 43, the switching equipment being connected with described first switching equipment is received according to after the described alternately response message that default message return agreement is stacking for described first switching equipment, and be stacking pattern by the described default port of described first switching equipment by described non-stacking patten transformation, to realize described first switching equipment and the stacking interacting message of switching equipment being connected with described first switching equipment;
Detection controls module 44, for after described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and maintains described default port and be in described stacking pattern.
The present embodiment can, by stacking management module, be used for managing whether switching equipment participates in stacking.
The information powered on is obtained by acquisition module 41, the first sending module 42 is made to send mutual default message to the switching equipment being connected with the first switching equipment, then pass through processing module 43 and agree to stacking response message at the switching equipment being connected with the first switching equipment, and be stacking pattern by the default port of the first switching equipment by non-stacking patten transformation, to realize the first switching equipment and the stacking interacting message of switching equipment being connected with the first switching equipment, finally by and detect and control module 44 and detect the first switching equipment and the interaction scenario of the default message of switching equipment being connected with the first switching equipment in real time, maintain default port and be in described stacking pattern.Thus can realize switching equipment switching at runtime under stacking and non-stacking both of which.
Correspond to by version uniform management module receive switching equipment need carry out unifying version management and/or upgrading; wherein said version uniform management module can be actual entity; such as computer, computer, veneer or other equipment etc.; any realization is unified the equipment of version management and/or upgrading and is belonged to protection scope of the present invention, and differ a citing at this.
Version uniform management module as shown in Figure 5, is coupled together by Ethernet with a switching equipment in the switching equipment of heap poststack, provides unified version and daily record storage for participating in stacking switching equipment.
The stack device of the present invention includes two or more switching equipment, such as switching equipment A, B, C until switching equipment N, being connected with each other by stacked channels between switching equipment between two and constitute an exchange entirety, stacked channels can be backboard cabling can also be CX4 cable or optical fiber;Version uniform management module and one of them switching equipment connect, and provide unified version and daily record storage for all devices, and device power, all from this module download version to local runtime, has only to during edition upgrading update the version in version management module.
In the device that the switching equipment of another embodiment of the present invention is stacking, described processing module 43 includes:
First processes submodule, receive the switching equipment being connected with described first switching equipment for described first switching equipment and return, according to described mutual message of presetting, the response message that agreement is stacking, then the described default port of described first switching equipment is stacking pattern by described non-stacking patten transformation, and add the described default port link aggregation trunk of striding equipment to described first switching equipment, the trunk of the striding equipment of wherein said first switching equipment and consistent with the trunk of the switching equipment that described first switching equipment connects.
Wherein after the default port of the first switching equipment is stacking pattern by non-stacking patten transformation, it is added the link aggregation trunk presetting port to the striding equipment of the first switching equipment by the stacking sync message between described first switching equipment and the port of switching equipment that is connected with described first switching equipment, realizes synchronizing
In the device that the switching equipment of another embodiment of the present invention is stacking, described processing module 43 includes:
Second processes submodule, receive the switching equipment being connected with described first switching equipment for described first switching equipment and return, according to described mutual message of presetting, the response message that agreement is stacking, then the described default port of described first switching equipment is stacking pattern by described non-stacking patten transformation, and synchronizes the multicast message of described first switching equipment and the multicast message of switching equipment being connected with described first switching equipment.
Wherein after the default port of the first switching equipment is stacking pattern by non-stacking patten transformation, by the stacking sync message multicast message that carries out Tong Bu described first switching equipment between described first switching equipment and the port of switching equipment that connects with described first switching equipment and the multicast message of switching equipment that is connected with described first switching equipment.
The present embodiment can pass through stacking synchronization module, and the forward table between management stack equipment synchronizes.
In the device that the switching equipment of another embodiment of the present invention is stacking, described detection controls module 44 and includes:
Detection sub-module, for after described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time;
Detection controls submodule, for after described default port translation is non-stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and when described interaction scenario is for recovering normal mutual, the described default port of described first switching equipment is described stacking pattern by described non-stacking patten transformation, maintains described default port and is in described stacking pattern.
The device that the switching equipment of another embodiment of the present invention is stacking also includes:
Second sending module 45, sends, for described first switching equipment, the switching equipment being connected with described first switching equipment and carries out unifying the request of version management and/or upgrading.
This programme is pre-configured with the pattern of stacking opening according to mutual special packet success or not by monitoring in real time, carries out the switching of non-stacking pattern and stacking pattern, finally maintains switching equipment in stacking pattern.It is achieved in that stack equipment switching at runtime under stacking and non-stacking both of which.
It should be noted that device provided by the invention is the device applying above-mentioned switching equipment stacking method, then all embodiments of above-mentioned switching equipment stacking method are all suitable in this device, and all can reach same or analogous beneficial effect.
The above is the preferred embodiment of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from principle of the present invention; can also making some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (10)

1. the method that switching equipment is stacking, is applied to switching equipment, it is characterised in that described method includes:
First switching equipment obtains the information powered on of described first switching equipment, described first switching equipment is the switching equipment in the connection system of multiple switching equipment stacking composition in advance, and described first switching equipment has the default port being initialized as non-stacking pattern;
After the information powered on described in getting, described first switching equipment sends mutual default message to the switching equipment being connected with described first switching equipment;
Described first switching equipment receives the switching equipment being connected with described first switching equipment according to after the described alternately response message that default message return agreement is stacking, and be stacking pattern by the described default port of described first switching equipment by described non-stacking patten transformation, to realize described first switching equipment and the stacking interacting message of switching equipment being connected with described first switching equipment;
After described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and maintains described default port and be in described stacking pattern.
2. the method that switching equipment according to claim 1 is stacking, it is characterized in that, described first switching equipment receives the switching equipment being connected with described first switching equipment according to after the described alternately response message that default message return agreement is stacking, and be stacking pattern by the described default port of described first switching equipment by described non-stacking patten transformation, include realizing described first switching equipment and the step of the stacking interacting message of switching equipment being connected with described first switching equipment:
Described first switching equipment receives the switching equipment being connected with described first switching equipment and returns, according to described mutual message of presetting, the response message that agreement is stacking, then the described default port of described first switching equipment is stacking pattern by described non-stacking patten transformation, and add the described default port link aggregation trunk of striding equipment to described first switching equipment, the trunk of the striding equipment of wherein said first switching equipment and consistent with the trunk of the switching equipment that described first switching equipment connects.
3. the method that switching equipment according to claim 1 and 2 is stacking, it is characterized in that, described first switching equipment receives the switching equipment being connected with described first switching equipment according to after the described alternately response message that default message return agreement is stacking, and be stacking pattern by the described default port of described first switching equipment by described non-stacking patten transformation, include realizing described first switching equipment and the step of the stacking interacting message of switching equipment being connected with described first switching equipment:
Described first switching equipment receives the switching equipment being connected with described first switching equipment and returns, according to described mutual message of presetting, the response message that agreement is stacking, then the described default port of described first switching equipment is stacking pattern by described non-stacking patten transformation, and synchronizes the multicast message of described first switching equipment and the multicast message of switching equipment being connected with described first switching equipment.
4. the method that switching equipment according to claim 1 is stacking, it is characterized in that, it is described after described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and maintains described default port and be in the step of described stacking pattern and include:
After described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time;
When described interaction scenario is for interrupting alternately, the described default port of described first switching equipment is described non-stacking pattern by described stacking patten transformation;
After described default port translation is non-stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and when described interaction scenario is for recovering normal mutual, the described default port of described first switching equipment is described stacking pattern by described non-stacking patten transformation, maintains described default port and is in described stacking pattern.
5. the method that switching equipment according to claim 4 is stacking, it is characterized in that, described when described interaction scenario is for interrupting alternately, the described default port of described first switching equipment is by after the step that described stacking patten transformation is described non-stacking pattern, and described method also includes:
Described first switching equipment sends the switching equipment being connected with described first switching equipment and carries out unifying the request of version management and/or upgrading.
6. the device that switching equipment is stacking, is applied to switching equipment, it is characterised in that described device includes:
Acquisition module, the information powered on of described first switching equipment is obtained for the first switching equipment, described first switching equipment is the switching equipment in the connection system of multiple switching equipment stacking composition in advance, and described first switching equipment has the default port being initialized as non-stacking pattern;
First sending module, for after the information powered on described in getting, described first switching equipment sends mutual default message to the switching equipment being connected with described first switching equipment;
Processing module, the switching equipment being connected with described first switching equipment is received according to after the described alternately response message that default message return agreement is stacking for described first switching equipment, and be stacking pattern by the described default port of described first switching equipment by described non-stacking patten transformation, to realize described first switching equipment and the stacking interacting message of switching equipment being connected with described first switching equipment;
Detection controls module, for after described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and maintains described default port and be in described stacking pattern.
7. the device that switching equipment according to claim 6 is stacking, it is characterised in that described processing module includes:
First processes submodule, receive the switching equipment being connected with described first switching equipment for described first switching equipment and return, according to described mutual message of presetting, the response message that agreement is stacking, then the described default port of described first switching equipment is stacking pattern by described non-stacking patten transformation, and add the described default port link aggregation trunk of striding equipment to described first switching equipment, the trunk of the striding equipment of wherein said first switching equipment and consistent with the trunk of the switching equipment that described first switching equipment connects.
8. the device that switching equipment according to claim 6 or 7 is stacking, it is characterised in that described processing module includes:
Second processes submodule, receive the switching equipment being connected with described first switching equipment for described first switching equipment and return, according to described mutual message of presetting, the response message that agreement is stacking, then the described default port of described first switching equipment is stacking pattern by described non-stacking patten transformation, and synchronizes the multicast message of described first switching equipment and the multicast message of switching equipment being connected with described first switching equipment.
9. the device that switching equipment according to claim 6 is stacking, it is characterised in that described detection controls module and includes:
Detection sub-module, for after described default port translation is stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time;
Detection controls submodule, for after described default port translation is non-stacking pattern, described first switching equipment detects described first switching equipment and the interaction scenario of the default message of switching equipment being connected with described first switching equipment in real time, and when described interaction scenario is for recovering normal mutual, the described default port of described first switching equipment is described stacking pattern by described non-stacking patten transformation, maintains described default port and is in described stacking pattern.
10. the device that switching equipment according to claim 9 is stacking, it is characterised in that described device also includes:
Second sending module, sends, for described first switching equipment, the switching equipment being connected with described first switching equipment and carries out unifying the request of version management and/or upgrading.
CN201410836152.5A 2014-12-29 2014-12-29 Switching equipment stacking method and device Withdrawn CN105812292A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410836152.5A CN105812292A (en) 2014-12-29 2014-12-29 Switching equipment stacking method and device
PCT/CN2015/073509 WO2016106969A1 (en) 2014-12-29 2015-03-02 Switching device stacking method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410836152.5A CN105812292A (en) 2014-12-29 2014-12-29 Switching equipment stacking method and device

Publications (1)

Publication Number Publication Date
CN105812292A true CN105812292A (en) 2016-07-27

Family

ID=56284054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410836152.5A Withdrawn CN105812292A (en) 2014-12-29 2014-12-29 Switching equipment stacking method and device

Country Status (2)

Country Link
CN (1) CN105812292A (en)
WO (1) WO2016106969A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101004A (en) * 2016-08-26 2016-11-09 杭州迪普科技有限公司 The method and device of flow switch
CN109245922A (en) * 2018-08-24 2019-01-18 新华三技术有限公司 Member device restarts control method and device in virtualization system
CN109672571A (en) * 2019-01-16 2019-04-23 新华三技术有限公司 Stacking method, device and storage medium
CN109672618A (en) * 2019-01-18 2019-04-23 新华三技术有限公司合肥分公司 Redundant interface processing method, device, server and storage medium
CN114338361A (en) * 2022-03-15 2022-04-12 浙江中控技术股份有限公司 Communication method of communication device, communication device and distributed control system
CN115086254A (en) * 2022-06-06 2022-09-20 上海华信长安网络科技有限公司 Method and device for synchronizing MAC (media Access control) table items under stacking system of multiple switches

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115190004A (en) * 2022-06-22 2022-10-14 杭州云合智网技术有限公司 Network protection method with clear main and standby
CN115086251B (en) * 2022-06-28 2023-10-03 北京东土军悦科技有限公司 Stacked data processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102222A (en) * 2007-06-05 2008-01-09 中兴通讯股份有限公司 A communication network connection method and its device
CN101572646A (en) * 2009-06-15 2009-11-04 杭州华三通信技术有限公司 Implementation method of remote IRF stacking and equipment thereof
CN101599909A (en) * 2009-07-08 2009-12-09 杭州华三通信技术有限公司 The method and apparatus that a kind of flow is transmitted
CN102724030A (en) * 2012-06-29 2012-10-10 杭州迪普科技有限公司 Stacking system with high reliability
CN103684857A (en) * 2013-12-02 2014-03-26 杭州华三通信技术有限公司 Method and device for setting working modes of member ports of stacking ports of switchboards

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183992B (en) * 2007-12-28 2010-06-16 中兴通讯股份有限公司 Equipment management method in stacked system
CN102546313B (en) * 2012-03-26 2014-10-01 杭州华三通信技术有限公司 Multi-activation detection method and multi-activation detection device
CN103701631B (en) * 2013-12-05 2017-02-15 杭州华三通信技术有限公司 Automatic stack configuration deploy method and equipment used in stack system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102222A (en) * 2007-06-05 2008-01-09 中兴通讯股份有限公司 A communication network connection method and its device
CN101572646A (en) * 2009-06-15 2009-11-04 杭州华三通信技术有限公司 Implementation method of remote IRF stacking and equipment thereof
CN101599909A (en) * 2009-07-08 2009-12-09 杭州华三通信技术有限公司 The method and apparatus that a kind of flow is transmitted
CN102724030A (en) * 2012-06-29 2012-10-10 杭州迪普科技有限公司 Stacking system with high reliability
CN103684857A (en) * 2013-12-02 2014-03-26 杭州华三通信技术有限公司 Method and device for setting working modes of member ports of stacking ports of switchboards

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101004A (en) * 2016-08-26 2016-11-09 杭州迪普科技有限公司 The method and device of flow switch
CN106101004B (en) * 2016-08-26 2019-05-07 杭州迪普科技股份有限公司 The method and device of flow switching
CN109245922A (en) * 2018-08-24 2019-01-18 新华三技术有限公司 Member device restarts control method and device in virtualization system
CN109245922B (en) * 2018-08-24 2022-03-01 新华三技术有限公司 Method and device for controlling restart of member equipment in virtualization system
CN109672571A (en) * 2019-01-16 2019-04-23 新华三技术有限公司 Stacking method, device and storage medium
CN109672571B (en) * 2019-01-16 2022-04-08 新华三技术有限公司 Stacking method, device and storage medium
CN109672618A (en) * 2019-01-18 2019-04-23 新华三技术有限公司合肥分公司 Redundant interface processing method, device, server and storage medium
CN109672618B (en) * 2019-01-18 2021-07-06 新华三技术有限公司合肥分公司 Redundant interface processing method, device, server and storage medium
CN114338361A (en) * 2022-03-15 2022-04-12 浙江中控技术股份有限公司 Communication method of communication device, communication device and distributed control system
CN115086254A (en) * 2022-06-06 2022-09-20 上海华信长安网络科技有限公司 Method and device for synchronizing MAC (media Access control) table items under stacking system of multiple switches
CN115086254B (en) * 2022-06-06 2023-11-28 上海华信长安网络科技有限公司 Method and device for synchronizing MAC (media access control) table entries under multi-switch stacking system

Also Published As

Publication number Publication date
WO2016106969A1 (en) 2016-07-07

Similar Documents

Publication Publication Date Title
CN105812292A (en) Switching equipment stacking method and device
CN105763359B (en) Distributed bidirectional forwarding detection protocol (D-BFD) for an interleaved fabric switch cluster
US9391877B2 (en) System and method for reducing information loss in an aggregated information handling system
CN102355366B (en) Member-stacking device and method for managing member-stacking device at split stacking moment
US10284499B2 (en) Dedicated control path architecture for systems of devices
US8850068B2 (en) United router farm setup
CN102185718B (en) System upgrading method and device
CN102510408B (en) Method for realizing TCP (transmission control protocol) application main and standby changeover
CN101136730A (en) Credible synchronization method of distributed network equipment
CN103166811B (en) A kind of MAD detection method and equipment
CN101594383B (en) Method for monitoring service and status of controllers of double-controller storage system
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
US9071508B2 (en) Distributed fabric management protocol
WO2017000832A1 (en) Mac address synchronization method, device and system
CN101917337A (en) Device and method for interconnecting router cluster middle plates
CN102724030A (en) Stacking system with high reliability
CN101902360A (en) Method for synchronizing information between master equipment and standby equipment and server
CN102326358B (en) Method, device of cluster system extension and cluster system
CN101841735B (en) Frame-type switch, stack system and fault treatment method after stack
EP3213441B1 (en) Redundancy for port extender chains
CN105763471A (en) Link management method, device and system in virtual machine environment
CN102104531A (en) Message processing device, method and system
CN103532863A (en) Method and device for realizing software stacking
CN106921527B (en) The processing method and processing device of stacking conflict
CN100566293C (en) The method that the method for multicast static group backup and multicast message are transmitted

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20160727