CN102307137A - Method and device for transmitting and receiving management message, stacked switchboard and switchboard system - Google Patents

Method and device for transmitting and receiving management message, stacked switchboard and switchboard system Download PDF

Info

Publication number
CN102307137A
CN102307137A CN201110195866A CN201110195866A CN102307137A CN 102307137 A CN102307137 A CN 102307137A CN 201110195866 A CN201110195866 A CN 201110195866A CN 201110195866 A CN201110195866 A CN 201110195866A CN 102307137 A CN102307137 A CN 102307137A
Authority
CN
China
Prior art keywords
stacked switch
message
main frames
administrative
many main
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
Application number
CN201110195866A
Other languages
Chinese (zh)
Other versions
CN102307137B (en
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.)
Beijing Star Net Ruijie Networks Co Ltd
Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks Co Ltd
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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201110195866.9A priority Critical patent/CN102307137B/en
Publication of CN102307137A publication Critical patent/CN102307137A/en
Application granted granted Critical
Publication of CN102307137B publication Critical patent/CN102307137B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of invention provides a method and device for transmitting and receiving management message, a stacked switchboard and a switchboard system. The method for receiving management message comprises the steps as follows: a switch chip of the stacked switchboard receives message through a multi-host detecting terminal of the stacked switchboard, the message is transmitted by the multi-host detecting terminal of the other stacked switchboard connected with the stacked switchboard in the stacked system where the stacked switchboard is located; the switch chip of the stacked switchboard determines the message as management message according to register table item corresponding to the multi-host detecting port of the stacked switchboard, and transmits the management message to a central processor of the stacked switchboard. With the embodiment of invention, the management message can be transmitted through the multi-host detecting terminal, the blocking phenomenon of the management message transmission caused by large service data amount can be avoided, and one priority level of the switch chip can be saved.

Description

Administrative message method of sending and receiving, device, stacked switch and pile system
Technical field
The embodiment of the invention relates to communication technical field, relates in particular to a kind of administrative message method of sending and receiving, device, stacked switch and pile system.
Background technology
Stacked switch refers to the logical switch of many Daeporis is coupled together through cable special use or non-special use, and virtual is a mode that switch is managed.High speed between the stacked switch member is piled up while transport service message and administrative message on the cable.There is a serious problem in existing pile system; Piling up while business transferring message and administrative message on the cable at a high speed, the transmission of administrative message receives the influence of service message easily, under the very big situation of service message flow; Administrative message is blocked easily, causes piling up phenomenons such as division.
The scheme of existing guarantee administrative message normal transmission mainly is a configure hardware list item on the exchange chip that piles up the cable two ends, and the priority that administrative message is set is higher than the priority of service message, thereby guarantees preferential transmission of exchange chip and receiving management message.But this scheme has been wasted a priority of exchange chip, thus some effects the exchange carried out according to priority of service message.In addition, concerning the part exchange chip, surpass when piling up the bandwidth of cable at the service message flow, administrative message still might be blocked.
Summary of the invention
The embodiment of the invention provides a kind of administrative message method of sending and receiving, device, stacked switch and pile system, to realize through many main frames detection port transfer management message the clogging that transmission causes to administrative message when avoiding the business datum amount big.
The embodiment of the invention provides a kind of administrative message method of reseptance, comprising:
The exchange chip of stacked switch receives message through many main frames detection port of said stacked switch, and said message is that another stacked switch that is connected with said stacked switch in the pile system of said stacked switch place sends through many main frames detection port of said another stacked switch;
The register list item that the exchange chip of said stacked switch is corresponding according to many main frames detection port of said stacked switch is confirmed that said message is an administrative message, and said administrative message is sent to the central processing unit of said stacked switch.
The embodiment of the invention also provides a kind of administrative message sending method, comprising:
The exchange chip of stacked switch receives the administrative message of the central processing unit transmission of said stacked switch;
The exchange chip of said stacked switch sends to the many main frame detection port of said administrative message through said stacked switch another stacked switch that is connected with said stacked switch in the pile system of said stacked switch place.
The embodiment of the invention also provides a kind of administrative message receiving system, is arranged in the stacked switch, comprising:
Receiver module; Be used for receiving message through many main frames detection port of said stacked switch, said message is that another stacked switch that is connected with said stacked switch in the pile system of said stacked switch place sends through many main frames detection port of said another stacked switch;
Determination module is used for the register list item corresponding according to many main frames detection port of said stacked switch, confirms that said message is an administrative message;
Sending module is used for said administrative message is sent to the central processing unit of said stacked switch.
The embodiment of the invention also provides a kind of administrative message dispensing device, is arranged in the stacked switch, comprising:
The message receiver module is used to receive the administrative message that the central processing unit of said stacked switch sends;
The message sending module, the said administrative message that is used for said message receiver module is received sends to another stacked switch that said stacked switch place pile system is connected with said stacked switch through many main frames detection port of said stacked switch.
The embodiment of the invention also provides a kind of stacked switch, comprises aforesaid administrative message receiving system and/or aforesaid administrative message dispensing device.
The embodiment of the invention also provides a kind of pile system, comprises at least two aforesaid stacked switch.
Pass through the embodiment of the invention; In stacked switch and this stacked switch place pile system with another stacked switch that this stacked switch is connected between through many main frames detection port transfer management message; Thereby can realize through many main frames detection port transfer management message; The clogging that transmission causes to administrative message when having avoided the business datum amount big, and a priority of having saved exchange chip.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply; Obviously, the accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The embodiment of the invention provides a kind of administrative message method of sending and receiving, device, stacked switch and pile system; This administrative message method of reseptance comprises: the exchange chip of stacked switch receives message through many main frames detection port of said stacked switch, and said message is that another stacked switch that is connected with said stacked switch in the pile system of said stacked switch place sends through many main frames detection port of said another stacked switch; The register list item that the exchange chip of said stacked switch is corresponding according to many main frames detection port of said stacked switch is confirmed that said message is an administrative message, and said administrative message is sent to the central processing unit of said stacked switch.The embodiment of the invention can realize through many main frames detection port transfer management message, the clogging that transmission causes to administrative message when having avoided the business datum amount big, and a priority of having saved exchange chip.
Fig. 1 is the flow chart of an embodiment of administrative message method of reseptance of the present invention;
Fig. 2 is the flow chart of an embodiment of administrative message sending method of the present invention;
Fig. 3 is the flow chart of an embodiment of administrative message transmission method of the present invention;
Fig. 4 is that the present invention is through piling up the sketch map of an embodiment of cable transmission administrative message;
Fig. 5 is the sketch map of the present invention through two embodiment of main frame detection port transfer management message;
Fig. 6 piles up the sketch map that cable breaks off an embodiment for the present invention;
Fig. 7 is the structural representation of an embodiment of administrative message receiving system of the present invention;
Fig. 8 is the structural representation of another embodiment of administrative message receiving system of the present invention;
Fig. 9 is the structural representation of an embodiment of administrative message dispensing device of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills are obtained under the prerequisite of not making creative work belongs to the scope that the present invention protects.
Fig. 1 is the flow chart of an embodiment of administrative message method of reseptance of the present invention, and as shown in Figure 1, this administrative message method of reseptance can comprise:
Step 101; The exchange chip of stacked switch receives message through many main frames detection port of this stacked switch, and above-mentioned message is that another stacked switch that is connected with this stacked switch in the pile system of stacked switch place sends through many main frames detection port of above-mentioned another stacked switch.
When preventing that piling up cable breaks down, two or many stacked switch have same medium access control (MediaAccess Control simultaneously; Hereinafter to be referred as: MAC) address and/or Internet Protocol (Internet Protocol; Hereinafter to be referred as information such as IP), i.e. " many main frames " phenomenon influence that network is caused need manage to detect the existence of other " main frames " in the network.Common method is at present, in each stack member, specifies a low-speed port, is specifically designed to " many main frames " and detects, and can the port that be used for " many main frames " detection be called many main frames detection port.These many main frames detection port couple together through netting twine or optical fiber, and through the specific detection protocol of operation on these many main frames detection port, for example: two-way forwarding detects (Bidirectional Forwarding Detection; Hereinafter to be referred as: BFD) agreement, many main frames detection protocol (Multi-active Detection Protocol; Hereinafter to be referred as: MADP) or link aggregate control protocol (Link Aggregation Control Protocol; Hereinafter to be referred as: LACP) etc. whether there are a plurality of " main frames " in the detection network.In detecting network, there are a plurality of " main frames " afterwards, can close the port of " main frame ", only can stay the next one " main frame " in the final network through pre-defined rule.In the prior art, many main frames detection port all is special-purpose, except the message of detection protocol, does not transmit other messages.
The embodiment of the invention can be discerned the register list item of administrative message to the setting of many main frames detection port on exchange chip, make many main frames detection port not only can transmit the message of detection protocol, i.e. many main frames detection messages can also the transfer management message.
Step 102, the register list item that the exchange chip of stacked switch is corresponding according to many main frames detection port of this stacked switch is confirmed that above-mentioned message is an administrative message, and this administrative message is sent to the central processing unit of stacked switch.
Particularly, can on the exchange chip of stacked switch, above-mentioned register list item be set the many main frames detection port to this stacked switch; This register list item is for discerning the register list item of administrative message, and this register list item comprises matched rule field and processing mode field.Wherein, the value of matched rule field can be set to the protocol type of administrative message, perhaps also can be with source medium access control (Media Access Control; Hereinafter to be referred as: MAC) address, target MAC (Media Access Control) address, source Internet Protocol (Internet Protocol; Hereinafter to be referred as: IP) address, purpose IP address, transmission control protocol (Transmission Control Protocol; Hereinafter to be referred as: TCP)/UDP (User Datagram Protocol; Hereinafter to be referred as one or more in source port UDP) and the destination interface, and the protocol type of administrative message is set to the value of matched rule field together, and the value of processing mode field can be set to send to central processing unit.
Like this; After receiving message, the exchange chip of stacked switch is resolved the message that receives, and obtains the characteristic information of above-mentioned message; Wherein, The characteristic information of above-mentioned message comprises the protocol type of message, and in addition, the characteristic information of above-mentioned message can also comprise one or more in source port and the destination interface of source MAC, target MAC (Media Access Control) address, source IP address, purpose IP address, TCP/UDP of message; Then; The value of the characteristic information of the more above-mentioned message of exchange chip of stacked switch and the matched rule field of above-mentioned register list item; If the characteristic information of above-mentioned message is identical with the value of the matched rule field of above-mentioned register list item, can confirm that then above-mentioned message is an administrative message; Particularly, if the value of matched rule field is set to the protocol type of administrative message, as long as the protocol type of message is identical with the value of above-mentioned matched rule field, can confirm that then above-mentioned message is an administrative message so; If one or more with in the source port of source MAC, target MAC (Media Access Control) address, source IP address, purpose IP address, TCP/UDP and the destination interface; And the protocol type of administrative message is set to the value of matched rule field together; One or more in the source port of the source MAC of message, target MAC (Media Access Control) address, source IP address, purpose IP address, TCP/UDP and destination interface so; And the value of the protocol type of message and above-mentioned matched rule field can confirm that just above-mentioned message is an administrative message when identical.
At last, the exchange chip of stacked switch can send to administrative message the central processing unit of stacked switch according to the value of the processing mode field of register list item.
In addition; If the characteristic information of above-mentioned message is different with the value of the matched rule field of above-mentioned register list item; Can confirm that then above-mentioned message is many main frames detection messages, that is to say, in the present embodiment; Stacked switch not only can also can transmit many main frames detection messages through many main frames detection port transfer management message.
In addition; In the present embodiment; When detecting many main frames between above-mentioned stacked switch and above-mentioned another stacked switch and detect cables and be not connected, the stack port of above-mentioned stacked switch through above-mentioned stacked switch receives service message that above-mentioned another stacked switch sends through the stack port of above-mentioned another stacked switch, piles up protocol massages and administrative message.
In the foregoing description; The many main frame detection port of the exchange chip of stacked switch through this stacked switch receives after the message; Register list item that can be corresponding according to many main frames detection port of this stacked switch; Confirm that above-mentioned message is an administrative message, the managing chip of stacked switch sends to the central processing unit of stacked switch with this administrative message then, and central processing unit can receive above-mentioned administrative message like this; Thereby can realize through many main frames detection port receiving management message; When having avoided the business datum amount big administrative message is transmitted the clogging that causes, both made full use of the bandwidth of many main frames detection port, a priority of having saved exchange chip again.
Fig. 2 is the flow chart of an embodiment of administrative message sending method of the present invention, and as shown in Figure 2, this administrative message sending method can comprise:
Step 201, the exchange chip of stacked switch receive the administrative message of the central processing unit transmission of this stacked switch.
Step 202, the exchange chip of stacked switch send to the many main frame detection port of administrative message through this stacked switch another stacked switch that is connected with this stacked switch in this stacked switch place pile system.
Particularly, the exchange chip that the central processing unit of stacked switch can be controlled this stacked switch sends specific message through particular port, and exchange chip can not attempt resolving this specific message when sending this specific message.Therefore in the present embodiment; After the packaged administrative message of the central processing unit of stacked switch; Just can this administrative message be sent to exchange chip; Receive after this administrative message, exchange chip can not carry out extra encapsulation to this administrative message, but directly through many main frames detection port this administrative message is sent.
In addition; In the present embodiment; When detecting many main frames between above-mentioned stacked switch and above-mentioned another stacked switch and detect cables and be not connected, above-mentioned stacked switch sends service message, piles up protocol massages and administrative message to above-mentioned another stacked switch through the stack port of above-mentioned stacked switch.
In the foregoing description; The exchange chip of stacked switch sends to administrative message another stacked switch that is connected with this stacked switch in this stacked switch place pile system through many main frames detection port of this stacked switch; Thereby can realize sending administrative message through many main frames detection port; When having avoided the business datum amount big administrative message is transmitted the clogging that causes, both made full use of the bandwidth of many main frames detection port, a priority of having saved exchange chip again.
Fig. 3 is the flow chart of an embodiment of administrative message transmission method of the present invention, and as shown in Figure 3, this administrative message transmission method can comprise:
Step 301 is piled up the formation stage, the stacked switch of two platform independent, agreement is piled up in operation on stack port separately respectively, detect the opposite end after, form pile system.
Step 302, when detecting many main frames between above-mentioned two stacked switch and detect cables and do not connect, between above-mentioned two stacked switch through stack port transport service message, pile up protocol massages and administrative message.
That is to say; When detecting many main frames between above-mentioned two stacked switch and detect cables and do not connect, what connect between the stack port of above-mentioned two stacked switch through above-mentioned two stacked switch piles up the cable transmission service message, piles up protocol massages and administrative message.
Particularly; The state of many main frames detection port of another stacked switch that the stacked switch in the pile system can be confirmed to be connected with this stacked switch in this pile system according to the physical signalling that receives; If the state of many main frames detection port of another stacked switch that this stacked switch is connected with this stacked switch is operate as normal (up); And the many main frames detection messages between this stacked switch and another stacked switch that this stacked switch is connected can normal transmission, and then this stacked switch can confirm that this stacked switch and many main frames between another stacked switch detect cables and are connected; If the state of many main frames detection port of another stacked switch that this stacked switch and/or this stacked switch connect is fault (down); And can't transmit many main frames detection messages between this stacked switch and another stacked switch that this stacked switch is connected, then this stacked switch can confirm that this stacked switch and many main frames between another stacked switch detect cables and are not connected.
Fig. 4 is that the present invention is through piling up the sketch map of an embodiment of cable transmission administrative message; As shown in Figure 4; Be not connected many main frames between many main frames detection port of stacked switch 1 and stacked switch 2 and detect cables, stacked switch 1 and stacked switch 2 pile up the cable transmission service message, pile up protocol massages and administrative message through what be connected between the stack port.
Step 303 detects after cables have connected detecting many main frames between above-mentioned two stacked switch, and above-mentioned two stacked switch stop through stack port transfer management message, then through two main frame detection port transfer management messages.
Administrative message is a kind of Ethernet message that carries privately owned label, can be two layer message or three-tier message.Administrative message is in the inner use of manufacturer, the protocol massages that carries out equipment control, and the protocol type that the protocol type of the employing of administrative message and existing common message adopt is all inequality, therefore can be through protocol type identification administrative message.It mainly is that the exchange chip that relies on stacked switch is provided with the register list item and realizes that stacked switch receives message from port.If on exchange chip, can not discern the register list item of administrative message to the port setting, this port can't the transfer management message so.In the prior art; Many main frames detection port is handled as the common network port; On exchange chip, can not discern the register list item of administrative message to the setting of many main frames detection port, therefore can't be through many main frames detection port transfer management message.The embodiment of the invention is directed against the register list item that the setting of many main frames detection port can be discerned administrative message on exchange chip, make many main frames detection port not only can transmit many main frames detection messages, can also the transfer management message.
Fig. 5 is the sketch map of the present invention through two embodiment of main frame detection port transfer management message; As shown in Figure 5; Be connected with many main frames between many main frames detection port of stacked switch 1 and stacked switch 2 and detect cable; Stacked switch 1 piles up the cable transmission service message and piles up protocol massages through what be connected between the stack port with stacked switch 2, and stacked switch 1 detects cable transmission many main frames detection messages and administrative message with stacked switch 2 through the many main frames that are connected between many main frames detection port.
Be example with stacked switch 1 transmission and receiving management message below, the process through many main frames detection port transfer management message is described.
When sending administrative message, the central processing unit of stacked switch 1 (Central Processing Unit; Hereinafter to be referred as: CPU) after the packaged administrative message; This administrative message is sent to the exchange chip of stacked switch 1; Receive after this administrative message; The exchange chip of stacked switch 1 can not carry out extra encapsulation to this administrative message; But directly the many main frames detection port through stacked switch 1 sends this administrative message, is connected because many main frames detection port of stacked switch 1 only detects cables with many main frames detection port of stacked switch 2 through many main frames, and therefore the administrative message that sends of the many main frames detection port through stacked switch 1 can quilt be sent to many main frames detection port of stacked switch 2 through many main frames detection cables; As shown in Figure 5, thus can realize sending administrative message through many main frames detection port.
When the receiving management message; Many main frames detection port of stacked switch 1 receives after the message, at first can this message be sent to the exchange chip of stacked switch 1, receives after the message; The exchange chip of stacked switch 1 can be according to the register list item corresponding with many main frames detection port stacked switch 1 that be provided with on this exchange chip; Confirm whether above-mentioned message is administrative message, and, above-mentioned message is handled according to above-mentioned register list item.
In the present embodiment, the above-mentioned register list item corresponding with many main frames detection port of stacked switch 1 is for discerning the register list item of administrative message; Particularly, above-mentioned register list item can be quick filter engine (Fast Filter Processor; Hereinafter to be referred as: FFP) list item, this FFP list item comprises matched rule field and processing mode field.In the FFP list item that can discern administrative message corresponding with many main frames detection port of stacked switch 1; The value of matched rule field can be set to the protocol type of administrative message; Perhaps also can be with in the source port of source MAC, target MAC (Media Access Control) address, source IP address, purpose IP address, TCP/UDP and the destination interface one or more, and the protocol type of administrative message is set to the value of matched rule field together; The value of processing mode field can be set to send to CPU.
Like this; Receive after the message that many main frames detection port of stacked switch 1 sends; The exchange chip of stacked switch 1 can be resolved this message earlier, obtains the characteristic information of this message, for example: the protocol type of this message; In addition, the characteristic information of above-mentioned message can also comprise one or more in source port and the destination interface of source MAC, target MAC (Media Access Control) address, source IP address, purpose IP address, TCP/UDP of message; The exchange chip value of matched rule field in characteristic information and the above-mentioned FFP list item of this message relatively then; If the two is identical, then this exchange chip can confirm that the message that receives is an administrative message, next; Exchange chip can be according to the value of processing mode field in the above-mentioned FFP list item; This administrative message is sent to the CPU of stacked switch 1, and the CPU of stacked switch 1 can receive above-mentioned administrative message like this, thereby can realize through many main frames detection port receiving management message.
The administrative message that the embodiment of the invention provides receives and sending method; Through many main frames detection port transfer management message; The clogging that transmission causes to administrative message when having avoided the business datum amount big; Both make full use of the bandwidth of many main frames detection port, saved a priority of exchange chip again.
In addition; Comprising in the pile system that two stacked switch are example, in the embodiment of the invention, if the cable that piles up that connects originally between above-mentioned two stacked switch breaks off or breaks down; And the many main frames detection cables between above-mentioned two stacked switch still keep connecting; Then after detecting the opposite end stacked switch through many main frames detection port, pile system gets into many Host Status automatically, detects rule according to many main frames and only in pile system, stays a main frame; Close the common port of other main frames, only stay stack port and many main frames detection port and normally open.Referring to Fig. 6, Fig. 6 piles up the sketch map that cable breaks off an embodiment for the present invention, and is as shown in Figure 6; The cable that piles up between stacked switch 1 and the stacked switch 2 breaks off; But many main frames cable still keeps connecting, and after stacked switch 1 and the stacked switch 2 many main frames detection port through separately detected the opposite end, pile system got into many Host Status automatically; Detect rule according to many main frames and only in pile system, stay a main frame; For example: stacked switch 1, close the common port of stacked switch 2, the stack port and the many main frames detection port that only stay stacked switch 2 are normally opened.
In this case, in the prior art, owing to can not discern the register list item of administrative message to the setting of many main frames detection port in the exchange chip, therefore many main frames detection port only can be transmitted many main frames detection messages, and can not the transfer management message; Again owing to piling up the cable disconnection or breaking down; Administrative message and service message can't be through piling up cable transmission; And the protocol state machine between stacked switch heat is equipped with information through the administrative message transmission, therefore above-mentioned situation will cause protocol state machine heat between the stacked switch to be equipped with information can't be synchronous.Piling up after cable connects again or recover operate as normal, have to some stack members in the pile system are resetted owing to the protocol state machine gap between the stacked switch is excessive; It still is example with Fig. 6; In the prior art; Piling up after cable is connected again or recovers operate as normal between stacked switch 1 and stacked switch 2 because the protocol state machine gap between stacked switch 1 and the stacked switch 2 is excessive, need reset stacked switch 2.
But in the method that the embodiment of the invention provides; In the exchange chip of stacked switch, be directed against the register list item that the setting of many main frames detection port can be discerned administrative message; Under the situation of piling up the cable disconnection or breaking down; Still can continue the transfer management message between the stacked switch through many main frames detection port; As shown in Figure 6, though the cable that piles up between stacked switch 1 and the stacked switch 2 break off, still can be between stacked switch 1 and the stacked switch 2 through many main frames detection port transfer management message; Thereby can guarantee that protocol state machine heat between stacked switch 1 and the stacked switch 2 is equipped with transmission of Information and can interrupt, just the service message between stacked switch 1 and the stacked switch 2 and the transmission of piling up protocol massages have been interrupted.Like this; Piling up after cable recovers to be connected between stacked switch 1 and stacked switch 2; Because the protocol state machine between stacked switch 1 and the stacked switch 2 still keeps synchronous regime; Need not reset, only need open stacked switch 2 pent common ports and just can make overall stack fold the system restoration operate as normal stacked switch 2.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 7 is the structural representation of an embodiment of administrative message receiving system of the present invention, and the administrative message receiving system in the present embodiment can be used as stacked switch, or is arranged in the stacked switch, realizes the present invention's flow process embodiment illustrated in fig. 1.
As shown in Figure 7, this administrative message receiving system can comprise:
Receiver module 71; Be used for receiving message through many main frames detection port of stacked switch, above-mentioned message is that another stacked switch that is connected with this stacked switch in this stacked switch place pile system sends through many main frames detection port of above-mentioned another stacked switch;
Determination module 72 is used for the register list item corresponding according to many main frames detection port of stacked switch, confirms that above-mentioned message is an administrative message;
Sending module 73 is used for above-mentioned administrative message is sent to the central processing unit of stacked switch.
In the foregoing description; The many main frame detection port of receiver module 71 through this stacked switch receives after the message; Determination module 72 can be corresponding according to many main frames detection port of this stacked switch the register list item; Confirm that above-mentioned message is an administrative message, sending module 73 sends to the central processing unit of stacked switch with this administrative message then, and central processing unit can receive above-mentioned administrative message like this; Thereby can realize through many main frames detection port receiving management message; When having avoided the business datum amount big administrative message is transmitted the clogging that causes, both made full use of the bandwidth of many main frames detection port, a priority of having saved exchange chip again.
Fig. 8 compares with administrative message receiving system shown in Figure 7 for the structural representation of another embodiment of administrative message receiving system of the present invention, and difference is that administrative message receiving system shown in Figure 8 can also comprise:
Module 74 is set, is used on the exchange chip of stacked switch above-mentioned register list item being set to many main frames detection port of this stacked switch; This register list item is for discerning the register list item of administrative message, and this register list item can comprise matched rule field and processing mode field.
In the present embodiment, determination module 72 can comprise:
Analyzing sub-module 721 is used for message is resolved, and obtains the characteristic information of above-mentioned message;
Comparison sub-module 722 is used for the value of matched rule field of characteristic information and the above-mentioned register list item of more above-mentioned message;
Message is confirmed submodule 723, be used for value in characteristic information that comparison sub-module 722 is confirmed above-mentioned messages and the matched rule field of above-mentioned register list item identical after, confirm that above-mentioned message is an administrative message; At this moment, sending module 73 can send to above-mentioned administrative message the central processing unit of said stacked switch according to the value of the processing mode field of register list item.
In the present embodiment; Receiver module 71 can also be worked as the many main frames that detect between above-mentioned stacked switch and above-mentioned another stacked switch when detecting cables and not being connected, and the stack port through above-mentioned stacked switch receives service message that above-mentioned another stacked switch sends through the stack port of above-mentioned another stacked switch, piles up protocol massages and administrative message.
Above-mentioned administrative message receiving system can be realized through many main frames detection port receiving management message; The clogging that transmission causes to administrative message when having avoided the business datum amount big; Both make full use of the bandwidth of many main frames detection port, saved a priority of exchange chip again.
Fig. 9 is the structural representation of an embodiment of administrative message dispensing device of the present invention, and the administrative message dispensing device in the present embodiment can be used as stacked switch, or is arranged in the stacked switch, realizes the present invention's flow process embodiment illustrated in fig. 2.
As shown in Figure 9, this administrative message dispensing device can comprise:
Message receiver module 91 is used to receive the administrative message that the central processing unit of above-mentioned stacked switch sends;
Message sending module 92, the administrative message that is used for message receiver module 91 is received sends to another stacked switch that this stacked switch place pile system is connected with this stacked switch through many main frames detection port of stacked switch.
In the present embodiment; Message sending module 92 can also be worked as the many main frames that detect between above-mentioned stacked switch and above-mentioned another stacked switch when detecting cables and not being connected, and sends service message, piles up protocol massages and administrative message to above-mentioned another stacked switch through the stack port of above-mentioned stacked switch.
In the above-mentioned management packet transmission device; Message sending module 92 sends to administrative message another stacked switch that is connected with this stacked switch in this stacked switch place pile system through many main frames detection port of this stacked switch; Thereby can realize sending administrative message through many main frames detection port; The clogging that transmission causes to administrative message when having avoided the business datum amount big; Both make full use of the bandwidth of many main frames detection port, saved a priority of exchange chip again.
The embodiment of the invention also provides a kind of stacked switch; This stacked switch can be realized through Fig. 7 of the present invention or administrative message receiving system shown in Figure 8; Also can realize, can also realize through above-mentioned administrative message receiving system and the combination of above-mentioned management packet transmission device through the present invention's administrative message dispensing device shown in Figure 9.
The embodiment of the invention also provides a kind of pile system; This pile system can comprise at least two stacked switch; This stacked switch can be realized through Fig. 7 of the present invention or administrative message receiving system shown in Figure 8; Also can realize, can also realize through above-mentioned administrative message receiving system and the combination of above-mentioned management packet transmission device through the present invention's administrative message dispensing device shown in Figure 9.
It will be appreciated by those skilled in the art that accompanying drawing is the sketch map of a preferred embodiment, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (16)

1. an administrative message method of reseptance is characterized in that, comprising:
The exchange chip of stacked switch receives message through many main frames detection port of said stacked switch, and said message is that another stacked switch that is connected with said stacked switch in the pile system of said stacked switch place sends through many main frames detection port of said another stacked switch;
The register list item that the exchange chip of said stacked switch is corresponding according to many main frames detection port of said stacked switch is confirmed that said message is an administrative message, and said administrative message is sent to the central processing unit of said stacked switch.
2. method according to claim 1 is characterized in that, also comprises:
Many main frames detection port to said stacked switch on the exchange chip of said stacked switch is provided with said register list item; Said register list item is for discerning the register list item of administrative message, and said register list item comprises matched rule field and processing mode field.
3. method according to claim 2 is characterized in that, the register list item that the exchange chip of said stacked switch is corresponding according to many main frames detection port of said stacked switch confirms that said message is that administrative message comprises:
The exchange chip of said stacked switch is resolved said message, obtains the characteristic information of said message;
The value of the characteristic information of the more said message of exchange chip of said stacked switch and the matched rule field of said register list item; If the characteristic information of said message is identical with the value of the matched rule field of said register list item, confirm that then said message is an administrative message.
4. according to claim 2 or 3 described methods, it is characterized in that the said central processing unit that said administrative message is sent to said stacked switch comprises:
The exchange chip of said stacked switch sends to said administrative message the central processing unit of said stacked switch according to the value of the processing mode field of said register list item.
5. method according to claim 1 is characterized in that, also comprises:
When detecting many main frames between said stacked switch and said another stacked switch and detect cables and be not connected, the stack port of said stacked switch through said stacked switch receives service message that said another stacked switch sends through the stack port of said another stacked switch, piles up protocol massages and administrative message.
6. an administrative message sending method is characterized in that, comprising:
The exchange chip of stacked switch receives the administrative message of the central processing unit transmission of said stacked switch;
The exchange chip of said stacked switch sends to the many main frame detection port of said administrative message through said stacked switch another stacked switch that is connected with said stacked switch in the pile system of said stacked switch place.
7. method according to claim 6 is characterized in that, also comprises:
When detecting many main frames between said stacked switch and said another stacked switch and detect cables and be not connected, said stacked switch sends service message, piles up protocol massages and administrative message to said another stacked switch through the stack port of said stacked switch.
8. an administrative message receiving system is arranged in the stacked switch, it is characterized in that, comprising:
Receiver module; Be used for receiving message through many main frames detection port of said stacked switch, said message is that another stacked switch that is connected with said stacked switch in the pile system of said stacked switch place sends through many main frames detection port of said another stacked switch;
Determination module is used for the register list item corresponding according to many main frames detection port of said stacked switch, confirms that said message is an administrative message;
Sending module is used for said administrative message is sent to the central processing unit of said stacked switch.
9. want 8 described devices according to right, it is characterized in that, also comprise:
Module is set, is used on the exchange chip of said stacked switch said register list item being set to many main frames detection port of said stacked switch; Said register list item is for discerning the register list item of administrative message, and said register list item comprises matched rule field and processing mode field.
10. device according to claim 9 is characterized in that, said determination module comprises:
Analyzing sub-module is used for said message is resolved, and obtains the characteristic information of said message;
Comparison sub-module is used for the value of matched rule field of characteristic information and the said register list item of more said message;
Message is confirmed submodule, be used for value in characteristic information that said comparison sub-module is confirmed said message and the matched rule field of said register list item identical after, confirm that said message is an administrative message.
11. according to claim 9 or 10 described devices, it is characterized in that,
Said sending module specifically is used for the value according to the processing mode field of said register list item, said administrative message is sent to the central processing unit of said stacked switch.
12. device according to claim 8 is characterized in that,
Said receiver module; Also be used for when detecting many main frames between said stacked switch and said another stacked switch and detect cables and be not connected, the stack port through said stacked switch receives service message that said another stacked switch sends through the stack port of said another stacked switch, piles up protocol massages and administrative message.
13. an administrative message dispensing device is arranged in the stacked switch, it is characterized in that, comprising:
The message receiver module is used to receive the administrative message that the central processing unit of said stacked switch sends;
The message sending module, the said administrative message that is used for said message receiver module is received sends to another stacked switch that said stacked switch place pile system is connected with said stacked switch through many main frames detection port of said stacked switch.
14. device according to claim 13 is characterized in that,
Said message sending module; Also be used for when detecting many main frames between said stacked switch and said another stacked switch and detect cables and be not connected, sending service message, piling up protocol massages and administrative message to said another stacked switch through the stack port of said stacked switch.
15. a stacked switch is characterized in that, comprises like any described administrative message receiving system of claim 8-12 and/or like any described administrative message dispensing device of claim 13-14.
16. a pile system is characterized in that, comprises at least two stacked switch as claimed in claim 15.
CN201110195866.9A 2011-07-13 2011-07-13 Method and device for transmitting and receiving management message, stacked switchboard and switchboard system Active CN102307137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110195866.9A CN102307137B (en) 2011-07-13 2011-07-13 Method and device for transmitting and receiving management message, stacked switchboard and switchboard system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110195866.9A CN102307137B (en) 2011-07-13 2011-07-13 Method and device for transmitting and receiving management message, stacked switchboard and switchboard system

Publications (2)

Publication Number Publication Date
CN102307137A true CN102307137A (en) 2012-01-04
CN102307137B CN102307137B (en) 2014-06-04

Family

ID=45380949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110195866.9A Active CN102307137B (en) 2011-07-13 2011-07-13 Method and device for transmitting and receiving management message, stacked switchboard and switchboard system

Country Status (1)

Country Link
CN (1) CN102307137B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104594A (en) * 2014-07-31 2014-10-15 福建星网锐捷网络有限公司 Methods of transmitting and receiving protocol message of VSU, devices and system
CN106302205A (en) * 2015-05-26 2017-01-04 杭州华三通信技术有限公司 A kind of how main conflict processing method based on LLDP agreement and device
CN106685826A (en) * 2016-12-01 2017-05-17 瑞斯康达科技发展股份有限公司 Interchanger stacking system, slave unit, switching chip and method for processing protocol message
CN106911597A (en) * 2017-02-14 2017-06-30 新华三技术有限公司 A kind of board-spanning forwarding method and apparatus
CN110011914A (en) * 2019-03-15 2019-07-12 北京星网锐捷网络技术有限公司 Manage the retransmission method and device of message
WO2020103586A1 (en) * 2018-11-23 2020-05-28 中兴通讯股份有限公司 Multi-host detection method for stack system, and stack system
CN111327544A (en) * 2020-02-06 2020-06-23 深圳市信锐网科技术有限公司 Stacking system, message transmission method, device, switch and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163112A (en) * 2007-11-15 2008-04-16 福建星网锐捷网络有限公司 Packet processing method in switchboard stacked system and switchboard equipment
CN101227287A (en) * 2008-01-28 2008-07-23 华为技术有限公司 Data message processing method and data message processing equipment
CN101335685A (en) * 2007-06-27 2008-12-31 上海博达数据通信有限公司 Method implementing priority process of special packet by redirecting technique

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335685A (en) * 2007-06-27 2008-12-31 上海博达数据通信有限公司 Method implementing priority process of special packet by redirecting technique
CN101163112A (en) * 2007-11-15 2008-04-16 福建星网锐捷网络有限公司 Packet processing method in switchboard stacked system and switchboard equipment
CN101227287A (en) * 2008-01-28 2008-07-23 华为技术有限公司 Data message processing method and data message processing equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104594A (en) * 2014-07-31 2014-10-15 福建星网锐捷网络有限公司 Methods of transmitting and receiving protocol message of VSU, devices and system
CN104104594B (en) * 2014-07-31 2017-09-19 福建星网锐捷网络有限公司 VSU protocol massages are sent and method of reseptance, equipment and system
CN106302205A (en) * 2015-05-26 2017-01-04 杭州华三通信技术有限公司 A kind of how main conflict processing method based on LLDP agreement and device
CN106685826A (en) * 2016-12-01 2017-05-17 瑞斯康达科技发展股份有限公司 Interchanger stacking system, slave unit, switching chip and method for processing protocol message
CN106685826B (en) * 2016-12-01 2019-09-17 瑞斯康达科技发展股份有限公司 Switchboard stacked system, from equipment, exchange chip and processing protocol message method
CN106911597A (en) * 2017-02-14 2017-06-30 新华三技术有限公司 A kind of board-spanning forwarding method and apparatus
WO2020103586A1 (en) * 2018-11-23 2020-05-28 中兴通讯股份有限公司 Multi-host detection method for stack system, and stack system
CN111224803A (en) * 2018-11-23 2020-06-02 中兴通讯股份有限公司 Multi-master detection method in stacking system and stacking system
CN111224803B (en) * 2018-11-23 2023-08-04 中兴通讯股份有限公司 Multi-master detection method in stacking system and stacking system
CN110011914A (en) * 2019-03-15 2019-07-12 北京星网锐捷网络技术有限公司 Manage the retransmission method and device of message
CN111327544A (en) * 2020-02-06 2020-06-23 深圳市信锐网科技术有限公司 Stacking system, message transmission method, device, switch and storage medium

Also Published As

Publication number Publication date
CN102307137B (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN102307137A (en) Method and device for transmitting and receiving management message, stacked switchboard and switchboard system
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
CN102006184B (en) Management method, device and network device of stack link
US7710959B2 (en) Private VLAN edge across multiple switch modules
CN101938377B (en) link aggregation error protection method, equipment and system
US6639917B1 (en) Converged service for interconnected local area networks
CN110417569B (en) Network link fault processing method and tunnel endpoint equipment
US20080215910A1 (en) High-Availability Networking with Intelligent Failover
CN103095568B (en) Rack switching equipment realizes stacking system and method
CN102347867A (en) Processing method and equipment for stacking splitting detection
US9749264B2 (en) Communication system and network relay device
CN102299846A (en) Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment
WO2007121633A1 (en) A method for rapid rerouting when multiple ports sharing the transmission links
CN102761479A (en) Method for selecting link and device therefore
EP1839051B1 (en) Dual-purpose uplinks used in a fault-tolerant stack
CN102754390A (en) Method, network device and system for ethernet ring protection switching
CN103812746A (en) Bridging device based on linux operation system and communication method thereof
CN102843435A (en) Access and response method and access and response system of storing medium in cluster system
CN102968399A (en) Multi-core processor and multiplexing method of network management portinterface thereof
CN100502399C (en) Method for maintaining static route based on link layer protocol
CN102123070A (en) System for realizing master/slave frame cascade protection and load sharing
US9317678B2 (en) System and method for managing logins in a network interface
CN102404143A (en) Method for processing port failures based on LACP and LACP terminal
US9979561B2 (en) Systems and methods for stacking fibre channel switches with fibre channel over ethernet stacking links
CN102882779A (en) VRRP (Virtual Router Redundancy Protocol) advertisement link protection method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant