Nothing Special   »   [go: up one dir, main page]

CN102185782B - 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
CN102185782B
CN102185782B CN201110129040.2A CN201110129040A CN102185782B CN 102185782 B CN102185782 B CN 102185782B CN 201110129040 A CN201110129040 A CN 201110129040A CN 102185782 B CN102185782 B CN 102185782B
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.)
Expired - Fee Related
Application number
CN201110129040.2A
Other languages
Chinese (zh)
Other versions
CN102185782A (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

The data transmission method for uplink of multilink transparent transmission interconnection network and device thereof
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, referred to as TRILL) network.
Background technology
Data center (Data Center, referred to as DC) 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 technology upgrading and the transformation of " for Yun Erbian ", has proposed thus various new technology, 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, referred to as RBridge), the bridge equipment with routing forwarding characteristic, the TRILL network being built 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 shortest path tree algorithm to generate the route forwarding table (being called TRILL transmits) of each Rbridge from this Rbridge arrives TRILL campus.RBridge is again by terminal address interaction protocol (End Station Address Distribution Information, referred to as ESADI) interactive learning MAC Address separately, Rbridge learns which Rbridge terminal MAC belongs to actually like this, when receiving common ethernet data frame, Rbridge (specially refers to 802.1 here) and searches MAC transmit, if this mac source is from certain TRILL edge Rbridge, just Frame is converted to TRILL Frame forwards in TRILLCampus, TRILL data frame packet is containing active order Rbridge information, Rbridge has the routing iinformation that arrives each Rbridge, Rbridge can forward TRILL Frame like this, when a Rbridge receives a TRILL Frame, the object Rbridge of this Frame is himself, decapsulation TRILL header, obtain the ethernet data frame that enters at first TRILL Campus, forward again.
In TRILL network, all RBridge are all Layer 2 switch, but have three layers of routing function.Why saying that RBridge has routing function, is because the forwarding of Layer 2 data stream no longer as traditional Layer 2 switch, forwards by searching medium access control (Media Access Conrrol, referred to as MAC) table, for edge RBridge, first searching MAC transmits, then (Nickname has identified every RBridge to find the Nickname of the object RBridge that MAC is corresponding, it is the unsigned character of 16, by RBridge static configuration or dynamically generation), according to Nickname, search TRILL 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, referred to as SPF) calculate arrive the path of each Nickname, and with this, generate TRILL and transmit), be transmitted to down hop RBridge, for middle RBridge,, directly according to the Nickname of object RBridge, search TRILL and transmit, be transmitted to down hop.Visible, in TRILL network, the forwarding of data flow, is according to Nickname, to search TRILL to transmit, and finds the down hop of object RBridge, forwards.That is to say, TRILL, as two layers of retransmission technique, finds that by introducing the Link State of three layers of route agreement upgrades to Bridget before this multi-layer switches that possess routing capabilities.
Figure 1A is the network topology schematic diagram that the TRILL network unicast message of prior art forwards, and Figure 1B to Fig. 1 E is the part-structure schematic diagram of the unicast forwarding of TRILL network in Figure 1A.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 forms the router of TRILL network (TRILL Campus, TC), in order to the message of transmission terminal equipment.As shown in Figure 1A, Host A will send a clean culture Ethernet message to Host B, specifically comprises the following steps:
1, 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 encapsulates TRILL head, and Ingress RB is RB1, and Egress RB is RB3; Then RB1 searches the TRILL Nickname table (being that TRILL transmits) that arrives RB3, finding the down hop that will arrive RB3 is RB2, so RB1 fills the MAC Address that Destination RBridge MAC Address is RB2, 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 TRILL unicast message, its destination is RB3, RB2 directly searches TRILL and transmits, finding RB3 is exactly the neighbours on own certain interface, so revise the MAC Address that Destination RB MAC Address is RB3, revise the MAC Address that Source RBridge MAC Address is himself RB2 simultaneously, and forward this message.
3, RB3 receives this TRILL message, finds that this message target TRILL Nickname is for himself, this TRILL message of decapsulation, and the message after 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 connect terminal equipment Host B, such equipment is called as edge RB (Edge Router Bridge is called for short ERB).Recipient's ERB, RB3, needs first to the decapsulation of TRILL message, the original Ethernet encapsulating (Ethernet Type) message solution is pressed out, then carry out two layers of forwarding according to the target MAC (Media Access Control) address in original Ethernet message in TRILL message.
In data center, it is large that transfer of data has transmitted data amount, and data packet loss requires the features such as low.Above-mentioned ERB will first check TRILL message, decapsulation, then forward according to the target MAC (Media Access Control) address in original Ethernet message, 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, in order to solve the handling property of the ERB in existing TRILL network, become the problem of the performance bottleneck of TRILL Campus.
The data transmission method for uplink that the invention provides a kind of TRILL network, comprising:
TRILL switch receives well-known unicast data frames, and wherein well-known unicast data frames comprises: TRILL Frame or ethernet data frame;
If receive TRILL Frame, the information that TRILL switch carries according to TRILL Frame and TRILL transmit and judge whether it is the last two jump TRILL switch of TRILL Frame;
If the result of judgement is yes, 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, for receiving well-known unicast data frames, wherein well-known unicast data frames comprises: TRILL Frame or ethernet data frame;
The first judge module, if receiver module receives TRILL Frame, the information of carrying according to TRILL Frame and TRILL transmit and judge whether current TRILL switch is the last two jump TRILL switch of TRILL Frame;
The first processing module, if the result of the first judge module judgement is yes, decapsulation TRILL Frame obtains ethernet data frame;
The first sending module, for being sent to ethernet data frame final jump TRILL switch.
The invention provides a kind of data transmission method for uplink and device thereof of TRILL network, by being processed, the decapsulation of TRILL message transfer to the First RB being connected with ERB to process (being second from the bottom RBridge), beyond after decapsulation, network packet is transmitted to ERB, ERB carries out two layers of forwarding according to the target MAC (Media Access Control) address in 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 repeating efficiency of RBridge, improved on the whole the forwarding performance of TRILL Campus.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Figure 1A is the network topology schematic diagram of the unicast forwarding of TRILL network in prior art;
Figure 1B to Fig. 1 E is the part-structure schematic diagram of the unicast forwarding of TRILL network in Figure 1A;
The flow chart of the data transmission method for uplink of the TRILL network that Fig. 2 provides for the embodiment of the present 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 present 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 present 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 present 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 present 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 in Fig. 7 A;
The structural representation of the data sending device of the TRILL network that Fig. 8 provides for the embodiment of the present invention six;
The structural representation of the data sending device of the TRILL network that Fig. 9 provides for the embodiment of the present invention seven.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Main thought of the present invention is, existing TRILL retransmission technique is improved, and enters the last two jump decapsulation mechanism.On forward-path, the decapsulation of TRILL message is processed and transferred to the First RB being connected with ERB to process (being second from the bottom RBridge), Ethernet after decapsulation is transmitted to ERB, and ERB carries out two layers of forwarding according to the target MAC (Media Access Control) address in Ethernet message.
The TRILL switch occurring is in this article present in TRILL Campus and moves TRILL agreement, is the Layer 2 switch with three layers of routing function.This TRILL switch can be edge RBridge (being connected with the RBridge of terminal equipment), can be also 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 present invention one.As shown in Figure 2, the method for the present embodiment comprises:
S21, 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 TRILL agreement, the forwarding of message is divided into two kinds of the forwardings of well-known unicast frame (Known-Unicast Frame) and many objects frame (Multi-destination Frame).So-called well-known unicast frame refers to that the TRILL of the Ingress RBridge that receives this unicast frame transmits the Egress RBridge of middle this MAC Address of existence.Many objects frame refers to the frame that must send to a plurality of destination addresses, comprises unknown name unicast frame, multicast frames and broadcast frame.Therefore said TRILL Frame refers in particular to well-known unicast frame herein.
In TRILL Campus, the Frame that TRILL switch receives can be TRILL Frame or ethernet data frame.For clear, understand the present invention, below the form of TRILL Frame is simply introduced.As shown in Figure 3, in ethernet data frame header, insert an external ethernet header data type (Outer Ethernet Header) and TRILL header data type (TRILL Header), be only afterwards initial Ethernet message.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: the field informations such as version field (V), reserved field (R), many destination field/multicast fields (M), selectable length field (Option Length), hop count field (Hop Count), outlet Rbridge identification field (Egress RBridge Nickname), entrance Rbridge identification field (Ingress Rbridge Nickname).The target Rbridge that its middle outlet Rbridge identification field is this TRILL, namely this message will be from this Rbridge outside TRILL Campus, and entrance Rbridge identification field is that message enters TRILL Campus from this Rbridge.For 802.1q message, at TRILL packet outer layer, there is an Outer-VLAN to have an Inner-VLAN at nexine, correspond respectively to the VLAN generating when forwarding the VLAN (VLAN) using and entering TRILL Campus for TRILL.The content that inside Ethernet header data type shown in Fig. 3 and load are analogous to existing data frame format.In addition, in the data frame format shown in Fig. 3, be also included in and in Frame Check Sequence, increase new Frame Check Sequence.
S22, if TRILL switch receives TRILL Frame, the information that TRILL switch carries according to TRILL Frame and TRILL transmit and judge whether it is the last two jump TRILL switch of TRILL Frame.
According to the present embodiment, TRILL switch judges that whether it be that the last two jump TRILL switch of TRILL Frame can judge in the following way.First, TRILL switch is resolved the target TRILL switch that TRILL Frame obtains TRILL Frame.Target TRILL switch herein refers to the RBridge of egress switch identification field parameter (the Egress RBridge Nickname) indication in TRILL Frame.Then, TRILL switch judges whether target TRILL switch is whether directly-connected neighbor and the target TRILL switch of TRILL switch is the down hop TRILL switch that TRILL transmits.Each TRILL switch in TRILL Campus is preserved its direct-connected RBridge neighbor list, by this neighbor list, can clearly judge whether target TRILL switch is the directly-connected neighbor of TRILL switch.
S23, if the result of judgement is yes, this TRILL switch is the last two jump TRILL switch, TRILL switch decapsulation TRILL Frame obtains ethernet data frame, and ethernet data frame is sent to final jump TRILL switch.Particularly, TRILL switch removes 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 by this ethernet data frame.
According to the data transmission method for uplink of the TRILL network of the present embodiment, by being processed, the decapsulation of TRILL message transfer to the First RB being connected with ERB to process (being second from the bottom RBridge), Ethernet after decapsulation is transmitted to ERB, ERB carries out two layers of forwarding according to the target MAC (Media Access Control) address in 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 repeating efficiency of RBridge, improved on the whole the forwarding performance of TRILL Campus.
The flow chart of the data transmission method for uplink of the TRILL network that Fig. 4 provides for the embodiment of the present invention two.The present embodiment and embodiment mono-something in common repeat no more, and as shown in Figure 4, on the basis of flow process shown in embodiment mono-, the data transmission method for uplink of TRILL network provided by the invention also comprises:
S24, if TRILL switch is not the last two jump TRILL switch of TRILL Frame, TRILL switch is transmitted TRILL Frame is sent to down hop TRILL switch according to TRILL.Whether TRILL switch is that the determination methods of the last two jump TRILL switch please refer to S23 particularly, does not repeat herein.If TRILL switch is not the last two jump TRILL switch of TRILL Frame, show that TRILL switch is for the middle RBridge except the last two jump TRILL switch, need to carry out normal TRILL Frame forwards, this TRILL switch is according to the Nickname of object RBridge, search TRILL and transmit, Frame is sent to down hop TRILL switch.
In addition, if the Frame that TRILL switch receives is not TRILL Frame, but ethernet data frame, please continue to refer to the flow process shown in Fig. 5 and Fig. 6.The flow chart of the data transmission method for uplink of the TRILL network that Fig. 5 provides for the embodiment of the present invention three.The present embodiment and embodiment bis-something in common repeat no more, and as shown in Figure 5, on the basis of flow process shown in embodiment bis-, the data transmission method for uplink of TRILL network provided by the invention also comprises:
S31, TRILL switch receives ethernet data frame, and this TRILL switch further judges whether ethernet data frame is to receive from its directly-connected neighbor interface;
S32, if the result of judgement is no, ethernet data frame is not to receive from the directly-connected neighbor interface of TRILL switch, shows it is that terminal equipment sends original ethernet data frame to TRILL switch herein, need to be forwarded by TRILL switch.Can particularly, TRILL switch also needs further judgement: according to MAC, transmit the target MAC (Media Access Control) address that find ethernet data frame, according to the result of searching, be divided into tri-kinds of processing modes of following S33-S35.
S33, if can find the target MAC (Media Access Control) address of ethernet data frame and forward outlet and to receive outlet inconsistent, two layers forward ethernet data frames.Show that the terminal equipment of receiving terminal and the terminal equipment of transmitting terminal are connected on same TRILL switch herein, this TRILL switch carries out two layers of forwarding by original ethernet data frame.Concrete repeating process can, with reference to existing agreement, not repeat herein.
S34, exports unanimously if can find the target MAC (Media Access Control) address of ethernet data frame and forward outlet with receiving, and 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, transmits ethernet data frame is carried out to TRILL forwarding according to TRILL.Show it is that Ingress RBridge carries out TRILL encapsulation to initial data frame herein, and transmit according to TRILL, TRILL Frame is transmitted to down hop RBridge.
The flow chart of the data transmission method for uplink of the TRILL network that Fig. 6 provides for the embodiment of the present invention four.The present embodiment and embodiment tri-something in common repeat no more, and as shown in Figure 6, on the basis of flow process shown in embodiment tri-, 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, transmits according to MAC the target MAC (Media Access Control) address of searching ethernet data frame.Show not have the original ethernet data frame of TRILL packet header encapsulation to arrive the ERB that connects receiving terminal herein.Particularly, TRILL switch also needs further to judge according to the result of searching, according to the result of judgement, is divided into tri-kinds of processing modes of S37-S39.
S37, if can find the target MAC (Media Access Control) address of ethernet data frame and forward outlet and to receive outlet inconsistent, carries out two layers and forwards ethernet data frames to forwarding outlet.Show that terminal equipment is on the shared link between two RBridge herein, terminal equipment sends Frame.At this moment, TRILL consultation is campaigned for out a DRB, forwards the Frame of terminal equipment.
S38, exports unanimously if can find the target MAC (Media Access Control) address of ethernet data frame and forward outlet with receiving, and abandons ethernet data frame.Show that terminal equipment is on the shared link between two RBridge (RB1 and RB2) herein, terminal equipment receiving data frames.The mac address information that has terminal equipment on RB1 and RB2.When RB1 need to send to terminal equipment by original ethernet data frame, due to all on shared link, RB2 can receive the original ethernet data frame that RB1 sends.But to this Frame, RB2 can not forward, for this scene, RB2 will abandon ethernet data frame and do MAC termination.Can be by following condition judgment: initial data frame is from there being the interface of directly-connected neighbor to receive, and, destination address is that the forwarding outlet that the terminal equipment of receiving data frames is corresponding exports consistent (according to MAC, transmitting judgement) with the reception from directly-connected neighbor receiving data frames, abandon this initial data frame, do not forward.
RB2 can receive the original ethernet data frame that RB1 sends.But to this Frame, RB2 can not forward, for this scene, RB2 will abandon ethernet data frame and do MAC termination, same " the ES1 Frame that also RB1 is sent to ES1 abandons.Now interface " being above-mentioned interface " below refers 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, the vlan information carrying according to ethernet data frame, forwards ethernet data frame to all ports that belong to all connection terminal equipments of this VLAN.Show that terminal equipment is on the shared link between RB1 and RB2 herein, terminal equipment receiving data frames.There is migration or MAC address aging in terminal equipment, and the routing iinformation of TRILL Campus does not upgrade in time, causes the mac address information of the upper endless equipment of RB1 and RB2.At this moment terminal equipment can only send this Frame to all connection terminal equipment ports that belong to this VLAN by Frame.
The data transmission method for uplink of TRILL network of the present invention is described below in conjunction with example.The flow chart of the data transmission method for uplink of the TRILL network that Fig. 7 A provides for the embodiment of the present 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 in 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, ES1 transmission source MAC=ES1, and the ethernet data frame of object MAC=ES2 is to ES2.With reference to figure 7A to Fig. 7 E, specifically comprise the following 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 encapsulates TRILL head, wherein Ingress Rbridge is RB1, and Egress Rbridge is RB5.Then RB1 searches the TRILL Nickname table (being that TRILL transmits) that arrives RB5, find the down hop that will arrive RB5 to have RB3, so RB1 fills the MAC Address that Destination Rbridge MAC Address is RB3, 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 the down hop that will arrive RB5 to have RB4, so RB3 fills the MAC Address that Destination RbridgeMAC Address is RB4, 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 is wherein RB5, is its direct-connected TRILL neighbours.Search the TRILL Nickname table (being that TRILL transmits) that arrives RB5 simultaneously, find the down hop that will arrive RB5 to have RB5, so the original ethernet data frame in RB4 decapsulation TRILL Frame is transmitted to RB5 by this Frame.
(4) RB5 receives this ethernet data frame, searches MAC and transmits, and finds that object MAC=ES2 is on its direct-connected physical port.So RB5 is transmitted to ES2 by two layers of this ethernet data frames.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), by RB5, carry out two layers of forwarding, thereby improved the message repeating 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 present invention six.The functional module that the device of the present embodiment can be used as the multi-layer switches in TRILL network is arranged in multi-layer switches, also can be independent of multi-layer switches and be connected with multi-layer switches.As shown in Figure 8, the device of the present embodiment comprises: receiver module 81, the first judge module 82, the first processing module 83 and the first sending module 84.
Wherein, receiver module 81 is for receiving well-known unicast data frames, and wherein well-known unicast data frames comprises: TRILL Frame or ethernet data frame; The first judge module 82 is connected with receiver module 81, if receive TRILL Frame for receiver module 81, the information of carrying according to TRILL Frame and TRILL transmit and judge whether current TRILL switch is the last two jump TRILL switch of TRILL Frame; The first processing module 83 is connected with the first judge module 82, if be yes for the result of the first judge module 82 judgements, decapsulation TRILL Frame obtains ethernet data frame; The first sending module 84 is connected with the first processing module 83, for the ethernet data frame that the first processing module 83 decapsulations are obtained, is sent to final jump TRILL switch.
Each functional module of the data sending device of the TRILL network of the present embodiment can be used for carrying out the flow process of said method embodiment, and its specific works principle repeats no more, and refers to the description of embodiment of the method.
The data sending device of the TRILL network of the present embodiment, by being processed, the decapsulation of TRILL message transfer to the First RB being connected with ERB to process (being second from the bottom RBridge), Ethernet after decapsulation is transmitted to ERB, ERB carries out two layers of forwarding according to the target MAC (Media Access Control) address in 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 repeating efficiency of RBridge, improved on the whole the forwarding performance of Trill Campus.
The structural representation of the data sending device of the TRILL network that Fig. 9 provides for the embodiment of the present invention seven.The present embodiment can be realized based on embodiment six, and as shown in Figure 9, the first judge module 82 further comprises: analyzing sub-module 821 and judgement submodule 822.
Wherein, analyzing sub-module 821 obtains the target TRILL switch of TRILL Frame for resolving TRILL Frame; Judgement submodule 822 is connected with analyzing sub-module 821, for judging that analyzing sub-module 821 is resolved the target TRILL switch that obtains, be whether whether directly-connected neighbor and the target TRILL switch of current TRILL switch is the down hop TRILL switch that TRILL transmits, if the result of judgement is yes, 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 the present embodiment also comprises: the second sending module 85, it is connected with the first judge module 82, if the last two jump TRILL switch that is not described TRILL Frame for the current TRILL switch of the first judge module 82 judgement, transmits TRILL Frame is sent to down hop TRILL switch according to TRILL.Namely only in the situation that current TRILL switch is the last two jump TRILL switch, just calls the first processing module 83 and at current TRILL switch, carry out decapsulation TRILL Frame and process; If current TRILL switch is not the last two jump TRILL switch, directly call the second sending module 85, according to TRILL, transmit TRILL Frame is sent to down hop TRILL switch.
It should be noted that, the first sending module 84 and the second sending module 85 can be two devices that arrange respectively, also can unify setting.
Continuation is with reference to figure 9, and the data sending device of the TRILL network of the present embodiment also comprises: the second judge module 86, the first is searched module 87, the second processing modules 88, the second and searched module 89, the three processing modules 90.
Wherein, the second judge module 86 is connected with receiver module 81, if receive ethernet data frame for receiver module 81, judges whether ethernet data frame is to receive from its directly-connected neighbor interface.First searches module 87 is connected with the second judge module 86, if the result for the second judge module 86 judgements is no (being that ethernet data frame is not to receive from its directly-connected neighbor interface), according to MAC, transmit the target MAC (Media Access Control) address of searching ethernet data frame.The second processing module 88 and first is searched module 87 and is connected, if searched for first, module 87 can find and forward outlet and reception outlet is inconsistent, and two layers forward ethernet data frames; If first searches module 87, can find and forward outlet and receive export unanimously, abandon ethernet data frame; If first searches module 87, can find, and there are mapping relations in target MAC (Media Access Control) address and target TRILL switch, according to TRILL, transmit ethernet data frame is carried out to TRILL forwarding.
Second searches module 89 is connected with the second judge module 86, if the result judging for the second judge module 86 is for being (being that ethernet data frame is to receive from its directly-connected neighbor interface), according to MAC, transmits the target MAC (Media Access Control) address of searching ethernet data frame.The 3rd processing module 90 and second is searched module 89 and is connected, if searched for second, module 89 can find and forward outlet and reception outlet is inconsistent, carries out two layers and forwards ethernet data frames; If second searches module 89, can find and forward outlet and receive export unanimously, abandon ethernet data frame; If second searches module 89, can not find, the virtual LAN VLAN information of carrying according to ethernet data frame, forwards ethernet data frame to all ports that belong to all connection terminal equipments of this VLAN.
It should be noted that, the first above-mentioned judge module 82 and the second judge module 86, the first processing modules 83, the second processing module 88 and the 3rd processing module 90, the first are searched module 87 and second and are searched module 89 and both can arrange respectively, also can unify setting.
To sum up, according to technique scheme of the present invention, by being processed, the decapsulation of TRILL message transfer to the First RB being connected with ERB to process (being second from the bottom RBridge), Ethernet after decapsulation is transmitted to ERB, ERB carries out two layers of forwarding according to the target MAC (Media Access Control) address in 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 repeating efficiency of RBridge, improved on the whole the forwarding performance of TRILL Campus.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. multichain connects a data transmission method for uplink for transparent transmission interconnection TRILL network, it is characterized in that, comprising:
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 TRILL Frame, the information that 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 of judgement is yes, described in the decapsulation of described TRILL switch, TRILL Frame 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, the 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 judges whether described target TRILL switch is whether directly-connected neighbor and the described target TRILL switch of described TRILL switch is the down hop TRILL switch that described TRILL transmits;
If the result of judgement is yes, 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, described method also comprises:
Described TRILL switch is transmitted described TRILL Frame is sent to down hop TRILL switch according to described TRILL.
4. method according to claim 1 and 2, is characterized in that, also comprises:
If receive ethernet data frame, described TRILL switch further judges whether described ethernet data frame is to receive from its directly-connected neighbor interface;
If the result of judgement is no, according to medium access control MAC, transmit the target MAC (Media Access Control) address of searching described ethernet data frame:
If it is inconsistent with reception outlet to find and forward outlet, two layers forward described ethernet data frames;
If it is consistent with reception outlet to find and forward outlet, 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, according to TRILL, transmits described ethernet data frame is carried out to TRILL forwarding.
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, according to MAC, transmit the target MAC (Media Access Control) address of searching described ethernet data frame:
If it is inconsistent with reception outlet to find and forward outlet, carries out two layers and forward described ethernet data frames;
If it is consistent with reception outlet to find and forward outlet, abandon described ethernet data frame;
If can not find, the virtual LAN VLAN information of carrying according to described ethernet data frame, forwards described ethernet data frame to all ports that belong to all connection terminal equipments of this VLAN.
6. multichain connects a data sending device for transparent transmission interconnection TRILL network, it is characterized in that, comprising:
Receiver module, for receiving well-known unicast data frames, wherein said well-known unicast data frames comprises: TRILL Frame or ethernet data frame;
The first judge module, if receive TRILL Frame for described receiver module, the 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;
The first processing module, if be yes for the result of described the first judge module judgement, described in decapsulation, TRILL Frame obtains ethernet data frame;
The first sending module, for being sent to described ethernet data frame final jump TRILL switch.
7. device according to claim 6, is characterized in that, described the first judge module specifically comprises:
Analyzing sub-module, obtains the target TRILL switch of described TRILL Frame for resolving described TRILL Frame;
Judgement submodule, for judging whether described target TRILL switch is whether directly-connected neighbor and the described target TRILL switch of current TRILL switch is the down hop TRILL switch that described TRILL transmits, if the result of judgement is yes, current TRILL switch is the last two jump TRILL switch.
8. according to the device described in claim 6 or 7, it is characterized in that, also comprise:
The second sending module, if judge for described the first judge module the last two jump TRILL switch that current TRILL switch is not described TRILL Frame, transmit described TRILL Frame is sent to down hop TRILL switch according to described TRILL.
9. according to the device described in claim 6 or 7, it is characterized in that, also comprise:
The second judge module, if receive ethernet data frame for described receiver module, judges whether described ethernet data frame is to receive from its directly-connected neighbor interface;
First searches module, if be no for the result of described the second judge module judgement, according to MAC, transmits the target MAC (Media Access Control) address of searching described ethernet data frame;
The second processing module, if searched for described first, module can find and forward outlet and reception outlet is inconsistent, two layers forward described ethernet data frames; If described first searches module, can find and forward outlet and receive export unanimously, abandon described ethernet data frame; If described first searches module, can find, and there are mapping relations in described target MAC (Media Access Control) address and target TRILL switch, according to TRILL, transmit described ethernet data frame is carried out to TRILL forwarding.
10. device according to claim 9, is characterized in that, also comprises:
Second searches module, if be yes for the result of described the second judge module judgement, according to MAC, transmits the target MAC (Media Access Control) address of searching described ethernet data frame;
The 3rd processing module, if searched for described second, module can find and forward outlet and reception outlet is inconsistent, carries out two layers and forwards described ethernet data frames; If described second searches module, can find and forward outlet and receive export unanimously, abandon described ethernet data frame; If described second searches module, can not find, the virtual LAN VLAN information of carrying according to described ethernet data frame, forwards described ethernet data frame to all ports that belong to all connection terminal equipments 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 CN102185782A (en) 2011-09-14
CN102185782B true 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)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475583B (en) 2012-06-07 2017-11-17 华为技术有限公司 The method and apparatus for removing medium education forwarding-table item
CN103685036B (en) * 2012-08-30 2016-12-28 华为技术有限公司 Send, receive message method, the network equipment and system
CN102946305B (en) * 2012-10-22 2016-04-27 杭州华三通信技术有限公司 A kind of synchronous method of Link State Protocol Data Unit and equipment
CN103780468B (en) * 2012-10-22 2019-06-14 中兴通讯股份有限公司 Method, intelligent terminal and the route-bridge of intelligent terminal access TRILL network
CN103841013B (en) * 2012-11-21 2017-06-16 新华三技术有限公司 Message forwarding method and equipment in TRILL network
CN104052671B (en) * 2013-03-13 2018-01-12 新华三技术有限公司 The processing method and routing bridge of multicast forwarding list item in TRILL network
CN104348726B (en) 2013-08-02 2018-12-11 新华三技术有限公司 Message forwarding method and device
CN104348717B (en) * 2013-08-02 2018-05-11 新华三技术有限公司 Message forwarding method and device
CN104683230B (en) * 2013-11-28 2018-09-07 华为技术有限公司 The treating method and apparatus of the translucent interconnection message of multi-link
CN105450528B (en) * 2014-08-29 2018-06-08 国际商业机器公司 The method of routing forwarding and corresponding equipment are carried out to data packet
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
CN105577542B (en) * 2015-12-25 2019-05-14 迈普通信技术股份有限公司 A kind of message forwarding method and routing bridge based on TRILL network

Citations (3)

* 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
EP2226973A1 (en) * 2009-03-04 2010-09-08 Juniper Networks, Inc. Routing frames in a TRILL network using service VLAN identifiers

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8509248B2 (en) * 2008-12-29 2013-08-13 Juniper Networks, Inc. Routing frames in a computer network using bridge identifiers
US8125928B2 (en) * 2009-07-24 2012-02-28 Juniper Networks, Inc. Routing frames in a shortest path computer network for a multi-homed legacy bridge node

Patent Citations (3)

* 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
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

Also Published As

Publication number Publication date
CN102185782A (en) 2011-09-14

Similar Documents

Publication Publication Date Title
CN102185782B (en) Data transmission method and device of multilink transparent transmission interconnection network
US9614759B2 (en) Systems and methods for providing anycast MAC addressing in an information handling system
US10230577B2 (en) Packet broadcast mechanism in a split architecture network
CN100563211C (en) The implementation method of a kind of virtual gateway, virtual subnet and system
US8830998B2 (en) Separation of edge and routing/control information for multicast over shortest path bridging
EP2600573B1 (en) Method for transmitting addresses correspondence relationship in second-layer protocol using link status routing
CN102368727B (en) Crossed IP network TRILL network communication method, system thereof and devices
CN102970227B (en) The method and apparatus of VXLAN message repeating is realized in ASIC
CN105812259B (en) A kind of message forwarding method and equipment
US9819574B2 (en) Concerted multi-destination forwarding in a joint TRILL fabric and VXLAN/IP fabric data center
US20130259050A1 (en) Systems and methods for multi-level switching of data frames
CN104660508A (en) Message forwarding method and device
CN102244614B (en) Message forwarding method, system and routing switch
CN102415065A (en) Redundant host connection in a routed network
KR101391965B1 (en) Implementing control planes for hybrid networks
CN102882781B (en) Method, route bridge and system for transmitting message
WO2016177145A1 (en) Packet transmission method and device
CN102801625A (en) Method and device for double layered mutual communication in heterogeneous network
CN103139075B (en) A kind of message transmitting method and equipment
CN105490957A (en) Load sharing method and device
CN104065582A (en) Message transmission method and gateway device
CN105187311A (en) Message forwarding method and message forwarding device
US9699117B2 (en) Integrated fibre channel support in an ethernet fabric switch
CN102291305A (en) Method and device for implementing 6 to 4 relay routing, and message forwarding method
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
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.

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

Granted publication date: 20140402