CN102185782A - Data transmission method and device of multilink transparent transmission interconnection network - Google Patents

Data transmission method and device of multilink transparent transmission interconnection network Download PDF

Info

Publication number
CN102185782A
CN102185782A CN2011101290402A CN201110129040A CN102185782A CN 102185782 A CN102185782 A CN 102185782A CN 2011101290402 A CN2011101290402 A CN 2011101290402A CN 201110129040 A CN201110129040 A CN 201110129040A CN 102185782 A CN102185782 A CN 102185782A
Authority
CN
China
Prior art keywords
trill
frame
switch
data frame
ethernet data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101290402A
Other languages
Chinese (zh)
Other versions
CN102185782B (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201110129040.2A priority Critical patent/CN102185782B/en
Publication of CN102185782A publication Critical patent/CN102185782A/en
Application granted granted Critical
Publication of CN102185782B publication Critical patent/CN102185782B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a data transmission method and device of a multilink transparent transmission interconnection network, wherein the method comprises the following steps: a TRILL (Trill) exchanger receives a well-known unicast data frame, wherein the well-known unicast data frame comprises a TRILL data frame or an Ethernet data frame; if the TRILL data frame is received, the TRILL exchanger judges whether the TRILL exchanger is the TRILL exchanger at the penultimate hop of the TRILL data frame according to the information carried in the TRILL data frame and a TRILL forwarding table; and if a judging result is positive, the TRILL exchanger unpacks the TRILL data frame to obtain the Ethernet data frame and transmits the Ethernet data frame to the last hop of TRILL exchanger. By using the method, the problem that the ERB (Edge Router Bridge) processing performance in the traditional TRILL network turns into the performance bottleneck of Trill Campus can be solved.

Description

Multichain connects the data transmission method for uplink and the device thereof of transparent transmission interference networks
Technical field
The present invention relates to data communication field, relate in particular to data transmission method for uplink and device thereof that a kind of multichain connects transparent transmission interconnection (Transparent Interconnection of Lots of Link abbreviates TRILL as) network.
Background technology
Data center's (Data Center abbreviates DC as) is by realizing unified data definition and Naming conventions, concentrated data environment, thereby reaches the target of data sharing and utilization.Be accompanied by cloud computing, the rise of cloud storage, as the support of cloud---data center network is also being carried out the technology upgrading and the transformation of " for Yun Erbian ", has proposed various new technology thus, and TRILL is exactly one of them.Current TRILL becomes the virtualized standard of data center network just gradually, and is promoting the development of data center.
The switch of operation TRILL agreement, be called multi-layer switches (Route Bridge, abbreviate RBridge as), the bridge equipment that promptly has the routing forwarding characteristic, the TRILL network that is made up by RBridge is called TRILL campus, Rbridge is by the topology of the cognitive TRILL campus of link-state protocol (expanding by IS-IS (Intermediate System to Intermediate System, the routing protocol of Intermediate System-to-Intermediate System)) of operation oneself.And use the shortest path tree algorithm to generate the route forwarding table (being called TRILL transmits) that arrives each Rbridge in the TRILL campus from this Rbridge.RBridge is again by terminal address interaction protocol (End Station Address Distribution Information, abbreviate ESADI as) interactive learning MAC Address separately, Rbridge learns which Rbridge terminal MAC belongs to actually like this, when Rbridge receives common ethernet data frame (specially referring to 802.1 here) search MAC and transmit, if this mac source is from certain TRILL edge Rbridge, just Frame being converted to the TRILL Frame transmits in TRILLCampus, the TRILL Frame comprises active order Rbridge information, Rbridge then has the routing iinformation that arrives each Rbridge, Rbridge can transmit the TRILL Frame like this, when a Rbridge receives a TRILL Frame, the purpose Rbridge of this Frame is himself, decapsulation TRILL header then, obtain to enter at first the ethernet data frame of TRILL Campus, transmit again.
In the TRILL network, all RBridge all are Layer 2 switch, but three layers of routing function are arranged.Why saying that RBridge has routing function, is because the forwarding of Layer 2 data stream no longer as traditional Layer 2 switch, is transmitted by searching medium access control (Media Access Conrrol abbreviates MAC as) table; For edge RBridge, searching MAC earlier transmits, (Nickname has identified every RBridge to find the Nickname of the purpose RBridge of MAC correspondence then, it is one 16 unsigned character, by RBridge static configuration or dynamically generation), search TRILL according to Nickname again and transmit that (passing through ISIS) generate, ISIS finds to obtain the Nickname of adjacency by neighbours, and externally announce all neighbours that it is found, ISIS is by shortest path first (Shortest Path First, abbreviate SPF as) calculate arrive the path of each Nickname, and generate TRILL with this and transmit), be transmitted to next and jump RBridge; For middle RBridge, then, search TRILL and transmit directly according to the Nickname of purpose RBridge, be transmitted to next jumping.As seen, in the TRILL network, the forwarding of data flow is to search TRILL according to Nickname to transmit, and finds next jumping of purpose RBridge, transmits.That is to say that TRILL finds that by the Link State of introducing three layers of route agreement upgrades to the multi-layer switches that possess routing capabilities with Bridget before this as two layers of retransmission technique.
Figure 1A is the network topology schematic diagram that the TRILL network unicast message of prior art is transmitted, and Figure 1B to Fig. 1 E is the part-structure schematic diagram that the clean culture of TRILL network among Figure 1A is transmitted.In Figure 1A to Fig. 1 E, Host A and Host B are terminal equipment (End Station are called for short ES), and RB (being Rbridge) 1~RB5 constitutes the TRILL network, and (TRILL Campus, router TC) is in order to the message of transmission terminal equipment.Shown in Figure 1A, Host A will send a clean culture Ethernet message to Host B, specifically may further comprise the steps:
1, at first Host A sends unicast message to RB1, source, target MAC (Media Access Control) address are respectively A and B, RB1 receives this common message, searching MAC transmits, know that this MAC is positioned on the RB3 of TRILL network, so RB1 is this common message encapsulation TRILL head, Ingress RB is RB1, and Egress RB is RB3; RB1 searches the TRILL Nickname table (being that TRILL transmits) that arrives RB3 then, find next jumping that will arrive RB3 to be RB2, so it is the MAC Address of RB2 that RB1 fills Destination RBridge MAC Address, and fill the MAC Address that Source RBMAC Address is himself RB1, and this message is sent to RB2.
2, RB2 receives this message and finds it is the TRILL unicast message, its destination is RB3, RB2 directly searches TRILL and transmits, finding RB3 is exactly neighbours on own certain interface, so revising Destination RB MAC Address is the MAC Address of RB3, revise the MAC Address of Source RBridge MAC Address simultaneously, and transmit this message for himself RB2.
3, RB3 receives this TRILL message, finds that this message target TRILL Nickname is himself, this TRILL message of decapsulation then, and the message after the decapsulation is proceeded two layers of forwarding, is forwarded to Host B.
Said process is the unicast message pass-through mode of existing TRILL draft definition.In above-mentioned repeating process, on one side the network equipment RB3 that receiving side terminal equipment Host B connects connects TRILLCampus, Yi Bian connecting terminal equipment Host B, such equipment is called as edge RB (Edge Router Bridge is called for short ERB).Recipient's ERB, promptly RB3 needs elder generation to the decapsulation of TRILL message, and original Ethernet (Ethernet Type) the message decompress(ion) that encapsulates in the TRILL message is come out, and carries out two layers of forwarding according to the target MAC (Media Access Control) address in the original Ethernet message again.
In data center, it is big that transfer of data has transmitted data amount, and the data packet loss requires characteristics such as low.Above-mentioned ERB will check the TRILL message earlier, and decapsulation is transmitted according to the target MAC (Media Access Control) address in the original Ethernet message again, and handling process is long.Cause thus in TRILL Campus, the handling property of ERB becomes the performance bottleneck of TRILL Campus.
Summary of the invention
The invention provides a kind of data transmission method for uplink and device thereof of TRILL network, become the problem of the performance bottleneck of TRILL Campus in order to the handling property that solves the ERB in the existing TRILL network.
The invention provides a kind of data transmission method for uplink of TRILL network, comprising:
The TRILL switch receives well-known unicast data frames, and wherein well-known unicast data frames comprises: TRILL Frame or ethernet data frame;
If receive the TRILL Frame, then TRILL switch information of carrying according to the TRILL Frame and TRILL transmit and judge whether it is the last two jump TRILL switch of TRILL Frame;
If the result who judges is for being that then TRILL switch decapsulation TRILL Frame obtains ethernet data frame, and ethernet data frame is sent to final jump TRILL switch.
The present invention also provides a kind of data sending device of TRILL network, comprising:
Receiver module is used to receive well-known unicast data frames, and wherein well-known unicast data frames comprises: TRILL Frame or ethernet data frame;
First judge module, if receiver module receives the TRILL Frame, then information of carrying according to the TRILL Frame and TRILL transmit and judge whether current TRILL switch is the last two jump TRILL switch of TRILL Frame;
First processing module is if the result that first judge module is judged is for being that then decapsulation TRILL Frame obtains ethernet data frame;
First sending module is used for ethernet data frame is sent to final jump TRILL switch.
The invention provides a kind of data transmission method for uplink and device thereof of TRILL network, by being handled, the decapsulation of TRILL message transfers to first the RB processing (being second from the bottom RBridge) that links to each other with ERB, network packet is transmitted to ERB beyond after the decapsulation, ERB carries out two layers of forwarding according to the target MAC (Media Access Control) address in the Ethernet message, therefore ERB does not need to carry out TRILL message decapsulation processing and only carries out two layers of forwarding of Ethernet message, thereby improved the message forward efficiency of RBridge, improved the forwarding performance of TRILL Campus on the whole.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Figure 1A is the network topology schematic diagram that the clean culture of TRILL network in the prior art is transmitted;
Figure 1B to Fig. 1 E is the part-structure schematic diagram that the clean culture of TRILL network among Figure 1A is transmitted;
The flow chart of the data transmission method for uplink of the TRILL network that Fig. 2 provides for the embodiment of the invention one;
Fig. 3 is the schematic diagram of TRILL data frame format provided by the invention;
The flow chart of the data transmission method for uplink of the TRILL network that Fig. 4 provides for the embodiment of the invention two;
The flow chart of the data transmission method for uplink of the TRILL network that Fig. 5 provides for the embodiment of the invention three;
The flow chart of the data transmission method for uplink of the TRILL network that Fig. 6 provides for the embodiment of the invention four;
The flow chart of the data transmission method for uplink of the TRILL network that Fig. 7 A provides for the embodiment of the invention five;
Fig. 7 B to Fig. 7 E is the explanation schematic diagram of partial data frame of the data transmission method for uplink of TRILL network among Fig. 7 A;
The structural representation of the data sending device of the TRILL network that Fig. 8 provides for the embodiment of the invention six;
The structural representation of the data sending device of the TRILL network that Fig. 9 provides for the embodiment of the invention seven.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Main thought of the present invention is, existing TRILL retransmission technique is improved, and enters the last two jump decapsulation mechanism.Promptly on forward-path, first RB that links to each other with ERB transferred in the decapsulation processing of TRILL message handle (being second from the bottom RBridge), Ethernet after the decapsulation is transmitted to ERB, and ERB carries out two layers of forwarding according to the target MAC (Media Access Control) address in the Ethernet message.
The TRILL switch of Chu Xianing is present in TRILL Campus and moves the TRILL agreement in this article, is the Layer 2 switch with three layers of routing function.This TRILL switch promptly can be edge RBridge (promptly being connected with the RBridge of terminal equipment), also can be middle RBridge, and the present invention does not limit this.
The flow chart of the data transmission method for uplink of the TRILL network that Fig. 2 provides for the embodiment of the invention one.As shown in Figure 2, the method for present embodiment comprises:
S21, the TRILL switch receives well-known unicast data frames, and wherein, well-known unicast data frames comprises: TRILL Frame or ethernet data frame.Need explanation, according to the TRILL agreement, message forwarding is divided into two kinds of the forwardings of well-known unicast frame (Known-Unicast Frame) and many purposes frame (Multi-destination Frame).So-called well-known unicast frame is meant that the TRILL of the Ingress RBridge that receives this unicast frame transmits the middle Egress RBridge that has this MAC Address.Many purposes frame is meant the frame that must send to a plurality of destination addresses, comprises unknown name unicast frame, multicast frame and broadcast frame.Therefore said herein TRILL Frame refers in particular to well-known unicast frame.
In TRILL Campus, the Frame that the TRILL switch receives can be TRILL Frame or ethernet data frame.Understand the present invention for clear, below the form of TRILL Frame is simply introduced.As shown in Figure 3, in the ethernet data frame header, insert an external ethernet header data type (Outer Ethernet Header) and TRILL header data type (TRILL Header), be only initial Ethernet message afterwards.External ethernet header data type (Outer Ethernet Header) comprises outside target MAC (Media Access Control) address field, external source MAC Address field and outside VLAN TAG information, and TRILL header data type comprises: version field (V), reserved field (R), many destination fields/multicast field (M), selectable length field (Option Length), hop count field (Hop Count), outlet Rbridge identification field (Egress RBridge Nickname), inlet Rbridge identification field field informations such as (Ingress Rbridge Nickname).Its middle outlet Rbridge identification field is the target Rbridge of this TRILL, and just this message will be from this Rbridge outside TRILL Campus, and inlet Rbridge identification field is that message enters TRILL Campus from this Rbridge.There is an Outer-VLAN Inner-VLAN to be arranged for the 802.1q message at the TRILL packet outer layer, the VLAN that generates when corresponding respectively to the VLAN (VLAN) that uses for the TRILL forwarding and entering TRILL Campus at nexine.The content that inside Ethernet header data type shown in Fig. 3 and load are analogous to existing data frame format.In addition, also be included in the new Frame Check Sequence of increase in the Frame Check Sequence in the data frame format shown in Fig. 3.
S22, if the TRILL switch receives the TRILL Frame, then TRILL switch information of carrying according to the TRILL Frame and TRILL transmit and judge whether it is the last two jump TRILL switch of TRILL Frame.
According to present embodiment, the TRILL switch judges that whether it be that the last two jump TRILL switch of TRILL Frame can be judged in the following way.At first, the TRILL switch is resolved the target TRILL switch that the TRILL Frame obtains the TRILL Frame.Target TRILL switch herein refers to the RBridge of egress switch identification field parameter (the Egress RBridge Nickname) indication in the TRILL Frame.Then, the TRILL switch judge target TRILL switch whether be the directly-connected neighbor of TRILL switch and target TRILL switch whether be TRILL transmit next jump TRILL switch.Each TRILL switch among the TRILL Campus is all preserved its direct-connected RBridge neighbor list, can judge clearly by this neighbor list whether target TRILL switch is the directly-connected neighbor of TRILL switch.
S23, if the result who judges is for being, promptly this TRILL switch is the last two jump TRILL switch, then TRILL switch decapsulation TRILL Frame obtains ethernet data frame, and ethernet data frame is sent to final jump TRILL switch.Particularly, the TRILL switch removes the external ethernet header data type and/or the TRILL header data type of TRILL Frame, obtain initial ethernet data frame (Ethernet), and this ethernet data frame is forwarded to final jump TRILL switch (being the RBridge of Egress RBridge Nickname field indication).Thereby final jump TRILL switch is sent to terminal according to target MAC (Media Access Control) address with this ethernet data frame.
Data transmission method for uplink according to the TRILL network of present embodiment, by being handled, the decapsulation of TRILL message transfers to first the RB processing (being second from the bottom RBridge) that links to each other with ERB, Ethernet after the decapsulation is transmitted to ERB, ERB carries out two layers of forwarding according to the target MAC (Media Access Control) address in the Ethernet message, therefore ERB does not need to carry out TRILL message decapsulation processing and only carries out two layers of forwarding of Ethernet, thereby improved the message forward efficiency of RBridge, improved the forwarding performance of TRILL Campus on the whole.
The flow chart of the data transmission method for uplink of the TRILL network that Fig. 4 provides for the embodiment of the invention two.Present embodiment and embodiment one something in common repeat no more, and as shown in Figure 4, on the basis of flow process shown in the embodiment one, the data transmission method for uplink of TRILL network provided by the invention also comprises:
S24, if the TRILL switch is not the last two jump TRILL switch of TRILL Frame, the TRILL switch is transmitted according to TRILL the TRILL Frame is sent to next jumping TRILL switch.Whether the TRILL switch is that the determination methods of the last two jump TRILL switch please refer to S23 particularly, does not give unnecessary details herein.If the TRILL switch is not the last two jump TRILL switch of TRILL Frame, show that then the TRILL switch is the middle RBridge except that the last two jump TRILL switch, need carry out normal TRILL Frame transmits, this TRILL switch is according to the Nickname of purpose RBridge, search TRILL and transmit, Frame is sent to next jumps the TRILL switch.
In addition, if the Frame that the TRILL switch receives is not the TRILL Frame, but ethernet data frame please continue with reference to figure 5 and flow process shown in Figure 6.The flow chart of the data transmission method for uplink of the TRILL network that Fig. 5 provides for the embodiment of the invention three.Present embodiment repeats no more with embodiment two identical parts, and as shown in Figure 5, on the basis of flow process shown in the embodiment two, the data transmission method for uplink of TRILL network provided by the invention also comprises:
S31, the TRILL switch receives ethernet data frame, and this TRILL switch judges further whether ethernet data frame is to receive from its directly-connected neighbor interface;
S32, if the result who judges is not for, promptly ethernet data frame is not that directly-connected neighbor interface from the TRILL switch receives, and shows it is that terminal equipment sends original ethernet data frame to the TRILL switch herein, need be transmitted by the TRILL switch.Can particularly, the TRILL switch also needs further judgement: transmit the target MAC (Media Access Control) address that find ethernet data frame according to MAC, be divided into three kinds of processing modes of following S33-S35 according to the result who searches.
S33 if can find the target MAC (Media Access Control) address of ethernet data frame and transmit outlet and to receive outlet inconsistent, then transmits ethernet data frames for two layers.Show that herein the terminal equipment of receiving terminal and the terminal equipment of transmitting terminal are connected on same the TRILL switch, then this TRILL switch carries out two layers of forwarding with original ethernet data frame and gets final product.Concrete repeating process can not given unnecessary details with reference to prior protocols herein.
S34 exports consistently if can find the target MAC (Media Access Control) address of ethernet data frame and transmit outlet with receiving, and then directly abandons ethernet data frame.
S35 if can find the target MAC (Media Access Control) address of ethernet data frame and target MAC (Media Access Control) address and target TRILL switch to have mapping relations, then transmits according to TRILL and ethernet data frame is carried out TRILL transmits.Show it is that Ingress RBridge carries out the TRILL encapsulation to initial data frame herein, and transmit, the TRILL Frame is transmitted to next jumps RBridge according to TRILL.
The flow chart of the data transmission method for uplink of the TRILL network that Fig. 6 provides for the embodiment of the invention four.Present embodiment repeats no more with embodiment three identical parts, and as shown in Figure 6, on the basis of flow process shown in the embodiment three, the data transmission method for uplink of TRILL network provided by the invention also comprises:
S36 if ethernet data frame is to receive from its directly-connected neighbor interface, then transmits the target MAC (Media Access Control) address of searching ethernet data frame according to MAC.Show does not have the original ethernet data frame of TRILL packet header encapsulation to arrive the ERB that connects receiving terminal herein.Particularly, the TRILL switch also needs further to judge according to the result who searches, is divided into three kinds of processing modes of S37-S39 according to the result who judges.
S37 if can find the target MAC (Media Access Control) address of ethernet data frame and transmit outlet and to receive outlet inconsistent, then carries out two layers and transmits ethernet data frames to transmitting outlet.Show terminal equipment herein on the shared link between two RBridge, terminal equipment sends Frame.At this moment, the TRILL consultation is campaigned for out a DRB, transmits the Frame of terminal equipment.
S38 exports consistently if can find the target MAC (Media Access Control) address of ethernet data frame and transmit outlet with receiving, and then abandons ethernet data frame.Show terminal equipment herein on the shared link between two RBridge (RB1 and RB2), the terminal equipment receiving data frames.The mac address information that terminal equipment is arranged on RB1 and the RB2.When RB1 need send to terminal equipment with original ethernet data frame, because all on shared link, RB2 can receive the original ethernet data frame that RB1 sends.But to this Frame, RB2 can not transmit, and promptly for this scene, RB2 will abandon ethernet data frame and do the MAC termination.Can be by following condition judgment: initial data frame be received from the interface that directly-connected neighbor is arranged, and, destination address is that the forwarding outlet of the terminal equipment correspondence of receiving data frames exports consistent (transmitting judgement according to MAC gets final product) with reception from the directly-connected neighbor receiving data frames, then abandon this initial data frame, do not do forwarding.
RB2 can receive the original ethernet data frame that RB1 sends.But to this Frame, RB2 can not transmit, and promptly for this scene, RB2 will abandon ethernet data frame and do MAC termination, and is same " the ES1 Frame that also RB1 is sent to ES1 abandons.This moment, the interface " being above-mentioned interface " of back referred to the interface of RB1 to the interface of RB2 and/or RB1 to ES1.
S39, if can not find the target MAC (Media Access Control) address of ethernet data frame, then the vlan information that carries according to ethernet data frame is transmitted ethernet data frame to the port that all belong to all connecting terminal equipment of this VLAN.Show terminal equipment herein on the shared link between RB1 and RB2, the terminal equipment receiving data frames.Migration or MAC address aging take place in terminal equipment, and the routing iinformation of TRILL Campus does not upgrade in time, cause RB1 and RB2 to go up the mac address information of endless equipment.At this moment terminal equipment can only send this Frame to all connecting terminal device ports that belong to this VLAN with Frame.
Data transmission method for uplink below in conjunction with case description TRILL network of the present invention.The flow chart of the data transmission method for uplink of the TRILL network that Fig. 7 A provides for the embodiment of the invention five, Fig. 7 B to Fig. 7 E are the explanation schematic diagram of partial data frame of the data transmission method for uplink of TRILL network among Fig. 7 A.In Fig. 7 A to Fig. 7 E, RB1~RB5 is the RBridge that has realized TRILL PHP mechanism.ES1 and ES2 are 2 station terminal PC, and ES1 sends source MAC=ES1, and the ethernet data frame of purpose MAC=ES2 is given ES2.With reference to figure 7A to Fig. 7 E, specifically may further comprise the steps:
(1) RB1 receives the common ethernet data frame that ES1 sends, search MAC and transmit, know that this MAC is positioned on the RB5 of TRILL network, so RB1 is this common ethernet data frame encapsulation TRILL head, wherein Ingress Rbridge is RB1, and Egress Rbridge is RB5.RB1 searches the TRILL Nickname table (being that TRILL transmits) that arrives RB5 then, find next jumping that will arrive RB5 that RB3 is arranged, so it is the MAC Address of RB3 that RB1 fills Destination Rbridge MAC Address, and fill the MAC Address that Source Rbridge MACAddress is himself RB1, and this message is sent to RB3.
(2) RB3 receives this TRILL Frame, and Egress Rbridge is RB5, is not its direct-connected TRILL neighbours.So RB3 searches the TRILL Nickname table (being that TRILL transmits) that arrives RB5, find next jumping that will arrive RB5 that RB4 is arranged, so it is the MAC Address of RB4 that RB3 fills Destination RbridgeMAC Address, and fill the MAC Address that Source Rbridge MAC Address is himself RB3, and this message is sent to RB4.
(3) RB4 receives this TRILL Frame, and Egress Rbridge wherein is RB5, is its direct-connected TRILL neighbours.Search the TRILL Nickname table (being that TRILL transmits) that arrives RB5 simultaneously, find next jumping that will arrive RB5 that RB5 is arranged, so the original ethernet data frame in the RB4 decapsulation TRILL Frame is transmitted to RB5 with this Frame.
(4) RB5 receives this ethernet data frame, searches MAC and transmits, and finds that purpose MAC=ES2 is on its direct-connected physical port.So RB5 is transmitted to ES2 for two layers with this ethernet data frame.This flow process finishes.
In above-mentioned processing procedure, RB4 (being second from the bottom RBridge) decapsulation TRILL Frame obtains common ethernet data frame, and this ethernet data frame is sent to RB5 (being last RBridge), carry out two layers of forwarding by RB5, thereby improved the message forward efficiency of RB5.
The present invention also provides a kind of data sending device of TRILL network.
The structural representation of the data sending device of the TRILL network that Fig. 8 provides for the embodiment of the invention six.The functional module that the device of present embodiment can be used as the multi-layer switches in the TRILL network is arranged in the multi-layer switches, also can be independent of multi-layer switches and is connected with multi-layer switches.As shown in Figure 8, the device of present embodiment comprises: receiver module 81, first judge module 82, first processing module 83 and first sending module 84.
Wherein, receiver module 81 is used to receive well-known unicast data frames, and wherein well-known unicast data frames comprises: TRILL Frame or ethernet data frame; First judge module 82 is connected with receiver module 81, be used for if receiver module 81 receives the TRILL Frame, then information of carrying according to the TRILL Frame and TRILL transmit and judge whether current TRILL switch is the last two jump TRILL switch of TRILL Frame; First processing module 83 is connected with first judge module 82, is used for if the result that first judge module 82 is judged is for being that then decapsulation TRILL Frame obtains ethernet data frame; First sending module 84 is connected with first processing module 83, is used for the ethernet data frame that 83 decapsulations of first processing module obtain is sent to final jump TRILL switch.
Each functional module of the data sending device of the TRILL network of present embodiment can be used for carrying out the flow process of said method embodiment, and its concrete operation principle repeats no more, and sees the description of method embodiment for details.
The data sending device of the TRILL network of present embodiment, by being handled, the decapsulation of TRILL message transfers to first the RB processing (being second from the bottom RBridge) that links to each other with ERB, Ethernet after the decapsulation is transmitted to ERB, ERB carries out two layers of forwarding according to the target MAC (Media Access Control) address in the Ethernet message, therefore ERB does not need to carry out TRILL message decapsulation processing and only carries out two layers of forwarding of Ethernet, thereby improved the message forward efficiency of RBridge, improved the forwarding performance of Trill Campus on the whole.
The structural representation of the data sending device of the TRILL network that Fig. 9 provides for the embodiment of the invention seven.Present embodiment can realize that as shown in Figure 9, first judge module 82 further comprises based on embodiment six: analyzing sub-module 821 and judgement submodule 822.
Wherein, analyzing sub-module 821 is used to resolve the target TRILL switch that the TRILL Frame obtains the TRILL Frame; Judge that submodule 822 is connected with analyzing sub-module 821, be used to judge analyzing sub-module 821 resolve directly-connected neighbor that whether the target TRILL switch that obtains is current TRILL switch and target TRILL switch whether be TRILL transmit next jump TRILL switch, if the result who judges is for being that then current TRILL switch is the last two jump TRILL switch.Wherein, above-mentioned target TRILL switch is the TRILL switch of the egress switch identification field parameter indication of TRILL Frame.
Further, the data sending device of the TRILL network of present embodiment also comprises: second sending module 85, it is connected with first judge module 82, be used for if first judge module 82 is judged the last two jump TRILL switch that current TRILL switch is not described TRILL Frame, then transmit the TRILL Frame is sent to next jumping TRILL switch according to TRILL.Be under the situation of the last two jump TRILL switch only just, just call first processing module 83 and carry out the processing of decapsulation TRILL Frame at current TRILL switch at current TRILL switch; If current TRILL switch is not the last two jump TRILL switch, then directly call second sending module 85, transmit according to TRILL the TRILL Frame is sent to next jumping TRILL switch.
Need to prove that first sending module 84 and second sending module 85 can be two devices that are provided with respectively, also can unify setting.
Continuation is with reference to figure 9, and the data sending device of the TRILL network of present embodiment also comprises: second judge module 86, the first is searched module 87, the second processing modules 88, the second and is searched module 89, the three processing modules 90.
Wherein, second judge module 86 is connected with receiver module 81, is used for if receiver module 81 receives ethernet data frame, judges then whether ethernet data frame is to receive from its directly-connected neighbor interface.First searches module 87 is connected with second judge module 86, is used for if the result that second judge module 86 is judged for denying (being that ethernet data frame is not to receive from its directly-connected neighbor interface), then transmits the target MAC (Media Access Control) address of searching ethernet data frame according to MAC.Second processing module 88 and first is searched module 87 and is connected, and searches that module 87 can find and transmit outlet and to receive outlet inconsistent if be used for first, then transmits ethernet data frames for two layers; Can find and transmit outlet and receive export consistently if first searches module 87, then abandon ethernet data frame; Can find if first searches module 87, and there are mapping relations in target MAC (Media Access Control) address and target TRILL switch, then transmit and ethernet data frame is carried out TRILL transmit according to TRILL.
Second searches module 89 is connected with second judge module 86, is used for if the result that second judge module 86 is judged for being (being that ethernet data frame is to receive from its directly-connected neighbor interface), then transmits the target MAC (Media Access Control) address of searching ethernet data frame according to MAC.The 3rd processing module 90 and second is searched module 89 and is connected, and searches that module 89 can find and transmit outlet and to receive outlet inconsistent if be used for second, then carries out two layers and transmits ethernet data frames; Can find and transmit outlet and receive export consistently if second searches module 89, then abandon ethernet data frame; Can not find if second searches module 89, then the virtual LAN VLAN information of carrying according to ethernet data frame is transmitted ethernet data frame to the port that all belong to all connecting terminal equipment of this VLAN.
Need to prove that the first above-mentioned judge module 82 and second judge module, 86, the first processing modules 83, second processing module 88 and the 3rd processing module 90, the first are searched module 87 and second and searched module 89 and both can be provided with respectively, also can unify setting.
To sum up, according to technique scheme of the present invention, by being handled, the decapsulation of TRILL message transfers to first the RB processing (being second from the bottom RBridge) that links to each other with ERB, Ethernet after the decapsulation is transmitted to ERB, ERB carries out two layers of forwarding according to the target MAC (Media Access Control) address in the Ethernet message, therefore ERB does not need to carry out TRILL message decapsulation processing and only carries out two layers of forwarding of Ethernet, thereby improved the message forward efficiency of RBridge, improved the forwarding performance of TRILL Campus on the whole.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a multichain connects the data transmission method for uplink of transparent transmission interconnection TRILL network, it is characterized in that, comprising:
The TRILL switch receives well-known unicast data frames, and wherein said well-known unicast data frames comprises: TRILL Frame or ethernet data frame;
If receive the TRILL Frame, information that then described TRILL switch carries according to described TRILL Frame and TRILL transmit and judge whether it is the last two jump TRILL switch of described TRILL Frame;
If the result who judges is for being that the described TRILL Frame of then described TRILL switch decapsulation obtains ethernet data frame, and described ethernet data frame is sent to final jump TRILL switch.
2. method according to claim 1 is characterized in that, information that described TRILL switch carries according to described TRILL Frame and TRILL transmit and judge that whether it be that the last two jump TRILL switch of described TRILL Frame specifically comprises:
Described TRILL switch is resolved the target TRILL switch that described TRILL Frame obtains described TRILL Frame;
Described TRILL switch judge described target TRILL switch whether be the directly-connected neighbor of described TRILL switch and described target TRILL switch whether be described TRILL transmit next jump TRILL switch;
If the result who judges is for being that then described TRILL switch is the last two jump TRILL switch.
3. method according to claim 1 and 2 is characterized in that, if the last two jump TRILL switch that described TRILL switch is not described TRILL Frame, then described method also comprises:
Described TRILL switch is transmitted according to described TRILL described TRILL Frame is sent to next jumping TRILL switch.
4. method according to claim 1 and 2 is characterized in that, also comprises:
If receive ethernet data frame, then described TRILL switch judges further whether described ethernet data frame is to receive from its directly-connected neighbor interface;
If the result who judges is not, then transmit the target MAC (Media Access Control) address of searching described ethernet data frame according to medium access control MAC:
If it is inconsistent with the reception outlet to find and transmit outlet, then transmit described ethernet data frames for two layers;
If it is consistent with the reception outlet to find and transmit outlet, then abandon described ethernet data frame;
If can find, and there are mapping relations in described target MAC (Media Access Control) address and target TRILL switch, then transmits according to TRILL and described ethernet data frame is carried out TRILL transmit.
5. method according to claim 4 is characterized in that, also comprises:
If described ethernet data frame is to receive from its directly-connected neighbor interface, then transmit the target MAC (Media Access Control) address of searching described ethernet data frame according to MAC:
If it is inconsistent with the reception outlet to find and transmit outlet, then carries out two layers and transmit described ethernet data frames;
If it is consistent with the reception outlet to find and transmit outlet, then abandon described ethernet data frame;
If can not find, then the virtual LAN VLAN information of carrying according to described ethernet data frame is transmitted described ethernet data frame to the port that all belong to all connecting terminal equipment of this VLAN.
6. the data sending device of a TRILL network is characterized in that, comprising:
Receiver module is used to receive well-known unicast data frames, and wherein said well-known unicast data frames comprises: TRILL Frame or ethernet data frame;
First judge module is used for if described receiver module receives the TRILL Frame, and then information of carrying according to described TRILL Frame and TRILL transmit and judge whether current TRILL switch is the last two jump TRILL switch of described TRILL Frame;
First processing module is used for if the result that described first judge module is judged is for being that then the described TRILL Frame of decapsulation obtains ethernet data frame;
First sending module is used for described ethernet data frame is sent to final jump TRILL switch.
7. device according to claim 6 is characterized in that, described first judge module specifically comprises:
Analyzing sub-module is used to resolve the target TRILL switch that described TRILL Frame obtains described TRILL Frame;
Judge submodule, be used to judge described target TRILL switch whether be the directly-connected neighbor of current TRILL switch and described target TRILL switch whether be described TRILL transmit next jump TRILL switch, if the result who judges is for being that then current TRILL switch is the last two jump TRILL switch.
8. according to claim 6 or 7 described devices, it is characterized in that, also comprise:
Second sending module, be used for if described first judge module is judged the last two jump TRILL switch that current TRILL switch is not described TRILL Frame, then transmit described TRILL Frame is sent to next jumping TRILL switch according to described TRILL.
9. according to claim 6 or 7 described devices, it is characterized in that, also comprise:
Second judge module is used for if described receiver module receives ethernet data frame, judges then whether described ethernet data frame is to receive from its directly-connected neighbor interface;
First searches module, is used for if the result that described second judge module is judged for not, then transmits the target MAC (Media Access Control) address of searching described ethernet data frame according to MAC;
Second processing module searches that module can find and transmit outlet and to receive outlet inconsistent if be used for described first, then transmits described ethernet data frames for two layers; Can find and transmit outlet and receive export consistently if described first searches module, then abandon described ethernet data frame; Can find if described first searches module, and there are mapping relations in described target MAC (Media Access Control) address and target TRILL switch, then transmit and described ethernet data frame is carried out TRILL transmit according to TRILL.
10. device according to claim 9 is characterized in that, also comprises:
Second searches module, is used for if the result that described second judge module is judged is for being then to transmit the target MAC (Media Access Control) address of searching described ethernet data frame according to MAC;
The 3rd processing module searches that module can find and transmit outlet and to receive outlet inconsistent if be used for described second, then carries out two layers and transmits described ethernet data frames; Can find and transmit outlet and receive export consistently if described second searches module, then abandon described ethernet data frame; Can not find if described second searches module, then the virtual LAN VLAN information of carrying according to described ethernet data frame is transmitted described ethernet data frame to the port that all belong to all connecting terminal equipment of this VLAN.
CN201110129040.2A 2011-05-17 2011-05-17 Data transmission method and device of multilink transparent transmission interconnection network Expired - Fee Related CN102185782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110129040.2A CN102185782B (en) 2011-05-17 2011-05-17 Data transmission method and device of multilink transparent transmission interconnection network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110129040.2A CN102185782B (en) 2011-05-17 2011-05-17 Data transmission method and device of multilink transparent transmission interconnection network

Publications (2)

Publication Number Publication Date
CN102185782A true CN102185782A (en) 2011-09-14
CN102185782B CN102185782B (en) 2014-04-02

Family

ID=44571853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110129040.2A Expired - Fee Related CN102185782B (en) 2011-05-17 2011-05-17 Data transmission method and device of multilink transparent transmission interconnection network

Country Status (1)

Country Link
CN (1) CN102185782B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946305A (en) * 2012-10-22 2013-02-27 杭州华三通信技术有限公司 Method and equipment for synchronizing link state protocol data unit (LSP)
WO2014032412A1 (en) * 2012-08-30 2014-03-06 华为技术有限公司 Method, network device and system for sending and receiving packets
CN103780468A (en) * 2012-10-22 2014-05-07 中兴通讯股份有限公司 Method enabling smart terminal to be accessed to TRILL network, smart terminal and route network bridge
CN104052671A (en) * 2013-03-13 2014-09-17 杭州华三通信技术有限公司 Processing method of multicast forwarding entry in TRILL network and routing bridge
CN104348717A (en) * 2013-08-02 2015-02-11 杭州华三通信技术有限公司 Message forwarding method and device
CN104683230A (en) * 2013-11-28 2015-06-03 华为技术有限公司 Method and device for processing TRILL (Transparent Interconnection of Lots of Links) message
US20160065445A1 (en) * 2014-08-29 2016-03-03 International Business Machines Corporation Rbridge for routing and forwarding a data packet
CN105577542A (en) * 2015-12-25 2016-05-11 迈普通信技术股份有限公司 Packet forwarding method based on TRILL network and route bridge
CN105591927A (en) * 2015-12-25 2016-05-18 迈普通信技术股份有限公司 TRILL network-based message forwarding method and route bridge
CN105591897A (en) * 2015-11-16 2016-05-18 杭州华三通信技术有限公司 Method and device of MAC address synchronization of TRILL network
CN103841013B (en) * 2012-11-21 2017-06-16 新华三技术有限公司 Message forwarding method and equipment in TRILL network
US9762410B2 (en) 2012-06-07 2017-09-12 Huawei Technologies Co., Ltd. Method and device for clearing media access control forwarding entry
US10397023B2 (en) 2013-08-02 2019-08-27 Hewlett Packard Enterprise Development Lp Packet forwarding

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483595A (en) * 2009-02-18 2009-07-15 中兴通讯股份有限公司 Data forwarding method and system based on T-MPLS network
CN101035081B (en) * 2007-04-28 2010-04-21 杭州华三通信技术有限公司 Tunnel-based message forwarding method and label exchange router
US20100165995A1 (en) * 2008-12-29 2010-07-01 Juniper Networks, Inc. Routing frames in a computer network using bridge identifiers
EP2226973A1 (en) * 2009-03-04 2010-09-08 Juniper Networks, Inc. Routing frames in a TRILL network using service VLAN identifiers
US20110019678A1 (en) * 2009-07-24 2011-01-27 Juniper Networks, Inc. Routing frames in a shortest path computer network for a multi-homed legacy bridge node

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035081B (en) * 2007-04-28 2010-04-21 杭州华三通信技术有限公司 Tunnel-based message forwarding method and label exchange router
US20100165995A1 (en) * 2008-12-29 2010-07-01 Juniper Networks, Inc. Routing frames in a computer network using bridge identifiers
CN101483595A (en) * 2009-02-18 2009-07-15 中兴通讯股份有限公司 Data forwarding method and system based on T-MPLS network
EP2226973A1 (en) * 2009-03-04 2010-09-08 Juniper Networks, Inc. Routing frames in a TRILL network using service VLAN identifiers
US20110019678A1 (en) * 2009-07-24 2011-01-27 Juniper Networks, Inc. Routing frames in a shortest path computer network for a multi-homed legacy bridge node

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10277418B2 (en) 2012-06-07 2019-04-30 Huawei Technologies Co., Ltd. Method and device for clearing media access control forwarding entry
CN103475583B (en) * 2012-06-07 2017-11-17 华为技术有限公司 The method and apparatus for removing medium education forwarding-table item
US9762410B2 (en) 2012-06-07 2017-09-12 Huawei Technologies Co., Ltd. Method and device for clearing media access control forwarding entry
WO2014032412A1 (en) * 2012-08-30 2014-03-06 华为技术有限公司 Method, network device and system for sending and receiving packets
US9509607B2 (en) 2012-08-30 2016-11-29 Huawei Technologies Co., Ltd. Method, network device and system for sending and receiving packet
CN102946305B (en) * 2012-10-22 2016-04-27 杭州华三通信技术有限公司 A kind of synchronous method of Link State Protocol Data Unit and equipment
CN102946305A (en) * 2012-10-22 2013-02-27 杭州华三通信技术有限公司 Method and equipment for synchronizing link state protocol data unit (LSP)
CN103780468B (en) * 2012-10-22 2019-06-14 中兴通讯股份有限公司 Method, intelligent terminal and the route-bridge of intelligent terminal access TRILL network
CN103780468A (en) * 2012-10-22 2014-05-07 中兴通讯股份有限公司 Method enabling smart terminal to be accessed to TRILL network, smart terminal and route network bridge
CN103841013B (en) * 2012-11-21 2017-06-16 新华三技术有限公司 Message forwarding method and equipment in TRILL network
CN104052671A (en) * 2013-03-13 2014-09-17 杭州华三通信技术有限公司 Processing method of multicast forwarding entry in TRILL network and routing bridge
CN104052671B (en) * 2013-03-13 2018-01-12 新华三技术有限公司 The processing method and routing bridge of multicast forwarding list item in TRILL network
US10397023B2 (en) 2013-08-02 2019-08-27 Hewlett Packard Enterprise Development Lp Packet forwarding
CN104348717B (en) * 2013-08-02 2018-05-11 新华三技术有限公司 Message forwarding method and device
CN104348717A (en) * 2013-08-02 2015-02-11 杭州华三通信技术有限公司 Message forwarding method and device
CN104683230A (en) * 2013-11-28 2015-06-03 华为技术有限公司 Method and device for processing TRILL (Transparent Interconnection of Lots of Links) message
CN104683230B (en) * 2013-11-28 2018-09-07 华为技术有限公司 The treating method and apparatus of the translucent interconnection message of multi-link
US20160065445A1 (en) * 2014-08-29 2016-03-03 International Business Machines Corporation Rbridge for routing and forwarding a data packet
CN105450528B (en) * 2014-08-29 2018-06-08 国际商业机器公司 The method of routing forwarding and corresponding equipment are carried out to data packet
US10237083B2 (en) 2014-08-29 2019-03-19 International Business Machines Corporation RBridge for routing and forwarding a data packet
CN105450528A (en) * 2014-08-29 2016-03-30 国际商业机器公司 Method to routing forward data packet and corresponding device
CN105591897A (en) * 2015-11-16 2016-05-18 杭州华三通信技术有限公司 Method and device of MAC address synchronization of TRILL network
CN105591897B (en) * 2015-11-16 2018-12-11 新华三技术有限公司 The MAC Address synchronous method and device of TRILL network
CN105591927B (en) * 2015-12-25 2019-04-30 迈普通信技术股份有限公司 A kind of message forwarding method and routing bridge based on TRILL network
CN105591927A (en) * 2015-12-25 2016-05-18 迈普通信技术股份有限公司 TRILL network-based message forwarding method and route bridge
CN105577542B (en) * 2015-12-25 2019-05-14 迈普通信技术股份有限公司 A kind of message forwarding method and routing bridge based on TRILL network
CN105577542A (en) * 2015-12-25 2016-05-11 迈普通信技术股份有限公司 Packet forwarding method based on TRILL network and route bridge

Also Published As

Publication number Publication date
CN102185782B (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN102185782B (en) Data transmission method and device of multilink transparent transmission interconnection network
US10230577B2 (en) Packet broadcast mechanism in a split architecture network
US9614759B2 (en) Systems and methods for providing anycast MAC addressing in an information handling system
US8830998B2 (en) Separation of edge and routing/control information for multicast over shortest path bridging
CN105812259B (en) A kind of message forwarding method and equipment
CN102368727B (en) Crossed IP network TRILL network communication method, system thereof and devices
EP2600573B1 (en) Method for transmitting addresses correspondence relationship in second-layer protocol using link status routing
CN100563211C (en) The implementation method of a kind of virtual gateway, virtual subnet and system
US9819574B2 (en) Concerted multi-destination forwarding in a joint TRILL fabric and VXLAN/IP fabric data center
CN102957589B (en) Method, network node and system for service data transmission
US20130259050A1 (en) Systems and methods for multi-level switching of data frames
WO2022062506A1 (en) Data processing method and apparatus, storage medium, and electronic apparatus
CN104823417A (en) Transformation and unified control of hybrid networks composed of OpenFlow switches and other programmable switches
CN104660508A (en) Message forwarding method and device
CN103166874A (en) Message forwarding method and device
CN105450532A (en) Three-layer forwarding method and three-layer forwarding device in software defined network
CN102415065A (en) Redundant host connection in a routed network
CN102882781B (en) Method, route bridge and system for transmitting message
CN102244614B (en) Message forwarding method, system and routing switch
CN104065582A (en) Message transmission method and gateway device
CN105490957A (en) Load sharing method and device
KR20140016124A (en) Implementing control planes for hybrid networks
CN101789949A (en) Method and router equipment for realizing load sharing
CN102694714A (en) Method, device, system and a non-forwarder non-forwarding bridge for message transmission in TRILL network
US20130279513A1 (en) Systems and methods for pseudo-link creation

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
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Fujian Star-net Ruijie Network Co.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140402

CF01 Termination of patent right due to non-payment of annual fee