CN102307137B - 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
CN102307137B
CN102307137B CN201110195866.9A CN201110195866A CN102307137B CN 102307137 B CN102307137 B CN 102307137B CN 201110195866 A CN201110195866 A CN 201110195866A CN 102307137 B CN102307137 B CN 102307137B
Authority
CN
China
Prior art keywords
stacked switch
message
administrative
many host
port
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.)
Active
Application number
CN201110195866.9A
Other languages
Chinese (zh)
Other versions
CN102307137A (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

Landscapes

  • Computer And Data Communications (AREA)

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 present 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 many general switch is coupled together by special or non-special cable, and virtual is a mode that switch manages.While transport service message and administrative message on the stacking cable of high speed between stacked switch member.There is a serious problem in existing pile system, while business transferring message and administrative message on the stacking cable of high speed, the transmission of administrative message is easily subject to the impact of service message, in the situation that service message flow is very large, administrative message is easily blocked, causes the phenomenons such as stacking splitting.
The scheme of existing guarantee administrative message normal transmission is mainly configure hardware list item on the exchange chip at stacking cable two ends, the priority of administrative message is set higher than the priority of service message, thereby guarantees the preferential sending and receiving administrative message of exchange chip.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 part exchange chip, in the time that service message flow exceedes the bandwidth of stacking cable, administrative message is still likely blocked.
Summary of the invention
The embodiment of the present invention provides a kind of administrative message method of sending and receiving, device, stacked switch and pile system, to realize by many Host Detections port transmission administrative message, while avoiding business datum amount large, administrative message is transmitted to the clogging causing.
The embodiment of the present invention provides a kind of administrative message method of reseptance, comprising:
The exchange chip of stacked switch receives message by many Host Detections port of described stacked switch, and described message is that another stacked switch being connected with described stacked switch in the pile system of described stacked switch place sends by many Host Detections port of described another stacked switch;
The register list item that the exchange chip of described stacked switch is corresponding according to many Host Detections port of described stacked switch, determines that described message is administrative message, and described administrative message is sent to the central processing unit of described stacked switch.
The embodiment of the present 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 described stacked switch;
The exchange chip of described stacked switch sends to described administrative message another stacked switch being connected with described stacked switch in the pile system of described stacked switch place by many Host Detections port of described stacked switch.
The embodiment of the present invention also provides a kind of administrative message receiving system, is arranged in stacked switch, comprising:
Receiver module, receive message for the many Host Detections port by described stacked switch, described message is that another stacked switch being connected with described stacked switch in the pile system of described stacked switch place sends by many Host Detections port of described another stacked switch;
Determination module, for the register list item corresponding according to many Host Detections port of described stacked switch, determines that described message is administrative message;
Sending module, for sending to described administrative message the central processing unit of described stacked switch.
The embodiment of the present invention also provides a kind of administrative message dispensing device, is arranged in stacked switch, comprising:
Message receiver module, the administrative message sending for receiving the central processing unit of described stacked switch;
Message sending module, another stacked switch that sends to described stacked switch place pile system to be connected with described stacked switch by many Host Detections port of described stacked switch for the described administrative message that described message receiver module is received.
The embodiment of the present invention also provides a kind of stacked switch, comprises administrative message receiving system as above and/or administrative message dispensing device as above.
The embodiment of the present invention also provides a kind of pile system, comprises at least two stacked switch as above.
Pass through the embodiment of the present invention, stacked switch with in this stacked switch place pile system and between another stacked switch of being connected of this stacked switch by many Host Detections port transmission administrative message, thereby can realize by many Host Detections port transmission administrative message, while having avoided business datum amount large, administrative message is transmitted to the clogging causing, and saved a priority of exchange chip.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The embodiment of the present 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 by many Host Detections port of described stacked switch, and described message is that another stacked switch being connected with described stacked switch in the pile system of described stacked switch place sends by many Host Detections port of described another stacked switch; The register list item that the exchange chip of described stacked switch is corresponding according to many Host Detections port of described stacked switch, determines that described message is administrative message, and described administrative message is sent to the central processing unit of described stacked switch.The embodiment of the present invention can realize by many Host Detections port transmission administrative message, while having avoided business datum amount large, administrative message is transmitted to the clogging causing, and has saved a priority of 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 by the schematic diagram of an embodiment of stacking cable transmission administrative message;
Fig. 5 is the schematic diagram that the present invention passes through two embodiment of Host Detection port transmission administrative message;
Fig. 6 is the schematic diagram that the stacking cable of the present invention disconnects an embodiment;
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 making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work, belongs to the scope of protection of the invention.
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 by many Host Detections port of this stacked switch, and above-mentioned message is that another stacked switch being connected with this stacked switch in the pile system of stacked switch place sends by many Host Detections port of above-mentioned another stacked switch.
When preventing that stacking cable from breaking down, two or many stacked switch have same media access control (MediaAccess Control simultaneously; Hereinafter to be referred as: MAC) address and/or Internet Protocol (Internet Protocol; Hereinafter to be referred as: IP) information such as, the impact that " many main frames " phenomenon causes network, need to manage to detect the existence of other " main frames " in network.Common method is at present, specifies a low-speed port in each stack member, is specifically designed to " many main frames " and detects, and the port that is used for " many main frames " detection can be called to many Host Detections port.These many Host Detections ports couple together by netting twine or optical fiber, and for example, by move specific detection protocol on these many Host Detections ports: two-way converting detects (Bidirectional Forwarding Detection; Hereinafter to be referred as: BFD) agreement, many Host Detections agreement (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. in Sampling network, whether there are multiple " main frames ".There are multiple " main frames " afterwards detecting in network, can close by pre-defined rule the port of " main frame ", in final network, only can stay the next one " main frame ".In prior art, many Host Detections port is all special, except the message of detection protocol, does not transmit other messages.
The embodiment of the present invention on exchange chip for many Host Detections port setting can identify the register list item of administrative message, make many Host Detections port not only can transmit the message of detection protocol, i.e. many Host Detections message, can also transfer management message.
Step 102, the register list item that the exchange chip of stacked switch is corresponding according to many Host Detections port of this stacked switch, determines that above-mentioned message is 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, for many Host Detections port of this stacked switch, above-mentioned register list item be set; This register list item is the register list item that can identify 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, or also can be by source media 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, object IP address, transmission control protocol (Transmission Control Protocol; Hereinafter to be referred as: TCP)/User Datagram Protoco (UDP) (User Datagram Protocol; Hereinafter to be referred as one or more in source port UDP) and 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 receiving, obtain 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 the source port of source MAC, target MAC (Media Access Control) address, source IP address, object IP address, TCP/UDP of message and destination interface; 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 determine that above-mentioned message is 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 determine that above-mentioned message is administrative message so; If one or more by the source port of source MAC, target MAC (Media Access Control) address, source IP address, object IP address, TCP/UDP and destination interface, and the protocol type of administrative message is set to the value of matched rule field together, one or more when in the source port of the source MAC of message, target MAC (Media Access Control) address, source IP address, object IP address, TCP/UDP and destination interface so, and the value of the protocol type of message and above-mentioned matched rule field is when identical, just can determine that above-mentioned message is administrative message.
Finally, the exchange chip of stacked switch can, according to the value of the processing mode field of register list item, send to administrative message the central processing unit of stacked switch.
In addition, if the characteristic information of above-mentioned message is different from the value of the matched rule field of above-mentioned register list item, can determine that above-mentioned message is many Host Detections message, that is to say, in the present embodiment, stacked switch not only can, by many Host Detections port transmission administrative message, also can transmit many Host Detections message.
In addition, in the present embodiment, in the time detecting that many Host Detections cable between above-mentioned stacked switch and above-mentioned another stacked switch is not connected, above-mentioned stacked switch receives above-mentioned another stacked switch by service message, stacking protocol massages and the administrative message of the stack port transmission of above-mentioned another stacked switch by the stack port of above-mentioned stacked switch.
In above-described embodiment, after the exchange chip of stacked switch receives message by many Host Detections port of this stacked switch, register list item that can be corresponding according to many Host Detections port of this stacked switch, determine that above-mentioned message is administrative message, then the managing chip of stacked switch sends to this administrative message the central processing unit of stacked switch, central processing unit can receive above-mentioned administrative message like this, thereby can realize by many Host Detections port receiving management message, while having avoided business datum amount large, administrative message is transmitted to the clogging causing, both taken full advantage of the bandwidth of many Host Detections port, save again a priority of exchange chip.
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 receives the administrative message of the central processing unit transmission of this stacked switch.
Step 202, the exchange chip of stacked switch sends to administrative message another stacked switch being connected with this stacked switch in this stacked switch place pile system by many Host Detections port of this stacked switch.
Particularly, the exchange chip that the central processing unit of stacked switch can be controlled this stacked switch sends specific message by particular port, and while sending this specific message, exchange chip can not attempt resolving this specific message.Therefore in the present embodiment, after the packaged administrative message of central processing unit of stacked switch, just this administrative message can be sent to exchange chip, after receiving this administrative message, exchange chip can additionally not encapsulate this administrative message, but directly by many Host Detections port, this administrative message is sent.
In addition, in the present embodiment, in the time detecting that many Host Detections cable between above-mentioned stacked switch and above-mentioned another stacked switch is not connected, above-mentioned stacked switch sends service message, stacking protocol massages and administrative message by the stack port of above-mentioned stacked switch to above-mentioned another stacked switch.
In above-described embodiment, the exchange chip of stacked switch sends to administrative message by many Host Detections port of this stacked switch another stacked switch being connected with this stacked switch in this stacked switch place pile system, thereby can realize by many Host Detections port and send administrative message, while having avoided business datum amount large, administrative message is transmitted to the clogging causing, both take full advantage of the bandwidth of many Host Detections port, saved again a priority of exchange chip.
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, stacking formation stages, the stacked switch of two platform independent moves respectively stacking agreement in stack port separately, detects behind opposite end, forms pile system.
Step 302, in the time detecting that many Host Detections cable between above-mentioned two stacked switch does not connect, between above-mentioned two stacked switch by stack port transport service message, stacking protocol massages and administrative message.
That is to say, in the time detecting that many Host Detections cable between above-mentioned two stacked switch does not connect, the stacking cable transmission service message, stacking protocol massages and the administrative message that between the stack port of above-mentioned two stacked switch by above-mentioned two stacked switch, connect.
Particularly, stacked switch in pile system can be determined according to the physical signalling receiving the state of many Host Detections port of another stacked switch being connected with this stacked switch in this pile system, if the state of many Host Detections port of another stacked switch that this stacked switch is connected with this stacked switch is normal work (up), and the many Host Detections message between another stacked switch that this stacked switch and this stacked switch are connected can normal transmission, this stacked switch can determine that the many Host Detections cable between this stacked switch and another stacked switch is connected, if the state of many Host Detections port of another stacked switch that this stacked switch and/or this stacked switch connect is fault (down), and between another stacked switch that this stacked switch and this stacked switch are connected, cannot transmit many Host Detections message, this stacked switch can determine that the many Host Detections cable between this stacked switch and another stacked switch is not connected.
Fig. 4 is that the present invention is by the schematic diagram of an embodiment of stacking cable transmission administrative message, as shown in Figure 4, between many Host Detections port of stacked switch 1 and stacked switch 2, be not connected many Host Detections cable, stacked switch 1 and stacked switch 2 are by the stacking cable transmission service message being connected between stack port, stacking protocol massages and administrative message.
Step 303, after detecting that many Host Detections cable between above-mentioned two stacked switch has connected, above-mentioned two stacked switch stop by stack port transfer management message, then by two Host Detection port transmission administrative 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 of the employing of administrative message is not identical with the protocol type that existing common message adopts, and therefore can identify administrative message by protocol type.It is mainly that the exchange chip that relies on stacked switch arranges register list item and realizes that stacked switch receives message from port.If can not identify the register list item of administrative message for port setting on exchange chip, this port cannot transfer management message so.In the prior art, many Host Detections port is processed as the common network port, on exchange chip, not for many Host Detections port, setting can not identified the register list item of administrative message, therefore cannot be by many Host Detections port transmission administrative message.The embodiment of the present invention on exchange chip for many Host Detections port setting can identify the register list item of administrative message, make many Host Detections port not only can transmit many Host Detections message, can also transfer management message.
Fig. 5 is the schematic diagram that the present invention passes through two embodiment of Host Detection port transmission administrative message, as shown in Figure 5, between many Host Detections port of stacked switch 1 and stacked switch 2, be connected with many Host Detections cable, stacked switch 1 and stacked switch 2 be by the stacking cable transmission service message and the stacking protocol massages that are connected between stack port, and stacked switch 1 and stacked switch 2 are by the many Host Detections cable transmission many Host Detections message and the administrative message that are connected between many Host Detections port.
Below take stacked switch 1 sending and receiving administrative message as example, to describing by the process of many Host Detections port transmission administrative message.
In the time sending administrative message, central processing unit (the Central Processing Unit of stacked switch 1, hereinafter to be referred as: CPU) after packaged administrative message, this administrative message is sent to the exchange chip of stacked switch 1, after receiving this administrative message, the exchange chip of stacked switch 1 can additionally not encapsulate this administrative message, but directly by many Host Detections port of stacked switch 1, this administrative message is sent, because many Host Detections port of stacked switch 1 is only connected by many Host Detections cable with many Host Detections port of stacked switch 2, therefore the administrative message sending by many Host Detections port of stacked switch 1 can be passed many Host Detections cable and be sent to many Host Detections port of stacked switch 2, as shown in Figure 5, thereby can realize by many Host Detections port and send administrative message.
In the time of receiving management message, after many Host Detections port of stacked switch 1 receives message, first this message can be sent to the exchange chip of stacked switch 1, after receiving message, the exchange chip of stacked switch 1 can be according to the register list item corresponding with many Host Detections port stacked switch 1 that arrange on this exchange chip, determine whether above-mentioned message is administrative message, and according to above-mentioned register list item, above-mentioned message is processed.
In the present embodiment, register list item corresponding to many Host Detections port above-mentioned and stacked switch 1 is the register list item that can identify administrative message; Particularly, above-mentioned register list item can be fast filtering 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 identify administrative message corresponding with many Host Detections port of stacked switch 1, the value of matched rule field can be set to the protocol type of administrative message, or also can be by the source port of source MAC, target MAC (Media Access Control) address, source IP address, object IP address, TCP/UDP and 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, after receiving the message of many Host Detections port transmission of stacked switch 1, the exchange chip of stacked switch 1 can first be resolved this message, obtain 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 the source port of source MAC, target MAC (Media Access Control) address, source IP address, object IP address, TCP/UDP of message and destination interface; Then the relatively value of matched rule field in the characteristic information of this message and above-mentioned FFP list item of exchange chip, if the two is identical, this exchange chip can determine that the message receiving is administrative message, next, exchange chip can be according to the value of processing mode field in above-mentioned FFP list item, this administrative message is sent to the CPU of stacked switch 1, the CPU of stacked switch 1 can receive above-mentioned administrative message like this, thereby can realize by many Host Detections port receiving management message.
The administrative message that the embodiment of the present invention provides receives and sending method, by many Host Detections port transmission administrative message, while having avoided business datum amount large, administrative message is transmitted to the clogging causing, both take full advantage of the bandwidth of many Host Detections port, saved again a priority of exchange chip.
In addition, comprise that take pile system two stacked switch are as example, in the embodiment of the present invention, if the stacking cable originally connecting between above-mentioned two stacked switch disconnects or breaks down, and many Host Detections cable between above-mentioned two stacked switch still keeps connecting, after arriving opposite end stacked switch by many Host Detections Port detecting, pile system enters many Host Status automatically, only in pile system, leave a main frame according to many Host Detection rules, close the common port of other main frames, only leave stack port and many Host Detections port is normally opened.Referring to Fig. 6, Fig. 6 is the schematic diagram that the stacking cable of the present invention disconnects an embodiment, as shown in Figure 6, stacking cable between stacked switch 1 and stacked switch 2 disconnects, but many main frames cable still keeps connecting, many Host Detections Port detecting at stacked switch 1 and stacked switch 2 by is separately after opposite end, pile system enters many Host Status automatically, only in pile system, leave a main frame according to many Host Detection rules, for example: stacked switch 1, close the common port of stacked switch 2, the stack port and the many Host Detections port that only leave stacked switch 2 are normally opened.
In this case, in prior art, due in exchange chip not for many Host Detections port setting can identify the register list item of administrative message, therefore many Host Detections port only can transmit many Host Detections message, and can not transfer management message; Again because stacking cable disconnects or breaks down, administrative message and service message cannot be by stacking cable transmission, and the hot standby information of protocol state machine between stacked switch transmits by administrative message, therefore above-mentioned situation will cause the hot standby information of protocol state machine between stacked switch cannot be synchronous.After stacking cable reconnects or recovers normal work, have to some stack members in pile system to reset because the protocol state machine gap between stacked switch is excessive; Still take Fig. 6 as example, in prior art, after stacking cable between stacked switch 1 and stacked switch 2 reconnects or recovers normal work, because the protocol state machine gap between stacked switch 1 and stacked switch 2 is excessive, stacked switch 2 need to be resetted.
But in the method that the embodiment of the present invention provides, in the exchange chip of stacked switch, for many Host Detections port, setting can be identified the register list item of administrative message, in the situation that stacking cable disconnects or breaks down, between stacked switch, still can continue transfer management message by many Host Detections port, as shown in Figure 6, although the stacking cable between stacked switch 1 and stacked switch 2 disconnects, but still can be by many Host Detections port transmission administrative message between stacked switch 1 and stacked switch 2, thereby the transmission that can guarantee the hot standby information of protocol state machine between stacked switch 1 and stacked switch 2 can not be interrupted, the just Transmission of the service message between stacked switch 1 and stacked switch 2 and stacking protocol massages.Like this, after stacking cable between stacked switch 1 and stacked switch 2 recovers to be connected, because the protocol state machine between stacked switch 1 and stacked switch 2 still keeps synchronous regime, do not need stacked switch 2 to reset, only need open the pent common port of stacked switch 2 and just can make whole pile system recover normal work.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, in the time carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
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 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, receive message for the many Host Detections port by stacked switch, above-mentioned message is that another stacked switch being connected with this stacked switch in this stacked switch place pile system sends by many Host Detections port of above-mentioned another stacked switch;
Determination module 72, for the register list item corresponding according to many Host Detections port of stacked switch, determines that above-mentioned message is administrative message;
Sending module 73, for sending to above-mentioned administrative message the central processing unit of stacked switch.
In above-described embodiment, after receiver module 71 ports of the many Host Detections by this stacked switch receive message, determination module 72 can be corresponding according to many Host Detections port of this stacked switch register list item, determine that above-mentioned message is administrative message, then sending module 73 sends to this administrative message the central processing unit of stacked switch, central processing unit can receive above-mentioned administrative message like this, thereby can realize by many Host Detections port receiving management message, while having avoided business datum amount large, administrative message is transmitted to the clogging causing, both taken full advantage of the bandwidth of many Host Detections port, save again a priority of exchange chip.
Fig. 8 is the structural representation of another embodiment of administrative message receiving system of the present invention, and compared with the administrative message receiving system shown in Fig. 7, difference is, the administrative message receiving system shown in Fig. 8 can also comprise:
Module 74 is set, for the many Host Detections port for this stacked switch on the exchange chip of stacked switch, above-mentioned register list item is set; This register list item is the register list item that can identify 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, for message is resolved, obtains the characteristic information of above-mentioned message;
Comparison sub-module 722, for the value of the characteristic information of more above-mentioned message and the matched rule field of above-mentioned register list item;
Message is determined submodule 723, after determining that in comparison sub-module 722 value of the characteristic information of above-mentioned message and the matched rule field of above-mentioned register list item is identical, determines that above-mentioned message is administrative message; At this moment, sending module 73 can, according to the value of the processing mode field of register list item, send to above-mentioned administrative message the central processing unit of described stacked switch.
In the present embodiment, receiver module 71 can also be worked as the many Host Detections cable detecting between above-mentioned stacked switch and above-mentioned another stacked switch while not being connected, receives above-mentioned another stacked switch by service message, stacking protocol massages and the administrative message of the stack port transmission of above-mentioned another stacked switch by the stack port of above-mentioned stacked switch.
Above-mentioned administrative message receiving system can be realized by many Host Detections port receiving management message, while having avoided business datum amount large, administrative message is transmitted to the clogging causing, both take full advantage of the bandwidth of many Host Detections port, saved again a priority of exchange chip.
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 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, the administrative message sending for receiving the central processing unit of above-mentioned stacked switch;
Message sending module 92, another stacked switch that sends to this stacked switch place pile system to be connected with this stacked switch by many Host Detections port of stacked switch for the administrative message that message receiver module 91 is received.
In the present embodiment, message sending module 92 can also be worked as the many Host Detections cable detecting between above-mentioned stacked switch and above-mentioned another stacked switch while not being connected, sends service message, stacking protocol massages and administrative message by the stack port of above-mentioned stacked switch to above-mentioned another stacked switch.
In above-mentioned administrative message dispensing device, message sending module 92 ports of the many Host Detections by this stacked switch send to administrative message another stacked switch being connected with this stacked switch in this stacked switch place pile system, thereby can realize by many Host Detections port and send administrative message, while having avoided business datum amount large, administrative message is transmitted to the clogging causing, both take full advantage of the bandwidth of many Host Detections port, saved again a priority of exchange chip.
The embodiment of the present invention also provides a kind of stacked switch, this stacked switch can be realized by the administrative message receiving system shown in Fig. 7 of the present invention or Fig. 8, also can realize by the administrative message dispensing device shown in Fig. 9 of the present invention, can also realize by above-mentioned administrative message receiving system and the combination of above-mentioned administrative message dispensing device.
The embodiment of the present invention also provides a kind of pile system, this pile system can comprise at least two stacked switch, this stacked switch can be realized by the administrative message receiving system shown in Fig. 7 of the present invention or Fig. 8, also can realize by the administrative message dispensing device shown in Fig. 9 of the present invention, can also realize by above-mentioned administrative message receiving system and the combination of above-mentioned administrative message dispensing device.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into multiple submodules.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (16)

1. an administrative message method of reseptance, is characterized in that, comprising:
The exchange chip of stacked switch receives message by many Host Detections port of described stacked switch, and described message is that another stacked switch being connected with described stacked switch in the pile system of described stacked switch place sends by many Host Detections port of described another stacked switch;
The register list item that the exchange chip of described stacked switch is corresponding according to many Host Detections port of described stacked switch, determines that described message is administrative message, and described administrative message is sent to the central processing unit of described stacked switch.
2. method according to claim 1, is characterized in that, also comprises:
On the exchange chip of described stacked switch, for many Host Detections port of described stacked switch, described register list item is set; Described register list item is the register list item that can identify administrative message, and described 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 described stacked switch is corresponding according to many Host Detections port of described stacked switch determines that described message is that administrative message comprises:
The exchange chip of described stacked switch is resolved described message, obtains the characteristic information of described message;
The value of the characteristic information of the more described message of exchange chip of described stacked switch and the matched rule field of described register list item, if the characteristic information of described message is identical with the value of the matched rule field of described register list item, determine that described message is administrative message.
4. according to the method in claim 2 or 3, it is characterized in that, describedly send to the central processing unit of described stacked switch to comprise described administrative message:
The exchange chip of described stacked switch, according to the value of the processing mode field of described register list item, sends to described administrative message the central processing unit of described stacked switch.
5. method according to claim 1, is characterized in that, also comprises:
In the time detecting that many Host Detections cable between described stacked switch and described another stacked switch is not connected, described stacked switch receives described another stacked switch by service message, stacking protocol massages and the administrative message of the stack port transmission of described another stacked switch by the stack port of described stacked switch;
Described in the time detecting that many Host Detections cable between described stacked switch and described another stacked switch is not connected, before described stacked switch receives service message, stacking protocol massages and the administrative message of described another stacked switch by the stack port transmission of described another stacked switch by the stack port of described stacked switch, also comprise: the stacked switch of two platform independent, in stack port separately, move respectively stacking agreement, detect behind opposite end, form pile system.
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 described stacked switch;
The exchange chip of described stacked switch sends to described administrative message another stacked switch being connected with described stacked switch in the pile system of described stacked switch place by many Host Detections port of described stacked switch.
7. method according to claim 6, is characterized in that, also comprises:
In the time detecting that many Host Detections cable between described stacked switch and described another stacked switch is not connected, described stacked switch sends service message, stacking protocol massages and administrative message by the stack port of described stacked switch to described another stacked switch;
Described in the time detecting that many Host Detections cable between described stacked switch and described another stacked switch is not connected, before described stacked switch sends service message, stacking protocol massages and administrative message by the stack port of described stacked switch to described another stacked switch, also comprise: the stacked switch of two platform independent, in stack port separately, move respectively stacking agreement, detect behind opposite end, form pile system.
8. an administrative message receiving system, is arranged in stacked switch, it is characterized in that, comprising:
Receiver module, receive message for the many Host Detections port by described stacked switch, described message is that another stacked switch being connected with described stacked switch in the pile system of described stacked switch place sends by many Host Detections port of described another stacked switch;
Determination module, for the register list item corresponding according to many Host Detections port of described stacked switch, determines that described message is administrative message;
Sending module, for sending to described administrative message the central processing unit of described stacked switch.
9. device according to claim 8, is characterized in that, also comprises:
Module is set, for the many Host Detections port for described stacked switch on the exchange chip of described stacked switch, described register list item is set; Described register list item is the register list item that can identify administrative message, and described register list item comprises matched rule field and processing mode field.
10. device according to claim 9, is characterized in that, described determination module comprises:
Analyzing sub-module, for described message is resolved, obtains the characteristic information of described message;
Comparison sub-module, for the value of the characteristic information of more described message and the matched rule field of described register list item;
Message is determined submodule, after determining that in described comparison sub-module the value of the characteristic information of described message and the matched rule field of described register list item is identical, determines that described message is administrative message.
11. according to the device described in claim 9 or 10, it is characterized in that,
Described sending module, specifically for according to the value of the processing mode field of described register list item, sends to described administrative message the central processing unit of described stacked switch.
12. devices according to claim 8, is characterized in that,
Described receiver module, also, in the time detecting that many Host Detections cable between described stacked switch and described another stacked switch is not connected, receive described another stacked switch by service message, stacking protocol massages and the administrative message of the stack port transmission of described another stacked switch by the stack port of described stacked switch;
Described receiver module is in the time detecting that many Host Detections cable between described stacked switch and described another stacked switch is not connected, before receiving service message, stacking protocol massages and the administrative message of described another stacked switch by the stack port transmission of described another stacked switch by the stack port of described stacked switch, also comprise: the stacked switch of two platform independent, in stack port separately, move respectively stacking agreement, detect behind opposite end, form pile system.
13. 1 kinds of administrative message dispensing devices, are arranged in stacked switch, it is characterized in that, comprising:
Message receiver module, the administrative message sending for receiving the central processing unit of described stacked switch;
Message sending module, another stacked switch that sends to described stacked switch place pile system to be connected with described stacked switch by many Host Detections port of described stacked switch for the described administrative message that described message receiver module is received.
14. devices according to claim 13, is characterized in that,
Described message sending module, also, in the time detecting that many Host Detections cable between described stacked switch and described another stacked switch is not connected, send service message, stacking protocol massages and administrative message by the stack port of described stacked switch to described another stacked switch;
Described sending module is in the time detecting that many Host Detections cable between described stacked switch and described another stacked switch is not connected, before sending service message, stacking protocol massages and administrative message by the stack port of described stacked switch to described another stacked switch, also comprise: the stacked switch of two platform independent, in stack port separately, move respectively stacking agreement, detect behind opposite end, form pile system.
15. 1 kinds of stacked switch, is characterized in that, comprise the administrative message receiving system as described in claim 8-12 any one and/or the administrative message dispensing device as described in claim 13-14 any one.
16. 1 kinds of pile systems, is characterized in that, comprise 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 CN102307137A (en) 2012-01-04
CN102307137B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN106685826B (en) * 2016-12-01 2019-09-17 瑞斯康达科技发展股份有限公司 Switchboard stacked system, from equipment, exchange chip and processing protocol message method
CN106911597B (en) * 2017-02-14 2020-02-21 新华三技术有限公司 Cross-board forwarding method and device
CN111224803B (en) * 2018-11-23 2023-08-04 中兴通讯股份有限公司 Multi-master detection method in stacking system and stacking system
CN110011914B (en) * 2019-03-15 2021-08-17 北京星网锐捷网络技术有限公司 Management message forwarding method and device
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

Also Published As

Publication number Publication date
CN102307137A (en) 2012-01-04

Similar Documents

Publication Publication Date Title
CN102307137B (en) Method and device for transmitting and receiving management message, stacked switchboard and switchboard system
CN102299846B (en) Method for transmitting BFD (Bidirectional Forwarding Detection) message and equipment
US8223633B2 (en) Port trunking at a fabric boundary
CN102006184B (en) Management method, device and network device of stack link
US7710959B2 (en) Private VLAN edge across multiple switch modules
CN201100949Y (en) Network device
US20080215910A1 (en) High-Availability Networking with Intelligent Failover
US9843524B2 (en) Priority data transmission using fibre channel over ethernet
CN107508640B (en) Double-ring redundant self-healing optical fiber network construction method based on optical fiber channel technology
US20110149801A1 (en) Arrangement for an enhanced communication network tap port aggregator and methods thereof
US9749264B2 (en) Communication system and network relay device
CN102231682B (en) Stacking conflict processing method and equipment
CN106487679A (en) The active-standby switch system of Ethernet switch and changing method
CN103746927A (en) Priority-based fluid control PFC (Power Factor Correction) method, transmitting device and receiving device
CN113438164A (en) Dynamic multi-path optimization method, system and equipment based on cloud network fusion technology
US9853723B2 (en) Optical network system
CN102968399A (en) Multi-core processor and multiplexing method of network management portinterface thereof
CN102754390A (en) Method, network device and system for ethernet ring protection switching
CN101808043B (en) Method and device for detecting service message forwarding state of TRUNK members
US10819628B1 (en) Virtual link trunking control of virtual router redundancy protocol master designation
CN111585791B (en) Data synchronization configuration method, system and storage medium
US9979561B2 (en) Systems and methods for stacking fibre channel switches with fibre channel over ethernet stacking links
CN102404143A (en) Method for processing port failures based on LACP and LACP terminal
CN101465762B (en) Method, equipment and system for detecting error connection between protection set ports
Singh et al. Comparative analysis of packet loss in extended wired LAN environment

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