Summary of the invention
The embodiment of the present invention provides processing method and the device of the translucent interconnected message of a kind of multi-link, the problem that the networking brought during to solve completing user message repeating in prior art is complicated and networking cost is large.
Embodiment of the present invention first aspect provides the processing method of the translucent interconnected message of a kind of multi-link, and be applicable to the translucent interconnected TRILL network of multi-link, described TRILL network comprises at least three network equipment RB, and described method comprises:
2nd RB receives the TRILL message that a RB sends; Wherein, a described RB is the forwarding network appliance Transit RB in described TRILL network, and described 2nd RB is the last two jump RB in described TRILL network;
Described 2nd RB carries out TRILL decapsulation to a described TRILL message, obtains the first user message in a described TRILL message;
Described first user message is sent to the 3rd RB by described 2nd RB, to make described 3rd RB by described first user message repeating to first main frame interconnected with described 3rd RB; Wherein, described 3rd RB goes out network equipment Egress RB in described TRILL network.
In conjunction with first aspect, in the first possible execution mode of first aspect, described 2nd RB also comprises before receiving a TRILL message of a RB transmission:
Described 2nd RB receives the first request message that described 3rd RB sends; Wherein, described first request message carries out TRILL decapsulation for asking described 2nd RB to a described TRILL message;
Described 2nd RB sends the first response message to described 3rd RB.
In conjunction with the first possible execution mode of first aspect, in the execution mode that the second of first aspect is possible, described 2nd RB also comprises before receiving the first request message of described 3rd RB transmission:
Described 2nd RB and described 3rd RB carries out the last two jump and ejects capability negotiation, knows whether described 2nd RB has a ability described TRILL message being performed to TRILL decapsulation to make described 3rd RB.
In conjunction with first aspect to any one in the possible execution mode of the second of first aspect, in the third possible execution mode of first aspect, described user's message is sent to the 3rd RB by described 2nd RB, comprising:
Described 2nd RB receives the first MAC address of described first main frame that learns of the second user's message and the mapping relations of the 3rd RB that described 3rd RB that described 3rd RB sends sends according to described first main frame;
Described first user message is sent to described 3rd RB according to described first MAC Address by described 2nd RB.
In conjunction with the third possible execution mode of first aspect, in the 4th kind of possible execution mode of first aspect, described 2nd RB carries out TRILL decapsulation to a described TRILL message, after obtaining the first user message in a described TRILL message, also comprises:
Described 2nd RB is according to the mapping relations entering network equipment I ngress RB in the second MAC Address of the second main frame of the described first user message of described first user message study transmission and TRILL network;
Described second MAC Address is sent to described 3rd RB by described 2nd RB, to make described 3rd RB, the second user's message that described first main frame sends is encapsulated as the 2nd TRILL message; Wherein, the object identification name Nickname of described 2nd TRILL message is described Ingress RB.
In conjunction with the 4th kind of possible execution mode of first aspect, in the 5th kind of possible execution mode of first aspect, described 2nd RB also comprises after described first user message is sent to the 3rd RB:
Described 2nd RB receives the described 2nd TRILL message that described 3rd RB sends;
Described 2nd TRILL message repeating is given a described RB by described 2nd RB, to make a described RB, according to the object Nickname of described 2nd TRILL message, described 2nd TRILL message be sent to described Ingress RB, and send to described second main frame after making described Ingress RB carry out TRILL decapsulation to described 2nd TRILL message.
Embodiment of the present invention second aspect provides the processing method of the translucent interconnected message of a kind of multi-link, and be applicable to the translucent interconnected TRILL network of multi-link, described TRILL network comprises at least three network equipment RB, and described method comprises:
3rd RB receives the first user message that the 2nd RB sends; Wherein, described first user message for described 2nd RB TRILL decapsulation is carried out to the TRILL message that a described RB sends after the message that obtains; A described RB is the forwarding network appliance Transit RB in described TRILL network, and described 2nd RB is the last two jump RB in described TRILL network, and described 3rd RB goes out network equipment Egress RB in described TRILL network;
Described first user message is sent to first main frame interconnected with described 3rd RB by described 3rd RB.
In conjunction with second aspect, in the first possible execution mode of second aspect, described 3rd RB also comprises before receiving the first user message of the 2nd RB transmission:
Described 3rd RB sends the first request message to described 2nd RB; Wherein, described first request message carries out TRILL decapsulation for asking described 2nd RB to a described TRILL message;
Described 3rd RB receives the first response message that described 2nd RB sends.
In conjunction with the first possible execution mode of second aspect, in the execution mode that the second of second aspect is possible, described 3rd RB also comprises before sending the first request message to described 2nd RB:
Described 3rd RB and described 2nd RB carries out the last two jump and ejects capability negotiation, knows whether described 2nd RB has the ability of a described TRILL message being carried out to TRILL decapsulation to make described 3rd RB.
In conjunction with second aspect to any one in the possible execution mode of the second of second aspect, in the third possible execution mode of second aspect, the 3rd RB receives the first user message that the 2nd RB sends, and comprising:
The second user's message study the first MAC Address of described first main frame and mapping relations of the 3rd RB that described 3rd RB sends according to described first main frame;
The mapping relations of the first MAC Address of described first main frame and the 3rd RB are sent to described 2nd RB by described 3rd RB, to know described first user message is sent to described 3rd RB to make described 2nd RB according to described first MAC address;
Described 3rd RB receives the described first user message that described 2nd RB sends.
In conjunction with the third possible execution mode of second aspect, in the 4th kind of possible execution mode of second aspect, described 3rd RB also comprises after receiving the first user message of the 2nd RB transmission:
Described 3rd RB receive described 2nd RB send the second MAC Address and TRILL network in the mapping relations entering network equipment I ngress RB; Wherein, described second MAC Address is the MAC Address of the second main frame of the described first user message of transmission that described 2nd RB learns according to described first user message;
The second user's message that described first main frame sends is encapsulated as the 2nd TRILL message according to the mapping relations of described second MAC Address and described Ingress RB by described 3rd RB; Wherein, the object identification name Nickname of described 2nd TRILL message is described Ingress RB;
Described 2nd TRILL message is sent to described 2nd RB by described 3rd RB, to make described 2nd RB by described 2nd TRILL message repeating to a described RB.
The embodiment of the present invention third aspect provides the processing unit of the translucent interconnected message of a kind of multi-link, and be applicable to the translucent interconnected TRILL network of multi-link, described TRILL network comprises at least three network equipment RB, and described device comprises:
First receiver module, for receiving the TRILL message that a RB sends; Wherein, a described RB is the forwarding network appliance Transit RB in described TRILL network;
Decapsulation module, for carrying out TRILL decapsulation to a described TRILL message, obtains the first user message in a described TRILL message;
First sending module, for described first user message is sent to the 3rd RB, to make described 3rd RB by described first user message repeating to first main frame interconnected with described 3rd RB; Wherein, described 3rd RB goes out network equipment Egress RB in described TRILL network.
In conjunction with the third aspect, in the first possible execution mode of the third aspect, described device also comprises:
Second receiver module, for before a TRILL message of described first receiver module reception the one RB transmission, receives the first request message that described 3rd RB sends; Wherein, described first request message carries out TRILL decapsulation for asking described decapsulation module to a described TRILL message;
Second sending module, for sending the first response message to described 3rd RB.
In conjunction with the first possible execution mode of the third aspect, in the execution mode that the second of the third aspect is possible, described device also comprises:
Capability negotiation module, for before the first request message of the described 3rd RB transmission of described second receiver module reception, carry out the last two jump with described 3rd RB and eject capability negotiation, know to make described 3rd RB whether described 2nd RB has a ability described TRILL message being performed to TRILL decapsulation; Wherein, described 2nd RB is the last two jump RB in described TRILL network.
In conjunction with the third aspect to any one in the possible execution mode of the second of the third aspect, in the third possible execution mode of the third aspect, described first sending module, comprising:
First receiving element, for receiving the first MAC address of described first main frame that learns of the second user's message and the mapping relations of the 3rd RB that described 3rd RB that described 3rd RB sends sends according to described first main frame;
First transmitting element, for sending to described 3rd RB according to described first MAC Address by described first user message.
In conjunction with the third possible execution mode of the third aspect, in the 4th kind of possible execution mode of the third aspect, described device also comprises:
Study module, for carrying out TRILL decapsulation in described decapsulation module to a described TRILL message, after obtaining the first user message in a described TRILL message, send the mapping relations entering network equipment I ngress RB in the second MAC Address of the second main frame of described first user message and TRILL network according to the study of described first user message;
3rd sending module, for described second MAC Address is sent to described 3rd RB, is encapsulated as the 2nd TRILL message to make described 3rd RB by the second user's message that described first main frame sends; Wherein, the object identification name Nickname of described 2nd TRILL message is described Ingress RB.
In conjunction with the 4th kind of possible execution mode of the third aspect, in the 5th kind of possible execution mode of the third aspect, described device also comprises:
3rd receiver module, after described first user message being sent to the 3rd RB at described first sending module, receives the described 2nd TRILL message that described 3rd RB sends;
4th sending module, for giving a described RB by described 2nd TRILL message repeating, to make a described RB, according to the object Nickname of described 2nd TRILL message, described 2nd TRILL message be sent to described Ingress RB, and send to described second main frame after making described Ingress RB carry out TRILL decapsulation to described 2nd TRILL message.
Embodiment of the present invention fourth aspect provides the processing unit of the translucent interconnected message of a kind of multi-link, and be applicable to the translucent interconnected TRILL network of multi-link, described TRILL network comprises at least three network equipment RB, and described device comprises:
First receiver module, for receiving the first user message that the 2nd RB sends; Wherein, described first user message for described 2nd RB TRILL decapsulation is carried out to the TRILL message that a described RB sends after the message that obtains; A described RB is the forwarding network appliance Transit RB in described TRILL network, and described 2nd RB is the last two jump RB in described TRILL network;
First sending module, for sending to first main frame interconnected with described device by described first user message.
In conjunction with fourth aspect, in the first possible execution mode of fourth aspect, described device also comprises:
Second sending module, for before the first user message of described first receiver module reception the 2nd RB transmission, sends the first request message to described 2nd RB; Wherein, described first request message carries out TRILL decapsulation for asking described 2nd RB to a described TRILL message;
Second receiver module, for receiving the first response message that described 2nd RB sends.
In conjunction with the first possible execution mode of fourth aspect, in the execution mode that the second of fourth aspect is possible, described device also comprises:
Capability negotiation module, before sending the first request message at described second sending module to described 2nd RB, carry out the last two jump with described 2nd RB and eject capability negotiation, to know whether described 2nd RB has the ability of a described TRILL message being carried out to TRILL decapsulation.
In conjunction with fourth aspect to any one in the possible execution mode of the second of fourth aspect, in the third possible execution mode of fourth aspect, described first receiver module, comprising:
Unit, for the second user's message study the first MAC Address of described first main frame and the mapping relations of the 3rd RB sent according to described first main frame; Wherein, described 3rd RB goes out network equipment Egress RB in described TRILL network;
Transmitting element, for the mapping relations of the first MAC Address of described first main frame and the 3rd RB are sent to described 2nd RB, to know according to described first MAC address to make described 2nd RB and described first user message is sent to described 3rd RB;
Receiving element, for receiving the described first user message that described 2nd RB sends.
In conjunction with the third possible execution mode of fourth aspect, in the 4th kind of possible execution mode of fourth aspect, described device also comprises:
3rd receiver module, for described first receiver module receive the 2nd RB send first user message after, receive described 2nd RB send the second MAC Address and TRILL network in the mapping relations entering network equipment I ngress RB; Wherein, described second MAC Address is the MAC Address of the second main frame of the described first user message of transmission that described 2nd RB learns according to described first user message;
Package module, for being encapsulated as the 2nd TRILL message according to the mapping relations of described second MAC Address and described Ingress RB by the second user's message that described first main frame sends; Wherein, the object identification name Nickname of described 2nd TRILL message is described Ingress RB;
3rd sending module, for described 2nd TRILL message is sent to described 2nd RB, to make described 2nd RB by described 2nd TRILL message repeating to a described RB.
The processing method of the translucent interconnected message of the multilink that the embodiment of the present invention provides and device, penultimate RB(the 2nd RB by TRILL network) replace Egress RB to carry out TRILL decapsulation to a TRILL message, obtain first user message; And complete three layers of forwarding to first user message by Egress RB, thus avoid at the outside plug-in GW of TRILL network, reduce complexity and the cost of networking.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, 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, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The method that the embodiment of the present invention relates to mainly supports peer-to-peer network (Peer to Peer is called for short P2P) topology, under this P2P topology, is that physics is direct-connected between RB.
Fig. 1 is processing method embodiment one flow chart of the translucent interconnected message of multi-link provided by the invention, the structural representation one of the translucent internet of multi-link that Fig. 2 provides for the embodiment of the present invention.The method is applicable to TRILL network, and this TRILL network comprises at least three RB.The executive agent of the method that the present embodiment relates to can the 2nd RB in above-mentioned at least three RB.The method specifically comprises:
S101: the two RB receives the TRILL message that a RB sends; Wherein, a RB is the forwarding network appliance (Transit RB) in TRILL network, and the 2nd RB is the last two jump RB in TRILL network.
Concrete, communication between main frame can be encapsulated by the TRILL of TRILL network inside, forward process implementations such as conciliating encapsulation process, multiple RB is comprised in this TRILL network, the function that those RB perform is not quite similar, such as: entering the network equipment (Ingress RB) is first RB that user's message enters in TRIULL network, and main function is that user's message is encapsulated into TRILL message; Forwarding network appliance (Transit RB) mainly performs the repeating process of TRILL message in TRILL network; Going out the network equipment (Egress RB) is last RB sending TRILL network after TRILL message is carried out TRILL decapsulation.
See Fig. 2, when the second main frame needs the first user message of self to send to the first main frame, with realize and the first main frame between communication time, second main frame sends first user message to the Ingress RB in TRILL network, this Ingress RB is when receiving first user message, mac learning is carried out to first user message, namely the source MAC of this first user message is learnt, namely send the MAC Address (the second MAC Address) of the second main frame of this first user message, and set up the mapping relations of the second MAC Address and IngressRB.
Afterwards, Ingress RB carries out TRILL encapsulation to first user message, and this first user message is encapsulated into a TRILL message, and is transmitted to the Transit RB in TRILL network, and forwards between Transit RB in this TRILL network.
S102: the two RB carries out TRILL decapsulation to an above-mentioned TRILL message, obtains the first user message in a TRILL message.
Concrete, forward between the Transit RB of an above-mentioned TRILL message in TRILL network, and to be transmitted to the 2nd RB(the 2nd RB through a RB be penultimate RB in TRILL network), 2nd RB carries out TRILL decapsulation to a TRILL message, obtains the first user message in a TRILL message.Optionally, when TRILL network only comprises 3 RB, an above-mentioned RB can be Ingress RB, and the first user message that namely the second main frame sends directly can send to a RB, is completed the process of TRILL encapsulation by a RB.
Above-mentioned first user message is sent to the 3rd RB by the S103: the two RB, to make the 3rd RB by above-mentioned first user message repeating to first main frame interconnected with the 3rd RB; Wherein, the 3rd RB goes out network equipment Egress RB in TRILL network.
It should be noted that the method that the embodiment of the present invention provides, the 3rd RB, as the Egress RB in TRILL network, can perform the forwarding of first user message, and to the TRILL decapsulation of a TRILL message by penultimate RB(the 2nd RB) perform; That is, the method that the embodiment of the present invention provides is completed jointly by the RB in TRILL network that TRILL encapsulates, the forwarding of TRILL decapsulation and user's message, namely on Egress RB, superposed the forward process ability of three-layer network pass (such as IP GW), and without the need to completing TRILL encapsulation and TRILL decapsulation by the RB of TRILL network inside as prior art, and pass through the forwarding of the mode completing user message at the outside plug-in gateway of TRILL network, simplify the complexity of networking, save networking cost.In addition, the original TRILL decapsulation of Egress RB has been replaced by the 2nd RB, and Egress RB is only responsible for the forwarding of user's message, thus reduces the processing pressure on Egress RB, promotes the performance of whole net.
The processing method of the multilink that the embodiment of the present invention provides translucent the Internet message, penultimate RB(the 2nd RB by TRILL network) replace Egress RB to carry out TRILL decapsulation to a TRILL message, obtain first user message; And complete the forwarding to first user message by Egress RB, thus avoid at the outside plug-in GW of TRILL network, reduce complexity and the cost of networking.
Fig. 3 is the method flow diagram of the processing method embodiment two of the translucent interconnected message of multi-link provided by the invention, the structural representation two of the translucent internet of multi-link that Fig. 4 provides for embodiment provided by the invention, namely Fig. 4 is the structure chart of the concrete TRILL network illustrated on the basis of Fig. 2, and this TRILL network comprises a RB, the 2nd RB and the 3rd RB tri-network equipments; Wherein, a RB and the 3rd RB is the edge device of TRILL network; 2nd RB is Transit RB, is responsible for the forwarding of the inner TRILL message of TRILL network.The method that the present embodiment relates to carries out the last two jump by the Egress RB in TRILL network and the last two jump RB to eject the negotiation of ability and the detailed process of asking and responding is ejected in the last two jump, and can this last two jump be ejected ability and referred to penultimate RB and replace Egress RB to perform the ability of TRILL decapsulation to received TRILL message.Further, on basis embodiment illustrated in fig. 1, before S101, the method also comprises:
S201: the two RB receives the first request message that the 3rd RB sends; Wherein, this first request message carries out TRILL decapsulation for asking the 2nd RB to a TRILL message.
S202: the two RB sends the first response message to the 3rd RB.
Concrete, the need of performing the request of the last two jump ejection and corresponding action, can artificially specify, also can by automatically initiating with associate (configuration as IP GW) of other functions.3rd RB needs to send the first request message to the 2nd RB, and this first request message carries out TRILL decapsulation for asking the 2nd RB to a TRILL message; Afterwards, the 2nd RB sends the first response message to the 3rd RB, to inform that the 3rd RB oneself can replace the 3rd RB to carry out TRILL decapsulation to a TRILL message.
Before above-mentioned S201, optionally, said method can also comprise: the 2nd RB and the 3rd RB carries out the last two jump and ejects capability negotiation, knows whether the 2nd RB has an ability TRILL message being performed to TRILL decapsulation to make the 3rd RB.
Concrete, the negotiation that ability is ejected in the last two jump is carried out between 2nd RB and the 3rd RB, this the last two jump ejection ability refers to the 2nd RB and whether has the ability of a TRILL message being carried out to TRILL decapsulation, and completes negotiation when setting up syntople between the RB in TRILL network of this last two jump ejection ability.
Optionally, the process of above-mentioned the last two jump capability negotiation, can Hello(IIH in Intermediate System-to-Intermediate System (Intermediate system to intermediate system, hereinafter referred to as ISIS) agreement) to carry in message and alternately.Two kinds of implementations can be had, respectively:
The first: namely can be realized by the new label length value (Tag-Length-Value, hereinafter referred to as TLV) of expansion.
The second: realize by using the Reserved field in IIH message.Now need the Reserved field of use 3 bit, a bit is used for the capability negotiation of the last two jump ejection, and two other bit is used for request and the response of the last two jump ejection.
Further, on the basis of above-described embodiment, described user's message is sent to the 3rd RB by above-mentioned 2nd RB, specifically comprises: the MAC Address of the first main frame that the 3rd RB that the 2nd RB receives the 3rd RB transmission learns according to the second user's message that the first main frame sends and the mapping relations of the 3rd RB; And according to the first MAC Address, first user message is sent to the 3rd RB.
Concrete, the 3rd RB also can receive the second user's message that the first main frame sends, and the 3rd RB can learn the MAC Address of this second user's message, and namely study is to the first MAC Address of the first main frame and the mapping relations of the 3rd RB that send this second user's message.The mapping relations of the first MAC Address and the 3rd RB are synchronized to the 2nd RB by the 3rd RB, make the 2nd RB after to a TRILL message decapsulation, the 3rd RB is given by first user message repeating according to the first synchronous MAC Address, and the L2/L3 forward process of standard is completed by the 3rd RB, this L2/L3 forward process is first user message repeating to the first main frame be connected with the 3rd RB.
Optionally, 2nd RB can also to the process learning of the TRILL message decapsulation mapping relations to the first MAC Address of the 3rd RB and the first main frame, thus give the 3rd RB by the first user message repeating after solution TRILL encapsulation, and completed the L2/L3 forward process of standard by the 3rd RB.
It should be noted that, in the return flow of TRILL network, Egress RB originally becomes Ingress RB, Ingress RB originally becomes Egress RB.TRILL network structure as shown in Figure 4, when the second main frame sends first user message to the first main frame time, a RB is Ingress RB, and the 3rd RB is Egress RB; When the first main frame sends the second user's message to the second main frame, the 3rd RB just becomes Ingress RB, and a RB is Egress RB.
The processing method of the multilink that the embodiment of the present invention provides translucent the Internet message, by carrying out the negotiation that ability is ejected in the last two jump between the Egress RB in TRILL network and the penultimate RB in TRILL network, when the penultimate RB in TRILL network has the last two jump ejection ability, replace Egress RB to carry out TRILL decapsulation to a TRILL message, obtain first user message; And complete the forwarding to first user message by Egress RB, thus avoid at the outside plug-in GW of TRILL network, reduce complexity and the cost of networking, also reduce the processing pressure on Egress RB simultaneously.
Fig. 5 is the method flow diagram of the processing method embodiment three of the translucent interconnected message of multi-link provided by the invention.The method that the present embodiment relates to is that the penultimate RB in TRILL network needs the MAC Address of simulation Egress RB to first user message to learn, and closes the mac learning to first user message on Egress RB.On the basis of above-described embodiment, after S102, before S103, the method also comprises:
S301: the two RB is according to the mapping relations of the Ingress RB in the second MAC Address of the second main frame of this first user message of first user message study transmission and TRILL network.
Second MAC Address is sent to the 3rd RB by the S302: the two RB, is encapsulated as the 2nd TRILL message with the second user's message making the 3rd RB be sent by the first main frame; Wherein, the object identification name (Nickname) of the 2nd TRILL message is Ingress RB.
Concrete, after the 2nd RB carries out decapsulation to the TRILL message received by self, can learn according to first user message the second MAC Address of the second main frame and the mapping relations of Ingress RB that send this first user message.
With reference to the TRILL network structure in Fig. 4, when the second main frame sends first user message to the first main frame, here Ingress RB is an above-mentioned RB, then what the 2nd RB learnt according to first user message is exactly the mapping relations of the second MAC Address and a RB.It should be noted that, now to close original mac learning process as on the 3rd RB of Egress RB, because when first user message is issued the 3rd RB by the 2nd RB, received by 3rd RB is not the message that TRILL encapsulates, the method related in the embodiment of the present invention is only for one-way flow, when Egress RB receives the user's message of non-TRILL encapsulation time, without the need to performing mac learning.
Second MAC Address is synchronized to the 3rd RB by the 2nd RB, make the 3rd RB when return flow, the second user's message receiving the first main frame transmission is encapsulated into the 2nd TRILL message, and the object Nickname in the 2nd TRILL message is encapsulated as a RB.Optionally, above-mentioned second MAC Address is synchronized to the 3rd RB at key-course, can be realized by expansion TLV, or by mutual (End Station Address Distribution Information, hereinafter referred to as the ESADI) protocol realization of terminal address.
The processing method of the multilink that the embodiment of the present invention provides translucent the Internet message, by carrying out the negotiation that ability is ejected in the last two jump between the Egress RB in TRILL network and the penultimate RB in TRILL network, when the penultimate RB in TRILL network has the last two jump ejection ability, replace Egress RB to carry out TRILL decapsulation to a TRILL message, obtain first user message; And complete the forwarding to first user message by Egress RB, thus avoid at the outside plug-in GW of TRILL network, reduce complexity and the cost of networking, also reduce the processing pressure on Egress RB simultaneously.
Fig. 6 is the method flow diagram of the processing method embodiment four of the translucent interconnected message of multi-link provided by the invention.The method that the present embodiment relates to is the processing procedure for the return flow in TRILL network.Concrete, on the basis of above-described embodiment, after S103, the method also comprises:
S401: the two RB receives the 2nd TRILL message that the 3rd RB sends.
2nd TRILL message repeating is given a RB by the S402: the two RB, to make a RB, according to the object Nickname of the 2nd TRILL message, the 2nd TRILL message be sent to Ingress RB, and send to the second main frame after making Ingress RB carry out TRILL decapsulation to the 2nd TRILL message.
Concrete, after first user message is sent to the 3rd RB by above-mentioned 2nd RB, this first user message repeating is given the first main frame by the 3rd RB.Simultaneously, 3rd RB now also receives the second user's message that the first main frame sends, therefore, this second user's message is packaged into the 2nd TRILL message by the 3rd RB, and the object Nickname of this TRILL message is the Ingress RB of the first user message in this TRILL network.
Afterwards, the 2nd TRILL message is sent to the 2nd RB by the 3rd RB.It should be noted that when TRILL network return flow, the 2nd RB no longer performs the last two jump and ejects.The 2nd received TRILL message repeating is given a RB by the 2nd RB, and is transmitted to Ingress RB by a RB by other Transit RB.Now, final jump RB(when this Ingress RB is actually return now namely Egress RB), therefore this Ingress RB also can as described in the previous embodiment to the Transit RB be adjacent send the last two jump eject request message, replace to ask the Transit RB be adjacent oneself performing the decapsulation of the 2nd TRILL message, to obtain the second user's message.After this Ingress RB gets this second user's message, according to the mapping relations (in embodiment one, a RB has learnt the mapping relations of the second MAC Address and a RB) of the second MAC Address of self and the second main frame, this second user's message is transmitted to the second main frame.
Same, if the TRILL network structure shown in Fig. 4, be namely exactly the 2nd RB by the 2nd TRILL message repeating to a RB because a RB Egress RB when in fact Ingress RB(is also return).Now, a RB can the TRILL forward process of operative norm, and the 2nd RB also can be asked to perform decapsulation to the 2nd TRILL message, and oneself only performs the forwarding of the second user's message.
The processing method of the multilink that the embodiment of the present invention provides translucent the Internet message, by carrying out the negotiation that ability is ejected in the last two jump between the Egress RB in TRILL network and the penultimate RB in TRILL network, when the penultimate RB in TRILL network has the last two jump ejection ability, replace Egress RB to carry out TRILL decapsulation to a TRILL message, obtain first user message; And complete the forwarding to first user message by Egress RB, thus avoid at the outside plug-in GW of TRILL network, reduce complexity and the cost of networking, also reduce the processing pressure on Egress RB simultaneously.
Fig. 7 is the method flow diagram of the processing method embodiment five of the translucent interconnected message of multi-link provided by the invention, and the method is applicable to TRILL network, and this TRILL network comprises at least three RB.As shown in Figure 7, the method comprises the steps:
S501: the three RB receives the first user message that the 2nd RB sends; Wherein, this first user message for the 2nd RB TRILL decapsulation is carried out to the TRILL message that a RB sends after the message that obtains; An above-mentioned RB is the Transit RB in TRILL network, the 2nd RB is the last two jump RB in TRILL network, and the 3rd RB is the Egress RB in TRILL network.
Concrete, TRILL network structure shown in Figure 2 can be continued, when the second main frame needs the first user message of self to send to the first main frame, with realize and the first main frame between communication time, second main frame sends first user message to the Ingress RB in TRILL network, this Ingress RB is when receiving first user message, mac learning is carried out to first user message, namely the source MAC of this first user message is learnt, namely send the MAC Address (the second MAC Address) of the second main frame of this first user message, and set up the mapping relations of the second MAC Address and Ingress RB.
Afterwards, Ingress RB carries out TRILL encapsulation to first user message, this first user message is encapsulated into a TRILL message, and the Transit RB be transmitted in TRILL network, and to carry out forwarding between Transit RB in this TRILL network and be transmitted to the 2nd RB(the 2nd RB through a RB be penultimate RB in TRILL network), 2nd RB carries out TRILL decapsulation to a TRILL message, obtains the first user message in a TRILL message.
Optionally, when the TRILL network shown in above-mentioned Fig. 4 only comprises 3 RB, an above-mentioned RB can be Ingress RB, and the first user message that namely the second main frame sends directly can send to a RB, is completed the process of TRILL encapsulation by a RB.
Above-mentioned first user message is sent to first main frame interconnected with described 3rd RB by the S502: the three RB.
It should be noted that the method that the embodiment of the present invention provides, the 3rd RB, as the Egress RB in TRILL network, can perform the forwarding of first user message, and to the TRILL decapsulation of a TRILL message by penultimate RB(the 2nd RB) perform; That is, the method that the embodiment of the present invention provides is completed jointly by the RB in TRILL network that TRILL encapsulates, the forwarding of TRILL decapsulation and user's message, namely on Egress RB, superposed the forward process ability of three-layer network pass (such as IP GW), and without the need to completing TRILL encapsulation and TRILL decapsulation by the RB of TRILL network inside as prior art, and pass through the forwarding of the mode completing user message at the outside plug-in gateway of TRILL network, simplify the complexity of networking, save networking cost.In addition, the original TRILL encapsulation of Egress RB has been replaced by the 2nd RB, and the forwarding of Egress RB only responsible user's message, thus reduces the processing pressure on Egress RB, promote the performance of whole net.
The processing method of the multilink that the embodiment of the present invention provides translucent the Internet message, penultimate RB(the 2nd RB by TRILL network) replace Egress RB to carry out TRILL decapsulation to a TRILL message, obtain first user message; And complete the forwarding to first user message by Egress RB, thus avoid at the outside plug-in GW of TRILL network, reduce complexity and the cost of networking.
The flow chart of the processing method embodiment six of the translucent interconnected message of multilink that Fig. 8 provides for the embodiment of the present invention, the method that the present embodiment relates to carries out by the Egress RB in TRILL network and the last two jump RB the detailed process that the negotiation of ability is ejected in the last two jump, and can this last two jump ejection ability refer to penultimate RB and replace Egress RB to perform the ability of TRILL decapsulation to received TRILL message.Further, on basis embodiment illustrated in fig. 7, before S501, the method also comprises:
S601: the three RB sends the first request message to the 2nd RB; Wherein, this first request message carries out TRILL decapsulation for asking the 2nd RB to a TRILL message.
S602: the three RB receives the first response message that the 2nd RB sends.
Concrete, the need of the action performing the last two jump ejection, can artificially specify, also can by automatically initiating with associate (configuration as IP GW) of other functions.3rd RB needs to send the first request message to the 2nd RB, and this first request message carries out TRILL decapsulation for asking the 2nd RB to a TRILL message; Afterwards, the 2nd RB sends the first response message to the 3rd RB, to inform that the 3rd RB oneself can replace the 3rd RB to carry out TRILL decapsulation to a TRILL message.
Before above-mentioned S201, optionally, said method can also comprise: the 2nd RB and the 3rd RB carries out the last two jump and ejects capability negotiation, knows whether the 2nd RB has an ability TRILL message being performed to TRILL decapsulation to make the 3rd RB.
Concrete, the negotiation that ability is ejected in the last two jump is carried out between 2nd RB and the 3rd RB, this the last two jump ejection ability refers to the 2nd RB and whether has the ability of a TRILL message being carried out to TRILL decapsulation, and completes negotiation when setting up syntople between the RB in TRILL network of this last two jump ejection ability.
Optionally, the process of above-mentioned the last two jump capability negotiation, can Hello(IIH in ISIS agreement) to carry in message and alternately.Two kinds of implementations can be had, respectively:
The first: namely can by expanding new TLV to realize.
The second: realize by using the Reserved field in IIH message.Now need the Reserved field of use 3 bit, a bit is used for the capability negotiation of the last two jump ejection, and two other bit is used for request and the response of the last two jump ejection.
On the basis of above-described embodiment, above-mentioned 3rd RB receives the first user message that the 2nd RB sends, and specifically comprises: the 3rd RB learns the first MAC Address of the first main frame and the mapping relations of the 3rd RB according to the second user's message that the first main frame sends; And the mapping relations of the first MAC Address of the first main frame and the 3rd RB are sent to the 2nd RB, to know according to the first MAC Address to make the 2nd RB and first user message is sent to the 3rd RB; 3rd RB receives the first user message that the 2nd RB sends.
Concrete, the 3rd RB also can receive the second user's message that the first main frame sends, and the 3rd RB can learn the MAC Address of this second user's message, and namely study is to the first MAC Address of the first main frame and the mapping relations of the 3rd RB that send this second user's message.The mapping relations of the first MAC Address and the 3rd RB are synchronized to the 2nd RB by the 3rd RB, make the 2nd RB after to a TRILL message decapsulation, the 3rd RB is given by first user message repeating according to the first synchronous MAC Address, thus the 3rd RB just have received first user message, and first user message repeating is given the first main frame be connected with the 3rd RB.
The processing method of the multilink that the embodiment of the present invention provides translucent the Internet message, by carrying out the negotiation that ability is ejected in the last two jump between the Egress RB in TRILL network and the penultimate RB in TRILL network, when the penultimate RB in TRILL network has the last two jump ejection ability, replace Egress RB to carry out TRILL decapsulation to a TRILL message, obtain first user message; And complete the forwarding to first user message by Egress RB, thus avoid at the outside plug-in GW of TRILL network, reduce complexity and the cost of networking, also reduce the processing pressure on Egress RB simultaneously.
Fig. 9 is the flow chart of the processing method embodiment seven of the translucent interconnected message of multilink provided by the invention, and the method that the present embodiment relates to is the process that the 3rd RB receives the second MAC Address of the second main frame of learning according to first user message of the 2nd RB that the 2nd RB sends and the mapping relations of Ingress RB.On the basis of above-described embodiment, after S502, the method also comprises:
S701: the three RB receives the mapping relations of Ingress RB in the second MAC Address and TRILL network that the 2nd RB sends; Wherein, this second MAC Address is the MAC Address of the second main frame of the above-mentioned first user message of transmission that the 2nd RB learns according to first user message.
Concrete, after the 2nd RB carries out decapsulation to the TRILL message received by self, can learn according to first user message the second MAC Address of the second main frame and the mapping relations of Ingress RB that send this first user message.Continue with reference to the TRILL network structure in Fig. 4, when the second main frame sends first user message to the first main frame, here Ingress RB is an above-mentioned RB, then what the 2nd RB learnt according to first user message is exactly the mapping relations of the second MAC Address and a RB.It should be noted that, now to close original mac learning process as on the 3rd RB of Egress RB, because when first user message is issued the 3rd RB by the 2nd RB, received by 3rd RB is not the message that TRILL encapsulates, the method related in the embodiment of the present invention is only for one-way flow, when Egress RB receives the user's message of non-TRILL encapsulation time, without the need to performing mac learning.
The second user's message that first main frame sends according to the mapping relations of the second MAC Address and Ingress RB by the S702: the three RB is encapsulated as the 2nd TRILL message; Wherein, the object Nickname of the 2nd TRILL message is Ingress RB.
Concrete, the mapping relations of the second MAC Address and Ingress RB are synchronized to the 3rd RB by the 2nd RB, make the 3rd RB that the second user's message that the first main frame received sends is encapsulated into the 2nd TRILL message, and the object Nickname in the 2nd TRILL message is encapsulated as Ingress RB.If the TRILL network structure shown in Fig. 4, then the object Nickname of the 2nd TRILL message is exactly a RB.
2nd TRILL message is sent to the 2nd RB by the S703: the three RB, to make the 2nd RB by the 2nd TRILL message repeating to a RB.
Concrete, the 2nd TRILL message is sent to the 2nd RB by the 3rd RB.It should be noted that when TRILL network return flow, the 2nd RB no longer performs the last two jump and ejects.The 2nd received TRILL message repeating is exactly third from the bottom RB in TRILL network to a RB(RB in fact here by the 2nd RB), and be transmitted to Ingress RB by a RB by other Transit RB.Now, final jump RB(when this Ingress RB is actually return now namely Egress RB), therefore this Ingress RB also can as described in the previous embodiment to the Transit RB be adjacent send the last two jump eject request message, replace to ask the Transit RB be adjacent oneself performing the decapsulation of the 2nd TRILL message, to obtain the second user's message.After this Ingress RB gets this second user's message, according to the mapping relations (in embodiment five, a RB has learnt the mapping relations of the second MAC Address and a RB) of the second MAC Address of self and the second main frame, this second user's message is transmitted to the second main frame.
Same, if the TRILL network structure shown in Fig. 4, be namely exactly the 2nd RB by the 2nd TRILL message repeating to a RB because a RB Egress RB when in fact Ingress RB(is also return).Now, a RB can the TRILL forward process of operative norm, and the 2nd RB also can be asked to perform decapsulation to the 2nd TRILL message, and oneself only performs the forwarding of the second user's message.
The processing method of the multilink that the embodiment of the present invention provides translucent the Internet message, by carrying out the negotiation that ability is ejected in the last two jump between the Egress RB in TRILL network and the penultimate RB in TRILL network, when the penultimate RB in TRILL network has the last two jump ejection ability, replace Egress RB to carry out TRILL decapsulation to a TRILL message, obtain first user message; And complete the forwarding to first user message by Egress RB, thus avoid at the outside plug-in GW of TRILL network, reduce complexity and the cost of networking, also reduce the processing pressure on Egress RB simultaneously.
Figure 10 is the flow chart of the processing method embodiment eight of the translucent interconnected message of multi-link provided by the invention.It is that the 2nd RB replaces the 3rd RB the one TRIL message to be carried out to the overall flow of TRILL decapsulation that the present embodiment relates to method, and the concrete TRILL structure of the present embodiment is Figure 4 shows that example.The method specifically comprises:
S801: the two RB and the 3rd RB carries out the last two jump and ejects capability negotiation, knows whether the 2nd RB has an ability TRILL message being performed to TRILL decapsulation to make the 3rd RB.
Concrete, the negotiation that ability is ejected in the last two jump is carried out between 2nd RB and the 3rd RB, this the last two jump ejection ability refers to the 2nd RB and whether has the ability of a TRILL message being carried out to TRILL decapsulation, and completes negotiation when setting up syntople between the RB in TRILL network of this last two jump ejection ability.
Optionally, the process of above-mentioned the last two jump capability negotiation, can Hello(IIH in ISIS agreement) to carry in message and alternately.Two kinds of implementations can be had, respectively:
The first: namely can be realized by the new label length value (Tag-Length-Value, hereinafter referred to as TLV) of expansion.
The second: realize by using the Reserved field in IIH message.Now need the Reserved field of use 3 bit, a bit is used for the capability negotiation of the last two jump ejection, and two other bit is used for request and the response of the last two jump ejection.
S802: the three RB sends the first request message to the 2nd RB; Wherein, for asking, the 2nd RB is standby carries out TRILL decapsulation to a TRILL message to this first request message.
S803: the two RB sends the first response message to the 3rd RB.
Concrete, the need of performing the request of the last two jump ejection and corresponding action, can artificially specify, also can by automatically initiating with associate (configuration as IP GW) of other functions.3rd RB needs to send the first request message to the 2nd RB, and this first request message carries out TRILL decapsulation for asking the 2nd RB to a TRILL message; Afterwards, the 2nd RB sends the first response message to the 3rd RB, to inform that the 3rd RB oneself can replace the 3rd RB to carry out TRILL decapsulation to a TRILL message.
S804: the two RB receives the interconnected message of a TRILL that a RB sends.
S805: the two RB carries out TRILL decapsulation to an above-mentioned TRILL message, obtains the first user message in a TRILL message.
Concrete, continue TRILL network structure shown in Figure 4, when the second main frame needs the first user message of self to send to the first main frame, with realize and the first main frame between communication time, second main frame transmission first user message is now the Ingress RB in TRILL network to the RB(in TRILL network), one RB is when receiving first user message, mac learning is carried out to first user message, namely the source MAC of this first user message is learnt, namely send the MAC Address (the second MAC Address) of the second main frame of this first user message, and set up the mapping relations of the second MAC Address and a RB.
Afterwards, a RB carries out TRILL encapsulation to first user message, and this first user message is encapsulated into a TRILL message, and forwards the 2nd RB, carries out TRILL decapsulation by the 2nd RB to a TRIL message, to obtain first user message.
S806: the two RB sends the second MAC Address of the second main frame and the mapping relations of a RB of this first user message according to the study of first user message.
Second MAC Address is sent to the 3rd RB by the S807: the two RB.
Concrete, 2nd RB is after carrying out TRILL decapsulation and obtaining first user message to a TRILL message, this first user message is learnt, knows the mapping relations of the RB in the second MAC Address of the second main frame and TRILL network, and send it to the 3rd RB.
S808: the three RB sends the MAC Address of the first main frame that learns according to the second user's message that the first main frame sends of the 3rd RB and the mapping relations of the 3rd RB to the 2nd RB.
S809: the two RB receives the MAC Address of the first main frame and the mapping relations of the 3rd RB of the 3rd RB transmission; And according to the first MAC Address, first user message is sent to the 3rd RB.
S810: the three RB receives the first user message that the 2nd RB sends, and the transmission of first user message is transmitted to the first main frame.
Concrete, the 3rd RB also can receive the second user's message that the first main frame sends, and the 3rd RB can learn the MAC Address of this second user's message, and namely study is to the first MAC Address of the first main frame and the mapping relations of the 3rd RB that send this second user's message.The mapping relations of the first MAC Address and the 3rd RB are synchronized to the 2nd RB by the 3rd RB, make the 2nd RB after to a TRILL message decapsulation, the 3rd RB is given by first user message repeating according to the first synchronous MAC Address, and the L2/L3 forward process of standard is completed by the 3rd RB, this L2/L3 forward process is first user message repeating to the first main frame be connected with the 3rd RB.
Optionally, 2nd RB can also to the process learning of the TRILL message decapsulation mapping relations to the first MAC Address of the 3rd RB and the first main frame, thus give the 3rd RB by the first user message repeating after solution TRILL encapsulation, and completed the L2/L3 forward process of standard by the 3rd RB.
The second user's message that first main frame sends by the second MAC Address that the S811: the three RB sends according to the 2nd RB is encapsulated as the 2nd TRILL message, and sends to the 2nd RB; Wherein, the object Nickname of the 2nd TRILL message is Ingress RB.
2nd TRILL message repeating is given a RB by the S812: the two RB, to make a RB, according to the object Nickname of the 2nd TRILL message, the 2nd TRILL message be sent to Ingress RB, and send to the second main frame after making Ingress RB carry out TRILL decapsulation to the 2nd TRILL message.
Concrete, 3rd RB is after the second MAC Address that the second user's message and the 2nd RB that receive the first main frame transmission send, the second user's message that the first main frame received by self sends is encapsulated as the 2nd TRILL message, and the object Nickname of this TRILL message is the Ingress RB in this TRILL network.
Afterwards, the 2nd TRILL message is sent to the 2nd RB by the 3rd RB.It should be noted that when TRILL network return flow, the 2nd RB no longer performs the last two jump and ejects.The 2nd received TRILL message repeating is given a RB by the 2nd RB.Now, a RB can the TRILL forward process of operative norm, and the 2nd RB also can be asked to perform decapsulation to the 2nd TRILL message, and oneself only performs the forwarding of the second user's message.
The processing method of the multilink that the embodiment of the present invention provides translucent the Internet message, by carrying out the negotiation that ability is ejected in the last two jump between the Egress RB in TRILL network and the penultimate RB in TRILL network, when the penultimate RB in TRILL network has the last two jump ejection ability, replace Egress RB to carry out TRILL decapsulation to a TRILL message, obtain first user message; And complete the forwarding to first user message by Egress RB, thus avoid at the outside plug-in GW of TRILL network, reduce complexity and the cost of networking, also reduce the processing pressure on Egress RB simultaneously.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Figure 11 is the structural representation of the processing unit embodiment one of the translucent interconnected message of multi-link provided by the invention, this device is applicable to the translucent interconnected TRILL network of multi-link, described TRILL network comprises at least three network equipment RB, this device can be integrated in the 2nd RB in TRILL network, also can be the second RB, the 2nd RB be the penultimate RB in TRILL network.As shown in figure 11, this device comprises: the first receiver module 10, for receiving the TRILL message that a RB sends; Wherein, an above-mentioned RB is the forwarding network appliance Transit RB in above-mentioned TRILL network; Decapsulation module 11, for carrying out TRILL decapsulation to an above-mentioned TRILL message, obtains the first user message in an above-mentioned TRILL message; First sending module 12, for above-mentioned first user message is sent to the 3rd RB, to make above-mentioned 3rd RB by above-mentioned first user message repeating to first main frame interconnected with above-mentioned 3rd RB; Wherein, above-mentioned 3rd RB goes out network equipment EgressRB in above-mentioned TRILL network.
The processing unit of the translucent interconnected message of the multi-link that the embodiment of the present invention provides, can embodiment to perform the above method, and it realizes principle and technique effect is similar, does not repeat them here.
Figure 12 is the structural representation of the processing unit embodiment two of the translucent interconnected message of multi-link provided by the invention, on above-mentioned basis embodiment illustrated in fig. 11, said apparatus also comprises: the second receiver module 13, for receive at above-mentioned first receiver module 10 the one RB send a TRILL message before, receive the 3rd RB send the first request message; Wherein, above-mentioned first request message carries out TRILL decapsulation for asking above-mentioned decapsulation module 11 to an above-mentioned TRILL message; Second sending module 14, for sending the first response message to above-mentioned 3rd RB.
The processing unit of the translucent interconnected message of the multi-link that the embodiment of the present invention provides, can embodiment to perform the above method, and it realizes principle and technique effect is similar, does not repeat them here.
Further, on above-mentioned basis embodiment illustrated in fig. 12, further, said apparatus can also comprise capability negotiation module 15, for receive at described second receiver module 13 described 3rd RB send the first request message before, carry out the last two jump with described 3rd RB and eject capability negotiation, know to make described 3rd RB whether described 2nd RB has a ability described TRILL message being performed to TRILL decapsulation; Wherein, described 2nd RB is the last two jump RB in described TRILL network.Above-mentioned first sending module 12, comprise: the first receiving element 121, for receiving the first MAC address of above-mentioned first main frame that learns of the second user's message and the mapping relations of the 3rd RB that described 3rd RB that above-mentioned 3rd RB sends sends according to above-mentioned first main frame; First transmitting element 122, for sending to above-mentioned 3rd RB according to above-mentioned first MAC Address by above-mentioned first user message.
The processing unit of the translucent interconnected message of the multi-link that the embodiment of the present invention provides, can embodiment to perform the above method, and it realizes principle and technique effect is similar, does not repeat them here.
Figure 13 is the structural representation of the processing unit embodiment three of the translucent interconnected message of multi-link provided by the invention, on above-mentioned basis embodiment illustrated in fig. 12, said apparatus also comprises: study module 16, for carrying out TRILL decapsulation in above-mentioned decapsulation module 11 to a described TRILL message, after obtaining the first user message in an above-mentioned TRILL message, send the mapping relations entering network equipment I ngress RB in the second MAC Address of the second main frame of above-mentioned first user message and TRILL network according to the study of above-mentioned first user message; 3rd sending module 17, for above-mentioned second MAC Address is sent to above-mentioned 3rd RB, is encapsulated as the 2nd TRILL message to make above-mentioned 3rd RB by the second user's message that above-mentioned first main frame sends; Wherein, the object identification name Nickname of above-mentioned 2nd TRILL message is above-mentioned Ingress RB.
The processing unit of the translucent interconnected message of the multi-link that the embodiment of the present invention provides, can embodiment to perform the above method, and it realizes principle and technique effect is similar, does not repeat them here.
Figure 14 is the structural representation of the processing unit embodiment four of the translucent interconnected message of multi-link provided by the invention, on above-mentioned basis embodiment illustrated in fig. 13, said apparatus also comprises: the 3rd receiver module 18, after above-mentioned first user message being sent to the 3rd RB at above-mentioned first sending module 12, receive the above-mentioned 2nd TRILL message that above-mentioned 3rd RB sends; 4th sending module 19, for giving an above-mentioned RB by above-mentioned 2nd TRILL message repeating, to make a RB, according to the object Nickname of above-mentioned 2nd TRILL message, above-mentioned 2nd TRILL message be sent to above-mentioned Ingress RB, and send to above-mentioned second main frame after making above-mentioned Ingress RB carry out TRILL decapsulation to the 2nd TRILL message.
The processing unit of the translucent interconnected message of the multi-link that the embodiment of the present invention provides, can embodiment to perform the above method, and it realizes principle and technique effect is similar, does not repeat them here.
Figure 15 is the structural representation of the processing unit embodiment five of the translucent interconnected message of multi-link provided by the invention, and this device is applicable to the translucent interconnected TRILL network of multi-link, and described TRILL network comprises at least three network equipment RB.This device can be integrated in the 3rd RB in TRILL network, also can be the 3rd RB, the 3rd RB is the Egress RB in TRILL network.As shown in figure 15, this device comprises: the first receiver module 20, for receiving the first user message that the 2nd RB sends; Wherein, this first user message for the 2nd RB TRILL decapsulation is carried out to the TRILL message that a RB sends after the message that obtains; An above-mentioned RB is the forwarding network appliance TransitRB in above-mentioned TRILL network, and above-mentioned 2nd RB is the last two jump RB in TRILL network; First sending module 21, for sending to first main frame interconnected with said apparatus by above-mentioned first user message.
The processing unit of the translucent interconnected message of the multi-link that the embodiment of the present invention provides, can embodiment to perform the above method, and it realizes principle and technique effect is similar, does not repeat them here.
Figure 16 is the structural representation of the processing unit embodiment six of the translucent interconnected message of multi-link provided by the invention, on above-mentioned basis embodiment illustrated in fig. 16, this device also comprises: the second sending module 22, for receive at above-mentioned first receiver module 20 the 2nd RB send first user message before, send the first request message to above-mentioned 2nd RB; Wherein, above-mentioned first request message carries out TRILL decapsulation for asking the 2nd RB to an above-mentioned TRILL message; Second receiver module 23, for receiving the first response message that the 2nd RB sends.
The processing unit of the translucent interconnected message of the multi-link that the embodiment of the present invention provides, can embodiment to perform the above method, and it realizes principle and technique effect is similar, does not repeat them here.
On above-mentioned basis embodiment illustrated in fig. 16, further, said apparatus can also comprise capability negotiation module 24, before sending the first request message at described second sending module 22 to described 2nd RB, carry out the last two jump with described 2nd RB and eject capability negotiation, to know whether described 2nd RB has the ability of a described TRILL message being carried out to TRILL decapsulation.Above-mentioned first receiver module 20, comprising: unit 201, learns the first MAC Address of the first main frame and the mapping relations of the 3rd RB for the second user's message sent according to above-mentioned first main frame; Wherein, above-mentioned 3rd RB goes out network equipment Egress RB in TRILL network; Transmitting element 202, for the mapping relations of the first MAC Address of above-mentioned first main frame and the 3rd RB are sent to above-mentioned 2nd RB, to know according to above-mentioned first MAC address to make the 2nd RB and above-mentioned first user message is sent to the 3rd RB; Receiving element 203, for receiving the first user message that above-mentioned 2nd RB sends.
The processing unit of the translucent interconnected message of the multi-link that the embodiment of the present invention provides, can embodiment to perform the above method, and it realizes principle and technique effect is similar, does not repeat them here.
Figure 17 is the structural representation of the processing unit embodiment seven of the translucent interconnected message of multi-link provided by the invention, on above-mentioned basis embodiment illustrated in fig. 16, this device also comprises: the 3rd receiver module 25, for receive at above-mentioned first receiver module 20 the 2nd RB send first user message after, receive the 2nd RB send the second MAC Address and TRILL network in the mapping relations entering network equipment I ngress RB; Wherein, above-mentioned second MAC Address is the MAC Address of the second main frame of the above-mentioned first user message of transmission that the 2nd RB learns according to above-mentioned first user message; Package module 26, is encapsulated as the 2nd TRILL message for the mapping relations according to above-mentioned second MAC Address and Ingress RB by the second user's message that above-mentioned first main frame sends; Wherein, the object identification name Nickname of above-mentioned 2nd TRILL message is Ingress RB; 3rd sending module 27, for above-mentioned 2nd TRILL message is sent to the 2nd RB, to make the 2nd RB by above-mentioned 2nd TRILL message repeating to a RB.
The processing unit of the translucent interconnected message of the multi-link that the embodiment of the present invention provides, can embodiment to perform the above method, and it realizes principle and technique effect is similar, does not repeat them here.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.