CN104539545B - Method for forwarding multicast message and equipment in TRILL network - Google Patents

Method for forwarding multicast message and equipment in TRILL network Download PDF

Info

Publication number
CN104539545B
CN104539545B CN201410852806.3A CN201410852806A CN104539545B CN 104539545 B CN104539545 B CN 104539545B CN 201410852806 A CN201410852806 A CN 201410852806A CN 104539545 B CN104539545 B CN 104539545B
Authority
CN
China
Prior art keywords
multicast
multicast group
address
mac address
message
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
CN201410852806.3A
Other languages
Chinese (zh)
Other versions
CN104539545A (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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201410852806.3A priority Critical patent/CN104539545B/en
Publication of CN104539545A publication Critical patent/CN104539545A/en
Application granted granted Critical
Publication of CN104539545B publication Critical patent/CN104539545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application provides the method for forwarding multicast message in TRILL network and equipment.In the present invention, access the multicast data message that RB receives multicast source transmission by local access interface, multicast group IP address, the list item of user's virtual LAN VLAN matching that multicast data message carries are searched in local multicast group overall situation MAC Address multicast table, the list item of matching is not found, and local multicast receives and multicast group IP address, the list item of user vlan matching is not present in RB tables, abandons the multicast data message;The list item of matching is found, the outgoing interface for carrying out TRILL encapsulation and the list item for passing through matching to the multicast data message according to the list item of matching forwards.This can carry out the forwarding of multicast data message on demand, avoid waste of the multicast to network bandwidth.

Description

Method for forwarding multicast message and equipment in TRILL network
Technical field
The application is related to the network communications technology, more particularly to transparent interconnection of lots of links interconnection (TRILL:Transparent Interconnection of Lots of Links) method for forwarding multicast message and equipment in network.
Background technology
At present, the multicast message in TRILL network is forwarded along TRILL distribution trees.TRILL distribution trees are from centre System to the network topology of intermediate system (IS-ISIntermediate System-to-Intermediate System) is fallen into a trap Caused by calculation, every TRILL distribution tree can reach all routing bridge (RB in TRILL network:Rbridge).
, all can be along TRILL when any one RB receives multicast message by user side interface in TRILL network Distribution tree multicasts to multicast message on other all RB, no matter whether there is the recipient of multicast message on other RB.This meeting The bandwidth of TRILL network is wasted, the RB especially in TRILL network is more and multicast service only needs in a small amount of RB presence Time Bandwidth is asked to waste very serious, the influence to other regular traffics is also very big.
The content of the invention
This application provides the method for forwarding multicast message in TRILL network and equipment, to realize multicast on demand, avoids group Broadcast the waste to network bandwidth.
The technical scheme that the application provides includes:
The retransmission method of multicast message in a kind of TRILL network, this method are applied to access routing bridge RBridge, the party Method includes:
It is used as the multicast data message of multicast source transmission by local access interface reception local host;
The multicast group IP that the multicast data message carries is searched in local multicast group overall situation MAC Address multicast table Location, the list item of user's virtual LAN VLAN matching;
The multicast group IP address, user vlan matching are not found in local multicast group overall situation MAC Address multicast table List item, and local multicast receive the multicast group IP address is not present in RB tables, the list item that user vlan matches, described in discarding Multicast data message;
The multicast group IP address is found in local multicast group overall situation MAC Address multicast table, user vlan matches List item, the outgoing interface for carrying out TRILL encapsulation and the list item for passing through matching to the multicast data message according to the list item of matching turn Hair;The target MAC (Media Access Control) address of the outer layer ether net head of the TRILL heads of encapsulation is the multicast group overall situation MAC Address in the list item of matching.
The retransmission method of multicast message in a kind of TRILL network, this method are applied to the gateway that side is converged in TRILL network Routing bridge RBridge, this method include:
Receive the multicast data message of TRILL encapsulation;
The target MAC (Media Access Control) address of the outer layer ether net head of the TRILL heads of foundation encapsulation is in local multicast group overall situation MAC Address group Broadcast the list item that matching is searched in table;
The multicast data message of TRILL encapsulation is forwarded by the outgoing interface in the list item of matching.
The forwarding unit of multicast message in a kind of TRILL network, the equipment application in access routing bridge RBridge, including:
Receiving unit, for being used as the multicast datagram of multicast source transmission by local access interface reception local host Text;
Memory cell, for storing multicast group overall situation MAC Address multicast table, multicast reception RB tables;
Searching unit, for searching described group in the multicast group overall situation MAC Address multicast table that is stored in the memory cell The multicast group IP address of multicast data message carrying, the list item of user's virtual LAN VLAN matching;
Processing unit, for the searching unit lookup result for it is no when and determine memory cell storage The multicast group IP address is not present in multicast reception RB tables, the list item that user vlan matches, abandons the multicast data message; And
When the lookup result of the searching unit is is, the multicast data message is entered according to the matching list item of lookup Row TRILL is encapsulated and the outgoing interface by matching list item forwards;The purpose MAC of the outer layer ether net head of the TRILL heads of encapsulation Location is the multicast group overall situation MAC Address in matching list item.
The forwarding unit of multicast message in a kind of TRILL network, the equipment application converge the gateway of side in TRILL network Routing bridge RBridge, including:
Receiving unit, for receiving the multicast data message of TRILL encapsulation;
Memory cell, for storing multicast group overall situation MAC Address multicast forward table;
Searching unit, the target MAC (Media Access Control) address for the outer layer ether net head of the TRILL heads according to encapsulation are single in the storage The list item of matching is searched in the multicast group overall situation MAC Address multicast table of member storage;
Processing unit, the multicast data message for the outgoing interface forwarding TRILL encapsulation in the list item by matching.
As can be seen from the above technical solutions, in the present invention, when access RB receives what locally-attached multicast source was sent During multicast data message, the multicast that the multicast data message carries is searched in local multicast group overall situation MAC Address multicast table Group IP address, the list item of user's virtual LAN VLAN matching, if do not found, and local multicast would be received and is not present in RB tables The multicast group IP address, the list item of user vlan matching, then abandon the multicast data message, this causes multicast data message No longer flooded in TRILL network, reduce invalid multicast flooding in a network;And work as local multicast group overall situation MAC Address The multicast group IP address, the list item of user vlan matching are found in multicast table, according to the list item of matching to the multicast number The outgoing interface that TRILL encapsulation and the list item for passing through matching are carried out according to message forwards;This passes through multicast group overall situation MAC Address multicast table The forwarding of multicast data message is carried out on demand, is improved the mode that original multicast data message is broadcasted in whole net, is avoided multicast Waste to network bandwidth.
Brief description of the drawings
Fig. 1 is method flow diagram provided by the invention;
Fig. 2 is TRILL networking schematic diagrams provided in an embodiment of the present invention;
Fig. 3 is multicast data packet forwarding schematic diagram provided in an embodiment of the present invention;
Fig. 4 is equipment structure chart provided by the invention;
Fig. 5 is another equipment structure chart provided by the invention.
Embodiment
Method provided by the invention can realize multicast on demand, avoid waste of the multicast to network bandwidth.
It is clearer following for the object, technical solutions and advantages of the present invention are made, with reference to the drawings and specific embodiments pair The present invention is described in detail.
Referring to Fig. 1, Fig. 1 is method flow diagram provided by the invention.As shown in figure 1, the flow is applied in TRILL network Access RB.Here, access RB is specially the RB in access side in TRILL network.
As shown in figure 1, the flow may include following steps:
Step 101, the multicast data message of multicast source transmission is used as by local access interface reception local host.
Step 102, the multicast group IP that multicast data message carries is searched in local multicast group overall situation MAC Address multicast table Address, the list item of user's virtual LAN VLAN matching.
Step 103, multicast group IP address, user vlan are not found in local multicast group overall situation MAC Address multicast table The list item of matching, and local multicast receives and multicast group IP address, the list item of user vlan matching is not present in RB tables, abandons multicast Data message;Multicast group IP address, the table of user vlan matching are found in local multicast group overall situation MAC Address multicast table , the outgoing interface for carrying out TRILL encapsulation and the list item for passing through matching to multicast data message according to the list item of matching forwards;Encapsulation TRILL heads outer layer ether net head target MAC (Media Access Control) address for matching list item in multicast group overall situation MAC Address.
So far, the flow shown in Fig. 1 is completed.
Flow shown in Fig. 1 is described below by one embodiment:
Fig. 2 show TRILL networking schematic diagrams provided in an embodiment of the present invention.In fig. 2, TRILL network includes gateway The routing bridge RB5 and RB6 and routing bridge RB1 to RB4 in access side (Access).There are three layers to turn by routing bridge RB5 and RB6 Hair ability, HSRP (HSRP can be passed through:Hot Standby Routing Protocol) or virtual route redundancy Agreement (VRRP:Virtual Router Redundancy Protocol) form virtual router.In Fig. 2, routing bridge RB1 is extremely TRILL routes be present between any two routing bridge RB, according to TRILL protocol after TRILL network is stable in routing bridge RB6 Each calculate TRILL routing tables.
In fig. 2, routing bridge RB1 to RB6 runs IGMP (IGMP:Internet Group Management Protocol).Also, routing bridge RB1 to RB4 also runs IGMP pry (snooping) agreement (referred to as IGSP)。
For the ease of description, the interface of routing bridge RB1 connections host PC 10 is named as port1_0, routing bridge RB1 connection nets Close routing bridge RB5, gateway routing bridge RB6 public network side interface is respectively designated as port1_5, port1_6, routing bridge RB2 connections The interface of host PC 20 is named as port2_0, routing bridge RB2 connection gateway routing bridges RB5, gateway routing bridge RB6 public network side Interface is respectively designated as port2_5, port2_6, and routing bridge RB3 connections host PC 30, the interface of host PC 31 are respectively designated as Port3_0, port3_1, routing bridge RB3 connection gateway routing bridges RB5, gateway routing bridge RB6 public network side interface are named respectively For port3_5, port3_6, the interface of routing bridge RB4 connections host PC 40 is named as port4_0, routing bridge RB4 connection gateways Routing bridge RB5, gateway routing bridge RB6 public network side interface are respectively designated as port4_5, port4_4, and gateway routing bridge RB5 connects The interface for meeting routing bridge RB1 to routing bridge RB4 is respectively designated as port5_1 to port5_4, gateway routing bridge RB6 connection routes Bridge RB1 to routing bridge RB4 interface are respectively designated as port6_1 to port6_4.
Two multicast groups, respectively multicast group 1 and multicast group 2 in fig. 2 be present, the multicast group IP address of multicast group 1 is 224.1.1.1, affiliated user vlan is VLAN100, and host PC 10 is the multicast source of multicast group 1;The multicast group IP of multicast group 2 Address is 225.1.1.1, and affiliated user vlan is VLAN200, and host PC 31 is the multicast source of multicast group 2.
In fig. 2, host PC 30 joins message as the IGMP of the multicast receivers transmission addition multicast group 1 of multicast group 1; IGMP, which joins message, carries multicast group the IP address 224.1.1.1 and VLAN100 of multicast group 1;
Routing bridge RB3 receives IGMP by interface port3_0 and joined message.
Routing bridge RB3 enables IGMP SNOOPING functions, and foundation receives the local access interface that IGMP joins message Port3_0, IGMP join message carrying multicast group IP address 224.1.1.1 and VLAN100 in local multicast address forward table Learning list item.Table 1-1 shows that foundation receives the local that IGMP joins message in routing bridge RB3 local multicast address forward tables Access interface, IGMP join message carrying multicast group IP address 224.1.1.1 and VLAN100 study list item:
Multicast group IP address VLAN ID Outgoing interface
224.1.1.1 VLAN 100 port3_0
Table 1-1
Routing bridge RB3 joins message device name (Nickname) RB3, IGMP of this equipment the multicast group IP of carrying Location 224.1.1.1, user vlan 100 are notified to other RB in TRILL network;Routing bridge RB3 can pass through predefined multicast Address, which joins message, carries Nickname RB3, multicast group IP address 224.1.1.1, user vlan 100 of this equipment.It is predefined Multicast address to join message can be Intermediate System-to-Intermediate System routing protocol (IS-IS:Intermediate System to Intermediate System Routing Protocol) terminal address distribution (ESADI:End Station Address Distribution Information) message.In the present invention, can be by IS-IS messages Expand a TLV field and carry Nickname RB3, multicast group IP address 224.1.1.1, user vlan 100.Routing bridge RB3 Multicast address is joined message and carries out TRILL encapsulation, access device title (Ingress Nickname) in the TRILL heads of encapsulation It is group corresponding to routing bridge RB3 NicknameRB3 and VLAN100 respectively with outlet device title (Engress Nickname) Broadcast the Nickname of the tree root of tree (distribution tree);Source MAC and purpose the MAC difference of outer layer ether net head It is the MAC Address and TRILL multicast mac address (All-RBridges multicast of routing bridge RB3 TRILL interfaces address)。
The multicast address that routing bridge RB1, RB2, RB4 receive TRILL encapsulation to RB6 joins message, according to multicast address Join message Nickname RB3 of carrying, multicast group IP address 224.1.1.1, user vlan 100 receives RB in local multicast Table learning list item, and continue on multicast address and join message corresponding to the VLAN100 of carrying multicast tree forwarding TRILL encapsulation Multicast address join message.Table 1-2 shows routing bridge RB1, RB2, RB4 into RB6 local multicasts reception RB tables according to multicast Address joins message the list item that Nickname RB3 of carrying, multicast group IP address 224.1.1.1, user vlan 100 learn.
Multicast group IP address VLAN ID Multicast reception RB Nickname
224.1.1.1 VLAN 100 Nickname RB3
Table 1-2
The IGMP that host PC 40 sends addition multicast group 1 joins message;IGMP, which joins message, carries multicast group IP address 224.1.1.1 with affiliated user vlan 100;
Routing bridge RB4 receives IGMP by interface port4_0 and joined message.
Routing bridge RB4 enables IGMP SNOOPING functions, and foundation receives the local access interface that IGMP joins message Port4_0, IGMP join message carrying multicast group IP address 224.1.1.1 and VLAN100 in local multicast address forward table Learning list item.Table 1-3 shows that foundation receives the local that IGMP joins message in routing bridge RB4 local multicast address forward tables Access interface port4_0, IGMP join message carrying multicast group IP address 224.1.1.1 and VLAN100 study list item:
Multicast group IP address VLAN ID Outgoing interface
224.1.1.1 VLAN 100 Port4_0
Table 1-3
Routing bridge RB4 carries Nickname RB4 of this equipment, multicast group IP address 224.1.1.1, user vlan 100 Other RB in TRILL network are sent in the multicast address of TRILL encapsulation joins message;Ingress in the TRILL heads of encapsulation Nickname and Engress nickname are multicast tree corresponding to routing bridge RB4 NicknameRB4 and VLAN100 respectively The Nickname of tree root;The source MAC and purpose MAC of outer layer ether net head are routing bridge RB4 TRILL interfaces respectively MAC Address and TRILL multicast mac address.
The multicast address that routing bridge RB3 receives TRILL encapsulation joins message, and is joined message carrying according to multicast address RB4 Nickname RB4, multicast group IP address 224.1.1.1, user vlan 100 receives RB table learning tables in local multicast , and continue on multicast address and join message the multicast address of the forwarding TRILL encapsulation of multicast tree corresponding to the VLAN100 of carrying Join message.Table 1-4 shows that routing bridge RB3 local multicasts receive to join message according to multicast address in RB tables and carries RB4's Nickname RB4, multicast group IP address 224.1.1.1, user vlan 100 receive the list item of RB table learnings in local multicast.
Table 1-4
Multicast group IP address VLAN ID Multicast reception RB NickName
224.1.1.1 VLAN 100 Nickname RB4
The multicast address that RB1, RB2, RB5, RB6 receive TRILL encapsulation joins message, and is joined message according to multicast address Carry Nickname RB4, multicast group IP address 224.1.1.1, user vlan 100 and receive RB table learning tables in local multicast , and continue on multicast address and join message the multicast address of the forwarding TRILL encapsulation of multicast tree corresponding to the VLAN100 of carrying Join message.Table 1-5 shows that routing bridge RB1, RB2, RB5, RB6 local multicast are received in RB tables and joined message according to multicast address Nickname RB4, multicast group IP address 224.1.1.1, user vlan 100 for carrying RB4 receive RB tables middle school in local multicast The list item of habit.
Multicast group IP address VLAN ID Multicast reception RB NickName
224.1.1.1 VLAN 100 Nickname RB3
224.1.1.1 VLAN 100 Nickname RB4
Table 1-5
In fig. 2, the multicast source host PC 31 of multicast group 2 sends multicast data message.Multicast data message carries group Broadcast group IP address 225.1.1.1 and user vlan 200.
Routing bridge RB3 receives multicast data message by interface port3_1, and multicast is searched in local multicast receives RB tables Group IP address 225.1.1.1 and user vlan 200 match list item, do not find the list item of matching, and routing bridge RB3 abandons multicast number According to message, the forwarding-table item that an action is generated in local multicast forward table to abandon, the forwarding-table item of generation is in a timing Interior meeting aging.Because routing bridge RB3 abandons multicast data message so that flooded in multicast data message no longer TRILL network, Reduce invalid multicast flooding in a network.
In fig. 2, the multicast source host PC 10 of multicast group 1 sends multicast data message.Multicast data message carries group Broadcast group IP address 224.1.1.1 and user vlan 100.
Routing bridge RB1 receives multicast data message by interface port1_0, and group is found in local multicast receives RB tables The list item that group IP address 224.1.1.1 and user vlan 100 match is broadcast, routing bridge RB1 is with distributing a multicast group overall situation MAC Location.The multicast group overall situation MAC Address of routing bridge RB1 distribution is unique in whole TRILL network, takes 6 bytes, routing bridge RB1 can distribute multicast group overall situation MAC Address in such a way:First character section is the value for representing multicast;Second and third Individual byte is RB Nickname;Remaining three bytes are the value mapped according to multicast group IP address.The multicast distributed with RB1 The global MAC Address of group is 0102-0301-0101.
Routing bridge RB1 is by multicast group overall situation MAC Address 0102-0301-0101, multicast group IP address 224.1.1.1, user VLAN100, source RB Nickname RB1 are notified to other RB in TRILL network.Routing bridge RB1 can pass through predefined group Broadcast a group global MAC Address notification packet and carry multicast group overall situation MAC Address 0102-0301-0101, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1.Predefined multicast group overall situation MAC Address notification packet can To be IS-IS ESADI message.In the present invention, multicast can be carried by expanding a TLV field to IS-IS messages The global MAC Address 0102-0301-0101 of group, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1.Routing bridge RB1 carries out TRILL encapsulation to multicast group overall situation MAC Address notification packet, Ingress in the TRILL heads of encapsulation Nickname and Engress nickname are multicast tree corresponding to routing bridge RB1 Nickname RB1 and VLAN100 respectively Tree root Nickname;The source MAC and purpose MAC of outer layer ether net head are routing bridge RB1 TRILL interfaces respectively MAC Address and TRILL multicast mac address.
Routing bridge RB2, RB5 receive the multicast group overall situation MAC Address notification packet of TRILL encapsulation to RB6, are locally not present The multicast receivers for the multicast group IP address 224.1.1.1 that multicast group overall situation MAC Address notification packet carries, then continue on group Broadcast the multicast group overall situation MAC of multicast tree forwarding TRILL encapsulation corresponding to the VLAN100 that group global MAC Address notification packet carries Address notification message.
Routing bridge RB3 receives the multicast group overall situation MAC Address notification packet of TRILL encapsulation, with multicast group IP being locally present Location 224.1.1.1 multicast receivers such as host PC 30, carry source RB's with multicast group overall situation MAC Address notification packet Nickname RB1 are the route that destination finds matching in local TRILL routing tables, are sent out according to the route unicast of matching Send multicast group overall situation MAC Address 0102-0301-0101, the multicast group IP address of multicast group overall situation MAC Address notification packet carrying 224.1.1.1, user vlan 100, source RB Nickname RB1.RB3 can pass through predefined multicast group overall situation MAC Address Join message and carry multicast group overall situation MAC Address 0102-0301-0101, multicast group IP address 224.1.1.1, user VLAN100, source RB Nickname RB1.It can be IS-IS that predefined multicast group overall situation MAC Address, which joins message, ESADI message.In the present invention, can be by expanding a TLV field to IS-IS messages with carrying multicast group overall situation MAC Location 0102-0301-0101, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1.Routing bridge RB3 joins message to multicast group overall situation MAC Address and carries out TRILL encapsulation, in the TRILL heads of encapsulation Ingress Nickname and Engress Nickname are routing bridge RB3 Nickname and routing bridge RB1 Nickname respectively;Outer layer ether net head Source MAC and purpose MAC are the MAC Address of routing bridge RB3 TRILL interfaces and next-hop routing bridge RB5 TRILL respectively The MAC Address of interface.Next-hop routing bridge RB5 is that routing bridge RB3 searches TRILL routing tables according to Engress Nickname, It is determined that reach routing bridge RB1 next-hop routing bridge.
Routing bridge RB4 receives the multicast group overall situation MAC Address notification packet of TRILL encapsulation, with multicast group IP being locally present Location 224.1.1.1 multicast receivers such as host PC 40, carry source RB's with multicast group overall situation MAC Address notification packet Nickname RB1 are the route that destination finds matching in local TRILL routing tables, according to the route of matching to carrying Multicast group overall situation MAC Address 0102-0301-0101, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1 multicast group overall situation MAC Address, which joins message, carries out TRILL encapsulation.Ingress in the TRILL heads of encapsulation Nickname and Engress Nickname are routing bridge RB4 Nickname RB4 and routing bridge RB1 Nickname respectively RB1;The source MAC and purpose MAC of outer layer ether net head are the MAC Address of routing bridge RB4 TRILL interfaces respectively and next Jump the MAC Address of routing bridge RB6 TRILL interfaces.Next-hop routing bridge RB6 is routing bridge RB4 according to Engress Nickname searches TRILL routing tables, it is determined that reaching routing bridge RB1 next-hop routing bridge.
The multicast group overall situation MAC Address that routing bridge RB5 receives TRILL encapsulation by interface port5_3 joins message, foundation Interface port5_3 that the multicast group overall situation MAC Address received joins message, multicast group overall situation MAC Address join message carrying Multicast group overall situation MAC Address 0102-0301-0101, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1 are in local multicast group overall situation MAC Address multicast forward table learning list item.Table 1-6 show routing bridge RB5 according to The interface to be joined message according to the multicast group overall situation MAC Address received, the multicast group overall situation MAC Address 0102-0301- carried 0101st, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1 are in local multicast group overall situation MAC The list item of address multicast forward table learning.
Table 1-6
The Engress Nickname that the multicast group overall situation MAC Address that routing bridge RB5 encapsulates according to TRILL joins message RB1 determines that next-hop routing bridge is routing bridge RB1, and the source MAC of outer layer and target MAC (Media Access Control) address are respectively modified as into routing bridge The MAC Address of RB5 and next-hop routing bridge RB1 TRILL interfaces, the multicast group overall situation MAC Address of TRILL encapsulation is added into report Text is sent to RB1.
The multicast group overall situation MAC Address that routing bridge RB6 receives TRILL encapsulation by interface port6_4 joins message, foundation Interface port6_4 that the multicast group overall situation MAC Address received joins message, multicast group overall situation MAC Address join message carrying Multicast group overall situation MAC Address 0102-0301-0101, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1 are in local multicast group overall situation MAC Address multicast forward table learning forwarding-table item.Table 1-7 shows routing bridge Interface that RB6 joins message according to the multicast group overall situation MAC Address that receives, the multicast group overall situation MAC Address 0102- carried 0301-0101, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1 are complete in local multicast group The forwarding-table item of office's MAC Address multicast forward table learning.
Table 1-7
The Engress Nickname that the multicast group overall situation MAC Address that routing bridge RB6 encapsulates according to TRILL joins message RB1 determines that next-hop routing bridge is routing bridge RB1, and the source MAC of outer layer and target MAC (Media Access Control) address are respectively modified as into routing bridge The MAC Address of RB6 and next-hop routing bridge RB1 TRILL interfaces, the multicast group overall situation MAC Address of TRILL encapsulation is added into report Text is sent to routing bridge RB1.
The multicast group overall situation MAC Address that RB1 receives TRILL encapsulation by interface Port1_5 joins message, and determines TRILL Engress Nickname are the Nickname of this equipment in head, are descapsulated into multicast group overall situation MAC Address and joined message. Joined message carrying according to interface Port1_5, the multicast group overall situation MAC Address that multicast group overall situation MAC Address joins message is received Multicast group overall situation MAC Address 0102-0301-0101, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1 are in local multicast group overall situation MAC Address multicast forward table learning forwarding-table item.RB1 passes through interface Port1_ The processing that the 6 multicast group overall situation MAC Address for receiving TRILL encapsulation join message is similar.Table 1-8 shows routing bridge RB1 according to receipts To TRILL encapsulation multicast group overall situation MAC Address join message interface, carry multicast group overall situation MAC Address 0102- 0301-0101, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1 are complete in local multicast group The list item of office's MAC Address multicast forward table learning.
Table 1-8
Multicast group IP address 224.1.1.1 that routing bridge RB1 carries according to multicast data message, user vlan 100 are at this The list item of matching is searched in ground multicast group overall situation MAC Address multicast forward table, finds the list item of two matchings, then replicates one It is identical to two respectively according to the list item of two matchings with the identical multicast data message of the multicast data message Multicast data message carries out TRILL encapsulation and the outgoing interface for the list item for passing through two matchings forwards.One multicast data message envelope In the TRILL heads of dress Ingress Nickname and Engress Nickname be respectively RB1 Nickname and VLAN100 pairs The Nickname of the tree root for the multicast tree answered, the source MAC and purpose MAC of outer layer ether net head are that RB1 TRILL connects respectively The MAC Address and multicast group overall situation MAC Address 0102-0301-0101 of mouth, are sent, another multicast datagram by port1_5 Text encapsulation TRILL heads in Ingress Nickname and Engress Nickname be respectively RB1 Nickname and The Nickname of the tree root of multicast tree corresponding to VLAN100, the source MAC and purpose MAC of outer layer ether net head are road respectively By the MAC Address and 0102-0301-0101 of bridge RB1 TRILL interfaces, sent by port1_6.
Routing bridge RB5 receives the multicast data message of TRILL encapsulation by interface port5_1, determines outer layer ether net head Purpose MAC be multicast group overall situation MAC Address 0102-0301-0101, in local multicast group overall situation MAC Address multicast forward table In find the multicast group overall situation MAC Address 0102-0301-0101 matching list item, pass through the outgoing interface in the list item of matching Port5_3 sends the multicast data message of TRILL encapsulation.
Routing bridge RB6 receives the multicast data message of TRILL encapsulation by interface port6_1, finds outer layer ether net head Purpose MAC be multicast group overall situation MAC Address 0102-0301-0101, in local multicast group overall situation MAC Address multicast forward table In find the multicast group overall situation MAC Address 0102-0301-0101 matching list item, pass through the outgoing interface in the list item of matching Port6_4 sends the multicast data message of TRILL encapsulation.
Routing bridge RB3 receives the multicast data message of TRILL encapsulation by interface port3_5, determines outer layer ether net head Purpose MAC be multicast group overall situation MAC Address 0102-0301-0101, in local multicast group overall situation MAC Address multicast forward table In do not find the multicast group overall situation MAC Address 0102-0301-0101 matching list item, be descapsulated into multicast data message, Found in local multicast address forward table multicast data message carrying multicast group IP address 224.1.1.1 and VLAN100 The list item matched somebody with somebody, multicast data message is sent by the outgoing interface port3_0 in the list item of matching, final multicast data message reaches Host PC 30.
Routing bridge RB4 receives the multicast data message of TRILL encapsulation by interface Port4_6, determines outer layer ether net head Purpose MAC be multicast group overall situation MAC Address 0102-0301-0101, in local multicast group overall situation MAC Address multicast forward table In do not find the multicast group overall situation MAC Address 0102-0301-0101 matching list item, be descapsulated into multicast data message, Found in local multicast address forward table multicast data message carrying multicast group IP address 224.1.1.1 and VLAN100 The list item matched somebody with somebody, multicast data message is sent by the outgoing interface port4_0 in the list item of matching, final multicast data message reaches Host PC 40.
So far, the multicast source (host PC 10) for completing multicast group 1 sends the description of multicast data message in multicast group 1.This The forwarding of kind multicast data message can ensure that only multicast receivers receive, and multicast data message will not be in TRILL network In flood, reduce invalid multicast flooding in a network.Multicast source (host PC 10) hair of multicast group 1 has been shown in particular in Fig. 3 The multicast data message sent flows to path.
Afterwards, in fig. 2, the IGMP of routing bridge RB2 local host PC20 transmission addition multicast groups 1 joins message; IGMP, which joins message, carries multicast group IP address 224.1.1.1 and VLAN100.
Routing bridge RB2 enables IGMP SNOOPING functions, and receiving IGMP by interface port2_0 joins message, foundation Local access interface port2_0, IGMP that IGMP joins message is received to join message the multicast group IP address 224.1.1.1 of carrying With VLAN100 in local multicast address forward table learning forwarding-table item.Table 1-9 shows routing bridge RB2 local multicast addresses Joined message the multicast group IP address of carrying in forward table according to receiving local access interface, the IGMP that IGMP joins message 224.1.1.1 the forwarding-table item with VLAN100 study:
Multicast group IP address VLAN ID Outgoing interface
224.1.1.1 VLAN 100 Port2_0
Table 1-9
Routing bridge RB2 carries Nickname RB4 of this equipment, multicast group IP address 224.1.1.1, user vlan 100 Other RB in TRILL network are sent in the multicast address of TRILL encapsulation joins message;Ingress in the TRILL heads of encapsulation Nickname and Engress nickname are multicast tree corresponding to routing bridge RB2 Nickname RB2 and VLAN100 respectively Tree root Nickname;The source MAC and purpose MAC of outer layer ether net head are routing bridge RB2 TRILL interfaces respectively MAC Address and TRILL multicast mac address.
The multicast address that RB1, RB3 receive TRILL encapsulation to RB6 joins message, and is joined message carrying according to multicast address Nickname RB2, multicast group IP address 224.1.1.1, user vlan 100 local multicast receive RB table learning multicasts List item is received, and continues on multicast address and joins message the group of the forwarding TRILL encapsulation of multicast tree corresponding to the VLAN100 of carrying Address is broadcast to join message.Multicast group IP address is 224.1.1.1 in the multicast reception list item now learnt, and VLAN ID are VLAN100, multicast reception RB NickName are Nickname RB2.
The multicast group IP address 224.1.1.1 multicast source i.e. RB1 of host PC 10 is connected in local multicast group overall situation MAC The list item of multicast group IP address 224.1.1.1, VLAN100 matching is found in the multicast forward table of address, the group encapsulated with TRILL It is that the route of matching, root are searched in destination in local TRILL routing tables to broadcast the join message Nickname RB2 of carrying of address TRILL encapsulation is carried out to multicast group overall situation MAC Address notification packet according to the route of matching and the list item of matching.Multicast group is global Multicast group overall situation MAC Address 0102-0301-0101, multicast group IP address in the list item of MAC Address notification packet carrying matching 224.1.1.1, user vlan 100, source RB Nickname RB1.The TRILL of multicast group overall situation MAC Address notification packet encapsulation Ingress Nickname and Engress Nickname are routing bridge RB1 Nickname RB1 and routing bridge respectively in head RB2 Nickname RB2;The source MAC and purpose MAC of outer layer ether net head are routing bridge RB1 TRILL interfaces respectively MAC Address and next-hop routing bridge RB5 TRILL interfaces MAC Address.
Routing bridge RB5 receives the multicast group overall situation MAC Address notification packet of TRILL encapsulation, according in TRILL heads Engress Nickname determine that next-hop routing bridge is routing bridge RB2, by the source MAC and purpose of outer layer ether net head MAC Address is respectively modified as the MAC Address of routing bridge RB5 and routing bridge RB2 TRILL interfaces, the multicast group that TRILL is encapsulated Global MAC Address notification packet is sent to routing bridge RB2.
Routing bridge RB2 receives the multicast group overall situation MAC Address notification packet of TRILL encapsulation, determines TRILL heads Engress Nickname are the Nickname of this equipment, multicast group overall situation MAC Address notification packet are descapsulated into, with group A group global MAC Address notification packet carrying source RB Nickname RB1 are broadcast to search in local TRILL routing tables for destination To the route of matching, according to the route of matching to carrying multicast group overall situation MAC Address 0102-0301-0101, multicast group IP Location 224.1.1.1, user vlan 100, source RB Nickname RB1 multicast group overall situation MAC Address join message progress TRILL is encapsulated.Ingress Nickname and Engress Nickname are routing bridge RB2 respectively in the TRILL heads of encapsulation Nickname RB2 and routing bridge RB1 Nickname RB1;The source MAC and purpose MAC of outer layer ether net head be respectively The MAC Address of the MAC Address of routing bridge RB4 TRILL interfaces and next-hop routing bridge RB5 TRILL interfaces.Next-hop is route Bridge RB5 is that routing bridge RB2 searches TRILL routing tables according to Engress Nickname, it is determined that reaching routing bridge RB1 next-hop Routing bridge.
The multicast group overall situation MAC Address that routing bridge RB5 receives TRILL encapsulation by interface port5_2 joins message, foundation Multicast group overall situation MAC Address joins message the multicast group overall situation MAC Address 0102-0301-0101 of carrying, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1 are looked into local multicast group overall situation MAC Address multicast forward table The list item of matching is looked for,
If not finding the list item of matching, the interface that is joined message according to the multicast group overall situation MAC Address that receives Port5_2, multicast group overall situation MAC Address join message the multicast group overall situation MAC Address 0102-0301-0101 of carrying, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1 are in local multicast group overall situation MAC Address multicast forwarding Table learning forwarding-table item, and continue the Engress in the TRILL heads that are joined message to multicast group overall situation MAC Address The multicast group overall situation MAC Address of Nickname forwarding TRILL encapsulation joins message., can be global according to multicast group in forwarding Engress Nickname determine that next-hop is route in local TRILL routing tables in the TRILL heads that MAC Address joins message Bridge, the source MAC of outer layer and target MAC (Media Access Control) address are respectively modified as to the TRILL interfaces of routing bridge RB5 and next-hop routing bridge MAC Address.Next-hop routing bridge is received after the multicast group overall situation MAC Address that TRILL is encapsulated joins message according to similar route Bridge RB5 processing mode processing.
If found, the routing bridge RB5 local multicast group overall situation MAC Address multicast forward tables as shown in table 1-6, then only Interface port5_2, the multicast group overall situation MAC Address to be joined message according to the multicast group overall situation MAC Address received joins message and taken The multicast group overall situation MAC Address 0102-0301-0101 of band, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1 do not continue to forward TRILL in local multicast group overall situation MAC Address multicast forward table learning forwarding-table item The multicast group overall situation MAC Address of encapsulation joins message.With reference to table 1-6, then go to now, table 1-10 shows routing bridge RB5 The interface to be joined message according to the multicast group overall situation MAC Address received, the multicast group overall situation MAC Address 0102-0301- carried 0101st, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1 are in local multicast group overall situation MAC The forwarding-table item of address multicast forward table learning.
Table 1-10
Above is the RB (might as well be referred to as source RB) connected to multicast source is after for Multicast Group Assignment multicast group overall situation MAC Address Follow-up multicast receivers add the description during multicast group.
In fig. 2, when host PC 40 exits the multicast group 1 that address is 224.1.1.1, routing bridge RB4 judges local Whether other main frames are also had in the multicast group 1 that address is 224.1.1.1,
Routing bridge RB4 is 224.1.1.1's judging local also other host PCs 41 (not shown in Fig. 2) in address Multicast group 1, routing bridge RB4 find the list item of port4_0 matchings and deletion in local multicast forward table, terminate current process. Hereafter emphasis describes routing bridge RB4 and judges the local feelings for not having other main frames when address is 224.1.1.1 multicast group 1 Condition.
Routing bridge RB4 is judging the local multicast group 1 for being 224.1.1.1 in address without other main frames, at local group The list item that port4_0 matchings are found in forward table and deletion are broadcast, and sends the logical of the multicast group 1 for exiting that address is 224.1.1.1 Know to other routing bridges RB in TRILL network.Routing bridge RB4 can exit message notifying routing bridge by predefined multicast RB4 exits the multicast group 1 that address is 224.1.1.1.Multicast exits the ESADI message that message can be IS-IS.In the present invention In, the multicast group IP address for the multicast group 1 that can be exited by expanding a TLV fields carrying to IS-IS messages 224.1.1.1, user vlan 100, routing bridge RB4 exit RB Nickname RB4 as multicast group.Routing bridge RB4 is to multicast Exit message and carry out TRILL encapsulation, Ingress Nickname and Engress Nickname are respectively in the TRILL heads of encapsulation The Nickname of the tree root of multicast tree corresponding to routing bridge RB4 Nickname RB4 and VLAN100;The source of outer layer ether net head MAC Address and purpose MAC are the MAC Address and TRILL multicast mac address of routing bridge RB4 TRILL interfaces respectively.
The multicast that routing bridge RB1 to RB3 receives TRILL encapsulation exits message, and group is found in local multicast receives RB tables Broadcast the list item that the multicast group IP address 224.1.1.1 for exiting message carrying, user vlan 100, NicknameRB4 are matched and delete Remove, and continue on multicast exit message carrying VLAN100 corresponding to multicast tree forwarding TRILL encapsulation multicast exit report Text.
The multicast that gateway routing bridge RB5 receives TRILL encapsulation exits message, and multicast is found in local multicast receives RB tables The list item of multicast group IP address 224.1.1.1, user vlan 100, the NicknameRB4 matching of message carrying and deletion are exited, And the interface of routing bridge RB4 connections corresponding with the NicknameRB4 that multicast exits message carrying is determined, it is complete in local multicast group The list item of matching is not found in office's MAC Address multicast forward table, multicast is continued on and exits the VLAN100 of message carrying correspondingly Multicast tree forwarding TRILL encapsulation multicast exit message.
The multicast that gateway routing bridge RB6 receives TRILL encapsulation exits message, and multicast is found in local multicast receives RB tables The list item of multicast group IP address 224.1.1.1, user vlan 100, the NicknameRB4 matching of message carrying and deletion are exited, And continue on multicast exit message carrying VLAN100 corresponding to multicast tree forwarding TRILL encapsulation multicast exit message, with And the list item of matching is further found in local multicast group overall situation MAC Address multicast forward table;
Gateway routing bridge RB6 determines that the list item of matching has more than two, wherein the outgoing interface of a list item route for gateway The interface of bridge RB6 routing bridge RB4 connections corresponding with the NicknameRB4 that multicast exits message carrying, then delete the list item, tie Beam current process;Following emphasis describes gateway routing bridge RB6 and determines that the list item of matching only has one, and the outgoing interface of the list item is net The situation of the interface of pass routing bridge RB6 routing bridge RB4 connections corresponding with the NicknameRB4 that multicast exits message carrying.
Gateway routing bridge RB6 determines that the list item of matching only has one, and the outgoing interface of the list item is gateway routing bridge RB6 and group The interface for exiting routing bridge RB4 connections corresponding to the NicknameRB4 of message carrying is broadcast, then to match source RB in list item NickNameRB1 is that destination matches route in local TRILL routing tables, is sent by the route unicast of matching predefined Multicast group overall situation MAC Address exits message, and deletes the list item of matching.Predefined multicast group overall situation MAC Address exits message Can be IS-IS ESADI message.In the present invention, can be by expanding a TLV field carrying group to IS-IS messages Broadcast a group global MAC Address 0102-0301-0101, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1.Gateway routing bridge RB6 exits message to multicast group overall situation MAC Address and carries out TRILL encapsulation, encapsulation Ingress Nickname and Engress Nickname are routing bridge RB6 Nickname RB6 and source respectively in TRILL heads RB Nickname RB1;The source MAC and purpose MAC of outer layer ether net head are routing bridge RB6 TRILL interfaces respectively The MAC Address of MAC Address and next-hop routing bridge RB1 TRILL interfaces.
The multicast group overall situation MAC Address that routing bridge RB1 receives TRILL encapsulation by interface port1_6 exits message, it is determined that The Engress Nickname of TRILL heads are the Nickname of this equipment, are descapsulated into multicast group overall situation MAC Address and exited Message, find interface port1_6 in local multicast group overall situation MAC Address multicast forward table, multicast group overall situation MAC Address exits Message carry multicast group overall situation MAC Address 0102-0301-0101, multicast group IP address 224.1.1.1, user vlan 100, The list item of source RB Nickname RB1 matchings and deletion.
Above is description when multicast group 1 is exited to multicast receivers PC40.Multicast receivers PC30, PC20 exit multicast The similar multicast receivers PC40 of processing during group 1 exits the processing of multicast group 1.
In the above description, routing bridge RB1 is deleting list item from local multicast group overall situation MAC Address multicast forward table When, it also further can find multicast group overall situation MAC Address in local multicast group overall situation MAC Address multicast forward table and exit message Multicast group overall situation MAC Address 0102-0301-0101, multicast group IP address 224.1.1.1, user vlan 100, the source RB of carrying Nickname RB1 matching list item, if the list item found only has one, the outgoing interface of the list item is port1_6, then removes Deletion list item, can also reclaim global MAC multicast address 0102-0301-0101.Routing bridge RB1 can be predetermined by sending The global MAC group address recovery message of justice reclaims global MAC multicast address 0102-0301-0101.Multicast group overall situation MAC Address Recovery message can be IS-IS ESADI message.In the present invention, can be by expanding a TLV word to IS-IS messages Section carries multicast group overall situation MAC Address 0102-0301-0101, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1.Gateway routing bridge RB1 carries out TRILL encapsulation to multicast group overall situation MAC Address recovery message, encapsulation In TRILL heads Ingress Nickname and Engress Nickname be respectively routing bridge RB1 Nickname RB1 and The Nickname of the tree root of multicast tree corresponding to VLAN100;The source MAC and purpose MAC of outer layer ether net head are road respectively By the MAC Address and TRILL multicast mac address of bridge RB1 TRILL interfaces.
RB2 to RB6 receives multicast group overall situation MAC Address recovery message, is taken according to multicast group overall situation MAC Address recovery message The multicast group overall situation MAC Address 0102-0301-0101 of band, multicast group IP address 224.1.1.1, user vlan 100, source RB Nickname RB1 delete the list item of matching in local global multicast group overall situation MAC Address multicast forward table.
So far, the description of method provided by the invention is completed.
Equipment provided by the invention is described below:
Referring to Fig. 4, Fig. 4 is equipment structure chart provided by the invention.The equipment application in access RB, including:
Receiving unit 401, for being used as the multicast number of multicast source transmission by local access interface 405 reception local host According to message;
Memory cell 402, for storing multicast group overall situation MAC Address multicast table, multicast reception RB tables;
Searching unit 403, for being searched in the multicast group overall situation MAC Address multicast table that is stored in the memory cell 402 The multicast group IP address of the multicast data message carrying, the list item of user's virtual LAN VLAN matching;
Processing unit 404, for the searching unit 403 lookup result for it is no when and determine the memory cell The multicast group IP address is not present in the multicast reception RB tables of 402 storages, the list item that user vlan matches, abandons the multicast Data message;And
When the lookup result of the searching unit 403 is is, according to the matching list item of lookup to the multicast datagram Text carries out TRILL encapsulation and the outgoing interface by matching list item forwards;The purpose of the outer layer ether net head of the TRILL heads of encapsulation MAC Address is the multicast group overall situation MAC Address in matching list item.
Preferably, the processing unit 404 in the lookup result of the searching unit 403 is no, and the memory cell When the multicast group IP address, the list item that user vlan matches in the multicast reception RB tables of 402 storages be present, further to be described Multicast group overall situation MAC Address corresponding to the distribution of multicast group IP address, using the multicast group overall situation MAC Address of distribution, this RB as source RB Nickname, the multicast group IP address, user vlan carry the multicast group overall situation MAC Address notice in TRILL encapsulation Other RB in TRILL network are sent in message;
Preferably, multicast group of the receiving unit 401 further by the reception TRILL encapsulation of public network side interface 406 is complete Office's MAC Address joins message;It is by the multicast reception of the connection multicast group IP address that multicast group overall situation MAC Address, which joins message, What the access RB of person was initiated after the multicast group overall situation MAC Address notification packet is received;
Preferably, the processing unit 404 further receives the multicast group of TRILL encapsulation in the receiving unit 401 When global MAC Address joins message, the outlet device title Engress that the multicast group overall situation MAC Address joins message is determined Nickname is this RB Nickname, then TRILL encapsulation is carried out to the multicast data message and passes through the public network side joint Mouth 406 is sent, and the target MAC (Media Access Control) address of the outer layer ether net head of TRILL encapsulation is the multicast group overall situation MAC Address;And foundation The public network side interface 406, multicast group overall situation MAC Address join message the multicast group overall situation MAC Address of carrying, multicast group IP address, user vlan, source RB Nickname learn the list item in the multicast group overall situation MAC Address multicast table.
Preferably, the receiving unit 401 further receives the multicast packet of TRILL encapsulation by public network side interface 406 Message, and,
Further IGMP is received by local access interface 405 to join message, and
The multicast address that TRILL encapsulation is further received by public network side interface 406 joins message, and,
The multicast group overall situation MAC Address notification packet of TRILL encapsulation is further received by public network side interface 406.
Preferably, the processing unit 404 further receives the multicast number of TRILL encapsulation in the receiving unit 401 During according to message, multicast data message is descapsulated into the TRILL that the receiving unit 401 the receives multicast data messages encapsulated, Multicast group IP address, user vlan according to multicast data message carrying find the forwarding of matching in local multicast forward table List item, pass through the outgoing interface multicast data forwarding message in the forwarding-table item of matching;And
Further when the receiving unit 401 receives IGMP and joined message, joined message according to the IGMP is received Local access interface 405 and IGMP join message the multicast group IP address of carrying and user vlan with learning the multicast The list item of location forward table, the NickName of this equipment, the multicast group IP address and user vlan are carried in TRILL encapsulation Multicast address is sent to TRILL network other RB in joining message;And
Further when the multicast address that the receiving unit 401 receives TRILL encapsulation joins message, according to multicast Location join message carrying NickName, multicast group IP address and user vlan local multicast receive RB table learning list items, The join message multicast address of the forwarding TRILL encapsulation of multicast tree corresponding to the user vlan of carrying of multicast address is continued on to add Message, and confirm it is local whether be connected to the multicast address join message carrying multicast group IP address multicast source, if Be, and be assigned with multicast group overall situation MAC Address for the join message multicast group IP address of carrying of the multicast address, then with Multicast address join message carrying Nickname for the purpose of in local TRILL routing tables match route, pass through the road of matching By the multicast address is joined message the multicast group IP address of carrying, user vlan and for the multicast group IP address point The multicast group overall situation MAC Address matched somebody with somebody carries the multicast group overall situation MAC Address notification packet transmission in TRILL encapsulation, encapsulation Engress Nickname are that the multicast address joins message the Nickname of carrying in TRILL heads;And
Further when the receiving unit 401 receives the multicast group overall situation MAC Address notification packet of TRILL encapsulation, In the multicast group IP address that the multicast group overall situation MAC Address notification packet carrying that the receiving unit 401 receives locally be present Multicast receivers, then it is destination in local TRILL to carry source RB NickName using multicast group overall situation MAC Address notification packet The route of matching is found in routing table, the multicast group overall situation MAC Address that TRILL encapsulation is sent according to the route unicast of matching adds Enter message, multicast group overall situation MAC Address joins message the multicast group carried entrained by multicast group overall situation MAC Address notification packet Global MAC Address, multicast group IP address, user vlan, source RB Nickname.
Preferably, the processing unit 404 further exits multicast in the multicast receivers of local access interface 405 connection During group, local other multicast receivers for whether also belonging to the multicast group are judged, if it is, being looked in local multicast forward table List item and deletion to the matching of local access interface 405, if not, finding local access interface in local multicast forward table The list item of 405 matchings and deletion, and this RB Nickname, the multicast group IP address of multicast group and affiliated user vlan are taken Band exits in message in the TRILL multicasts encapsulated and is sent to other RB in TRILL network;
Preferably, the receiving unit 401 further by public network side interface 406 receive TRILL encapsulation multicast exit Message;And
The multicast group overall situation MAC Address that the TRILL encapsulation of gateway RB transmissions is further received by public network side interface 406 moves back Outgoing packet;
Preferably, the processing unit 404 is further when the receiving unit 401 receives multicast and exits message, The multicast is found in the multicast reception RB tables that memory cell 402 stores and exits the multicast group IP address of message carrying, user VLAN, multicast group exit the list item of RB Nickname matchings and deletion;And
Further when the multicast group overall situation MAC Address that the receiving unit 401 receives TRILL encapsulation exits message, It was found that the Engress Nickname of TRILL heads are this RB Nickname, then it is descapsulated into multicast group overall situation MAC Address and exits Message, the group that multicast group overall situation MAC Address exits message carrying is found in local multicast group overall situation MAC Address multicast forward table The list item that a group global MAC Address, multicast group IP address, user vlan, source RB Nickname are matched is broadcast, if the list item found Only one, the outgoing interface of the list item is to receive the public network side interface 406 that the multicast group overall situation MAC Address exits message, Global MAC multicast address is reclaimed, and deletes the list item found, otherwise, outgoing interface is deleted from the list item found to receive State the list item that multicast group overall situation MAC Address exits the public network side interface 406 of message.
So far, the equipment description shown in Fig. 4 is completed.It should be noted that the unit and interface shown in Fig. 4 are equal It can be connected by interlocking frame 407, specifically be shown in Fig. 4.
Referring to Fig. 5, Fig. 5 is another equipment structure chart provided by the invention.The equipment application in gateway RB, including:
Receiving unit 501, for receiving the multicast data message of TRILL encapsulation;
Memory cell 502, for storing multicast group overall situation MAC Address multicast forward table;
Searching unit 503, the target MAC (Media Access Control) address for the outer layer ether net head of the TRILL heads according to encapsulation are single in storage The list item of matching is searched in the multicast group overall situation MAC Address multicast table of the storage of member 502;
Processing unit 504, the multicast data message for the outgoing interface forwarding TRILL encapsulation in the list item by matching.
Preferably, receiving unit 501 further receives the multicast group overall situation MAC Address notification packet of TRILL encapsulation;With And receive the multicast group overall situation MAC Address that TRILL is encapsulated and join message, and receive the multicast that TRILL is encapsulated and exit message;
Processing unit 504 further receives the multicast group overall situation MAC Address notice of TRILL encapsulation in the receiving unit During message, the multicast group overall situation MAC Address notification packet of TRILL encapsulation is forwarded according to Engress Nickname in TRILL heads; And
When the multicast group overall situation MAC Address that receiving unit 501 receives TRILL encapsulation joins message, local group is checked Group global MAC Address multicast forward table is broadcast to join message the multicast group overall situation MAC of carrying with the presence or absence of multicast group overall situation MAC Address The list item that address, multicast group IP address, user vlan, source RB Nickname are matched, if not, according to multicast group overall situation MAC Interface that address joins message, multicast group overall situation MAC Address join message multicast group overall situation MAC Address, the multicast group IP of carrying Address, user vlan, source RB Nickname learn the list item of the multicast group overall situation MAC Address multicast forward table, and continued According to multicast group overall situation MAC Address join message encapsulation TRILL heads in Engress Nickname forwarding TRILL encapsulation Multicast group overall situation MAC Address joins message;If it is, the interface to be joined message according to the multicast group overall situation MAC Address received, group Group global MAC Address is broadcast to join message the multicast group overall situation MAC Address of carrying, multicast group IP address, user vlan, source RB Nickname learns the list item of multicast group overall situation MAC Address multicast forward table;And
When the multicast that receiving unit 501 receives TRILL encapsulation exits message, continue according to multicast and exit message encapsulation TRILL heads in the multicast of Engress Nickname forwarding TRILL encapsulation exit message, and exit message according to multicast and take Nickname, multicast group IP address, the user vlan of band find list item and the deletion of matching in local multicast reception RB tables, with And foundation multicast exits the multicast group IP address of message carrying, user vlan in local multicast group overall situation MAC Address multicast forwarding The list item of matching is searched in table,
If finding the list item of more than two, it is that this RB connection multicasts exit report that outgoing interface is deleted from the list item found The list item of the interface of routing bridge corresponding to the Nickname that text carries;If find a list item and the list item found Outgoing interface is the interface that this RB connection multicasts exit routing bridge corresponding to the Nickname that message carries, in the list item found with this Source RB NickName is that destination matches route in local TRILL routing tables, the multicast in the list item that this is found The global MAC Address of group, multicast group IP address, user vlan, source RB Nickname carry the multicast group overall situation in TRILL encapsulation MAC Address exits message and sent by the route of matching, and deletes the list item found.
It should be noted that receiving unit 501 is all that above-mentioned message is received by public network side interface 505.Fig. 5 is shown Public network side interface 505.
So far, the equipment description shown in Fig. 5 is completed.It should be noted that the unit and interface shown in Fig. 5 are equal It can be connected by interlocking frame 506, specifically be shown in Fig. 5.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God any modification, equivalent substitution and improvements done etc., should be included within the scope of protection of the invention with principle.

Claims (16)

1. the retransmission method of multicast message in a kind of TRILL network, it is characterised in that this method is applied to connecing for TRILL network Enter routing bridge RBridge, this method includes:
It is used as the multicast data message of multicast source transmission by local access interface reception local host;
Multicast group IP address, the use that the multicast data message carries are searched in local multicast group overall situation MAC Address multicast table The list item of family virtual LAN VLAN matching;The multicast group overall situation MAC Address multicast table includes multicast group IP address, user VLAN, multicast group overall situation MAC Address, outgoing interface, source RB NickName;The multicast group overall situation MAC Address unique identification source RB, including 6 bytes, first character section are the value for representing multicast;Second and third byte is source RB Nickname;It is surplus Under three bytes be according to multicast group IP address map value;
The multicast group IP address, the table of user vlan matching are not found in local multicast group overall situation MAC Address multicast table , and local multicast receives and the multicast group IP address, the list item of user vlan matching is not present in RB tables, abandons the multicast Data message;The multicast reception RB tables include the NickName of multicast group IP address, user vlan and multicast reception RB;
The multicast group IP address, the list item of user vlan matching are found in local multicast group overall situation MAC Address multicast table, The outgoing interface for carrying out TRILL encapsulation and the list item for passing through matching to the multicast data message according to the list item of matching forwards;Envelope The target MAC (Media Access Control) address of the outer layer ether net head of the TRILL heads of dress is the multicast group overall situation MAC Address in the list item of matching.
2. according to the method for claim 1, it is characterised in that do not looked into local multicast group overall situation MAC Address multicast table When finding the multicast group IP address, the list item that user vlan matches, if local multicast, which is received in RB tables, has the multicast Group IP address, the list item of user vlan matching, this method further comprise:
For the multicast group IP address distribution corresponding to multicast group overall situation MAC Address, by the multicast group overall situation MAC Address of distribution, This RB is complete in the multicast group of TRILL encapsulation as source RB title Nickname, the multicast group IP address, user vlan carrying Other RB in TRILL network are sent in office's MAC Address notification packet;
The multicast group overall situation MAC Address that TRILL encapsulation is received by public network side interface joins message;Multicast group overall situation MAC Address Join message is to receive the multicast group overall situation MAC by the access RB for connecting the multicast receivers of the multicast group IP address Initiated after address notification message;
Determine that the outlet device title Engress Nickname that the multicast group overall situation MAC Address joins message are this RB's Nickname, then TRILL encapsulation is carried out to the multicast data message and is sent by the public network side interface, TRILL encapsulation The target MAC (Media Access Control) address of outer layer ether net head be the multicast group overall situation MAC Address;And according to the public network side interface, multicast The global MAC Address of group joins message the multicast group overall situation MAC Address of carrying, multicast group IP address, user vlan, source RB Nickname learns list item in local multicast group overall situation MAC Address multicast table.
3. according to the method for claim 1, it is characterised in that this method further comprises:
The multicast data message of TRILL encapsulation is received by public network side interface, is descapsulated into multicast data message, according to multicast number The forwarding-table item of matching is found in local multicast address forward table according to the multicast group IP address of message carrying, user vlan, Pass through the outgoing interface multicast data forwarding message in the forwarding-table item of matching.
4. according to the method for claim 1, it is characterised in that this method further comprises:
Internet igmpinternets IGMP is received by local access interface to join message, according to local access interface, IGMP Join message carrying multicast group IP address and user vlan in local multicast address forward table learning list item, by this equipment NickName, the multicast group IP address and user vlan carry to be sent in the multicast address of TRILL encapsulation joins message Other RB of TRILL network;
The multicast address that TRILL encapsulation is received by public network side interface joins message, and is joined message carrying according to multicast address NickName, multicast group IP address and user vlan receive RB table learning list items in local multicast, continue on multicast address The multicast address of multicast tree forwarding TRILL encapsulation corresponding to the user vlan of carrying that joins message joins message, and confirms local Whether be connected to the multicast address join message carrying multicast group IP address multicast source, if it is, and for described The join message multicast group IP address of carrying of multicast address is assigned with multicast group overall situation MAC Address, then is added and reported with multicast address Route is matched for the purpose of the Nickname that text carries in local TRILL routing tables, by the route of matching by the multicast Location joins message the multicast group IP address of carrying, user vlan and global for the multicast group of multicast group IP address distribution MAC Address carries the multicast group overall situation MAC Address notification packet encapsulated in TRILL and sent, Engress in the TRILL heads of encapsulation Nickname is that the multicast address joins message the Nickname of carrying.
5. according to the method for claim 1, it is characterised in that this method further comprises:
The multicast group overall situation MAC Address notification packet of TRILL encapsulation is received by public network side interface;
In the multicast receivers for the multicast group IP address that the carrying of multicast group overall situation MAC Address notification packet locally be present, with group Broadcast group global MAC Address notification packet and carry a source RB NickName and found for destination in local TRILL routing tables The route matched somebody with somebody, the multicast group overall situation MAC Address that TRILL encapsulation is sent according to the route unicast of matching join message, encapsulation The Engress Nickname of TRILL heads are the NickName for the source RB that the multicast group overall situation MAC Address notification packet carries, The multicast group overall situation MAC Address multicast group carried entrained by multicast group overall situation MAC Address notification packet that joins message is complete Office's MAC Address, multicast group IP address, user vlan, source RB Nickname.
6. according to the method for claim 1, it is characterised in that this method further comprises:
When the multicast receivers of local access interface connection exit multicast group, judge locally whether also belong to the multicast group Other multicast receivers, if it is, the list item of local access interface matching and deletion are found in local multicast address forward table, If not, the list item of local access interface matching and deletion are found in local multicast address forward table, and by this RB's Nickname, the multicast group IP address of multicast group and affiliated user vlan carry to be exited in message in the TRILL multicasts encapsulated It is sent to other RB in TRILL network;
The multicast that TRILL encapsulation is received by public network side interface exits message, finds multicast in local multicast receives RB tables and moves back Multicast group IP address, user vlan, the multicast group of outgoing packet carrying exit the list item of RB Nickname matchings and deletion.
7. according to the method for claim 1, it is characterised in that this method further comprises:
The multicast group overall situation MAC Address that the TRILL encapsulation of gateway RB transmissions is received by public network side interface exits message, it is determined that The Engress Nickname of TRILL heads are this RB Nickname, are descapsulated into multicast group overall situation MAC Address and exit report Text, the multicast that multicast group overall situation MAC Address exits message carrying is found in local multicast group overall situation MAC Address multicast forward table The list item that the global MAC Address of group, multicast group IP address, user vlan, source RB Nickname are matched, if the list item found is only There is one, the outgoing interface of the list item is to receive the public network side interface that the multicast group overall situation MAC Address exits message, and recovery is complete Office's MAC multicast address, and the list item found is deleted, otherwise, outgoing interface is deleted from the list item found to receive the multicast The global MAC Address of group exits the list item of the public network side interface of message.
8. the retransmission method of multicast message in a kind of TRILL network, it is characterised in that this method is applied to converge in TRILL network The gateway routing bridge RBridge of poly- side, this method include:
Receive the multicast data message of TRILL encapsulation;
The target MAC (Media Access Control) address of the outer layer ether net head of the TRILL heads of foundation encapsulation is in local multicast group overall situation MAC Address multicast table The middle list item for searching matching;The multicast group overall situation MAC Address multicast table includes multicast group IP address, user vlan, multicast group Global MAC Address, outgoing interface, source RB NickName;The multicast group overall situation MAC Address unique identification source RB, including 6 words Section, first character section is the value for representing multicast;Second and third byte is source RB Nickname;Remaining three bytes For the value mapped according to multicast group IP address;
The multicast data message of TRILL encapsulation is forwarded by the outgoing interface in the list item of matching.
9. according to the method for claim 8, it is characterised in that this method further comprises:
Receive the multicast group overall situation MAC Address notification packet of TRILL encapsulation;
The multicast group overall situation MAC Address notification packet of TRILL encapsulation is forwarded according to Engress Nickname in TRILL heads;
The multicast group overall situation MAC Address for receiving TRILL encapsulation joins message, and checks that local multicast group overall situation MAC Address multicast turns Deliver with the presence or absence of multicast group overall situation MAC Address join message the multicast group overall situation MAC Address of carrying, multicast group IP address, use The list item that family VLAN, source RB Nickname are matched,
If not, the interface to be joined message according to the multicast group overall situation MAC Address received, multicast group overall situation MAC Address add report Multicast group overall situation MAC Address, multicast group IP address, user vlan, the source RB Nickname of text carrying are complete in local multicast group Office's MAC Address multicast forward table learning forwarding-table item, and continue according to multicast group overall situation MAC Address and join message encapsulation The multicast group overall situation MAC Address of Engress Nickname forwarding TRILL encapsulation in TRILL heads joins message;
If it is, the interface to be joined message according to the multicast group overall situation MAC Address received, multicast group overall situation MAC Address add report Multicast group overall situation MAC Address, multicast group IP address, user vlan, the source RB Nickname of text carrying are complete in local multicast group Office's MAC Address multicast forward table learning forwarding-table item.
10. according to the method for claim 8, it is characterised in that this method further comprises:
The multicast for receiving TRILL encapsulation exits message, continues according to the Engress that multicast is exited in the TRILL heads of message encapsulation The multicast of Nickname forwarding TRILL encapsulation exits message;
Nickname, multicast group IP address, the user vlan that message carrying is exited according to multicast receive RB tables in local multicast and looked for List item and deletion to matching;
The multicast group IP address of message carrying is exited according to multicast, user vlan turns in local multicast group overall situation MAC Address multicast The middle list item for searching matching is delivered, if finding the list item of more than two, outgoing interface is deleted from the list item found as this RB companies Connect the list item that multicast exits the interface of routing bridge corresponding to the Nickname of message carrying;If find a list item and this finds A list item outgoing interface for this RB connection multicasts exit message carry Nickname corresponding to routing bridge interface, with this Source RB NickName is that destination matches route, the list item that this is found in local TRILL routing tables in the list item found In multicast group overall situation MAC Address, multicast group IP address, user vlan, source RB Nickname carry TRILL encapsulation group Broadcast group global MAC Address and exit route transmission of the message by matching, and delete the list item found.
11. the forwarding unit of multicast message in a kind of TRILL network, it is characterised in that the equipment application is in access routing bridge RBridge, including:
Receiving unit, for being used as the multicast data message of multicast source transmission by local access interface reception local host;
Memory cell, for storing multicast group overall situation MAC Address multicast table, multicast reception RB tables;The multicast group overall situation MAC Location multicast table includes multicast group IP address, user vlan, multicast group overall situation MAC Address, outgoing interface, source RB NickName;Institute Multicast group overall situation MAC Address unique identification source RB is stated, including 6 bytes, first character section are the value for representing multicast;The 2nd, the Nickname that three bytes are source RB;Remaining three bytes are the value mapped according to multicast group IP address;The multicast Receiving RB tables includes the NickName of multicast group IP address, user vlan and multicast reception RB;
Searching unit, for searching the multicast number in the multicast group overall situation MAC Address multicast table that is stored in the memory cell The list item that multicast group IP address, the user's virtual LAN VLAN carried according to message matches;
Processing unit, for the searching unit lookup result for it is no when and determine the multicast of memory cell storage Receive and the multicast group IP address is not present in RB tables, the list item that user vlan matches, abandon the multicast data message;With And
When the lookup result of the searching unit is is, the multicast data message is carried out according to the matching list item of lookup TRILL is encapsulated and the outgoing interface by matching list item forwards;The target MAC (Media Access Control) address of the outer layer ether net head of the TRILL heads of encapsulation For the multicast group overall situation MAC Address in matching list item.
12. equipment according to claim 11, it is characterised in that lookup knot of the processing unit in the searching unit Fruit be it is no, and the memory cell storage multicast reception RB tables in exist the multicast group IP address, user vlan matching It is further multicast group overall situation MAC Address corresponding to the multicast group IP address distribution during list item, the multicast group of distribution is global MAC Address, this RB carry the multicast in TRILL encapsulation as source RB Nickname, the multicast group IP address, user vlan Other RB in TRILL network are sent in the global MAC Address notification packet of group;
The multicast group overall situation MAC Address that the receiving unit further receives TRILL encapsulation by public network side interface joins message; Multicast group overall situation MAC Address, which joins message, to be received by the access RB for connecting the multicast receivers of the multicast group IP address Initiated after the multicast group overall situation MAC Address notification packet;
The processing unit further determines that the outlet device title Engress that the multicast group overall situation MAC Address joins message TRILL encapsulation is carried out when Nickname is this RB Nickname to the multicast data message and passes through the public network side interface Send, the target MAC (Media Access Control) address of the outer layer ether net head of TRILL encapsulation is the multicast group overall situation MAC Address;And according to the public affairs Net side interface, multicast group overall situation MAC Address join message the multicast group overall situation MAC Address of carrying, multicast group IP address, use Family VLAN, source RB Nickname learn the list item in the multicast group overall situation MAC Address multicast table.
13. equipment according to claim 11, it is characterised in that
The receiving unit further receives the multicast data message of TRILL encapsulation by public network side interface, and passes through local Access interface receives Internet igmpinternets IGMP and joined message, and receives TRILL encapsulation by public network side interface Multicast address joins message, and, pass through the multicast group overall situation MAC Address notification packet of public network side interface reception TRILL encapsulation;
The processing unit is further descapsulated into multicast to the TRILL that the receiving unit the receives multicast data messages encapsulated Data message, the multicast group IP address carried according to multicast data message, user vlan are looked into local multicast address forward table The forwarding-table item of matching is found, passes through the outgoing interface multicast data forwarding message in the forwarding-table item of matching;And
Joined message the multicast group IP address of carrying according to the local access interface and IGMP that the IGMP joins message is received With user vlan study local multicast address forward table list item, by the NickName of this equipment, the multicast group IP address and User vlan carries is sent to TRILL network other RB in the multicast address of TRILL encapsulation joins message;And
According to multicast address join message carrying NickName, multicast group IP address and user vlan local multicast receive RB Table learning list item, continue on multicast address and join message corresponding to the user vlan of carrying multicast tree forwarding TRILL encapsulation Multicast address join message, and confirm local whether be connected to the multicast address and join message the multicast group IP address of carrying Multicast source, if it is, and joining message for the multicast address that to be assigned with multicast group complete for the multicast group IP address of carrying Office's MAC Address, then match road for the purpose of the Nickname of carrying that joined message by multicast address in local TRILL routing tables By the multicast address is joined message the multicast group IP address of carrying, user vlan and for this by the route of matching The multicast group overall situation MAC Address of multicast group IP address distribution carries the multicast group overall situation MAC Address notification packet in TRILL encapsulation Send, Engress Nickname are that the multicast address joins message the Nickname of carrying in the TRILL heads of encapsulation;With And
In the multicast group IP address that the multicast group overall situation MAC Address notification packet carrying that the receiving unit receives locally be present During multicast receivers, the NickName using multicast group overall situation MAC Address notification packet carrying source RB is destination in local TRILL The route of matching is found in routing table, the multicast group overall situation MAC Address that TRILL encapsulation is sent according to the route unicast of matching adds Enter message, multicast group overall situation MAC Address joins message the multicast group carried entrained by multicast group overall situation MAC Address notification packet Global MAC Address, multicast group IP address, user vlan, source RB Nickname.
14. equipment according to claim 11, it is characterised in that
Whether the processing unit further when the multicast receivers of local access interface connection exit multicast group, judges local Also belong to other multicast receivers of the multicast group, if it is, finding local connect in local multicast address forward table The list item of mouth matching and deletion, if not, finding the list item of local access interface matching in local multicast address forward table simultaneously Delete, and this RB Nickname, the multicast group IP address of multicast group and affiliated user vlan are carried in TRILL encapsulation Multicast, which is exited in message, is sent to other RB in TRILL network;
The multicast that the receiving unit further receives TRILL encapsulation by public network side interface exits message;And pass through public network The multicast group overall situation MAC Address that side interface receives the TRILL encapsulation of gateway RB transmissions exits message;
The processing unit is further when the receiving unit receives multicast and exits message, in the multicast of memory cell storage Receive and find that the multicast exits the multicast group IP address of message carrying, user vlan, multicast group exit RB's in RB tables The list item of Nickname matchings and deletion;And
Further when the multicast group overall situation MAC Address that the receiving unit receives TRILL encapsulation exits message, find The Engress Nickname of TRILL heads are this RB Nickname, then are descapsulated into multicast group overall situation MAC Address and exit report Text, the multicast that multicast group overall situation MAC Address exits message carrying is found in local multicast group overall situation MAC Address multicast forward table The list item that the global MAC Address of group, multicast group IP address, user vlan, source RB Nickname are matched, if the list item found is only There is one, the outgoing interface of the list item is to receive the public network side interface that the multicast group overall situation MAC Address exits message, and recovery is complete Office's MAC multicast address, and the list item found is deleted, otherwise, outgoing interface is deleted from the list item found to receive the multicast The global MAC Address of group exits the list item of the public network side interface of message.
15. the forwarding unit of multicast message in a kind of TRILL network, it is characterised in that the equipment application is converged in TRILL network The gateway routing bridge RBridge of poly- side, including:
Receiving unit, for receiving the multicast data message of TRILL encapsulation;
Memory cell, for storing multicast group overall situation MAC Address multicast forward table;The multicast group overall situation MAC Address multicast table Including multicast group IP address, user vlan, multicast group overall situation MAC Address, outgoing interface, source RB NickName;The multicast group Global MAC Address unique identification source RB, including 6 bytes, first character section are the value for representing multicast;Second and third word Save as source RB Nickname;Remaining three bytes are the value mapped according to multicast group IP address;
Searching unit, the target MAC (Media Access Control) address for the outer layer ether net head of the TRILL heads according to encapsulation are deposited in the memory cell The list item of matching is searched in the multicast group overall situation MAC Address multicast table of storage;
Processing unit, the multicast data message for the outgoing interface forwarding TRILL encapsulation in the list item by matching.
16. equipment according to claim 15, it is characterised in that
The receiving unit further receives the multicast group overall situation MAC Address notification packet of TRILL encapsulation;And receive TRILL The multicast group overall situation MAC Address of encapsulation joins message, and receives the multicast that TRILL is encapsulated and exit message;
The multicast group overall situation MAC Address that the processing unit further receives TRILL encapsulation in the receiving unit notices report Wen Shi, the multicast group overall situation MAC Address notification packet of TRILL encapsulation is forwarded according to Engress Nickname in TRILL heads;With And
When the multicast group overall situation MAC Address that the receiving unit receives TRILL encapsulation joins message, local multicast group is checked Global MAC Address multicast forward table joins message the multicast group overall situation MAC of carrying with the presence or absence of multicast group overall situation MAC Address The list item that location, multicast group IP address, user vlan, source RB Nickname are matched, if not, according to multicast group overall situation MAC Interface that location joins message, multicast group overall situation MAC Address are with joining message the multicast group overall situation MAC Address of carrying, multicast group IP Location, user vlan, source RB Nickname learn the list item of the multicast group overall situation MAC Address multicast forward table, and continue according to The group of the Engress Nickname forwarding TRILL encapsulation to be joined message according to multicast group overall situation MAC Address in the TRILL heads of encapsulation A group global MAC Address is broadcast to join message;If it is, the interface, the multicast that are joined message according to the multicast group overall situation MAC Address received The global MAC Address of group joins message the multicast group overall situation MAC Address of carrying, multicast group IP address, user vlan, source RB Nickname learns the list item of multicast group overall situation MAC Address multicast forward table;And
When the multicast that the receiving unit receives TRILL encapsulation exits message, continue according to multicast and exit message encapsulation The multicast of Engress Nickname forwarding TRILL encapsulation in TRILL heads exits message, and exits message according to multicast and carry Nickname, multicast group IP address, user vlan receive RB tables in local multicast and find list item and the deletion of matching, and, Foundation multicast exits the multicast group IP address of message carrying, user vlan in local multicast group overall situation MAC Address multicast forward table The middle list item for searching matching,
If finding the list item of more than two, deletion outgoing interface exits message for this RB connection multicasts and taken from the list item found The list item of the interface of routing bridge corresponding to the Nickname of band;If find a list item and the list item found to go out to connect The interface of routing bridge corresponding to the Nickname that message carries, source RB in the list item found with this mouthful are exited for this RB connection multicasts NickName route is matched in local TRILL routing tables for destination, the multicast group in the list item that this is found is complete Office's MAC Address, multicast group IP address, user vlan, source RB Nickname carry the multicast group overall situation MAC in TRILL encapsulation Address is exited message and sent by the route of matching, and deletes the list item found.
CN201410852806.3A 2014-12-31 2014-12-31 Method for forwarding multicast message and equipment in TRILL network Active CN104539545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410852806.3A CN104539545B (en) 2014-12-31 2014-12-31 Method for forwarding multicast message and equipment in TRILL network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410852806.3A CN104539545B (en) 2014-12-31 2014-12-31 Method for forwarding multicast message and equipment in TRILL network

Publications (2)

Publication Number Publication Date
CN104539545A CN104539545A (en) 2015-04-22
CN104539545B true CN104539545B (en) 2018-01-12

Family

ID=52855014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410852806.3A Active CN104539545B (en) 2014-12-31 2014-12-31 Method for forwarding multicast message and equipment in TRILL network

Country Status (1)

Country Link
CN (1) CN104539545B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412761B (en) * 2017-08-18 2022-07-12 中兴通讯股份有限公司 Static PW MAC (pseudo wire MAC) with drawaw message interaction method and device
CN108199960B (en) * 2018-02-11 2021-07-16 迈普通信技术股份有限公司 Multicast data message forwarding method, entrance routing bridge, exit routing bridge and system
CN110391919B (en) * 2019-07-12 2021-03-23 杭州迪普科技股份有限公司 Multicast traffic forwarding method and device, and electronic device
CN110830371B (en) * 2019-11-13 2022-04-05 迈普通信技术股份有限公司 Message redirection method and device, electronic equipment and readable storage medium
CN111030913A (en) * 2019-11-21 2020-04-17 天津天睿科技有限公司 Network equipment cluster data synchronization method
CN114448740B (en) * 2022-01-14 2023-11-07 绿盟科技集团股份有限公司 Multicast method, device, medium, product and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291240A (en) * 2008-06-19 2008-10-22 杭州华三通信技术有限公司 Multicast flow transmission method and system
CN102412976A (en) * 2010-09-25 2012-04-11 杭州华三通信技术有限公司 Method and device for processing multicase messages in provider backbone bridge (PBB) network
CN102571586A (en) * 2012-01-11 2012-07-11 华为技术有限公司 Method and device for setting customer virtual local area network (CVLAN) in transparent interconnect of lots of links (TRILL) network
CN102957616A (en) * 2011-08-18 2013-03-06 盛科网络(苏州)有限公司 Method and system for transferring TRILL (transparent interconnection of lots of links) network messages in an ASIC(application specific integrated circuit )
CN104038425A (en) * 2013-03-06 2014-09-10 阿里巴巴集团控股有限公司 Method and device for forwarding Ethernet packet

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8867552B2 (en) * 2010-05-03 2014-10-21 Brocade Communications Systems, Inc. Virtual cluster switching
US9608833B2 (en) * 2010-06-08 2017-03-28 Brocade Communications Systems, Inc. Supporting multiple multicast trees in trill networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291240A (en) * 2008-06-19 2008-10-22 杭州华三通信技术有限公司 Multicast flow transmission method and system
CN102412976A (en) * 2010-09-25 2012-04-11 杭州华三通信技术有限公司 Method and device for processing multicase messages in provider backbone bridge (PBB) network
CN102957616A (en) * 2011-08-18 2013-03-06 盛科网络(苏州)有限公司 Method and system for transferring TRILL (transparent interconnection of lots of links) network messages in an ASIC(application specific integrated circuit )
CN102571586A (en) * 2012-01-11 2012-07-11 华为技术有限公司 Method and device for setting customer virtual local area network (CVLAN) in transparent interconnect of lots of links (TRILL) network
CN104038425A (en) * 2013-03-06 2014-09-10 阿里巴巴集团控股有限公司 Method and device for forwarding Ethernet packet

Also Published As

Publication number Publication date
CN104539545A (en) 2015-04-22

Similar Documents

Publication Publication Date Title
CN104539545B (en) Method for forwarding multicast message and equipment in TRILL network
CN102035729B (en) Multicast data forwarding method
CN103748835B (en) The dynamic renewal of label switched path
CN101160902B (en) Data forwarding method and switching arrangement
CN101789874B (en) Multicast tree switching realization method, device and routing equipment in PIM-SM
CN106603407B (en) Multicast address transmission method and device
WO2018072704A1 (en) Message transmission method and apparatus, node and computer storage medium
US20130259042A1 (en) Multicast packet transmission
CN107592262A (en) File transmitting method and the network architecture of the cross-domain forwarding of device, message
WO2022062506A1 (en) Data processing method and apparatus, storage medium, and electronic apparatus
CN104243270A (en) Tunnel setup method and tunnel setup device
CN102413060B (en) User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network
CN100481817C (en) Multi-domain multicast integration data distributing structure and method based on IP/MPLS/BGP
CN103346968A (en) Method and apparatus for routing multicast data
CN104378297A (en) Message forwarding method and device
CN102150148A (en) Differentiated services for unicast multicast frames in layer 2 topologies
CN103546381A (en) Method, device and system for creating bidirectional multicast distribution trees on basis of interior gateway protocol
CN103916905A (en) Multicast source registering and multicast path establishing method and device
CN102957589A (en) Method, network node and system for service data transmission
CN102137000A (en) Method, device and system for establishing switching multicast distribution tree
CN102273177A (en) Neighbour discovery protocol mediation
CN104579981B (en) A kind of multicast data packet forwarding method and apparatus
WO2022021818A1 (en) Method and device for processing data message, storage medium, and electronic device
CN105743797B (en) Multicasting VPN tunnel establishing method based on interface binding
CN103152265B (en) Message forwarding method and equipment in SPB (Shortest Path Bridge) network

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant