CN104601477B - The cut-in method and route bridging equipment of TRILL network - Google Patents

The cut-in method and route bridging equipment of TRILL network Download PDF

Info

Publication number
CN104601477B
CN104601477B CN201310533601.4A CN201310533601A CN104601477B CN 104601477 B CN104601477 B CN 104601477B CN 201310533601 A CN201310533601 A CN 201310533601A CN 104601477 B CN104601477 B CN 104601477B
Authority
CN
China
Prior art keywords
equipment
data message
trill
network
primary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310533601.4A
Other languages
Chinese (zh)
Other versions
CN104601477A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310533601.4A priority Critical patent/CN104601477B/en
Publication of CN104601477A publication Critical patent/CN104601477A/en
Application granted granted Critical
Publication of CN104601477B publication Critical patent/CN104601477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An embodiment of the present invention provides a kind of cut-in methods of TRILL network, including:The first route bridging RB equipment receives the first data message that at least one 2nd RB equipment is sent;The first RB equipment obtains the second data message according to first data message;The first RB equipment is by TRILL distribution trees, and into the TRILL network, at least one 3rd RB equipment sends second data message;The embodiment of the present invention also provides a kind of route bridging equipment.The technical solution provided according to embodiments of the present invention, to realize the autgmentability for improving TRILL network.

Description

The cut-in method and route bridging equipment of TRILL network
【Technical field】
The present invention relates to network communication technology more particularly to a kind of transparent multilink interconnections(Transparent Interconnect of Lots of Links, TRILL)The cut-in method and route bridging equipment of network.
【Background technology】
In the prior art, by coordinating multicast tree(Coordinated Multicast Trees, CMT)Method overcome In the case where more loose joints enter scene, the reverse path of data message forwards TRILL network(Reverse Path Forwarding, RPF) Check the retransmission failure problem of data message caused by failure.Referring to FIG. 1, its access for TRILL network in the prior art The network diagram of technology, as shown, customer edge(Customer Edge, CE)Equipment 1 is linked into route bridging simultaneously (Route Bridge, RB)1~RB of equipment equipment 3, root node(Root)1~Root3 is the TRILL distribution trees of TRILL network Root node, TRILL network is based on these three root nodes and builds three TRILL distribution trees, each node in TRILL distribution trees All it is RB equipment.Wherein, CE equipment 1 can access TRILL network by any RB equipment in RB 1~RB of equipment equipment 3, with reality Now send datagram to TRILL network;In the access scene of TRILL network, each RB equipment needs for being connect with CE equipment 1 Using different TRILL distribution trees, to realize the transmission of data message, for example, RB equipment 1 passes through using Root1 as root node TRILL distribution trees 1 transmit the data message that CE equipment 1 is sent, and RB equipment 2 passes through using Root2 as the TRILL distribution trees of root node The data message that 2 transmission CE equipment 1 are sent, RB equipment 3 by the TRILL distribution trees 3 of root node of Root3 by transmitting CE equipment 1 data message sent, if the data message that CE equipment 1 is sent reaches RB equipment N, RB equipment N due to from each TRILL of correspondence The inbound port of distribution tree all receives data message, therefore will not lead to the retransmission failure of data message caused by rpf check failure Problem.
However, the number of TRILL distribution trees is greater than or equal in CE equipment the number for accessing RB equipment simultaneously in the prior art The number of the connected RB equipment of the most CE equipment of mesh, therefore, the number of TRILL distribution trees is more in TRILL network, influences The autgmentability of TRILL network.
【Invention content】
In view of this, an embodiment of the present invention provides a kind of cut-in method of TRILL network and route bridging equipment, with reality Now improve the autgmentability of TRILL network.
In a first aspect, an embodiment of the present invention provides the cut-in method that a kind of transparent multilink interconnects TRILL network, packet It includes:
The first route bridging RB equipment receives the first data message that at least one 2nd RB equipment is sent;
The first RB equipment obtains the second data message according to first data message;
The first RB equipment is by TRILL distribution trees, and into the TRILL network, at least one 3rd RB equipment is sent Second data message.
In the first possible realization method of first aspect, the first RB equipment is according to first datagram Text obtains the second data message, including:
The first RB equipment carries out unicast decapsulation to first data message, to obtain third data message;
The first RB equipment carries out TRILL multicast encapsulation to the third data message, to obtain the second data message.
The possible realization method of with reference to first aspect the first, in second of possible realization method of first aspect In, first data message includes the mark of the alias and two-layer virtual network of ingress;The customer edge CE equipment is logical It crosses link aggregation group LAG to connect with the first RB equipment and at least one 2nd RB equipment, the LAG includes at least two A link;The method further includes:
The first RB equipment carries out horizontal segmentation inspection to the alias of the ingress;
If the first RB equipment checks the alias phase of the alias of ingress dummy node corresponding with the LAG Together, mark of the first RB equipment according to the two-layer virtual network, into the two-layer virtual network in addition to the CE Local member device send the third data message.
In the third possible realization method of first aspect, the method further includes:
The first RB equipment receives the 4th data that at least one 3rd RB equipment is sent described in the TRILL network Message;
The first RB equipment carries out TRILL multicast decapsulations to the 4th data message, to obtain the 5th datagram Text;
The first RB equipment detects the link state between the first RB equipment and the CE equipment;
If the first RB equipment detects that the link is normal, the first RB equipment passes through CE described in the chain road direction Equipment sends the 5th data message.
The third possible realization method with reference to first aspect, in the 4th kind of possible realization method of first aspect In, at least one 2nd RB equipment receives the 4th data that at least one 3rd RB equipment is sent described in TRILL network Message;The first RB equipment is the first primary RB equipment;The method further includes:
If the first primary RB equipment detects that the link between the described first primary RB equipment and the CE equipment goes out Existing failure, the first primary RB equipment sends TRILL protocol message at least one 2nd RB equipment, in order to described According to preset selection algorithm, at least one 2nd RB equipment select the second primary RB sets at least one 2nd RB equipment Standby, the second primary RB equipment carries out TRILL multicast decapsulations to the 4th data message, to obtain the 5th datagram Text, and send the 5th data message to the CE equipment.
Second aspect, an embodiment of the present invention provides the cut-in method that a kind of transparent multilink interconnects TRILL network, packets It includes:
Secondary route bridges RB equipment and obtains the first data message;
The 2nd RB equipment sends first data message to the first RB equipment, in order to the first RB equipment according to According to first data message, the second data message is obtained, and by TRILL distribution trees, at least into the TRILL network One the 3rd RB equipment sends second data message.
In the first possible realization method of second aspect, the 2nd RB equipment obtains the first data message, packet It includes:
The 2nd RB equipment receives the third data message that customer edge CE equipment is sent;
The 2nd RB equipment carries out unicast encapsulation to the third data message, to obtain the first data message.
The third aspect, an embodiment of the present invention provides a kind of route bridging equipment, the route bridging equipment is the first via By bridging RB equipment;The route bridging equipment includes:
Receiving unit, the first data message sent for receiving at least one 2nd RB equipment;
Processing unit, for according to first data message, obtaining the second data message;
Transmission unit, it is at least one into the TRILL network for interconnecting TRILL distribution trees by transparent multilink 3rd RB equipment sends second data message.
In the first possible realization method of the third aspect, the processing unit is specifically used for:
Unicast decapsulation is carried out to first data message, to obtain third data message;
TRILL multicast encapsulation is carried out to the third data message, to obtain the second data message.
In conjunction with the first possible realization method of the third aspect, in second of possible realization method of the third aspect In, first data message includes the mark of the alias and two-layer virtual network of ingress;The customer edge CE equipment is logical It crosses link aggregation group LAG to connect with the route bridging equipment and at least one 2nd RB equipment, the LAG includes at least Two links;The route bridging equipment further includes inspection unit;
The inspection unit carries out horizontal segmentation inspection for the alias to the ingress;
The transmission unit, if being additionally operable to the inspection unit checks that the alias of the ingress is corresponding with the LAG Dummy node alias it is identical, according to the mark of the two-layer virtual network, into the two-layer virtual network remove the CE Local member device in addition sends the third data message.
In the third possible realization method of the third aspect, the route bridging equipment further includes detection unit;
The receiving unit, is additionally operable to receive that at least one 3rd RB equipment described in the TRILL network sends the Four data messages;
The processing unit is additionally operable to carry out TRILL multicast decapsulations to the 4th data message, to obtain the 5th number According to message;
The detection unit, for detecting the link state between the first RB equipment and the CE equipment;
If the detection unit detects that the link is normal, the transmission unit, it is additionally operable to through the chain road direction institute It states CE equipment and sends the 5th data message.
In the 4th kind of possible realization method of the third aspect, at least one 2nd RB equipment receives TRILL nets The 4th data message that at least one 3rd RB equipment is sent described in network;
If the detection unit detects that the link between the described first primary RB equipment and the CE equipment breaks down, The transmission unit is additionally operable to send TRILL protocol message at least one 2nd RB equipment, in order to described at least one A 2nd RB equipment selects the second primary RB equipment according to preset selection algorithm at least one 2nd RB equipment, described Second primary RB equipment carries out TRILL multicast decapsulations to the 4th data message, to obtain the 5th data message, Yi Jixiang The CE equipment sends the 5th data message.
Fourth aspect, an embodiment of the present invention provides a kind of route bridging equipment, the route bridging equipment is the second tunnel By bridging RB equipment, the route bridging equipment includes:
Processing unit, for obtaining the first data message;
Transmission unit, for sending first data message to the first RB equipment, in order to the first RB equipment according to According to first data message, the second data message is obtained, and TRILL distribution trees are interconnected by transparent multilink, to described At least one 3rd RB equipment sends second data message in TRILL network.
In the first possible realization method of fourth aspect, the processing unit is specifically used for:
Receive the third data message that customer edge CE equipment is sent;
Unicast encapsulation is carried out to the third data message, to obtain the first data message.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantages that:
The data message that CE equipment is sent out all is sent to TRILL network by the first RB equipment, therefore, in TRILL network most The multicast distribution of data message can be realized there are one TRILL distribution trees less, and in the prior art, TRILL distribution trees Number be greater than or equal in CE equipment the number of number most the connected RB equipment of CE equipment for accessing RB equipment simultaneously Technical solution is compared, and the quantity of TRILL distribution trees greatly reduces in TRILL network, to improve the autgmentability of TRILL network.
【Description of the drawings】
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without having to pay creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the network diagram of the access technology of TRILL network in the prior art;
Fig. 2 is the flow diagram of the embodiment one of the cut-in method for the TRILL network that the embodiment of the present invention is provided;
Fig. 3 is the physical topology figure of the access for the TRILL network that the embodiment of the present invention is provided;
Fig. 4 is the logical topology chart of the access for the TRILL network that the embodiment of the present invention is provided;
Fig. 5 is the flow diagram of the embodiment two of the cut-in method for the TRILL network that the embodiment of the present invention is provided;
Fig. 6 is the physical topology figure of the access failure of TRILL network in the embodiment of the present invention;
Fig. 7 is the logical topology chart of the embodiment three of the cut-in method for the TRILL network that the embodiment of the present invention is provided;
Fig. 8 is the logical topology chart of the example IV of the cut-in method for the TRILL network that the embodiment of the present invention is provided;
Fig. 9 is the first functional block diagram of the route bridging equipment that the embodiment of the present invention is provided;
Figure 10 is the first structure schematic diagram for the route bridging equipment that the embodiment of the present invention is provided;
Figure 11 is the second functional block diagram of the route bridging equipment that the embodiment of the present invention is provided;
Figure 12 is the second structural schematic diagram of the route bridging equipment that the embodiment of the present invention is provided.
【Specific implementation mode】
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention below in conjunction with the accompanying drawings It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of cut-in method of TRILL network, referring to FIG. 2, it is institute of the embodiment of the present invention The flow diagram of the embodiment one of the cut-in method of the TRILL network of offer, as shown, this approach includes the following steps:
Step 201, the first RB equipment receives the first data message that at least one 2nd RB equipment is sent.
Specifically, each CE equipment in two-layer virtual network is set by a first RB equipment and at least one 2nd RB Standby access TRILL network, it is poly- by a link between each CE equipment and the first RB equipment and at least one 2nd RB equipment It is combined(Link Aggregation Group, LAG)Connection, each LAG include at least two links, and CE equipment is set with the first RB Standby or each 2nd RB equipment passes through a link connection in LAG.The CE equipment includes router, interchanger, service Device etc..
Since CE equipment needs to access a first RB equipment and at least one 2nd RB equipment, and TRILL nets by LAG RB equipment in network by data plane when carrying out MAC address learning, the RB learning equipment CE equipment of distal end in order to prevent MAC Address and cause saltus step, need for LAG create a dummy node, and for the dummy node distribute an alias (nickname), each RB equipment after the LAG receives data message, be required for using the dummy node alias carry out data The TRILL multicasts of message encapsulate, wherein can be that the LAG configures corresponding mark, the mark of LAG is as LAG entire Mark in TRILL network can also be used directly using the alias of the corresponding dummy nodes of the LAG as the mark of LAG The mark as the LAG such as preconfigured number, dummy node is one-to-one with LAG, can pass through the dummy node Alias find unique corresponding LAG.
For example, referring to FIG. 3, the physical topology figure of the access of its TRILL network provided by the embodiment of the present invention, such as Shown in figure, CE 1~CE of equipment equipment 4 belongs to a two-layer virtual network, wherein CE equipment 1 passes through 1~RB of RB equipment simultaneously Equipment 3 accesses TRILL network;CE equipment 1 passes through LAG1 connection RB 1~RB of equipment equipment 3.
In a first RB equipment being connect with CE equipment and at least one 2nd RB equipment, each CE equipment will be certainly The Routing Protocol that the mark of the corresponding LAG of body passes through Intermediate System-to-Intermediate System(Intermediate System to Intermediate System Routing Protocol, IS-IS)Link State Protocol Data Unit(Link State Protocol Data Unit, LSP)Message is distributed to all RB equipment in TRILL network, wherein is connect with CE equipment RB equipment selects a unique primary RB equipment by TRILL protocol, and in the present embodiment, which is above-mentioned first RB equipment, above-mentioned at least one 2nd RB equipment are spare RB equipment.
Wherein, the corresponding dummy node TRILL LSP protocol massages of LAG can be sent out by the first RB equipment, LSP messages Sequence number is periodically incremental, and the relevant parameter of dummy node includes a system banner(systemID)With at least one void The alias of quasi- node, the relevant parameter of above-mentioned dummy node can be pre-set by network administrator;CE equipment accesses multiple LSP messages transmitted by RB equipment include RB equipment and the neighborhood of dummy node, these RB equipment and dummy node it Between link spend(cost)Be worth it is identical, so that data message is sent to the dummy node by the distal end RB equipment in TRILL network When corresponding CE equipment, it can be transmitted by way of load balancing.
For example, referring to FIG. 4, the logical topology chart of the access of its TRILL network provided by the embodiment of the present invention, such as It is RB equipment 1,2 He of RB equipment to connect the primary RB equipment that the dummy node corresponding to the LAG1 of CE equipment 1 selects shown in figure RB equipment 3 is spare RB equipment, and all there are neighborhoods with dummy node for RB equipment 1, RB equipment 2 and RB equipment 3.
In the embodiment of the present invention, the same TRILL distribution trees, and the first RB is all added in all RB equipment in TRILL network Equipment is primary RB equipment, and therefore, each 2nd RB equipment receives CE by the link in LAG at least one 2nd RB equipment After the third data message that equipment is sent, unicast encapsulation is carried out to the third data message, to obtain the first data message, then First data message is sent to the first RB equipment, to realize spare RB equipment utilizations TRILL mode of unicast by the number of CE equipment Primary RB equipment is sent to according to message;Wherein, the alias and two comprising the alias of destination node, ingress in the first data message The mark of layer virtual network, wherein the alias of destination node is the alias of the first RB equipment, and the alias of ingress is set as virtual The alias of node;The mark of two-layer virtual network can be virtual LAN(Virtual Local Area Network, VLAN)ID or fine granulation label(Fine Gained Label);First RB equipment receives at least one 2nd RB equipment and sends The first data message.Wherein, the above-mentioned TRILL distribution trees in TRILL network further include except the first RB equipment, at least one the At least one 3rd RB equipment outside two RB equipment, the first RB equipment, at least one 2nd RB equipment and at least one 3rd RB Equipment is all the node of above-mentioned TRILL distribution trees, can be as the root node or child node of above-mentioned TRILL distribution trees.
It should be noted that in practical application, the mark of two-layer virtual network can be included in the first data message, also may be used With the mark not comprising two-layer virtual network;If the mark for the two-layer virtual network for including in the first data message, then first RB equipment can not change the mark of the two-layer virtual network, can also change the mark of the two-layer virtual network according to configuration. In the embodiment of the present invention, the data message that the first RB equipment or the 2nd RB equipment are sent to CE equipment includes two-layer virtual network Mark, and the first RB equipment or the 2nd RB equipment do not change the mark of the two-layer virtual network for illustrate.If CE In the data message that equipment is sent out, do not include two-layer virtual network mark, then receive data message the first RB equipment or 2nd RB equipment can increase the mark of corresponding two-layer virtual network according to local policy in data message.If datagram Include the mark of two-layer virtual network in text, and the mark of the two-layer virtual network needs to change, then needs to two-layer virtual net The mark of network is modified.Similarly, the data message for being received from TRILL network, it is also desirable to corresponding carry out inversely processing, For example, the mark of two-layer virtual network is deleted, alternatively, carrying out the inversely processing of above-mentioned modification.
For example, as shown in figure 3, RB equipment 2 and RB equipment 3 need to carry out the third data message received from CE equipment 1 Unicast encapsulates, and the first data message obtained after then encapsulating unicast is sent to RB equipment 1.
Step 202, the first RB equipment obtains the second data message according to first data message.
Specifically, the first RB equipment carries out unicast solution to the first data message that at least one 2nd RB equipment is sent Encapsulation, to obtain third data message, the third data message can be broadcast, unknown unicast, multicast(Broadcast、 Unknown Unicast, Multicast, BUM)Message.
The first RB equipment carries out TRILL multicast encapsulation to the third data message, to obtain the second data message, Second data message is made of heading and third data message, wherein the heading include TRILL multicasts mark and The mark of the root node of TRILL distribution trees in TRILL network;The TRILL multicasts mark is used to indicate second data message For multicast message;Second data message is for being sent to TRILL network, TRILL points in TRILL network belonging to the first RB equipment The root node of hair tree will receive second data message.
Step 203, the first RB equipment is by TRILL distribution trees, at least one 3rd RB into the TRILL network Equipment sends second data message.
Specifically, as shown in figure 3, the first RB equipment is after obtaining the second data message, into TRILL network, TRILL divides The root node of hair tree sends the second data message, so that the root node is at least one third under the TRILL distribution trees RB equipment sends second data message.
Wherein, root node sends second data message at least one 3rd RB equipment under the TRILL distribution trees May include:The root node of above-mentioned TRILL distribution trees is after obtaining the second data message, according to including in the second data message Multicast identifies, and knows that the second data message is multicast message, therefore, root node forwards second data to the child node of root node Message;Similar, child node, according to the multicast mark for including in the second data message, is known after receiving the second data message Second data message is multicast message, then forwards second data message to the child node of child node, and so on so that At least one 3rd RB equipment can receive the second data message under TRILL distribution trees.
It should be noted that due in the above-mentioned technical proposal of the embodiment of the present invention, the data message that CE equipment is sent out is complete Portion is sent to TRILL network by the first RB equipment, and the 3rd RB equipment that data message is received in TRILL network is not in The problem of rpf check fails.
It should be noted that if the alias for the ingress for including in the first data message is the alias of dummy node, indicate First RB equipment need not send the to the local member device in the corresponding two-layer virtual network of mark of two-layer virtual network Three data messages receive the third data message itself sent out to avoid local member device.
Optionally, the above method is further comprising the steps of:
The first RB equipment carries out horizontal segmentation inspection to the alias of the ingress;If the first RB equipment inspections It is identical to go out the alias alias of dummy node corresponding with the LAG of the ingress, the first RB equipment is according to described two The mark of layer virtual network, the local member device into the two-layer virtual network in addition to the CE send the third number According to message.
Specifically, the first RB equipment and at least one 2nd RB equipment all with the local member device in two-layer virtual network Connection, local member device can also include at least one other CE equipment, such as in Fig. 3 in addition to including above-mentioned CE equipment CE equipment 2.
First RB equipment needs to be sent in local member device except above-mentioned CE is set the third data message of acquisition simultaneously Standby other outer CE equipment, i.e. the first RB equipment replicates above-mentioned third data message, to obtain at least one third number According to message;The first RB equipment carries out horizontal segmentation inspection to the alias of the ingress, if the first RB equipment inspections It is identical to go out the alias alias of dummy node corresponding with the LAG of the ingress, then judge that third data message is on It states CE equipment and is sent to the 2nd RB equipment, then the first RB equipment does not send the third datagram to the CE equipment Text receives the third data message itself sent out to avoid the CE equipment, i.e., the described first RB equipment is according to institute The mark for stating two-layer virtual network, it is each local in the local member device into the two-layer virtual network in addition to the CE Member device all sends a third data message.
For example, as shown in figure 3, RB equipment 1 receive RB equipment 2 transmission the first data message after, to the first datagram Text carries out unicast decapsulation and is then replicated to third data message with obtaining third data message, will replicate the obtained Three data messages are sent to CE equipment 2, but RB equipment 1 cannot send third data message to CE equipment 1, to avoid to sending out The CE equipment 1 of third data message sends third data message, leads to loop occur, i.e., CE equipment 1 receives what itself sent out again Third data message.If the first RB equipment also with other CE equipment(Such as the CE equipment 2 in Fig. 3)It is connected, and the CE equipment is also led to It crosses LAG more to return and be linked into multiple RB equipment, these RB equipment do not include the first RB equipment that CE equipment 2 corresponds to LAG, then the first RB Equipment does not also send third data message to other CE equipment.
Referring to FIG. 5, the flow of the embodiment two of the cut-in method of its TRILL network provided by the embodiment of the present invention Schematic diagram is concrete methods of realizing of the first RB equipment by the data message forwarding received from TRILL network to CE equipment, is such as schemed Shown, this approach includes the following steps:
Step 501, the first RB equipment receives what at least one 3rd RB equipment described in the TRILL network was sent 4th data message.
Step 502, the first RB equipment carries out TRILL multicast decapsulations to the 4th data message, to obtain the Five data messages.
Specifically, since the 4th data message received from TRILL network is multicast message, the first RB equipment TRILL multicast decapsulations are carried out to the 4th data message, to obtain the 5th data message.
Step 503, the first RB equipment detects the link state between the first RB equipment and the CE equipment, if The first RB equipment detects that the link is normal, executes step 504, if the first RB equipment detects the link event Barrier executes step 505.
Specifically, the first RB equipment detects the link state between the first RB equipment and the CE equipment, if first RB equipment detects that the state of link is normal, thens follow the steps 504;If the first RB equipment detects that the state of link is different Often, it indicates that link breaks down, thens follow the steps 505.
Step 504, the first RB equipment sends the 5th data message by CE equipment described in the chain road direction.
Specifically, the first RB equipment directly sends the 5th data message by the normal link of state to CE equipment.
Step 505, the described first primary RB equipment sends TRILL protocol message at least one 2nd RB equipment, In order to which at least one 2nd RB equipment is according to preset selection algorithm, second is selected at least one 2nd RB equipment Primary RB equipment, the second primary RB equipment carry out TRILL multicast decapsulations to the 4th data message, to obtain the 5th Data message, and send the 5th data message to the CE equipment.
Specifically, in above-mentioned method shown in fig. 5, since TRILL identical with the first RB equipment is added in the 2nd RB equipment Distribution tree, if the 2nd RB equipment also receives the 4th data message, the 4th data message of the 2nd RB equipment pair carries out TRILL Multicast decapsulates, to obtain the 5th data message.
Due to the link failure between the first RB equipment and CE equipment, then the first RB equipment cannot send the to CE equipment Five data messages;First RB equipment sends TRILL protocol message at least one 2nd RB equipment, in order to it is described at least One the 2nd RB equipment selects the second primary RB equipment according to preset selection algorithm at least one 2nd RB equipment, choosing The 4th data message that the second primary RB equipment interconnections gone out receive carries out TRILL multicast decapsulations, to obtain the 5th datagram Then text sends the 5th data message to the CE equipment.
Referring to FIG. 6, its physical topology figure for the access failure of TRILL network in the embodiment of the present invention, as shown, CE equipment 4 sends the 4th data message to RB equipment 5, and RB equipment 5 is counted using the TRILL distribution trees in TRILL network by the 4th Be sent to RB 1~RB of equipment equipment 4 according to message, due between RB equipment 1 and CE equipment 1 link break down, RB equipment 1 to RB equipment 2 and RB equipment 3 send TRILL protocol message, and RB equipment 2 and RB equipment 3 are selected RB and set according to preset selection algorithm Standby 2 be the second primary RB equipment, therefore RB equipment 2 carries out TRILL multicast decapsulations to the 4th data message, to obtain the 5th number According to message, then the 5th data message is sent to CE equipment 1.
Referring to FIG. 7, the logic of the embodiment three of the cut-in method of its TRILL network provided by the embodiment of the present invention Topological diagram, as shown, when the first RB equipment failure as the first primary RB equipment, at least one 2nd RB equipment Each 2nd RB equipment can select the second primary RB equipment according to preset selection algorithm, new to re-elect out one Primary RB equipment, i.e., the second primary RB equipment.Wherein, each 2nd RB is set in the first RB equipment or at least one 2nd RB equipment The standby mark and the system banner of itself that can correspond to LAG to other RB device broadcasts itself in advance(System ID), in this way, After the first RB equipment breaks down, at least one 2nd RB equipment receives TRILL protocol message, knows that the first RB equipment occurs Failure, the then alias of the dummy node sent according to the first RB equipment, it is same to judge whether itself corresponds to the first RB equipment A dummy node, if the corresponding same dummy node, the 2nd RB equipment is according to the system banner of itself and other the 2nd RB The system banner of equipment selects a 2nd RB equipment as new primary RB equipment, for example, wherein system banner can be selected Maximum 2nd RB equipment is as new primary RB equipment.
For example, RB equipment 2 is the second primary RB equipment in Fig. 7, it is responsible for the work of RB equipment 1 by RB equipment 2, is counted to the 4th TRILL multicast decapsulations are carried out according to message, to obtain the 5th data message, then send the 5th data message to CE equipment 1, i.e., RB equipment 2 is equivalent to above-mentioned first RB equipment, executes and is operated accordingly in the above method.
If CE equipment accesses TRILL network by a first RB equipment and the 2nd RB equipment, as being primary After first RB equipment of RB equipment breaks down, by the 2nd RB equipment as primary RB equipment, CE equipment will become singly to return access TRILL network.
As shown in fig. 7, RB equipment 2 is after becoming primary RB equipment, to two layers of void belonging to TRILL network and RB equipment 1 Quasi- Web Publishing TRILL LSP messages indicate that RB equipment 2 is current to indicate the neighborhood of RB equipment 2 and dummy node Primary RB equipment.
The embodiment of the present invention gives a kind of cut-in method of TRILL network, referring to FIG. 8, it is the embodiment of the present invention The flow diagram of the example IV of the cut-in method of the TRILL network provided, as shown, this method includes following step Suddenly:
Step 801, the 2nd RB equipment obtains the first data message.
Specifically, the 2nd RB equipment receives the third data message that CE equipment is sent, to the third data message Unicast encapsulation is carried out, to obtain the first data message.
Step 802, the 2nd RB equipment sends first data message to the first RB equipment, in order to described first RB equipment obtains the second data message, and by TRILL distribution trees, to the TRILL nets according to first data message At least one 3rd RB equipment sends second data message in network.
The embodiment of the present invention, which further provides, realizes the device embodiment of each step and method in above method embodiment.
Referring to FIG. 9, the first functional block diagram of its route bridging equipment provided by the embodiment of the present invention, the routing Bridging device is above-mentioned first RB equipment, as shown, the route bridging equipment includes:
Receiving unit 90, the first data message sent for receiving at least one 2nd RB equipment;
Processing unit 91, for according to first data message, obtaining the second data message;
Transmission unit 92, for by TRILL distribution trees, at least one 3rd RB equipment to be sent out into the TRILL network Send second data message.
Wherein, the processing unit 91 is specifically used for:Unicast decapsulation is carried out to first data message, to obtain the Three data messages;TRILL multicast encapsulation is carried out to the third data message, to obtain the second data message.
Wherein, first data message includes the mark of the alias and two-layer virtual network of ingress;The CE equipment It is connect with the route bridging equipment and at least one 2nd RB equipment by LAG, the LAG includes at least two chains Road;The route bridging equipment further includes inspection unit 83;
The inspection unit 93 is additionally operable to carry out horizontal segmentation inspection to the alias of the ingress;
The transmission unit 92, if being additionally operable to the inspection unit 93 checks the alias of the ingress and the LAG The alias of corresponding dummy node is identical, and according to the mark of the two-layer virtual network, institute is removed into the two-layer virtual network It states the local member device other than CE and sends the third data message.
Wherein, the route bridging equipment further includes detection unit 94;
The receiving unit 90 is additionally operable to receive what at least one 3rd RB equipment described in the TRILL network was sent 4th data message;
The processing unit 91 is additionally operable to carry out TRILL multicast decapsulations to the 4th data message, to obtain the 5th Data message;
The detection unit 94, for detecting the link state between the first RB equipment and the CE equipment;
If the detection unit 94 detects that the link is normal, the transmission unit 92 is additionally operable to through the link The 5th data message is sent to the CE equipment.
Wherein, if the detection unit 94 detects that the link between the described first primary RB equipment and the CE equipment goes out Existing failure, the transmission unit 92 are additionally operable to send TRILL protocol message at least one 2nd RB equipment, in order to At least one 2nd RB equipment selects the second primary RB according to preset selection algorithm at least one 2nd RB equipment Equipment, the second primary RB equipment carries out TRILL multicast decapsulations to the 4th data message, to obtain the 5th datagram Text, and send the 5th data message to the CE equipment.
Referring to FIG. 10, the first structure schematic diagram of its route bridging equipment provided by the embodiment of the present invention.The road It is above-mentioned first RB equipment by bridging device, as shown, the route bridging equipment includes:
Receiver 100 receives the first data message that at least one 2nd RB equipment is sent.
Memory 101, for store include program routine information;
Processor 102 is coupled with receiver 100, memory 101 and transmitter 103, respectively for controlling described program example The execution of journey, specifically includes:According to first data message, the second data message is obtained.
Transmitter 103, for by TRILL distribution trees, at least one 3rd RB equipment to be sent into the TRILL network Second data message.
Wherein, receiver 100 corresponds to route bridging equipment receiving unit 90 shown in Fig. 9, and processor 102 corresponds to upper Processing unit 91 is stated, transmitter 103 corresponds to above-mentioned transmission unit 92.
1 is please referred to Fig.1, by the second functional block diagram of the route bridging equipment that the embodiment of the present invention provides, the road It is above-mentioned 2nd RB equipment by bridging device, as shown, the route bridging equipment includes:
Processing unit 110, for obtaining the first data message;
Transmission unit 111, for sending first data message to the first RB equipment, in order to the first RB equipment According to first data message, the second data message is obtained, and by TRILL distribution trees, extremely into the TRILL network Few 3rd RB equipment sends second data message.
Wherein, the processing unit 111 is specifically used for:Receive the third data message that CE equipment is sent;To the third Data message carries out unicast encapsulation, to obtain the first data message.
2 are please referred to Fig.1, by the second structural schematic diagram of the route bridging equipment that the embodiment of the present invention provides, the road It is above-mentioned 2nd RB equipment by bridging device, as shown, the route bridging equipment includes:
Memory 120, for store include program routine information;
Processor 121 couples respectively with memory 120 and transmitter 122, the execution for controlling described program routine, It specifically includes:Obtain the first data message;
Transmitter 122, for sending first data message to the first RB equipment, in order to the first RB equipment according to According to first data message, the second data message is obtained, and by TRILL distribution trees, at least into the TRILL network One the 3rd RB equipment sends second data message.
Wherein, processor 121 corresponds to above-mentioned processing unit 110, and transmitter 122 corresponds to above-mentioned transmission unit 111.
The technical solution of the embodiment of the present invention has the advantages that:
The data message that CE equipment is sent out all is sent to TRILL network by the first RB equipment, therefore, in TRILL network most The multicast distribution of data message can be realized there are one TRILL distribution trees less, and in the prior art, TRILL distribution trees Number be greater than or equal in CE equipment the number of number most the connected RB equipment of CE equipment for accessing RB equipment simultaneously Technical solution is compared, and the quantity of TRILL distribution trees greatly reduces in TRILL network, to improve the autgmentability of TRILL network, Data message forwarding failure caused by the rpf check failure of data message in TRILL network is solved the problems, such as simultaneously.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.

Claims (12)

1. a kind of cut-in method of transparent multilink interconnection TRILL network, which is characterized in that the method includes:
First route bridging RB equipment receives the first data message that at least one 2nd RB equipment is sent;
The first RB equipment obtains the second data message according to first data message;
The first RB equipment is by TRILL distribution trees, into the TRILL network described at least one 3rd RB equipment transmission Second data message;
Wherein, the first RB equipment obtains the second data message according to first data message, including:
The first RB equipment carries out unicast decapsulation to first data message, to obtain third data message;
The first RB equipment carries out TRILL multicast encapsulation to the third data message, to obtain the second data message;
Each customer edge CE equipment accesses TRILL network, institute by a first RB equipment and at least one 2nd RB equipment Customer edge CE equipment is stated by link aggregation group LAG and the first RB equipment and at least one 2nd RB equipment to connect It connects, the LAG includes at least two links.
2. according to the method described in claim 1, it is characterized in that, first data message includes the alias and two of ingress The mark of layer virtual network;The method further includes:
The first RB equipment carries out horizontal segmentation inspection to the alias of the ingress;
If the first RB equipment checks that the alias of the ingress alias of dummy node corresponding with the LAG is identical, Mark of the first RB equipment according to the two-layer virtual network, the sheet into the two-layer virtual network in addition to the CE Ground member device sends the third data message.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
The first RB equipment receives the 4th datagram that at least one 3rd RB equipment is sent described in the TRILL network Text;
The first RB equipment carries out TRILL multicast decapsulations to the 4th data message, to obtain the 5th data message;
The first RB equipment detects the link state between the first RB equipment and customer edge CE equipment;
If the first RB equipment detects that the link is normal, the first RB equipment passes through CE equipment described in the chain road direction Send the 5th data message.
4. according to the method described in claim 3, it is characterized in that, at least one 2nd RB equipment receives TRILL network Described in the 4th data message that sends of at least one 3rd RB equipment;The first RB equipment is the first primary RB equipment;Institute The method of stating further includes:
If the first primary RB equipment detects that event occurs in the link between the described first primary RB equipment and the CE equipment Barrier, the first primary RB equipment send TRILL protocol message at least one 2nd RB equipment, in order to it is described at least One the 2nd RB equipment selects the second primary RB equipment, institute according to preset selection algorithm at least one 2nd RB equipment It states the second primary RB equipment and TRILL multicast decapsulations is carried out to the 4th data message, to obtain the 5th data message, and The 5th data message is sent to the CE equipment.
5. a kind of cut-in method of transparent multilink interconnection TRILL network, which is characterized in that the method includes:
Secondary route bridges RB equipment and obtains the first data message;
The 2nd RB equipment sends first data message to the first RB equipment, in order to which the first RB equipment is according to institute The first data message is stated, obtains the second data message, and by TRILL distribution trees, it is at least one into the TRILL network 3rd RB equipment sends second data message;
Wherein, the first RB equipment obtains third data message after carrying out unicast decapsulation to first data message, then The second data message is obtained after carrying out TRILL multicast encapsulation to the third data message;
Each customer edge CE equipment accesses TRILL network, institute by a first RB equipment and at least one 2nd RB equipment Customer edge CE equipment is stated by link aggregation group LAG and the first RB equipment and at least one 2nd RB equipment to connect It connects, the LAG includes at least two links.
6. according to the method described in claim 5, it is characterized in that, the 2nd RB equipment obtain the first data message, including:
The 2nd RB equipment receives the third data message that customer edge CE equipment is sent;
The 2nd RB equipment carries out unicast encapsulation to the third data message, to obtain the first data message.
7. a kind of route bridging equipment, which is characterized in that the route bridging equipment is the first route bridging RB equipment;The road Include by bridging device:
Receiving unit, the first data message sent for receiving at least one 2nd RB equipment;
Processing unit, for according to first data message, obtaining the second data message;
Transmission unit, for interconnecting TRILL distribution trees, at least one third into the TRILL network by transparent multilink RB equipment sends second data message;
Wherein, the processing unit is specifically used for:
Unicast decapsulation is carried out to first data message, to obtain third data message;
TRILL multicast encapsulation is carried out to the third data message, to obtain the second data message;
Each customer edge CE equipment accesses TRILL network, institute by a first RB equipment and at least one 2nd RB equipment Customer edge CE equipment is stated by link aggregation group LAG and the route bridging equipment and at least one 2nd RB equipment to connect It connects, the LAG includes at least two links.
8. route bridging equipment according to claim 7, which is characterized in that first data message includes ingress The mark of alias and two-layer virtual network;The route bridging equipment further includes inspection unit;
The inspection unit carries out horizontal segmentation inspection for the alias to the ingress;
The transmission unit, if being additionally operable to the inspection unit checks the alias of ingress void corresponding with the LAG The alias of quasi- node is identical, according to the mark of the two-layer virtual network, into the two-layer virtual network in addition to the CE Local member device send the third data message.
9. route bridging equipment according to claim 7, which is characterized in that the route bridging equipment further includes that detection is single Member;
The receiving unit is additionally operable to receive the 4th number that at least one 3rd RB equipment described in the TRILL network is sent According to message;
The processing unit is additionally operable to carry out TRILL multicast decapsulations to the 4th data message, to obtain the 5th datagram Text;
The detection unit, for detecting the link state between the first RB equipment and customer edge CE equipment;
If the detection unit detects that the link is normal, the transmission unit, it is additionally operable to through CE described in the chain road direction Equipment sends the 5th data message.
10. route bridging equipment according to claim 9, which is characterized in that at least one 2nd RB equipment receives The 4th data message that at least one 3rd RB equipment is sent described in TRILL network;The first RB equipment is first primary RB equipment;
If the detection unit detects that the link between the described first primary RB equipment and the CE equipment breaks down, described Transmission unit is additionally operable to send TRILL protocol message at least one 2nd RB equipment, in order to described at least one the Two RB equipment select the second primary RB equipment according to preset selection algorithm at least one 2nd RB equipment, and described second Primary RB equipment carries out TRILL multicast decapsulations to the 4th data message, to obtain the 5th data message, and to described CE equipment sends the 5th data message.
11. a kind of route bridging equipment, which is characterized in that the route bridging equipment is that secondary route bridges RB equipment, described Route bridging equipment includes:
Processing unit, for obtaining the first data message;
Transmission unit, for sending first data message to the first RB equipment, in order to which the first RB equipment is according to institute The first data message is stated, the second data message is obtained, and TRILL distribution trees are interconnected by transparent multilink, to the TRILL At least one 3rd RB equipment sends second data message in network;
Wherein, the first RB equipment obtains third data message after carrying out unicast decapsulation to first data message, then The second data message is obtained after carrying out TRILL multicast encapsulation to the third data message;
Each customer edge CE equipment accesses TRILL network, institute by a first RB equipment and at least one 2nd RB equipment Customer edge CE equipment is stated by link aggregation group LAG and the first RB equipment and at least one 2nd RB equipment to connect It connects, the LAG includes at least two links.
12. route bridging equipment according to claim 11, which is characterized in that the processing unit is specifically used for:
Receive the third data message that customer edge CE equipment is sent;
Unicast encapsulation is carried out to the third data message, to obtain the first data message.
CN201310533601.4A 2013-10-31 2013-10-31 The cut-in method and route bridging equipment of TRILL network Active CN104601477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310533601.4A CN104601477B (en) 2013-10-31 2013-10-31 The cut-in method and route bridging equipment of TRILL network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310533601.4A CN104601477B (en) 2013-10-31 2013-10-31 The cut-in method and route bridging equipment of TRILL network

Publications (2)

Publication Number Publication Date
CN104601477A CN104601477A (en) 2015-05-06
CN104601477B true CN104601477B (en) 2018-08-21

Family

ID=53126995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310533601.4A Active CN104601477B (en) 2013-10-31 2013-10-31 The cut-in method and route bridging equipment of TRILL network

Country Status (1)

Country Link
CN (1) CN104601477B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790757B (en) * 2016-12-29 2019-09-20 迈普通信技术股份有限公司 A kind of method and device that ARP entry updates
CN108259291B (en) 2016-12-29 2021-01-29 华为技术有限公司 VXLAN message processing method, device and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6937574B1 (en) * 1999-03-16 2005-08-30 Nortel Networks Limited Virtual private networks and methods for their operation
CN102223303A (en) * 2011-06-14 2011-10-19 杭州华三通信技术有限公司 Load equilibrium method based on transparent interconnection of lots of links (TRILL) and routing bridge (RB)
CN102638389A (en) * 2011-02-15 2012-08-15 中兴通讯股份有限公司 Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
CN102801622A (en) * 2012-08-14 2012-11-28 神州数码网络(北京)有限公司 Transmitting method and device for data messages
CN102857415A (en) * 2012-09-13 2013-01-02 华为技术有限公司 Routing bridge and device and method for controlling media access control address study
CN102868614A (en) * 2012-09-13 2013-01-09 杭州华三通信技术有限公司 Packet forwarding method in TRILL (transparent interconnection of lots of links) network and routing bridge
CN102970231A (en) * 2012-11-20 2013-03-13 中兴通讯股份有限公司 Multicast flow forwarding implementation method and routing bridge (RB)

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6937574B1 (en) * 1999-03-16 2005-08-30 Nortel Networks Limited Virtual private networks and methods for their operation
CN102638389A (en) * 2011-02-15 2012-08-15 中兴通讯股份有限公司 Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
CN102223303A (en) * 2011-06-14 2011-10-19 杭州华三通信技术有限公司 Load equilibrium method based on transparent interconnection of lots of links (TRILL) and routing bridge (RB)
CN102801622A (en) * 2012-08-14 2012-11-28 神州数码网络(北京)有限公司 Transmitting method and device for data messages
CN102857415A (en) * 2012-09-13 2013-01-02 华为技术有限公司 Routing bridge and device and method for controlling media access control address study
CN102868614A (en) * 2012-09-13 2013-01-09 杭州华三通信技术有限公司 Packet forwarding method in TRILL (transparent interconnection of lots of links) network and routing bridge
CN102970231A (en) * 2012-11-20 2013-03-13 中兴通讯股份有限公司 Multicast flow forwarding implementation method and routing bridge (RB)

Also Published As

Publication number Publication date
CN104601477A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN104135420B (en) A kind of method, equipment and the system of message forwarding
US9509522B2 (en) Forwarding multicast data packets
CN102368727B (en) Crossed IP network TRILL network communication method, system thereof and devices
CN104378297B (en) A kind of message forwarding method and equipment
CN104660508B (en) A kind of message forwarding method and device
CN103685022B (en) Message forwarding method and service provider network edge equipment
CN109218178A (en) A kind of message processing method and the network equipment
CN105933228A (en) Traffic engineering for bit indexed explicit replication
US20120131216A1 (en) Active-Active Multi-Homing Support for Overlay Transport Protocol
CN105991432A (en) Supplier rim router and method
US20130254356A1 (en) Systems and methods for recovery from network changes
JP2013507797A (en) Method and apparatus for exchanging routing information and establishing connections across multiple network regions
CN103841037B (en) The method and apparatus of multicast message forwarding
KR20140027455A (en) Centralized system for routing ethernet packets over an internet protocol network
CN102037685A (en) IP forwarding across a link state protocol controlled Ethernet network
CN100583800C (en) Method for multicast employing single static bidirectional sharing tree in flexible wire type tunnel
CN103746881B (en) Neighbor state detection method and device in EVI networks
CN103078800B (en) Mac address information control method in EVI network and edge device
CN104767680B (en) It route the method and apparatus being switched fast
CN104798350A (en) Virtual link aggregations across multiple fabric switches
CN102916888B (en) Multicast data transmission method and multicast data transmission device
CN101127637A (en) A method and system for realizing backup link of virtual private LAN service network
CN104579981B (en) A kind of multicast data packet forwarding method and apparatus
CN104702506B (en) A kind of message transmitting method, network node and message transfer system
CN104009919B (en) Message forwarding method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant