CN104753790B - A kind of message transmitting method and equipment based on TRILL network - Google Patents

A kind of message transmitting method and equipment based on TRILL network Download PDF

Info

Publication number
CN104753790B
CN104753790B CN201310733374.XA CN201310733374A CN104753790B CN 104753790 B CN104753790 B CN 104753790B CN 201310733374 A CN201310733374 A CN 201310733374A CN 104753790 B CN104753790 B CN 104753790B
Authority
CN
China
Prior art keywords
message
bridge device
distal end
trill
identification information
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
CN201310733374.XA
Other languages
Chinese (zh)
Other versions
CN104753790A (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.)
XFusion Digital 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 CN201310733374.XA priority Critical patent/CN104753790B/en
Priority to PCT/CN2014/086186 priority patent/WO2015096512A1/en
Publication of CN104753790A publication Critical patent/CN104753790A/en
Application granted granted Critical
Publication of CN104753790B publication Critical patent/CN104753790B/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/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge

Abstract

The embodiment of the invention discloses a kind of message transmitting method based on multi-link transparent interconnection TRILL network, including:Local route bridge device receives the first message that the first local user side equipment is sent, and the first user side equipment accesses TRILL network more in a manner of returning access;TRILL heads are encapsulated for the first message, the group identification information of more groupings and the equipment identification information of local route bridge device belonging to the first inbound port are added in TRILL;First inbound port receives the port of the first message for local route bridge device from the first local user side equipment;The first message of TRILL encapsulation is sent to the route bridge device of distal end.In the present invention, when local user side equipment accesses TRILL network more in a manner of returning access, message can be forwarded to returning on link by local route bridge device more in a manner of load balancing, avoid message can not be by the situation appearance that causes to be dropped because of rpf check.

Description

A kind of message transmitting method and equipment based on TRILL network
Technical field
The present invention relates to field of communication technology, and in particular to a kind of message transmitting method based on TRILL network, local It route bridge device and the route bridge device of distal end.
Background technology
Transparent interconnection of lots of links interconnection (English:Transparent Interconnection of Lots of Links, contracting Write:TRILL it is) a kind of Routing Protocol calculated on double layer network based on link state, can be used for building extensive two layers Network.As shown in Figure 1, route bridge device (English:Routing Bridge, abbreviation:RB) it is user side equipment (English: Customer edge, abbreviation:CE the edge node devices of TRILL network) are accessed, user side equipment can pass through dual homed or more Accessed by way of returning (i.e. two or more route bridge devices) access in TRILL network, such as Fig. 1, middle user side Equipment dual homed has accessed two route bridge devices, and the user side equipment connects two chains of described two route bridge devices respectively Road constitutes a link aggregation group (English:Link aggregation group, abbreviation:LAG), described two routing bridges are set Standby composition is grouped into more one.The port that the link aggregation group is connected on the user side equipment is link polymerization terminal port. In TRILL network system, when flow on the link in LAG in a manner of load balancing (for example, in more work or the scene of multicast Under) when being forwarded to, route bridge device uses the virtual pet name (English for the message received from the port for connecting the link: Pseudo nickname) encapsulation, then the message after encapsulation is sent, the virtual pet name is for the close of more grouping distribution Claim.When the message for sending user side equipment is after load balancing, the message for being packaged with the same source pet name will be by described Two route bridge devices enter TRILL network, i.e., encapsulation and the message of the same source pet name can by two different ports into Enter TRILL network.Due to a virtual LAN (English:Virtual Local Area Network, abbreviation:VLAN) only connect Enter a multicast tree, and the message in a multicast tree only allows by fixed port transmission, when its in TRILL network His node receive from the message of different port transmissions when, will appear from reverse path forwarding (English:reverse path Forward, abbreviation:RPF situation about can not pass through) is detected, so as to cause the message to be dropped.
To solve the above-mentioned problems, it is (English using multicast tree is coordinated in systems:Coordinated Multicast Trees, abbreviation:CMT), to the message from different routing bridge equipment packages, different multicast trees is selected to be forwarded to, still, Since current TRILL network at most only supports two multicast trees, this scheme is merely able to solve the report in the case of dual homed access The problem of text is dropped, is not particularly suited for solving the problems, such as that the messages returned in the case of access are dropped more.
The content of the invention
The present invention provides the road of a kind of message transmitting method based on TRILL network, local route bridge device and distal end By bridge device, can realize that message is forwarded to returning on link more in a manner of load balancing, avoid message because rpf check without Method occurs by the situation for causing to be dropped.
First aspect present invention provides a kind of message transmitting method based on TRILL network, it includes:
Local route bridge device receives the first message that the first local user side equipment is sent, first user side Equipment accesses multi-link transparent interconnection TRILL network more in a manner of returning access;
TRILL heads are encapsulated for first message, first inbound port is added in the TRILL heads of first message The group identification information of affiliated more groupings and the equipment identification information of the local route bridge device;First inbound port is The local route bridge device receives the port of first message from the first local user side equipment;
The first message of the TRILL encapsulation is sent to the route bridge device of distal end.
With reference to first aspect present invention, in the first possible implementation of first aspect, on the road to distal end Before the first message that the TRILL encapsulation is sent by bridge device, the method further includes:
Link state data bag is issued in the TRILL network, the link state data bag enters including described first The group identification information of more groupings and the equipment identification information of the local route bridge device belonging to port.
With reference to the possible implementation of the first of first aspect present invention or first aspect, second in first aspect can Can in implementation, the group identification information that more groupings belonging to first inbound port are added in TRILL described with The equipment identification information of the local route bridge device, including:
The group mark letter of more groupings belonging to first inbound port is added in entrance nickname field TRILL described The equipment identification information of breath and the local route bridge device;Wherein, the high N-bit position record institute of the entrance nickname field The group identification information of more groupings belonging to the first inbound port is stated, the low M-bit position of the entrance nickname field records the local Route bridge device equipment identification information, the N and the M are the number of bits of setting.
With reference to first aspect present invention, the first of first aspect or second may implementation, the of first aspect In three kinds of possible implementations, the equipment identification information includes the pet name of route bridge device;Described group of identification information includes more The identification code of grouping.
With reference to first aspect present invention or the first to the 3rd of first aspect any one possible implementation, in first party In the 4th kind of possible implementation in face, the method further includes:
Receive the second message that local second user side apparatus is sent;The second user side apparatus is singly to return access Mode accesses the TRILL network;
TRILL heads are encapsulated for second message;Wherein, the entrance nickname field of the TRILL heads of second message High N-bit position is denoted as 0, and the low M-bit position of the entrance nickname field records the pet name of the local route bridge device, described The N and M is the number of bits of setting;
The second message of the TRILL encapsulation is sent to the route bridge device of distal end.
Second aspect of the present invention provides a kind of message transmitting method based on TRILL network, it includes:
The route bridge device of distal end receives the first message of the TRILL encapsulation of local routing bridge device forwards, described The TRILL heads of first message of TRILL encapsulation include more groupings belonging to the first inbound port group identification information and described The equipment identification information of the route bridge device on ground, first inbound port for the local route bridge device from local first User side equipment receives the port of first message;First message is sent by the first local user side equipment Message to the user side equipment of distal end;
The group identification information of more groupings of the route bridge device of the distal end according to belonging to first inbound port, determines institute State more groupings belonging to the first inbound port and the route bridge device of the distal end is sent belonging to the exit port of first message It is be grouped into whether belonging to same more groupings more;
If it is not, deleting the TRILL heads of the first message of the TRILL encapsulation, first message is obtained, by described first Message is transmitted to the user side equipment of the distal end.
With reference to second aspect of the present invention, in the first possible implementation of second aspect, the routing bridge of the distal end Equipment receives the second message of the TRILL encapsulation of the local routing bridge device forwards;Second message of the TRILL encapsulation TRILL heads include the group identification information of more groupings belonging to first inbound port and the local route bridge device Equipment identification information, first inbound port receive institute for the local route bridge device from the first local user side equipment State the port of the second message;Second message is that the user side for being sent to distal end by the first local user side equipment is set Standby message;
The group identification information of more groupings of the route bridge device of the distal end according to belonging to first inbound port, determines institute State more groupings belonging to the first inbound port and the route bridge device of the distal end is sent belonging to the exit port of second message It is be grouped into whether belonging to same more groupings more, if so, then abandoning the second message of the TRILL encapsulation.
With reference to the possible implementation of the first of second aspect of the present invention or second aspect, second in second aspect can In energy implementation, the route bridge device in the distal end receives the first of the TRILL encapsulation of local routing bridge device forwards Before message, the method further includes:
The route bridge device of the distal end receives link state data of the issue in multi-link transparent interconnection TRILL network Bag, the link state data bag include receiving the group identification information of more groupings belonging to the inbound port of message and send the chain The equipment identification information of the route bridge device of line state data packet, the inbound port for receiving message are the transmission link state The route bridge device of data packet is used for the inbound port for receiving the message that first user side equipment is sent;
The reception message of the route bridge device of the distal end in the link state data bag received enters end The equipment identification information of the group identification information of more groupings belonging to mouthful and the route bridge device of the transmission link state data bag, Determine at least two route bridge devices, first user side equipment that is used to receive of at least two routes bridge device is sent Message inbound port belong to it is same be grouped into, at least two routes bridge device includes the local route bridge device;
According to described at least two route bridge devices, the route bridge device and first user side for obtaining the distal end are set Equal cost multipath route between standby, each between the route bridge device of the distal end and first user side equipment etc. Cost path includes a route bridge device in described at least two route bridge devices.
With reference to second of possible implementation of second aspect of the present invention, in the third possible implementation of second aspect In, after first message is transmitted to the user side equipment of distal end by the route bridge device of the distal end, the method is also Including:
The route bridge device of the distal end receives the 3rd message that the user side equipment of the distal end is sent, the 3rd report Text is the message that the first local user side equipment is sent to by the user side equipment of the distal end;
It is route according to the equal cost multipath between the route bridge device of the distal end and first user side equipment, it is described The route bridge device of distal end sends the 3rd message.
With reference to second aspect of the present invention or the first to the 3rd of second aspect any one possible implementation, in second party In the 4th kind of possible implementation in face, the equipment identification information includes the pet name of route bridge device;Described group of identification information Including the identification code being grouped into more.
Third aspect present invention provides a kind of local route bridge device, it includes:
First receiving unit, the first message sent for receiving the first local user side equipment;First user Side apparatus accesses multi-link transparent interconnection TRILL network more in a manner of returning access;
Encapsulation unit, is first message after receiving first message in first receiving unit TRILL heads are encapsulated, that more groupings belonging to the first inbound port are added in TRILL described organizes identification information and described local It route the equipment identification information of bridge device;First user of first inbound port for the local route bridge device from local Side apparatus receives the port of first message;
First transmitting element, after encapsulating TRILL in the encapsulation unit for first message, to distal end It route the first message that bridge device sends the TRILL encapsulation.
With reference to third aspect present invention, in the first possible implementation of the third aspect, first transmitting element It is additionally operable to before the first message that the route bridge device to distal end sends the TRILL encapsulation, in the TRILL network Middle issue link state data bag, the link state data bag include the group mark of more groupings belonging to first inbound port The equipment identification information of information and the local route bridge device.
With reference to the possible implementation of the first of third aspect present invention or the third aspect, second in the third aspect can In energy implementation, the encapsulation unit is specifically used for, and encapsulates TRILL heads for first message, enters in TRILL described The group identification information of more groupings belonging to first inbound port and the local route bridge device are added in mouth nickname field Equipment identification information;Wherein, the high N-bit position of the entrance nickname field records more groupings belonging to first inbound port Group identification information, the low M-bit position of the entrance nickname field records the device identification letter of the local route bridge device Breath, the N and M are the number of bits of setting.
With reference to third aspect present invention the first of the third aspect or second may implementation, the of the third aspect In three kinds of possible implementations, the equipment identification information includes the pet name of route bridge device;Described group of identification information includes more The identification code of grouping.
With reference to third aspect present invention or the first to the 3rd of the third aspect any one possible implementation, in third party In the 4th kind of possible implementation in face, the local route bridge device further includes:Second receiving unit and second sends list Member,
Second receiving unit is used to receive the second message that local second user side apparatus is sent;Described second uses Family side apparatus accesses the TRILL network in a manner of singly returning access;
The encapsulation unit is additionally operable to after second receiving unit receives second message, is described second Message encapsulates TRILL heads;Wherein, the high N-bit position of entrance nickname field TRILL described is denoted as 0, the entrance pet name word The low M-bit position of section records the pet name of the local route bridge device, and the N and M is the number of bits of setting;
Second transmitting element is additionally operable to after the encapsulation unit encapsulates TRILL for second message, to The route bridge device of distal end sends the second message of the TRILL encapsulation.
Fourth aspect present invention provides a kind of route bridge device of distal end, it includes:
First receiving unit, the first message that the TRILL for receiving local routing bridge device forwards is encapsulated are described First message of TRILL encapsulation includes the group identification information of more groupings belonging to the first inbound port and the local routing bridge is set Standby equipment identification information, first inbound port connect for the local route bridge device from the first local user side equipment Receive the port of first message;First message is the user that distal end is sent to by the first local user side equipment The message of side apparatus;
Judging unit, for after the first message that first receiving unit receives TRILL encapsulation, according to The group identification information of more groupings belonging to first inbound port, determine more groupings belonging to first inbound port with it is described remote Whether more groupings that the route bridge device at end is sent belonging to the exit port of first message belong to same more groupings;
First transmitting element, if for the judging unit determine more groupings belonging to first inbound port with it is described remote More groupings that the route bridge device at end sends belonging to the exit port of first message are not to belong to same more groupings, then delete institute The TRILL heads of the first message of TRILL encapsulation are stated, first message is obtained, first message is transmitted to the distal end User side equipment.
With reference to fourth aspect present invention, in the first possible implementation of fourth aspect, first receiving unit It is additionally operable to receive the second message of the TRILL encapsulation of the local routing bridge device forwards;Second report of the TRILL encapsulation The TRILL heads of text include the group identification information of more groupings belonging to first inbound port and the local route bridge device Equipment identification information, first inbound port is the local route bridge device from local the first user side equipment reception The port of second message;Second message is the user side that distal end is sent to by the first local user side equipment The message of equipment;
The judging unit is additionally operable to after first receiving unit receives second message, according to described The group identification information of more groupings belonging to one inbound port, determines more groupings belonging to first inbound port and the road of the distal end Whether belong to same more groupings as more groupings belonging to the exit port that bridge device sends second message;
If the first transmitting element be additionally operable to the judging unit determine more groupings belonging to first inbound port with it is described More groupings that the route bridge device of distal end sends belonging to the exit port of second message are to belong to same more groupings, then abandon institute State the second message of TRILL encapsulation.
With reference to the possible implementation of the first of fourth aspect present invention or fourth aspect, second in fourth aspect can In energy implementation, the route bridge device of the distal end, further includes:
Second receiving unit, for receiving the TRILL envelopes of local routing bridge device forwards in first receiving unit Before first message of dress, link state data bag of the issue in TRILL network is received, the link state data bag includes Receive the group identification information of more groupings belonging to the inbound port of message and send the route bridge device of the link state data bag Equipment identification information, the inbound port for receiving message is used to connect to send the route bridge device of the link state data bag Receive the inbound port for the message that first user side equipment is sent;
Route acquisition unit, for connecing described in the link state data bag that is received according to second receiving unit The group identification information for the more groupings received telegraph belonging to the inbound port of text and the route bridge device of the transmission link state data bag Equipment identification information, determines at least two route bridge devices, and being used for of at least two routes bridge device receives described first The inbound port for the message that user side equipment is sent belongs to same more groupings, and at least two routes bridge device includes the local Route bridge device;According to described at least two route bridge devices, the route bridge device and described first for obtaining the distal end are used Equal cost multipath route between the side apparatus of family, it is every between the route bridge device of the distal end and first user side equipment One equative route includes a route bridge device in described at least two route bridge devices.
With reference to second of possible implementation of fourth aspect present invention, in the third possible implementation of fourth aspect In, the route bridge device of the distal end, further includes:
3rd receiving unit, for setting the user side that first message is transmitted to distal end in first transmitting element After standby, the 3rd message that the user side equipment of the distal end is sent is received, the 3rd message is by the user of the distal end Side apparatus is sent to the message of the first local user side equipment;
Second transmitting element, for the route bridge device of the distal end got according to the route acquisition unit and institute The equal cost multipath route between the first user side equipment is stated, sends the 3rd report that the 3rd receiving unit receives Text.
With reference to fourth aspect present invention or first to the 3rd any one a variety of possible implementations of fourth aspect, the 4th In 4th kind of possible implementation of aspect, the equipment identification information includes the pet name of route bridge device;Described group of mark letter Breath includes the identification code being grouped into more.
In the present invention, when user side equipment accesses TRILL network more in a manner of returning access, local routing bridge is set Standby the first message to reception carries out TRILL encapsulation, and the group mark of more groupings belonging to the first inbound port is added in TRILL The equipment identification information of information and local route bridge device, then the first message that the TRILL is encapsulated are sent to distal end It route bridge device so that the route bridge device of distal end is judging more groupings belonging to the first inbound port and the route bridge device of distal end Send more groupings belonging to the exit port of the first message and be not belonging to same when being grouped into more, the first message is transmitted to the user of distal end Side apparatus, is forwarded to returning on link more so as to fulfill message in a manner of load balancing so that multilink load balancing, And avoid message from can not occurring because of rpf check by the situation for causing to be dropped.
Brief description of the drawings
Fig. 1 is that based on TRILL network return access schematic diagram of a scenario more;
Fig. 2 is a kind of message transmitting method flow diagram based on TRILL network provided in an embodiment of the present invention;
Fig. 3 is the step schematic diagram for being forwarded to the message for the user side equipment for singly returning access;
Fig. 4 is another message transmitting method flow diagram based on TRILL network provided in an embodiment of the present invention;
Fig. 5 is another message transmitting method flow diagram based on TRILL network provided in an embodiment of the present invention;
Fig. 6 is another message transmitting method flow diagram based on TRILL network provided in an embodiment of the present invention;
Fig. 7 is a kind of local routing bridge device structure schematic diagram provided in an embodiment of the present invention;
Fig. 8 is a kind of local routing bridge device structure schematic diagram provided in an embodiment of the present invention;
Fig. 9 is a kind of routing bridge device structure schematic diagram of distal end provided in an embodiment of the present invention;
Figure 10 is a kind of routing bridge device structure schematic diagram of distal end provided in an embodiment of the present invention;
Figure 11 is a kind of local routing bridge device structure schematic diagram provided in an embodiment of the present invention;
Figure 12 is a kind of local routing bridge device structure schematic diagram provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention provide a kind of message transmitting method based on TRILL network, user side route bridge device and The route bridge device of distal end.It is described in detail individually below.
As shown in Figure 1, Fig. 1 gives a kind of application scenarios that user side equipment returns access TRILL network more, in the application In scene, message by link polymerization terminal port, can be sent to the route bridge device of at least two user sides by user side equipment, by The route bridge device of at least two user side is forwarded the packet to TRILL network.
Based on above application scene, as shown in Fig. 2, an embodiment of the present invention provides a kind of message based on TRILL network Transmission method, this method include:
101st, local route bridge device receives the first message that the first local user side equipment is sent, and described first uses Family side apparatus accesses TRILL network more in a manner of returning access.
First user side equipment can be connected by link polymerization terminal port with multiple local route bridge devices, be realized TRILL network is accessed in a manner of returning access more.First user side equipment can be by link polymerization terminal port to multiple The route bridge device on ground sends message.
102nd, TRILL heads are encapsulated for first message, is added in TRILL described belonging to first inbound port The group identification information and the equipment identification information of the local route bridge device being grouped into more, first inbound port are described The route bridge device on ground receives the port of first message from the first local user side equipment.
Step 102 can specifically include:The first inbound port institute is added in entrance nickname field TRILL described The group identification information of the more groupings belonged to and the equipment identification information of the local route bridge device;Wherein, the entrance pet name The high N-bit position of field records the group identification information of more groupings belonging to first inbound port, the entrance nickname field Low M-bit position records the equipment identification information of the local route bridge device, and the N and M is the number of bits of setting.
In practical applications, the length of general entrance nickname field is 16 bits, as a preferred mode, High 6 bit therein is used for the group identification information for recording more groupings belonging to first inbound port, low 10 ratio therein Special position is used for the equipment identification information for recording the local route bridge device.The equipment identification information includes route bridge device The pet name, described group of identification information include the identification code being grouped into more.
103rd, the first message of the TRILL encapsulation is sent to the route bridge device of distal end.
In embodiments of the present invention, it is local when the first user side equipment accesses TRILL network more in a manner of returning access The group identification information of more groupings of the route bridge device belonging to by the first inbound port and the device identification of local route bridge device Information is added into the TRILL heads for the encapsulation of the first message, then TRILL the first messages encapsulated are sent to the routing bridge of distal end Equipment so that the route bridge device of distal end is solved from TRILL described after the first message of TRILL encapsulation is received More groupings belonging to the first inbound port are separated out, and judge that the route bridge device of more groupings belonging to the first inbound port and distal end is sent Whether more groupings belonging to the exit port of the first message belong to same more groupings, if it is not, the first message then is transmitted to distal end User side equipment, is forwarded to returning on link more in a manner of load balancing so as to fulfill message, realizes that multilink loads Equilibrium, avoids message from can not occurring because of rpf check by the situation for causing to be dropped.
During the user side equipment in distal end is sent message to local user side equipment, the routing bridge of distal end The message that the user side equipment of distal end is sent can be sent to local routing bridge by way of equal cost multipath and set by equipment Standby, the route bridge device of distal end needs to calculate the equivalence between the first user side equipment of the route bridge device of distal end and local Multi-path route, and the premise for calculating the equivalence Multi-path route is, the route bridge device of distal end is it needs to be determined that at least two tunnels The message sent by bridge device, at least two route bridge device for receiving the first local user side equipment enters end Mouth belongs to same more groupings.Therefore, the embodiment of the present invention sends the TRILL encapsulation in the route bridge device to distal end Before first message, following technical measures can also be taken:The local route bridge device is issued in the TRILL network Link state data bag, the link state data bag include first inbound port belonging to more groupings group identification information and The equipment identification information of the local route bridge device so that the route bridge device of distal end can be according to the link shape received State data packet, obtains the group identification information of more groupings belonging to first inbound port and setting for the local route bridge device Standby identification information.The link state data bag can include the nickname field of local route bridge device, nickname field note The group identification information of more groupings belonging to first inbound port and the device identification letter of the local route bridge device are recorded Breath.The link state number that the different route bridge devices in TRILL network are sent can be received due to the route bridge device of distal end According to bag, thus, it is possible to obtain the group identification information of more groupings belonging to multiple inbound ports, the plurality of inbound port is each in network It route the port that bridge device receives the message that user side equipment is sent.The route bridge device of distal end can according to acquisition it is multiple enter The group identification information of more groupings belonging to port, determines at least two route bridge devices, the use of at least two routes bridge device Belong to same more groupings in the inbound port for receiving the message that first user side equipment is sent, at least two routes bridge device Including the local route bridge device.
In addition, in embodiments of the present invention, local route bridge device can also will access TRILL nets in a manner of singly returning The message that the user side equipment of network is sent is forwarded to.
Specifically, as shown in figure 3, the step of message for the user side equipment for singly returning access is forwarded to includes:
201st, local route bridge device receives the second message that local second user side apparatus is sent;Described second uses Family side apparatus accesses the TRILL network in a manner of singly returning access.
202nd, TRILL heads are encapsulated for second message;Wherein, the entrance pet name word of the TRILL heads of second message The high N-bit position of section is denoted as 0, and the low M-bit position of the entrance nickname field records the pet name of the local route bridge device, The N and M is the number of bits of setting.
In practical applications, the length of general entrance nickname field is 16 bits, as a preferred mode, N can be set to 6, M and be set to 10.
203rd, the second message of the TRILL encapsulation is sent to the route bridge device of distal end.
As shown in figure 4, the embodiment of the present invention additionally provides a kind of message transmitting method based on TRILL network, this method Including:
301st, the route bridge device of distal end receives the first message of the TRILL encapsulation of local routing bridge device forwards, institute Stating the TRILL heads of the first message of TRILL encapsulation includes the group identification information of more groupings belonging to the first inbound port and described The equipment identification information of local route bridge device, first inbound port for the local route bridge device from local the One user side equipment receives the port of first message;First message is sent to by the first local user side equipment The message of the user side equipment of distal end.
The route bridge device of distal end can parse the first inbound port from the TRILL heads of TRILL the first messages encapsulated The group identification information of affiliated more groupings and the equipment identification information of the local route bridge device.
302nd, the group identification information of more groupings of the route bridge device of the distal end according to belonging to first inbound port, really The route bridge device of more groupings and the distal end belonging to fixed first inbound port sends the exit port institute of first message Whether the more groupings belonged to belong to same more groupings.
If it is not, then perform step 303.
303rd, the TRILL heads of the first message of the TRILL encapsulation are deleted, first message are obtained, by described first Message is transmitted to the user side equipment of the distal end.
As shown in figure 5, the method can also include:
401st, the route bridge device of the distal end receives the second of the TRILL encapsulation of the local routing bridge device forwards Message;The TRILL heads of second message of the TRILL encapsulation include the group mark of more groupings belonging to first inbound port The equipment identification information of information and the local route bridge device, first inbound port are the local route bridge device The port of second message is received from the first local user side equipment;Second message is by the first local use Family side apparatus is sent to the message of the user side equipment of distal end.
402nd, the group identification information of more groupings of the route bridge device of the distal end according to belonging to first inbound port, really The route bridge device of more groupings and the distal end belonging to fixed first inbound port sends the exit port institute of second message Whether the more groupings belonged to belong to same more groupings.
If so, then perform step 403.
403rd, the second message of the TRILL encapsulation is abandoned.
If not abandoning second message, second message will return to the first user side equipment, waste link circuit resource.
The user side equipment of distal end is the purpose equipment of first message, and the user side equipment in distal end receives first After message, there is the possibility that message is sent to the first user side equipment in the user side equipment of distal end.For this reason, as shown in fig. 6, originally Following technical measures are also taken in invention, by the user side of distal end in a manner of making the user side equipment of distal end by equal cost multipath The message of equipment is sent to the first user side equipment.
501st, the route bridge device in the distal end receives the first report of the TRILL encapsulation of local routing bridge device forwards Before text, the route bridge device of the distal end receives link state data bag of the issue in TRILL network, the link state Data packet includes receiving the group identification information of more groupings belonging to the inbound port of message and sends the link state data bag The equipment identification information of bridge device is route, the inbound port for receiving message is the routing bridge for sending the link state data bag Equipment is used for the inbound port for receiving the message that the first user side equipment is sent.
502nd, the reception message of the route bridge device of the distal end in the link state data bag received The device identification of the group identification information of more groupings belonging to inbound port and the route bridge device of the transmission link state data bag Information, determines at least two route bridge devices, and at least two routes bridge device is set for receiving first user side The inbound port for the message that preparation is sent belongs to same more groupings, and at least two routes bridge device includes the local routing bridge Equipment.
503rd, according to described at least two route bridge devices, the route bridge device of the distal end and first user are obtained Equal cost multipath route between side apparatus, it is each between the route bridge device of the distal end and first user side equipment Bar equative route includes a route bridge device in described at least two route bridge devices.
Equal cost multipath refers to there is a plurality of forward-path between two nodes, and the expense in these paths is all equal , these paths form equative route.The message forwarded mutually between the two nodes, can carry out load point on these paths Load.Due to described at least two route bridge devices belong to it is same be grouped into, the first user side equipment by aggregation port respectively with Therefore at least two routes bridge device, is deposited respectively with being connected between the route bridge device of distal end and the first user side equipment It is more in a plurality of forward-path, the equivalence that can be calculated between the route bridge device of the distal end and first user side equipment Path is route.
It is to be herein pointed out the route bridge device of distal end receives the chain from the different route bridge devices of TRILL network Line state data packet, according to these link state data bags received, obtains the group mark of more groupings belonging to multiple inbound ports Know information, the plurality of inbound port is the port for the message that each route bridge device reception user side equipment in network is sent, it is wrapped The inbound port of the message sent for receiving the first user side equipment is included.As a kind of preferred embodiment, the link state number It can include the nickname field of local route bridge device according to bag, which have recorded the group of more groupings belonging to inbound port The equipment identification information of identification information and route bridge device.The equipment identification information can be the pet name of routing bridge equipment, institute It can be the identification code being grouped into more to state group identification information.The route bridge device of distal end can be according to the different pet name words of acquisition Section, the identification code of more groupings in different nickname fields is compared, when the mark of more groupings in different nickname fields When knowledge code is identical, it is determined that the route bridge device that the pet name mark of bridge device is route in different nickname fields is used to receive message Inbound port belong to it is same be grouped into, and calculate the distal end route bridge device and the first local user side equipment it Between equal cost multipath route.
504th, after first message is transmitted to the user side equipment of distal end by the route bridge device of the distal end, institute The route bridge device for stating distal end receives the 3rd message that the user side equipment of the distal end is sent, and the 3rd message is by described The user side equipment of distal end is sent to the message of the first local user side equipment.
505th, it is route according to the equal cost multipath between the route bridge device of the distal end and first user side equipment, The route bridge device of the distal end sends the 3rd message.
Since step 503 has obtained the equivalence between the route bridge device of the distal end and first user side equipment Multi-path route, therefore, step 505 can route to the first user side equipment according to equal cost multipath and send the 3rd message.
Specifically, the route bridge device of the distal end selects one by hash algorithm from equal cost multipath route Bar equative route, carries out TRILL encapsulation, the 3rd message after the TRILL is encapsulated is sent to described to the 3rd message Route bridge device in the equative route of selection, for example, the local route bridge device, what the routing bridge equipment interconnection was received The 3rd message decapsulation after the TRILL encapsulation, that is, delete the TRILL heads of the 3rd message after the TRILL encapsulation, obtain 3rd message, first user side equipment is sent to by the 3rd message.
As shown in fig. 7, the embodiment of the present invention provides a kind of local route bridge device 601, including:
First receiving unit 602, the first message sent for receiving the first local user side equipment;Described first uses Family side apparatus accesses multi-link transparent interconnection TRILL network more in a manner of returning access;
Encapsulation unit 603, after receiving first message in first receiving unit 602, for described the One message encapsulates TRILL heads, and the group identification information of more groupings belonging to the first inbound port and described is added in TRILL described The equipment identification information of local route bridge device;First inbound port for the local route bridge device from local the One user side equipment receives the port of first message;
First transmitting element 604, after encapsulating TRILL in the encapsulation unit 603 for first message, to The route bridge device of distal end sends the first message of the TRILL encapsulation.
Preferably, first transmitting element 604 is additionally operable to send the TRILL in the route bridge device to distal end Before first message of encapsulation, link state data bag is issued in the TRILL network, the link state data bag includes The group identification information of more groupings and the equipment identification information of the local route bridge device belonging to first inbound port.
Preferably, the encapsulation unit 603 is specifically used for, and TRILL heads is encapsulated for first message, in the TRILL The group identification information of more groupings belonging to first inbound port and the local route are added in the entrance nickname field of head The equipment identification information of bridge device;Wherein, the high N-bit position of the entrance nickname field is recorded belonging to first inbound port The group identification information being grouped into more, the equipment that the low M-bit position of the entrance nickname field records the local route bridge device Identification information, the N and M are the number of bits of setting.
In practical applications, the entrance nickname field generally shares 16 bits, and high 6 bit therein can be used In the group identification information for recording more groupings belonging to first inbound port, low 10 bit therein is used to record the local Route bridge device 601 equipment identification information.
Preferably, the equipment identification information includes the pet name of route bridge device;Described group of identification information includes be grouped into more Identification code.
Preferably, as shown in figure 8, the local route bridge device 601 further includes:Second receiving unit 605 and second Transmitting element 606.
Second receiving unit 605 is used to receive the second message that local second user side apparatus is sent;Described Two user side equipments access the TRILL network in a manner of singly returning access;
Encapsulation unit 603 is additionally operable to after second receiving unit 605 receives second message, for described the Two messages encapsulate TRILL heads;Wherein, the high N-bit position of entrance nickname field TRILL described is denoted as 0, the entrance pet name The low M-bit position of field records the pet name of the local route bridge device, and the N and M is the number of bits of setting;
Second transmitting element 606 is additionally operable to encapsulate TRILL heads in the encapsulation unit 603 for second message Afterwards, the second message of the TRILL encapsulation is sent to the route bridge device of distal end.
Preferably, the entrance nickname field shares 16 bits, and high 6 bit therein records described first and enters end The group identification information of more groupings belonging to mouthful, low 10 bit therein are used for the equipment for recording the local route bridge device Identification information.
As shown in figure 9, the embodiment of the present invention also provides a kind of route bridge device 701 of distal end, including:
First receiving unit 702, the first message that the TRILL for receiving local routing bridge device forwards is encapsulated, institute Stating the first message of TRILL encapsulation includes the group identification information of more groupings belonging to the first inbound port and the local routing bridge The equipment identification information of equipment, first user side equipment of first inbound port for the local route bridge device from local Receive the port of first message;First message is the use that distal end is sent to by the first local user side equipment The message of family side apparatus;
Judging unit 703, for received in first receiving unit 702 TRILL encapsulation the first message it Afterwards, the group identification information of more groupings according to belonging to first inbound port, determines more groupings belonging to first inbound port Whether the more groupings sent with the route bridge device of the distal end belonging to the exit port of first message belong to same more groupings;
First transmitting element 704, if returning for determine belonging to first inbound port for the judging unit 703 more More groupings that group and the route bridge device of the distal end are sent belonging to the exit port of first message are not to belong to same to return more Group, then delete the TRILL heads of the first message of the TRILL encapsulation, obtain first message, first message is forwarded User side equipment to the distal end.
Preferably, described first the single 702 yuan TRILL envelopes for being additionally operable to receive the local routing bridge device forwards are received Second message of dress;The TRILL heads of second message of the TRILL encapsulation include more groupings belonging to first inbound port Group identification information and the local route bridge device equipment identification information, first inbound port is the local road The port of second message is received from the first local user side equipment by bridge device;Second message is by the local The first user side equipment be sent to distal end user side equipment message;
The judging unit 703 is additionally operable to after first receiving unit 702 receives second message, according to The group identification information of more groupings belonging to first inbound port, determine more groupings belonging to first inbound port with it is described remote Whether more groupings that the route bridge device at end is sent belonging to the exit port of second message belong to same more groupings;
If the first transmitting element 704 is additionally operable to the judging unit 703 and determines more groupings belonging to first inbound port The more groupings sent with the route bridge device of the distal end belonging to the exit port of second message are to belong to same more groupings, then Abandon the second message of the TRILL encapsulation.
Preferably, as shown in Figure 10, the route bridge device 701 of the distal end further includes:
Second receiving unit 705, for receiving local routing bridge device forwards in first receiving unit 702 Before first message of TRILL encapsulation, link state data bag of the issue in multi-link transparent interconnection TRILL network is received, The link state data bag includes receiving the group identification information of more groupings belonging to the inbound port of message and sends the link The equipment identification information of the route bridge device of state data packets, the inbound port for receiving message are the transmission link state number The inbound port for being used to receive the message that first user side equipment is sent according to the route bridge device of bag;
Route acquisition unit 706, in the link state data bag that is received according to second receiving unit 705 The group identification information of more groupings belonging to the inbound port for receiving message and the routing bridge for sending the link state data bag The equipment identification information of equipment, determines at least two route bridge devices, and being used for of at least two routes bridge device receives institute The inbound port for stating the message of the first user side equipment transmission belongs to same more groupings, and at least two routes bridge device includes institute State local route bridge device;Bridge devices are route according to described at least two, obtain route bridge device 701 and the institute of the distal end State the equal cost multipath route between the first user side equipment, the route bridge device 701 of the distal end and first user side Each equative route between equipment includes a route bridge device in described at least two route bridge devices.
Preferably, the route bridge device 701 of the distal end, further includes:
3rd receiving unit 707, for first message to be transmitted to the use of distal end in first transmitting element 704 After the side apparatus of family, the 3rd message that the user side equipment of the distal end is sent is received, the 3rd message is by the distal end User side equipment be sent to the message of the first local user side equipment;
Second transmitting element 708, the routing bridge of the distal end for being got according to the route acquisition unit 706 are set Standby equal cost multipath route between 701 and first user side equipment, the 3rd receiving unit is received described in 3rd message is sent to first user side equipment.
Preferably, the equipment identification information includes the pet name of route bridge device;The equipment identification information includes route The pet name of bridge device.
As shown in figure 11, the embodiment of the present invention provides a kind of local route bridge device 801, it includes:
Receiver 802, the first message sent for receiving the first local user side equipment;First user side is set It is standby that TRILL network is accessed in a manner of returning access more;
Processor 803, connects receiver 802 and transmitter 804 respectively, described for being received in the receiver 802 After first message, TRILL heads are encapsulated for first message, first is added in the TRILL heads of first message and enters end The group identification information of more groupings and the equipment identification information of the local route bridge device belonging to mouthful;First inbound port The port of first message is received from the first local user side equipment for the local route bridge device;
Transmitter 804, after encapsulating TRILL in the processor 803 for first message, to the road of distal end The first message of the TRILL encapsulation is sent by bridge device.
Preferably, the transmitter 804 is additionally operable to send the TRILL encapsulation in the route bridge device to distal end Before first message, link state data bag is issued in the TRILL network, the link state data bag includes described the The group identification information of more groupings and the equipment identification information of the local route bridge device 801 belonging to one inbound port.
Preferably, the processor 803 is specifically used for, and TRILL heads is encapsulated for first message, in the TRILL heads Entrance nickname field in add the group identification information of more groupings belonging to first inbound port and the local routing bridge The equipment identification information of equipment;Wherein, the high N-bit position of the entrance nickname field records more belonging to first inbound port The group identification information of grouping, the low M-bit position of the entrance nickname field record the equipment mark of the local route bridge device Know information, the N and M is the number of bits of setting.
Preferably, the entrance nickname field shares 16 bits, and high 6 bit therein is used to record described first The group identification information of more groupings belonging to inbound port, low 10 bit therein are used to record the local route bridge device 801 equipment identification information.
Preferably, the equipment identification information includes the pet name of route bridge device;Described group of identification information includes be grouped into more Identification code.
Preferably, the receiver 802 is additionally operable to receive the second message that local second user side apparatus is sent;It is described Second user side apparatus accesses multi-link transparent interconnection TRILL network in a manner of singly returning access;
Processor 803 is additionally operable to after second receiving unit receives second message, for the described second report Text encapsulation TRILL heads;Wherein, the high N-bit position of entrance nickname field TRILL described is denoted as 0, the entrance nickname field Low M-bit position record the pet name of the local route bridge device, the N and M is the number of bits of setting;
The transmitter 804 is additionally operable to after the processor 803 encapsulates TRILL for second message, Xiang Yuan The route bridge device at end sends the second message of the TRILL encapsulation.
Preferably, the entrance nickname field shares 16 bits, and high 6 bit therein records described first and enters end The group identification information of more groupings belonging to mouthful, low 10 bit therein are used to record the local route bridge device 801 Equipment identification information.
As shown in figure 12, the embodiment of the present invention provides a kind of route bridge device 901 of distal end, it includes:
Receiver 902, the first message that the TRILL for receiving local routing bridge device forwards is encapsulated, the TRILL Group identification information and the local route bridge device of first message of encapsulation including more groupings belonging to the first inbound port Equipment identification information, first inbound port receive institute for the local route bridge device from the first local user side equipment State the port of the first message;First message is that the user side for being sent to distal end by the first local user side equipment is set Standby message;
Processor 903, connects receiver 902 and transmitter 904 respectively, described for being received in the receiver 902 After first message, the group identification information of more groupings according to belonging to first inbound port, determines the first inbound port institute Whether more groupings that the more groupings belonged to and the route bridge device 901 of the distal end are sent belonging to the exit port of first message belong to In same more groupings;
Transmitter 904, if for determined for the processor 903 more groupings belonging to first inbound port with it is described More groupings that the route bridge device 901 of distal end sends belonging to the exit port of first message are not to belong to same more groupings, then The TRILL heads of the first message of the TRILL encapsulation are deleted, first message is obtained, first message is transmitted to institute State the user side equipment of distal end.
Preferably, the receiver 902 is additionally operable to receive the of the TRILL encapsulation of the local routing bridge device forwards Two messages;The TRILL heads of second message of the TRILL encapsulation include the group mark of more groupings belonging to first inbound port Know the equipment identification information of information and the local route bridge device, first inbound port sets for the local routing bridge The standby port that second message is received from the first local user side equipment;Second message is by described local first User side equipment is sent to the message of the user side equipment of distal end;
The processor 903 is additionally operable to after the receiver 902 receives second message, according to described first The group identification information of more groupings belonging to inbound port, determines more groupings belonging to first inbound port and the route of the distal end Whether more groupings that bridge device 901 is sent belonging to the exit port of second message belong to same more groupings;
If the transmitter 904 is additionally operable to the processor 903 and determines more groupings belonging to first inbound port and institute State more groupings that the route bridge device 901 of distal end is sent belonging to the exit port of second message be belong to it is same be grouped into, then Abandon the second message of the TRILL encapsulation.
Preferably, receiver 902 is additionally operable to the first message in the TRILL encapsulation for receiving local routing bridge device forwards Before, link state data bag of the issue in TRILL network is received, the link state data bag includes receiving entering for message The device identification letter of the group identification information of more groupings belonging to port and the route bridge device of the transmission link state data bag Breath, the inbound port for receiving message are used to receive the first user side to send the route bridge device of the link state data bag The inbound port for the message that equipment is sent;
Connect described in the link state data bag that the processor 903 is additionally operable to be received according to the receiver 902 The group identification information for the more groupings received telegraph belonging to the inbound port of text and the route bridge device of the transmission link state data bag Equipment identification information, determines at least two route bridge devices, and being used for of at least two routes bridge device receives described first The inbound port for the message that user side equipment is sent belongs to same more groupings, and at least two routes bridge device includes the local Route bridge device;According to described at least two route bridge devices, the route bridge device and described first for obtaining the distal end are used Equal cost multipath route between the side apparatus of family, it is every between the route bridge device of the distal end and first user side equipment One equative route includes a route bridge device in described at least two route bridge devices.
Preferably, the receiver 902 is additionally operable to be transmitted to first message in the transmitter 904 use of distal end After the side apparatus of family, the 3rd message that the user side equipment of the distal end is sent is received, the 3rd message is by the distal end User side equipment be sent to the message of the first local user side equipment;
Transmitter 904 be additionally operable to the route bridge device 901 of the distal end got according to the processor 903 with it is described Equal cost multipath route between first user side equipment, the 3rd message that the receiver 902 is received are sent to First user side equipment.
Preferably, the equipment identification information includes the pet name of route bridge device.
Preferably, the equipment identification information includes the pet name of route bridge device.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct relevant hardware to complete by program, which can be stored in a computer-readable recording medium, storage Medium can include:Read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of message transmitting method based on TRILL network for being there is provided above the embodiment of the present invention, local route Bridge device and the route bridge device of distal end are described in detail, and specific case used herein is to the principle of the present invention and reality The mode of applying is set forth, and the explanation of above example is only intended to help to understand method and its core concept of the invention;Together When, for those of ordinary skill in the art, according to the thought of the present invention, have in specific embodiments and applications Change part, in conclusion this specification content should not be construed as limiting the invention.

Claims (20)

  1. A kind of 1. message transmitting method based on multi-link transparent interconnection TRILL network, it is characterised in that including:
    Local route bridge device receives the first message that the first local user side equipment is sent, first user side equipment The TRILL network is accessed in a manner of returning access more;
    TRILL heads are encapsulated for first message, are added in the TRILL heads of first message more belonging to the first inbound port The group identification information of grouping and the equipment identification information of the local route bridge device;First inbound port is the local Route bridge device the port of first message is received from the first local user side equipment;
    The first message of the TRILL encapsulation is sent to the route bridge device of distal end so that the route bridge device of the distal end exists After the first message for receiving TRILL encapsulation, more groupings belonging to the first inbound port are parsed from TRILL described, And judge more groupings belonging to first inbound port and the outlet of route bridge device transmission first message of the distal end Whether more groupings belonging to mouthful belong to same more groupings, if it is not, first message to be then transmitted to the user side equipment of distal end.
  2. 2. according to the method described in claim 1, it is characterized in that, described in being sent in the route bridge device to distal end Before first message of TRILL encapsulation, the method further includes:
    Link state data bag is issued in the TRILL network, the link state data bag includes first inbound port The group identification information of affiliated more groupings and the equipment identification information of the local route bridge device.
  3. 3. method according to claim 1 or 2, it is characterised in that described to be added in the TRILL heads of first message The group identification information of more groupings and the equipment identification information of the local route bridge device belonging to first inbound port, bag Include:
    The group of more groupings belonging to first inbound port is added in the entrance nickname field of the TRILL heads of first message The equipment identification information of identification information and the local route bridge device;Wherein, the high N-bit position of the entrance nickname field Record the group identification information of more groupings belonging to first inbound port, the low M-bit position record institute of the entrance nickname field The equipment identification information of local route bridge device is stated, the N and M is the number of bits of setting.
  4. 4. method according to claim 1 or 2, it is characterised in that the equipment identification information includes route bridge device The pet name;Described group of identification information includes the identification code being grouped into more.
  5. 5. method according to claim 1 or 2, it is characterised in that the method further includes:
    Receive the second message that local second user side apparatus is sent;The second user side apparatus is in a manner of singly returning access Access the TRILL network;
    TRILL heads are encapsulated for second message;Wherein, the high N ratios of the entrance nickname field of the TRILL heads of second message Special position is denoted as 0, and the low M-bit position of the entrance nickname field records the pet name of the local route bridge device, the N and institute State the number of bits that M is setting;
    The second message of the TRILL encapsulation is sent to the route bridge device of distal end.
  6. A kind of 6. message transmitting method based on multi-link transparent interconnection TRILL network, it is characterised in that including:
    The route bridge device of distal end receives the first message of the TRILL encapsulation of local routing bridge device forwards, the TRILL envelopes The TRILL heads of first message of dress include the group identification information of more groupings belonging to the first inbound port and the local route The equipment identification information of bridge device, first inbound port set for the local route bridge device from the first local user side The standby port for receiving first message;First message is the user that distal end is sent to by the first local user side equipment The message of side apparatus;
    The group identification information of more groupings of the route bridge device of the distal end according to belonging to first inbound port, determines described What the route bridge device of more groupings belonging to one inbound port and the distal end sent belonging to the exit port of first message returns more Whether group belongs to same more groupings;
    If it is not, deleting the TRILL heads of the first message of the TRILL encapsulation, first message is obtained, by first message It is transmitted to the user side equipment of the distal end.
  7. 7. according to the method described in claim 6, it is characterized in that, further include:
    The route bridge device of the distal end receives the second message of the TRILL encapsulation of the local routing bridge device forwards;Institute State the TRILL heads of the second message of TRILL encapsulation include the group identification informations of more groupings belonging to first inbound port with The equipment identification information of the local route bridge device, first inbound port are the local route bridge device from local The first user side equipment receive the port of second message;Second message is set by the first local user side Preparation gives the message of the user side equipment of distal end;
    The group identification information of more groupings of the route bridge device of the distal end according to belonging to first inbound port, determines described What the route bridge device of more groupings belonging to one inbound port and the distal end sent belonging to the exit port of second message returns more Whether group belongs to same more groupings, if so, then abandoning the second message of the TRILL encapsulation.
  8. 8. the method according to claim 6 or 7, it is characterised in that the route bridge device in the distal end receives local Before first message of the TRILL encapsulation of routing bridge device forwards, the method further includes:
    The route bridge device of the distal end receives link state data bag of the issue in TRILL network, the link state number According to the group identification information for including receiving more groupings belonging to the inbound port of message and the road for sending the link state data bag By the equipment identification information of bridge device, the inbound port for receiving message sets to send the routing bridge of the link state data bag It is ready for use on the inbound port for receiving the message that first user side equipment is sent;
    The inbound port institute of the reception message of the route bridge device of the distal end in the link state data bag received The equipment identification information of the group identification information of the more groupings belonged to and the route bridge device of the transmission link state data bag, determines At least two route bridge devices, at least two routes bridge device are used to receive the report that first user side equipment is sent The inbound port of text belongs to same more groupings, and at least two routes bridge device includes the local route bridge device;
    According to described at least two route bridge devices, obtain the route bridge device of the distal end and first user side equipment it Between equal cost multipath route, each equivalence road between the route bridge device of the distal end and first user side equipment Footpath includes a route bridge device in described at least two route bridge devices.
  9. 9. according to the method described in claim 8, it is characterized in that, the distal end route bridge device by first message It is transmitted to after the user side equipment of distal end, the method further includes:
    The route bridge device of the distal end receives the 3rd message that the user side equipment of the distal end is sent, and the 3rd message is The message of the first local user side equipment is sent to by the user side equipment of the distal end;
    It is route according to the equal cost multipath between the route bridge device of the distal end and first user side equipment, the distal end Route bridge device send the 3rd message.
  10. 10. according to the method described in claim 6,7 or 9 any one, it is characterised in that the equipment identification information includes road By the pet name of bridge device;Described group of identification information includes the identification code being grouped into more.
  11. A kind of 11. local route bridge device, it is characterised in that including:
    First receiving unit, the first message sent for receiving the first local user side equipment;First user side is set It is standby that multi-link transparent interconnection TRILL network is accessed in a manner of returning access more;
    Encapsulation unit, after receiving first message in first receiving unit, encapsulates for first message TRILL heads, that more groupings belonging to the first inbound port are added in TRILL described organizes identification information and the local route The equipment identification information of bridge device;First inbound port sets for the local route bridge device from the first local user side The standby port for receiving first message;
    First transmitting element, after encapsulating TRILL in the encapsulation unit for first message, to the route of distal end Bridge device sends the first message of the TRILL encapsulation so that the route bridge device of the distal end is receiving the TRILL envelopes After first message of dress, more groupings belonging to the first inbound port are parsed from TRILL described, and judge that described first enters to hold Whether more groupings belonging to the exit port of route bridge device transmission first message of more groupings and the distal end belonging to mouthful Belong to same more groupings, if it is not, first message to be then transmitted to the user side equipment of distal end.
  12. 12. local route bridge device according to claim 11, it is characterised in that first transmitting element is additionally operable to Before the first message that the route bridge device to distal end sends the TRILL encapsulation, issued in the TRILL network Link state data bag, the link state data bag include first inbound port belonging to more groupings group identification information and The equipment identification information of the local route bridge device.
  13. 13. the local route bridge device according to claim 11 or 12, it is characterised in that the encapsulation unit is specifically used In, for first message encapsulate TRILL heads, first inbound port is added in entrance nickname field TRILL described The group identification information of affiliated more groupings and the equipment identification information of the local route bridge device;Wherein, the entrance is close The high N-bit position of field is claimed to record the group identification information of more groupings belonging to first inbound port, the entrance nickname field Low M-bit position record the equipment identification information of the local route bridge device, the N and M is the bit of setting Number.
  14. 14. the local route bridge device according to claim 11 or 12, it is characterised in that the equipment identification information bag Include the pet name of route bridge device;Described group of identification information includes the identification code being grouped into more.
  15. 15. the local route bridge device according to claim 11 or 12, it is characterised in that further include:Second receives list Member and the second transmitting element,
    Second receiving unit is used to receive the second message that local second user side apparatus is sent;The second user side Equipment accesses the TRILL network in a manner of singly returning access;
    The encapsulation unit is additionally operable to after second receiving unit receives second message, is second message Encapsulate TRILL heads;Wherein, the high N-bit position of entrance nickname field TRILL described is denoted as 0, the entrance nickname field Low M-bit position records the pet name of the local route bridge device, and the N and M is the number of bits of setting;
    Second transmitting element is additionally operable to after the encapsulation unit encapsulates TRILL for second message, to distal end Route bridge device send the second message of TRILL encapsulation.
  16. A kind of 16. route bridge device of distal end, it is characterised in that including:
    First receiving unit, for receive local routing bridge device forwards multi-link transparent interconnection TRILL encapsulate first Message, the first message of the TRILL encapsulation include the group identification information of more groupings belonging to the first inbound port and the local Route bridge device equipment identification information, first inbound port is the local route bridge device from the first local use Family side apparatus receives the port of first message;First message is sent to by the first local user side equipment The message of the user side equipment of distal end;
    Judging unit, for after the first message that first receiving unit receives TRILL encapsulation, according to described The group identification information of more groupings belonging to first inbound port, determines more groupings belonging to first inbound port and the distal end Whether more groupings that route bridge device is sent belonging to the exit port of first message belong to same more groupings;
    First transmitting element, if determining more groupings belonging to first inbound port and the distal end for the judging unit More groupings that route bridge device is sent belonging to the exit port of first message are not to belong to same more groupings, then described in deletion The TRILL heads of first message of TRILL encapsulation, obtain first message, first message are transmitted to the distal end User side equipment.
  17. 17. the route bridge device of distal end according to claim 16, it is characterised in that
    First receiving unit is additionally operable to receive the second message of the TRILL encapsulation of the local routing bridge device forwards; The TRILL heads of second message of the TRILL encapsulation include the group identification information of more groupings belonging to first inbound port With the equipment identification information of the local route bridge device, first inbound port is the local route bridge device from originally First user side equipment on ground receives the port of second message;Second message is by the first local user side Equipment is sent to the message of the user side equipment of distal end;
    The judging unit is additionally operable to after first receiving unit receives second message, is entered according to described first The group identification information of more groupings belonging to port, determines more groupings belonging to first inbound port and the routing bridge of the distal end Whether more groupings that equipment is sent belonging to the exit port of second message belong to same more groupings;
    If the first transmitting element is additionally operable to the judging unit and determines more groupings belonging to first inbound port and the distal end The more groupings that send belonging to the exit port of second message of route bridge device be belong to it is same be grouped into, then abandon described in Second message of TRILL encapsulation.
  18. 18. the route bridge device of the distal end according to claim 16 or 17, it is characterised in that further include:
    Second receiving unit, what the TRILL for receiving local routing bridge device forwards in first receiving unit was encapsulated Before first message, link state data bag of the issue in TRILL network is received, the link state data bag includes receiving The group identification information of more groupings belonging to the inbound port of message is set with the route bridge device of the transmission link state data bag Standby identification information, the inbound port for receiving message are used to receive institute for the route bridge device of the transmission link state data bag State the inbound port of the message of the first user side equipment transmission;
    Route acquisition unit, for the reception report in the link state data bag that is received according to second receiving unit The equipment of the group identification information of more groupings belonging to the inbound port of text and the route bridge device of the transmission link state data bag Identification information, determines at least two route bridge devices, and being used for of at least two routes bridge device receives first user The inbound port for the message that side apparatus is sent belongs to same more groupings, and at least two routes bridge device includes the local road By bridge device;According to described at least two route bridge devices, the route bridge device of the distal end and first user side are obtained Equal cost multipath route between equipment, each between the route bridge device of the distal end and first user side equipment Equative route includes a route bridge device in described at least two route bridge devices.
  19. 19. the route bridge device of distal end according to claim 18, it is characterised in that further include:
    3rd receiving unit, for first transmitting element by first message be transmitted to distal end user side equipment it Afterwards, the 3rd message that the user side equipment of the distal end is sent is received, the 3rd message is set by the user side of the distal end Preparation gives the message of the first local user side equipment;
    Second transmitting element, for the route bridge device of the distal end that is got according to the route acquisition unit and described the Equal cost multipath route between one user side equipment, sends the 3rd message that the 3rd receiving unit receives.
  20. 20. the route bridge device of the distal end according to claim 16,17 or 19 any one, it is characterised in that described to set Standby identification information includes the pet name of route bridge device;Described group of identification information includes the identification code being grouped into more.
CN201310733374.XA 2013-12-26 2013-12-26 A kind of message transmitting method and equipment based on TRILL network Active CN104753790B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310733374.XA CN104753790B (en) 2013-12-26 2013-12-26 A kind of message transmitting method and equipment based on TRILL network
PCT/CN2014/086186 WO2015096512A1 (en) 2013-12-26 2014-09-10 Packet transmission method and device based on trill network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310733374.XA CN104753790B (en) 2013-12-26 2013-12-26 A kind of message transmitting method and equipment based on TRILL network

Publications (2)

Publication Number Publication Date
CN104753790A CN104753790A (en) 2015-07-01
CN104753790B true CN104753790B (en) 2018-05-04

Family

ID=53477488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310733374.XA Active CN104753790B (en) 2013-12-26 2013-12-26 A kind of message transmitting method and equipment based on TRILL network

Country Status (2)

Country Link
CN (1) CN104753790B (en)
WO (1) WO2015096512A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915471B (en) * 2016-04-14 2020-01-03 新华三技术有限公司 Message forwarding method and device
CN107769948A (en) * 2016-08-19 2018-03-06 华为技术有限公司 A kind of network collocating method and access switch
CN108696414A (en) * 2017-04-05 2018-10-23 中兴通讯股份有限公司 Return cut-in method, device and more home nodes more
CN111064587B (en) * 2019-11-15 2021-09-07 宁波积幂信息科技有限公司 Node of distributed data system and broadcast transmission data management method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694721A (en) * 2011-03-21 2012-09-26 阿瓦雅公司 Usage of masked Ethernet addresses between transparent interconnect of lots of links (trill) routing bridges
CN103354529A (en) * 2013-07-10 2013-10-16 杭州华三通信技术有限公司 Path selecting method and device
CN103475583A (en) * 2012-06-07 2013-12-25 华为技术有限公司 Method and equipment for removing media access control forwarding table entries

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9497073B2 (en) * 2011-06-17 2016-11-15 International Business Machines Corporation Distributed link aggregation group (LAG) for a layer 2 fabric
US8885641B2 (en) * 2011-06-30 2014-11-11 Brocade Communication Systems, Inc. Efficient trill forwarding
US9270589B2 (en) * 2012-04-04 2016-02-23 Marvell Israel (M.I.S.L) Ltd. Transparent RBridge
CN102769567B (en) * 2012-07-16 2015-12-02 神州数码网络(北京)有限公司 A kind of retransmission method of multilink transparent internet Frame and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694721A (en) * 2011-03-21 2012-09-26 阿瓦雅公司 Usage of masked Ethernet addresses between transparent interconnect of lots of links (trill) routing bridges
CN103475583A (en) * 2012-06-07 2013-12-25 华为技术有限公司 Method and equipment for removing media access control forwarding table entries
CN103354529A (en) * 2013-07-10 2013-10-16 杭州华三通信技术有限公司 Path selecting method and device

Also Published As

Publication number Publication date
CN104753790A (en) 2015-07-01
WO2015096512A1 (en) 2015-07-02

Similar Documents

Publication Publication Date Title
CN1992670B (en) Method for relay of Ethernet carrying frame
CN101394361B (en) Packet transmission method, device and system
CN104660508B (en) A kind of message forwarding method and device
CN102368727B (en) Crossed IP network TRILL network communication method, system thereof and devices
CN103490970B (en) A kind of detection method of traffic engineering tunnel, apparatus and system
CN107819677A (en) A kind of message forwarding method and device
CN109391560A (en) Notifying method, agent node and the computer equipment of network congestion
CN105933228A (en) Traffic engineering for bit indexed explicit replication
CN104753790B (en) A kind of message transmitting method and equipment based on TRILL network
CN104954265B (en) Send the method and interchanger of multicast message
CN104521195A (en) Method and system for creating software defined ordered service patterns in communications network
CN107968750A (en) Message transmitting method, device and node
CN103731376B (en) Method and system for selecting chain aggregation root ports on stacked equipment
CN103746881B (en) Neighbor state detection method and device in EVI networks
CN102025586A (en) Intercommunicating method, device and system for multiple protocol label switching network and Ethernet
CN110061914A (en) A kind of message forwarding method and device
CN1964360A (en) A method and device for MAC frame forwarding
CN110535768A (en) Multicast data transmission method and relevant device
CN110380959A (en) Method for forwarding message and device
CN104579973B (en) Message forwarding method and device in a kind of Virtual Cluster
CN104009903B (en) Flow forwarding method and device in elastic package circular network
CN106301991B (en) A kind of method of path detection, routing device and system
CN108667709A (en) A kind of message forwarding method and device
CN107370672A (en) The method and device of Path selection
CN103152265B (en) Message forwarding method and equipment in SPB (Shortest Path Bridge) network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211223

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.