CN106789532B - A kind of method and device of message forwarding - Google Patents

A kind of method and device of message forwarding Download PDF

Info

Publication number
CN106789532B
CN106789532B CN201611199379.9A CN201611199379A CN106789532B CN 106789532 B CN106789532 B CN 106789532B CN 201611199379 A CN201611199379 A CN 201611199379A CN 106789532 B CN106789532 B CN 106789532B
Authority
CN
China
Prior art keywords
mark
server
message
switching
avf
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
CN201611199379.9A
Other languages
Chinese (zh)
Other versions
CN106789532A (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201611199379.9A priority Critical patent/CN106789532B/en
Publication of CN106789532A publication Critical patent/CN106789532A/en
Application granted granted Critical
Publication of CN106789532B publication Critical patent/CN106789532B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/026Details of "hello" or keep-alive messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of method and devices of message forwarding, are related to field of communication technology, can be after the more than enough link switching AVF for returning access, other RB cannot learn the AVF information to after switching in time, thus the problem of broadcasting packet causes network congestion and the wasting of resources.Message forwarding method of the invention includes: that the first RB receives the first message that DRB is sent, the AVF after the corresponding switching of first server that the first message is used to that the first RB to be specified to access;When the mark of the first RB is identical with the mark of the AVF after switching, first RB sends the second message to the 2nd RB, 2nd RB is for accessing second server, for second message for the AVF after the corresponding switching of the 2nd RB study first server, the second message includes the mark of the AVF after VLAN mark, switching and the mark of the designated port after switching.During the present invention is suitable for returning the link switching AVF of access more.

Description

A kind of method and device of message forwarding
Technical field
The present invention relates to the method and devices that field of communication technology more particularly to a kind of message forward.
Background technique
In TRILL (Transparent Interconnection of Lots of Links, transparent interconnection of lots of links interconnection) In network, for the reliability of enhancing access, server accesses network by multiple RB (Routing Bridge, routing bridge), this Kind access way is known as returning access way more.But synchronization only has a RB, i.e. specified AVF (Appointed VLAN Forwarder specifies virtual LAN transponder) it can be the server forwarding data packets.And the process of specified AVF be by For DRB (Designated Routing Bridge specifies routing bridge) come what is completed, DRB can be the chain roads for returning access more One of RB undertake.After RB failure as AVF, DRB can specify other RB for more returning on access link as newly AVF。
As shown in Figure 1, server S erver A passes through simultaneously in RB1, RB2 and RB3 access TRILL network, wherein RB3 is DRB, in addition, the TRILL network further includes accessing the RB of other servers (such as: the RB4 of access Server B).Assuming that DRB refers to Determining RB1 as AVF is Server A forwarding data packets, and after RB1 failure, DRB can reassign RB2 as new AVF.So And would generally be there are two types of happening during AVF switching, the first situation, first RB1 externally notice AVF failure, in It is the mac address table of other RB accelerated ageing Server A, other RB, such as RB4 later, the data message sent to Server A Broadcast transmission is all walked, until the data message that Server A replys (or active transmission) reaches RB4, RB4 just can newly learn to arrive The MAC Address of Server A.If Server A does not send datagram, the data message of all forwardings of RB4 can all broadcast hair It send, this will cause network congestion, waste of resource.Second situation, if RB1 can not send notice (such as RB1 power-off restarting), The data message that RB4 is transmitted to ServerA will newly be learnt until the MAC Address of Server A by packet loss until RB4.
It can be seen that there are drawbacks described above for existing AVF handoff procedure, it is not able to satisfy the growth requirement of business.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of message forwarding, is able to solve the link switching for more returning access After AVF, other RB cannot learn the AVF information to after switching in time, so that broadcasting packet causes network congestion and the wasting of resources The problem of.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the present invention provides a kind of method of message forwarding, the method is interconnected applied to transparent interconnection of lots of links It include specified routing bridge DRB and routing bridge RB in TRILL network, in the TRILL network, which comprises
First RB receives the first message that the DRB is sent, and first message connects for specifying the first RB to be used as Specified virtual LAN transponder AVF after the corresponding switching of the first server entered, first message includes virtual local area The mark of AVF after netting VLAN mark, switching and the mark of the designated port after switching, the designated port are identified as institute State the mark of port of the first RB for accessing the first server;
When the mark of the first RB is identical with the mark of AVF after the switching, the first RB is sent out to the 2nd RB Send the second message, the 2nd RB is for accessing second server, and second message is for the 2nd RB study described the AVF after the corresponding switching of one server, second message include the mark of the AVF after the VLAN mark, the switching And the mark of the designated port after the switching.
Second aspect, the present invention provide the method for another message forwarding, and the method is interconnected applied to transparent interconnection of lots of links It include specified routing bridge DRB and routing bridge RB in TRILL network, in the TRILL network, which comprises
2nd RB receives the message that the first RB is sent, and the first RB is used for accessing first server, the 2nd RB In access second server, the message learns the AVF after the corresponding switching of the first server, institute for the 2nd RB State the mark and the designated port after switching that message includes the AVF after the corresponding VLAN mark of the first server, switching Mark;
2nd RB updates the mac address table of the first server so that updated described according to the message The mark for the AVF of the corresponding outlet RB of first server described in mac address table being identified as after the switching, and described first The mark for the designated port of the corresponding outlet port of server being identified as after the switching.
The third aspect, the present invention provide a kind of device of message forwarding, and described device is interconnected applied to transparent interconnection of lots of links It include specified routing bridge DRB and routing bridge RB in TRILL network, in the TRILL network, described device is as the first RB packet It includes:
Receiving unit, the first message sent for receiving the DRB, first message is for specifying the first RB Specified virtual LAN transponder AVF after the corresponding switching of first server as access, first message include void The mark of AVF after quasi- local area network VLAN mark, switching and the mark of the designated port after switching, the mark of the designated port Know the mark for being used to access the port of the first server for the first RB;
Transmission unit, for identifying in first message received with the receiving unit as the first RB When the mark of AVF after the switching is identical, the second message is sent to the 2nd RB, the 2nd RB is for accessing second service Device, second message learn the AVF after the corresponding switching of the first server, second message for the 2nd RB The mark of designated port after mark and the switching including the AVF after VLAN mark, the switching.
Fourth aspect, the present invention provide the device of another message forwarding, and described device is interconnected applied to transparent interconnection of lots of links It include specified routing bridge DRB and routing bridge RB in TRILL network, in the TRILL network, described device is as the 2nd RB packet It includes:
Receiving unit, for receiving the message of the first RB transmission, the first RB is for accessing first server, and described the Two RB are for accessing second server, after the message learns the corresponding switching of the first server for the 2nd RB AVF, the mark and the finger after switching that the message includes the AVF after the corresponding VLAN mark of the first server, switching The mark of fixed end mouthful;
Processing unit, the message for being received according to receiving unit update the MAC Address of the first server Table so that first server described in the updated mac address table it is corresponding outlet RB be identified as the switching after The mark of AVF, and the mark for the designated port of the corresponding outlet port of the first server being identified as after the switching.
A kind of method and device of message forwarding provided in an embodiment of the present invention, passes through first as the AVF after switching RB sends the second message to the 2nd RB of access second server, and the second message learns the first service for the 2nd RB AVF after the corresponding switching of device, the second message include switching after AVF mark and switching after specify port mark.Phase It is compared in the prior art can not only be learnt in time by the AVF failure of AVF bulletin, the 2nd RB for accessing second server before switching To the information of new AVF, before the information that the 2nd RB learns to new AVF can only broadcast transmitting message compare, the embodiment of the present invention 2nd RB of middle access second server can learn the mark and designated port of the AVF to after switching in time according to the second message Mark, to update the mac address table of first server, the 2nd RB by searching for first server after update mac address table It can be to first server unicast forwarding message.Therefore, the present invention can reduce in TRILL network because AVF switching after, access it The RB of his server without study in time to new AVF information and the case where broadcasting packet, and then avoid network congestion and money Source waste.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of TRILL network architecture diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of message forwarding provided in an embodiment of the present invention;
Fig. 3 is the method flow diagram of another message forwarding provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the device of message forwarding provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the device of another message forwarding provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other Embodiment shall fall within the protection scope of the present invention.
Embodiment in order to better understand the present invention, the network architecture of TRILL network as shown in connection with fig. 1 switch AVF Process is briefly described.As shown in Figure 1, server S erver A is accessed in TRILL network by RB1, RB2 and RB3, Server B is accessed in TRILL network by RB4.Wherein RB3 is the DRB returned on access link, RB1 where Server A more It is the specified AVF of Server A for the DRB, i.e., specified RB1 is Server A forwarding data packets.When RB1 breaks down, DRB is new AVF by reassigning RB2, i.e., specified RB2 is Server A forwarding data packets, this process is exactly that AVF is cut The process changed.
It should be noted that the embodiment of the present invention does not limit access server in TRILL network, the quantity of RB and clothes The concrete mode of business device access RB.
For ease of description, the corresponding RB of different server is subjected to area with " first ", " second " in the embodiment of the present invention Point, different server is distinguished with " first ", " second ".Such as: in the network architecture shown in Fig. 1, it can incite somebody to action Server A is known as first server, and Server A accesses TRILL network by RB1, RB2 and RB3, appoints in RB1, RB2 and RB3 One RB is known as the first RB, Server B is known as second server, the corresponding RB of second server is known as the 2nd RB.
It should be noted that " first ", " second " are used only for distinguishing different RB or different servers, do not limit Sequence between RB or between server.
The embodiment of the present invention provides a kind of method of message forwarding, can be applied in TRILL network as shown in Figure 1, such as Shown in Fig. 2, which comprises
101, the first RB receives the first message that the DRB is sent.
Wherein, for the first RB for accessing first server, first server accesses TRILL net more by the way of returning access Network, the first RB can be any one RB for more returning the chain road of access.
First message is used to specify the first RB as specified after the corresponding switching of first server of access Virtual LAN transponder AVF, first message include virtual LAN VLAN mark, switching after AVF mark and The mark of designated port after switching, the designated port are identified as the first RB for accessing the first server The mark of port.
Optionally, before this step, the first RB can send third message to DRB, and the third message learns for DRB The VLAN of first RB is identified, the mark of the port of the mark of the first RB and the first RB for accessing first server, here Third message can be TRILL hello packet.
As a kind of specific embodiment, the first message can be TRILL hello packet, when DRB needs to switch the first clothes Be engaged in device corresponding AVF when, new TRILL hello packet can be sent to the RB for the chain road for more returning access, the TRILL Hello Message includes the information of new AVF, and specifically, AVF information includes: VLAN mark, the mark of AVF, the mark of designated port. The mark of AVF refers to the pet name (Nickname) of the AVF in TRILL hello packet for first server distribution;Designated ends Mouthful mark refer to AVF access first server port mark, and the mark that AVF accesses the port of first server can be with It is obtained from the TRILL hello packet that the AVF is sent to DRB.
Illustratively, TRILL network as shown in connection with fig. 1 is RB1 with the AVF before the corresponding switching of Server A, switching For AVF afterwards is RB2, then the mark of the AVF after switching in TRILL hello packet at this time is the mark of RB2, specify The mark of port is the mark of the port of RB2 access Server A.
102, when the mark of the first RB is identical with the mark of the AVF after the switching, the first RB is to second RB sends the second message.
Wherein, the 2nd RB is for accessing second server.
Second message learns the AVF after the corresponding switching of the first server for the 2nd RB, and described the Two messages include the mark of the AVF after the VLAN mark, the switching and the mark of the designated port after the switching.
In addition, second message further include the AVF before the corresponding switching of first server mark and switching before The mark of designated port.
In practical application, the second message can be LSPDU (Link State Protocol Data Unit, link state Protocol Data Unit) message, abbreviation LSP message, when the second message is LSP message, LSP message include " SubTLV: Interested-VLAN " field and " SubTLV:Old-Interested-VLAN " field.
Specifically, " SubTLV:Interested-VLAN " field is the field that RFC standard defines, and includes in field " Nickname " is the mark of the first RB, and " Interested VLANS " is vlan list of the first RB as AVF." SubTLV: Old-Interested-VLAN " field is used to indicate the information of the AVF before switching, " Old-Nickname " for including in field For the mark for switching preceding AVF;" Old-Port " is the mark of the designated port of the AVF access links for returning access before switching more; " New-Nickname " is the mark of the mark of the AVF after switching;" New-Port " is the mark of the designated port after switching; " Interested VLANS " includes list of the first RB as the VLAN of AVF.
It should be noted that due to the mark for not including first server in LSP message, so only passing through " Old- Nickname " and " Old-Port " identify the server (being also likely to be one group of server) of designated port access.
As a kind of specific embodiment, when each RB for the chain road for more returning access can receive the first of DRB transmission After message, the first RB judges identifying whether and the mark for itself for the AVF in the first message after the corresponding switching of first server It is sensible same, if identical, show that the first RB is the AVF after switching, then the first RB sends the second message to the 2nd RB;If no Identical, after showing the first RB not and being switching AVF, the first RB update the information of the AVF locally saved.
Optionally, if the mark of the AVF after the first RB mark and switching is different, and when the first RB be the AVF before switching, Then the first RB sends notice message to the 2nd RB, fails for noticing the first RB as the information of AVF.
Illustratively, TRILL network as shown in connection with fig. 1 is RB1 with the AVF before the corresponding switching of Server A, switching AVF afterwards is RB2, and the RB for accessing Server B is RB4, and the first message is TRILLHello message, and the second message is LSP For message, when RB2 receives the TRILL hello packet of DRB transmission, due to the mark and TRILL hello packet of RB2 The mark of AVF after middle switching is identical, therefore RB2 sends LSP message to the 2nd RB.
When RB1 receives the TRILL hello packet of DRB transmission, due to the mark of the AVF after the mark and switching of RB1 Know difference, then, RB1 saves the information of AVF after the corresponding switching of Server A, and optionally, RB1 sends notice message to RB4, It fails for noticing RB1 as the information of AVF.
103, the 2nd RB receives the second message that the first RB is sent.
104, the 2nd RB updates the mac address table of the first server according to second message.
Wherein, first server described in the updated mac address table corresponding outlet RB is identified as described cut The mark of AVF after changing, and the designated port of the corresponding outlet port of the first server being identified as after the switching Mark.
As a kind of specific embodiment, the information of the 2nd RB AVF after extracting switching in the second message received is cut The information of AVF after changing includes the mark of the AVF after switching and the mark of the designated port after switching.Then, the 2nd RB root According to the mac address table for the first server that the information update of the AVF after switching is locally stored.
Specifically, when the second message is LSP message, the 2nd RB receives the LSP message of the first RB transmission.2nd RB is first First from AVF after the mark and switching of AVF after extraction switching in " SubTLV:Interested-VLAN " field of LSP message Vlan list;List further according to the VLAN of AVF after switching is extracted from " SubTLV:Old-Interested-VLAN " field The mark of the corresponding designated port of AVF before the mark of AVF, switching, switching before the corresponding switching of the list of the VLAN of AVF after switching Afterwards after the mark and switching of AVF the corresponding designated port of AVF mark.Then, the 2nd RB traverses the MAC Address being locally stored Table is searched the mark for the AVF of mac address table middle outlet RB being identified as before switching according to the vlan list of AVF after switching and is gone out The mac address table of the mark for the designated port of mouth port being identified as before switching, the as mac address table of first server.The Two RB update the outlet information of the mac address table of first server, and the mark for being exported RB is revised as the mark of the AVF after switching Know, the mark of outlet port is revised as the mark of the designated port after switching.
2nd RB is after having learnt the AVF information after switching, when second server has message to need to be sent to first service When device, the 2nd RB can find the mac address table of updated first server, be turned data message unicast by outlet RB Issue first server.
Illustratively, TRILL network as shown in connection with fig. 1 is RB1 with the AVF before the corresponding switching of Server A, second RB is RB4, and the designated port before switching is first port, and the AVF after switching is RB2, and the designated port after switching is second end Mouthful, the second message be LSP message for, when RB4 receive RB2 transmission LSP message when, RB4 from LSP message " SubTLV: The mark of RB2 and the vlan list of RB2 are extracted in Interested-VLAN " field;Further according to RB2 VLAN list from Extracted in " SubTLV:Old-Interested-VLAN " field the mark of RB1, the mark of first port, the mark of RB2 and The mark of second port.Then, RB4 searches the mark for being identified as RB1 of mac address table middle outlet RB according to the vlan list of RB2 The mac address table of knowledge and the mark for being identified as first port of outlet port, the as mac address table of Server A.RB4 updates The outlet information of the mac address table of Server A, the mark for being exported RB are revised as the mark of RB2, the mark of outlet port It is revised as the mark of second port.
A kind of method and device of message forwarding provided in an embodiment of the present invention, passes through first as the AVF after switching RB sends the second message to the 2nd RB of access second server, and the second message learns the first service for the 2nd RB AVF after the corresponding switching of device, the second message include switching after AVF mark and switching after specify port mark.Phase It is compared in the prior art can not only be learnt in time by the AVF failure of AVF bulletin, the 2nd RB for accessing second server before switching To the information of new AVF, before the information that the 2nd RB learns to new AVF can only broadcast transmitting message compare, the embodiment of the present invention 2nd RB of middle access second server can learn the mark and designated port of the AVF to after switching in time according to the second message Mark, to update the mac address table of first server, the 2nd RB by searching for first server after update mac address table It can be to first server unicast forwarding message.Therefore, the present invention can reduce in TRILL network because AVF switching after, access it The RB of his server without study in time to new AVF information and the case where broadcasting packet, and then avoid network congestion and money Source waste.
Further, on the basis of method shown in Fig. 2, in order to which complete datagram of the RB before and after AVF switching is presented The process of text forwarding, the embodiment of the invention also provides a kind of methods of Message processing, can operate with TRILL net shown in FIG. 1 In network, wherein RB1, RB2 and RB3 are used to access Server A, RB4 for accessing Server B, and the method is as shown in Figure 3 Include:
201, RB1, RB2 receive the first TRILL hello packet.
As a kind of specific embodiment, return other RB of DRB (RB3) the Xiang Duogui chain road of the chain road of access more (such as RB1 and RB2) sends the first TRILL hello packet, includes the first AVF information in the first TRILL hello packet, it is assumed that In the first AVF information, the mark for being identified as RB1 of AVF, designated port is first port.And return the chain road of access more RB1 and RB2 can receive the first TRILL hello packet.
202, the first AVF information in the first TRILL hello packet is stored.
As a kind of specific embodiment, other RB of the chain road of access is returned to receive the first TRILL Hello report more Wen Hou, other RB are by the mark of AVF in the first AVF information compared with the mark of itself.The mark of RB2 and RB3 and AVF is not Together, then RB2 and RB3 respectively by the information preservation of the first AVF in local.
203, the first Ethernet data message that RB1 forwards Server A to send.
As a kind of specific embodiment, RB1 is identical as the mark of AVF, and RB1 forwards data as AVF, for Server A Message.RB1 receives the first Ethernet data message that Server A is sent from first port, wherein the mark of first port It is used to access the mark of the interface of Server A for RB1.First Ethernet data message is encapsulated as the first TRILL data by RB1 Message, the first TRILL data message include: the mark of entrance RB (RB1), the mark and first port for exporting RB (RB4) Mark.The mark of first port can be encapsulated in the Optional Field of the head TRILL.
After RB4 receives the first TRILL data message, the first TRILL data message is decapsulated, obtains internal layer One Ethernet data message.RB4 learns the mac address table of Server A, mac address table packet according to the first Ethernet data message It includes: the mark of MAC, VLAN, RB1 and the mark of first port.
It should be noted that not limiting the ordinal relation of step 202 and 203 here.
204, RB1 and RB2 receives the 2nd TRILL hello packet.
It include the 2nd AVF information in the 2nd TRILL hello packet, it is assumed that second as a kind of specific embodiment In AVF information, the mark for being identified as RB2 of AVF, the mark for being identified as second port of designated port.
This step specific implementation can refer to step 201, not repeat to repeat herein.
205, the AVF information being locally stored is updated.
As a kind of specific embodiment, when the mark of AVF is different with the mark of itself, RB1 and RB3 then update this respectively The AVF information that ground saves.Optionally, RB1 sends notice message to RB4, for informing that RB1 has failed as the information of AVF.
206, RB2 sends LSP message to RB4.
As a kind of specific embodiment, when the mark of AVF is identical with the mark of itself, RB2 then as switching after AVF sends LSP message to RB4, includes VLAN mark, the mark of RB1, the mark of first port, the mark of RB2 in LSP message And the mark of second port.
It should be noted that not limiting the ordinal relation of step 205 and 206 here.
207, RB4 receives LSP message, updates the mac address table of Server A.
As a kind of specific embodiment, RB4 is according to the mark of VLAN, the mark of first port and RB1 in LSP message Identifier lookup local mac address table, find the mac address table for the Server A being locally stored, will in the mac address table go out The mark of mouth RB is revised as the mark of RB2, and the mark of outlet port is revised as to the mark of second port.
The specific implementation of update method can refer to step 104, not repeat to repeat herein.
208, the second Ethernet data message that RB4 forwards Sever B to send.
As a kind of specific embodiment, when RB4 receives the second ether netting index that Server B is sent from third port When according to message, the second Ethernet data message is packaged into the 2nd TRILL data message, the 2nd TRILL data message includes RB4 Mark, the mark of RB2 (outlet RB) and the mark of third port of (entrance RB).RB4 is according to the identifier lookup MAC for exporting RB Address table forwards the 2nd TRILL data message according to mac address table.
The embodiment of the present invention also provides a kind of device 40 of message forwarding, as shown in figure 4, described device is applied to multilink It include specified routing bridge DRB and routing bridge RB in the TRILL network in transparent interconnection TRILL network, described device is as the One RB includes:
Receiving unit 41, the first message sent for receiving the DRB, first message is for specifying described first As the specified virtual LAN transponder AVF after the corresponding switching of first server of access, first message includes RB The mark of AVF after virtual LAN VLAN mark, switching and the mark of the designated port after switching, the designated port It is identified as the mark of port of the first RB for accessing the first server.
Transmission unit 42, first message received for the mark as the first RB with the receiving unit 41 In the switching after AVF mark it is identical when, to the 2nd RB send the second message, the 2nd RB for access second clothes Business device, second message learn the AVF after the corresponding switching of the first server, second report for the 2nd RB Text includes the mark of the AVF after VLAN mark, the switching and the mark of the designated port after the switching.
The device of a kind of message forwarding provided in an embodiment of the present invention, by the first RB as the AVF after switching to connecing The 2nd RB for entering second server sends the second message, and the second message learns the first server for the 2nd RB and corresponds to Switching after AVF, the second message include switching after AVF mark and switching after specify port mark.It is compared to It is in the prior art only to be learnt in time by the AVF failure of AVF bulletin, the 2nd RB for accessing second server before switching to new The information of AVF, before the 2nd RB learns information to new AVF can only broadcast transmitting message compare, connect in the embodiment of the present invention The 2nd RB for entering second server can learn the mark of AVF and the mark of designated port to after switching in time according to the second message Know, to update the mac address table of first server, the 2nd RB is by searching for the mac address table of first server after update It can be to first server unicast forwarding message.Therefore, the present invention can reduce in TRILL network because AVF switching after, access other The RB of server without study in time to new AVF information and the case where broadcasting packet, and then avoid network congestion and resource Waste.
Further, the transmission unit 42 is also used to send third message to the DRB, and the third message is used for The DRB learns the VLAN mark of the first RB, the mark of the first RB and the first RB for accessing described the The mark of the port of one server.
Second message that the transmission unit 42 is sent further includes the mark of the AVF before the corresponding switching of first server The mark of designated port before knowing and switching.
The receiving unit 41 is also used to when the mark of the first RB is identical with the mark of AVF after the switching, Receive the Ethernet data message that the first server is sent.
The transmission unit 42, the Ethernet data message for being also used to receive the receiving unit 41 are packaged into TRILL data message is simultaneously sent, and the TRILL data message includes the mark of the corresponding entrance RB of the first server, goes out The mark of mouth RB and the first RB are used to access the mark of the port of the first server.
The embodiment of the present invention also provides a kind of device 50 of message forwarding, as shown in figure 5, described device is applied to multilink It include specified routing bridge DRB and routing bridge RB in the TRILL network in transparent interconnection TRILL network, described device is as the Two RB include:
Receiving unit 51, for receiving the message of the first RB transmission, the first RB is described for accessing first server 2nd RB is for accessing second server, after the message learns the corresponding switching of the first server for the 2nd RB AVF, after the message includes the mark and switching of the AVF after the first server corresponding VLAN mark, switching The mark of designated port.
Processing unit 52, the message for being received according to receiving unit 51 update the MAC of the first server Address table is so that the corresponding outlet RB's of first server described in the updated mac address table is identified as the switching The mark of AVF afterwards, and the mark for the designated port of the corresponding outlet port of the first server being identified as after the switching Know.
The device of a kind of message forwarding provided in an embodiment of the present invention, by the first RB as the AVF after switching to connecing The 2nd RB for entering second server sends the second message, and the second message learns the first server for the 2nd RB and corresponds to Switching after AVF, the second message include switching after AVF mark and switching after specify port mark.It is compared to It is in the prior art only to be learnt in time by the AVF failure of AVF bulletin, the 2nd RB for accessing second server before switching to new The information of AVF, before the 2nd RB learns information to new AVF can only broadcast transmitting message compare, connect in the embodiment of the present invention The 2nd RB for entering second server can learn the mark of AVF and the mark of designated port to after switching in time according to the second message Know, to update the mac address table of first server, the 2nd RB is by searching for the mac address table of first server after update It can be to first server unicast forwarding message.Therefore, the present invention can reduce in TRILL network because AVF switching after, access other The RB of server without study in time to new AVF information and the case where broadcasting packet, and then avoid network congestion and resource Waste.
Further, the message that the receiving unit 51 receives further includes the corresponding switching of the first server The mark of preceding AVF and the mark of the designated port before switching.
The processing unit 52 is also used to the mark of the VLAN according to the receiving unit 51 received message Know, described first that the mark of AVF before the switching and the identifier lookup of the designated port before the switching are locally stored The mac address table of server.
The receiving unit 51 is also used to receive the TRILL data message that the first RB is sent, the TRILL data Message includes the mark of the entrance RB of the TRILL data message, the mark for exporting RB and the entrance RB for accessing institute State the mark of the port of first server.
The processing unit 52, the TRILL data message for being also used to be received according to the receiving unit 51 generate And the mac address table of the first server is stored, the corresponding outlet RB of the first server described in the mac address table is The entrance RB of the TRILL data message, and the corresponding outlet port of the first server is the TRILL data message Entrance RB is used to access the port of the first server.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for equipment reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Change or replacement in the technical scope disclosed by the present invention, should be covered by the protection scope of the present invention.Therefore, this hair Bright protection scope should be subject to the protection scope in claims.

Claims (14)

1. a kind of method of message forwarding, which is characterized in that the method is applied in transparent interconnection of lots of links interconnection TRILL network, It include specified routing bridge DRB and routing bridge RB in the TRILL network, which comprises
First RB receives the first message that the DRB is sent, and first message is used to specify the first RB as access Specified virtual LAN transponder AVF after the corresponding switching of first server, first message includes virtual LAN The mark of AVF after VLAN mark, switching and the mark of the designated port after switching, being identified as the designated port are described First RB is used to access the mark of the port of the first server;
When the mark of the first RB is identical with the mark of AVF after the switching, the first RB is to the 2nd RB transmission the Two messages, the 2nd RB is for accessing second server, and second message is for the 2nd RB study first clothes Be engaged in the AVF after the corresponding switching of device, second message include the AVF after the VLAN mark, the switching mark and The mark of designated port after the switching.
2. the method according to claim 1, wherein receiving the first report that the DRB is sent in the first RB Before text, the method also includes:
First RB sends third message to the DRB, and the third message learns the first RB's for the DRB VLAN mark, the mark of the first RB and the first RB are used to access the mark of the port of the first server.
3. the method according to claim 1, wherein second message further include: first server is corresponding The mark of AVF before switching and the mark of the designated port before switching.
4. the method according to claim 1, wherein the AVF after mark of the first RB and the switching Mark it is identical when, the method also includes:
First RB receives the Ethernet data message that the first server is sent;
The Ethernet data message is packaged into TRILL data message and sent by the first RB, the TRILL data message Mark including the corresponding entrance RB of the first server, the mark for exporting RB and the first RB are for accessing described the The mark of the port of one server.
5. a kind of method of message forwarding, which is characterized in that the method is applied in transparent interconnection of lots of links interconnection TRILL network, It include specified routing bridge DRB and routing bridge RB in the TRILL network, which comprises
2nd RB receives the message that the first RB is sent, and the first RB is for accessing first server, and the 2nd RB is for connecing Enter second server, the message is finger of the first RB after the corresponding switching of first server for being designated as access Determine virtual LAN transponder AVF, and the mark situation identical with the mark of AVF after the switching of the first RB issues It send, the message learns the AVF after the corresponding switching of the first server for the 2nd RB, and the message includes institute The mark of AVF after stating the corresponding VLAN mark of first server, switching and the mark of the designated port after switching;
2nd RB updates the mac address table of the first server so that the updated MAC according to the message The mark for the AVF of the corresponding outlet RB of first server described in address table being identified as after the switching, and first clothes The mark for the designated port of the corresponding outlet port of device of being engaged in being identified as after the switching.
6. according to the method described in claim 5, it is characterized in that, the message further includes that the first server is corresponding cuts The mark of AVF before changing and the mark of the designated port before switching update described the according to the message in the 2nd RB Before the mac address table of one server, the method also includes:
2nd RB is according to the designated ends before the mark and the switching of the AVF before the mark of the VLAN, the switching The mac address table for the first server that the identifier lookup of mouth is locally stored.
7. according to the method described in claim 6, it is characterized in that, updating described first according to the message in the 2nd RB Before the mac address table of server, the method also includes:
2nd RB receives the TRILL data message that the first RB is sent, and the TRILL data message includes described The mark of the entrance RB of TRILL data message, the mark for exporting RB and the entrance RB are for accessing the first server Port mark;
2nd RB generates according to the TRILL data message and stores the mac address table of the first server, described The corresponding outlet RB of first server described in mac address table is the entrance RB of the TRILL data message, and described first takes The corresponding outlet port of business device is that the entrance RB of the TRILL data message is used to access the port of the first server.
8. a kind of device of message forwarding, which is characterized in that described device is applied in transparent interconnection of lots of links interconnection TRILL network, It include specified routing bridge DRB and routing bridge RB in the TRILL network, described device includes: as the first RB
Receiving unit, the first message sent for receiving the DRB, first message is for specifying the first RB conduct Specified virtual LAN transponder AVF after the corresponding switching of the first server of access, first message includes virtual office The mark of the AVF after VLAN mark, switching is netted in domain and the mark of the designated port after switching, the designated port are identified as First RB is used to access the mark of the port of the first server;
Transmission unit, for described in the mark of the first RB and first message that receives of the receiving unit When the mark of AVF after switching is identical, the second message is sent to the 2nd RB, the 2nd RB is for accessing second server, institute It states the second message and learns the AVF after the corresponding switching of the first server for the 2nd RB, second message includes The mark of AVF after the VLAN mark, the switching and the mark of the designated port after the switching.
9. device according to claim 8, which is characterized in that the transmission unit is also used to send third to the DRB Message, the third message learn the VLAN mark of the first RB, the mark of the first RB and described for the DRB First RB is used to access the mark of the port of the first server.
10. device according to claim 8, which is characterized in that second message that the transmission unit is sent also wraps The mark of AVF before including the corresponding switching of first server and the mark of the designated port before switching.
11. device according to claim 8, which is characterized in that the receiving unit is also used to the mark as the first RB When knowing identical with the mark of AVF after the switching, the Ethernet data message that the first server is sent is received;
The transmission unit, the Ethernet data message for being also used to receive the receiving unit are packaged into TRILL number It according to message and sends, the TRILL data message includes the mark of the corresponding entrance RB of the first server, the mark for exporting RB Knowledge and the first RB are used to access the mark of the port of the first server.
12. a kind of device of message forwarding, which is characterized in that described device is applied in transparent interconnection of lots of links interconnection TRILL network, It include specified routing bridge DRB and routing bridge RB in the TRILL network, described device includes: as the 2nd RB
Receiving unit, for receiving the message of the first RB transmission, the first RB is for accessing first server, the 2nd RB For accessing second server, the message is the first RB in the corresponding switching of first server for being designated as access Specified virtual LAN transponder AVF afterwards, and the mark feelings identical with the mark of AVF after the switching of the first RB It is sent under condition, the message learns the AVF after the corresponding switching of the first server, the message for the 2nd RB The mark of designated port after mark and switching including the AVF after the corresponding VLAN mark of the first server, switching;
Processing unit, the message for being received according to receiving unit update the mac address table of the first server with So that the AVF of the corresponding outlet RB of first server described in the updated mac address table being identified as after the switching Mark, and the mark for the designated port of the corresponding outlet port of the first server being identified as after the switching.
13. device according to claim 12, which is characterized in that the message that the receiving unit receives further includes The mark of AVF before the corresponding switching of the first server and the mark of the designated port before switching;
The processing unit is also used to the mark according to the VLAN in the received message of the receiving unit, described The first server that the identifier lookup of designated port before the mark of AVF before switching and the switching is locally stored Mac address table.
14. device according to claim 13, which is characterized in that the receiving unit is also used to receive the first RB The TRILL data message of transmission, the TRILL data message are the Ethernet that the first RB sends the first server The message that data message generates after being packaged, the TRILL data message include the entrance RB of the TRILL data message Mark, the mark of outlet RB and the entrance RB are used to access the mark of the port of the first server;
The processing unit, the TRILL data message for being also used to be received according to the receiving unit generate and store institute The mac address table for stating first server, the corresponding outlet RB of the first server described in the mac address table is described The entrance RB of TRILL data message, and the corresponding outlet port of the first server is the entrance of the TRILL data message RB is used to access the port of the first server.
CN201611199379.9A 2016-12-22 2016-12-22 A kind of method and device of message forwarding Active CN106789532B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611199379.9A CN106789532B (en) 2016-12-22 2016-12-22 A kind of method and device of message forwarding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611199379.9A CN106789532B (en) 2016-12-22 2016-12-22 A kind of method and device of message forwarding

Publications (2)

Publication Number Publication Date
CN106789532A CN106789532A (en) 2017-05-31
CN106789532B true CN106789532B (en) 2019-11-05

Family

ID=58899478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611199379.9A Active CN106789532B (en) 2016-12-22 2016-12-22 A kind of method and device of message forwarding

Country Status (1)

Country Link
CN (1) CN106789532B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394819A (en) * 2011-10-31 2012-03-28 杭州华三通信技术有限公司 Electoral machinery and device of appointed VLAN (virtual local area network) transmitter in TRILL network
CN104301153A (en) * 2014-10-31 2015-01-21 杭州华三通信技术有限公司 AVF allocation method in TRILL network and RB equipment
CN105490909A (en) * 2014-09-18 2016-04-13 杭州华三通信技术有限公司 Method and device for processing AVF in TRILL network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301226B (en) * 2013-07-16 2017-11-10 新华三技术有限公司 A kind of specified routing bridge electoral machinery, equipment and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394819A (en) * 2011-10-31 2012-03-28 杭州华三通信技术有限公司 Electoral machinery and device of appointed VLAN (virtual local area network) transmitter in TRILL network
CN105490909A (en) * 2014-09-18 2016-04-13 杭州华三通信技术有限公司 Method and device for processing AVF in TRILL network
CN104301153A (en) * 2014-10-31 2015-01-21 杭州华三通信技术有限公司 AVF allocation method in TRILL network and RB equipment

Also Published As

Publication number Publication date
CN106789532A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN103748835B (en) The dynamic renewal of label switched path
CN102404181B (en) Address corresponding relationship sending method of layer 2 protocol utilizing link state routing
CN105376154B (en) Gradual MAC address learning
CN106878065B (en) Configuration method and device of distributed aggregation system
CN100399757C (en) Injecting addresses to enable OAM functions
WO2015165311A1 (en) Method for transmitting data packet and provider edge device
CN104767680B (en) It route the method and apparatus being switched fast
CN105247822A (en) Chaining service zones by way of route re-origination
US20130343394A1 (en) Method and Apparatus for Converting Virtual Local Area Network Identity
WO2019201299A1 (en) Path identifier acquisition method and device
US20140293798A1 (en) Mpls-tp network and link trace method thereof
CN102273177A (en) Neighbour discovery protocol mediation
US7986695B1 (en) Automatic selection of site-IDs for virtual private networks
CN106941437A (en) A kind of information transferring method and device
CN105515816B (en) Processing method and device for detecting hierarchical information
CN104618189B (en) Link failure detection method and device
CN102868569A (en) Method, node and system for detecting performance of three-layer virtual private network
CN106576049A (en) Network device configured to track multicast receivers
CN102224709A (en) Method and apparatus of monitoring on ip bearing net performance
CN106713130A (en) Routing table updating method, EVPN control equipment and EVPN system
CN105915458B (en) Method for performing shortest path bridging-protocol independent multicast interaction
CN105592490B (en) A kind of route switching method and equipment
CN104378302B (en) Address corresponding relation sending method and route bridge device
WO2016095571A1 (en) Method and device for establishing a multicast channel
CN104247346B (en) Pseudowire extended group messaging in a packet switched network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 16 Hing Hing Road, Chengdu high tech Development Zone, Sichuan, China 16

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 nine Xing Xing Road 16, hi tech Zone, Sichuan, Chengdu

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder