CN103595639A - Multicast forwarding table item processing method and device - Google Patents

Multicast forwarding table item processing method and device Download PDF

Info

Publication number
CN103595639A
CN103595639A CN201310559943.3A CN201310559943A CN103595639A CN 103595639 A CN103595639 A CN 103595639A CN 201310559943 A CN201310559943 A CN 201310559943A CN 103595639 A CN103595639 A CN 103595639A
Authority
CN
China
Prior art keywords
multicast
tunnel
list item
mdc
multicast tunnel
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.)
Granted
Application number
CN201310559943.3A
Other languages
Chinese (zh)
Other versions
CN103595639B (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 Information Technologies Co Ltd
Original Assignee
Hangzhou 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201310559943.3A priority Critical patent/CN103595639B/en
Publication of CN103595639A publication Critical patent/CN103595639A/en
Application granted granted Critical
Publication of CN103595639B publication Critical patent/CN103595639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a multicast forwarding table item processing method and device which are used on stacking equipment. The method comprises the steps that when mdc is established, a multicast tunnel uniquely corresponding to the mdc is established on a basic service single board; a multicast forwarding table item corresponding to the multicast tunnel is established on the basic service single board, outlets of the multicast forwarding table item comprise a multicast tunnel reverse interface and an exchanging internet access; when the base service single board comprises a stacking opening, the outlets of the multicast forwarding table item further comprise a stacking opening; a multicast tunnel obverse interface corresponding to the mdc is added to each multicast forwarding table item for external service on the basic service single board to be used as an outlet of the table item; a real inlet of the multicast tunnel reverse interface and a real outlet of the multicast tunnel obverse interface are preset loopback interfaces. Compared with the prior art, outlet information index resources can be allowed to be repeatedly used in each mdc, and the using efficiency of the resources is effectively improved.

Description

A kind of multicast forwarding list item processing method and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of multicast forwarding list item processing method and device.
Background technology
In IP network, the IP message of carrying data can be divided into two kinds of unicast message and multicast messages.In network, the forwarding-table item on three-layer network appliance (such as router or three-tier switch) is depended in the forwarding of IP message.For unicast message, unicast forwarding list item be learnt and be generated to the network equipment can by Routing Protocol.And for multicast message, the network equipment can be by the raw multicast forwarding list item of the multicast protocols such as PIM.
Rigorous along with hardware and software technology, high-end three-layer network appliance all adopts distributed structure/architecture at present.In distributed structure/architecture, a network equipment has a plurality of single board systems, and each single board system just, as same independently computer system, has abundant function.In distributed structure/architecture, conventionally there is a small amount of veneer as the master control borad of the whole distributed apparatus of management, other veneers are as the business board of deal with data business.In distributed structure/architecture, the IP message that enters the network equipment from any one veneer may forward by a local port from this veneer, also may need to be crossed on other veneers and forwarded by the switching network between veneer (Fabric).This needs developer to design the functional mechanism of board-spanning forwarding.For the forwarding of multicast message, although board-spanning forwarding can be realized, in the more complicated application scenarios such as stack equipment, realizing difficulty and resource consumption is still the significant challenge that industry faces.
Summary of the invention
In view of this, the invention provides a kind of multicast forwarding list item processing method, be applied on stack equipment, wherein this stack equipment comprises some member devices that link together by stacking opening, each member device comprises service board and network board, wherein on this network board, be provided with the multicast forwarding list item of a plurality of Multicast Tunnel in advance, wherein the method comprises:
A, when many tenants facility environment equipment mdc creates, on this service board, create one with the unique corresponding Multicast Tunnel of this mdc, this mdc at least comprises a service board;
B creates the multicast forwarding list item corresponding with this Multicast Tunnel on this service board, and the outlet of this multicast forwarding list item comprises Multicast Tunnel contradirectional interface and exchange network interface; And when this service board comprises stacking opening, the outlet of this multicast forwarding list item also comprises stacking opening;
C, for each multicast forwarding list item of externally serving on this service board adds the Multicast Tunnel forward interface corresponding with this mdc as the outlet of this list item;
The actual outlet of the actual entry of wherein said Multicast Tunnel contradirectional interface and Multicast Tunnel forward interface is default loopback mouth.
The present invention also provides a kind of multicast forwarding list item processing unit, be applied on stack equipment, wherein this stack equipment comprises some member devices that link together by stacking opening, each member device comprises service board and network board, wherein on this network board, be provided with the multicast forwarding list item of a plurality of Multicast Tunnel in advance, wherein this device comprises:
Tunnel management unit, for when many tenants facility environment equipment mdc creates, on this service board, create one with the unique corresponding Multicast Tunnel of this mdc, this mdc at least comprises a service board;
List item administrative unit, for create the multicast forwarding list item corresponding with this Multicast Tunnel on this service board, the outlet of this multicast forwarding list item comprises Multicast Tunnel contradirectional interface and exchange network interface; And when this service board comprises stacking opening, the outlet of this multicast forwarding list item also comprises stacking opening; Wherein this list item administrative unit is further used for adding the Multicast Tunnel forward interface corresponding with this mdc as the outlet of this list item into each multicast forwarding list item of externally serving on this service board; The actual outlet of the actual entry of wherein said Multicast Tunnel contradirectional interface and Multicast Tunnel forward interface is default loopback mouth.
Compared to existing technologies, the present invention can allow to export information index resource and reuse in each mdc, has effectively promoted the utilization ratio of resource.
Accompanying drawing explanation
Fig. 1 is multicast message repeating process schematic diagram in a kind of typical distributed apparatus.
Fig. 2 is multicast message repeating process schematic diagram in a kind of typical stack equipment.
Fig. 3 is multicast message repeating process schematic diagram in the stack equipment of a kind of typical configuration mdc.
Fig. 4 is multicast forwarding list item processing unit logical construction and hardware elementary diagram in one embodiment of the present invention.
Fig. 5 is the flow chart of multicast forwarding list item processing method in one embodiment of the present invention.
Fig. 6 is the flow chart of multicast forwarding list item processing method in another embodiment of the present invention.
Fig. 7 is the simple format figure of Multicast Tunnel message in one embodiment of the present invention.
Fig. 8 is the processing schematic diagram on Multicast Tunnel Interface of the present invention and loopback mouth.
Fig. 9 is multicast message repeating process schematic diagram in one embodiment of the present invention.
Figure 10 is multicast message repeating process schematic diagram in another embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, describe the present invention.
Please refer to Fig. 1, in separate unit distributed apparatus, flow process multicast message being forwarded according to multicast forward table can roughly be divided into two parts.First can be regarded as the inquiry list item (multicast_entry) of searching in multicast forward table with (S, G, VLAN) information matches of message, and wherein S is multicast source IP address, and G is multicast group IP address, and VLAN is VLAN; This result of searching is the index information of second portion, and the outlet information table that second portion can be regarded as at multicast forward table finds corresponding outlet information table (ipmc_entry).After finding corresponding outlet information table (ipmc_entry) according to outlet information index (ipmc_index is ipmc index), on the one hand, if ipmc_entry has outlet on this plate, after can processing message by the outlet information of list item, from outlet, forward; Message need to copy portion to the switching network of separate unit distributed apparatus inside simultaneously on the other hand, and on switching network, message copies on other veneers again.Message arrives on other veneers, and the ipmc index that can carry by message, finds corresponding ipmc_entry, then finds this plate exit, forwards.
Stacked architecture, for example elasticity intelligent architecture, is a kind of distributed structure/architecture of broad sense more, it can link together a plurality of network equipments externally to form the network equipment that a performance and capacity are larger by stacking opening.Stack Technology can be protected the existing investment of user well, guarantees the extensibility of its network.Please refer to Fig. 2, in a stack equipment, each member's network equipment may be the distributed apparatus that comprises a plurality of veneers.This also just means, in stack equipment, the forwarding of multicast message, except may cross over veneer in this member device, also may be crossed over member device.Therefore on processing, need to be improved, on veneer for stacking opening place, message can copy portion from stacking opening and go out when forwarding from this plate exit (if there is), after arriving the stacking opening of opposite end member device, search again the ipmc index of this plate, at this plate, forward, then copy to the switching network of this frame, all veneers of multicast message outlet that exist that copy to this member device by switching network forward.
Most of high-end stack equipment is all supported many tenants of mdc(facility environment, multitenant device context at present) technology.A catenet equipment can invent many mdc equipment (being designated hereinafter simply as mdc) and distribute to different user's uses.In stack equipment, the veneer resource that same mdc has may be distributed on a plurality of grooves position of different member devices.This just means, if mdc quantity is more, for any one mdc, the stacking opening of member device is not necessarily on the veneer of this mdc so.With reference to the description of last joint, so, because this mdc does not have stacking opening, this mdc, when multicast message is forwarded to another member device from a member device, just need to cross over other mdc so.
Please refer to Fig. 3, for multicast message, because the forwarding of this message need to be searched forwarding-table item on all veneers of mdc.So need to will create the multicast forwarding list item of other all mdc in the mdc at stacking opening place, being equivalent to this mdc that has stacking opening will be other mdc services, guarantee multicast message can be delivered to each member device and gets on like this, realizes normally and forwarding.In order to solve flux of multicast, cross over the problem of the stacking opening of other mdc inside, a kind of implementation is the ipmc_entry that all mdc inside all creates other all mdc multicast forwarding list items, the ipmc_entry forwarding-table item that is to say a mdc need to issue in other all mdc, the ipmc index overall situation of multicast is unique, please refer to Fig. 3, in mdc2, need to create the ipmc_entry of the corresponding multicast forwarding list item of mdc1.Message from coming in a mdc like this, after searching multicast_entry list item obtain ipmc index in entrance mdc1, the flow overall situation forwards, flow can arrive all mdc, inner at other mdc, owing to there is no the forwarding outlet of this veneer except stacking opening, so finally can abandon.So just realized the multicast forwarding of crossing over mdc.
Although above-mentioned flow process realizes the forwarding of multicast message in mdc, but shortcoming is clearly exactly the different inner multicast resource of mdc is to share, the ipmc index that multicast forwarding list item in a mdc takies, in other mdc, can not again distribute use, thereby cause the multicast specification in different mdc to interact.Because total ipmc index resource is fixed, the multicast forwarding list item that the user in a mdc creates may cause the user in other mdc cannot normally not use multicast functionality owing to there is no resource too much.
The solution of ipmc index resource multiplex in a kind of mdc multicast forward table is provided for stack equipment in the embodiment of the present invention, please refer to Fig. 3, the present invention makes improvement on service board.Service board is a computer system independently normally, and it can process the business of some control planes.Such as the list item generating for master control veneer, it is to be carried out by the control plane of service board that list item is issued to the final practical operation of service layer (in forwarding chip).The present invention improves at the control plane of service board, with software, be embodied as example, the invention provides a kind of multicast forwarding list item processing unit, this device can move corresponding executable program in storage medium (such as internal memory) by CPU and realize, it is a logic device in essence, and this device comprises tunnel management unit and list item administrative unit.Please refer to Fig. 4, for any one service board (unless otherwise noted, below alleged veneer be the service board of deal with data), this device handling process comprises the steps:
Step 101, tunnel management unit when mdc creates, on this veneer, create one with the unique corresponding Multicast Tunnel of this mdc;
Step 102, list item administrative unit creates the multicast forwarding list item corresponding with this Multicast Tunnel on this veneer, and the outlet of this multicast forwarding list item comprises Multicast Tunnel contradirectional interface and exchange network interface; And when this veneer comprises stacking opening, the outlet of this multicast forwarding list item also comprises stacking opening;
Step 103, list item administrative unit on this veneer each externally multicast forwarding list item of service add Multicast Tunnel forward interface that this mdc is corresponding as the outlet of this list item;
The actual outlet of the actual entry of Multicast Tunnel contradirectional interface described in above-mentioned steps 102 and step 103 and Multicast Tunnel forward interface is default loopback mouth.
In the present invention, each mdc can correspond to a unique Multicast Tunnel, the effect of this Multicast Tunnel is that each veneer that the multicast message that need to forward in this mdc is delivered in this mdc gets on, but the true flux of multicast between each mdc can be isolated simultaneously.Because the transmission of message need to be passed through network board, so on network board, need to carry out prior list item configuration process, guarantee that message can correctly be forwarded away.In one embodiment, on network board, the outlet of the multicast forwarding list item of each Multicast Tunnel comprises all veneer mouths towards veneer.
The mdc quantity that the quantity of Multicast Tunnel can be supported with stack equipment is conventionally identical, can guarantee that like this each mdc can be assigned to unique Multicast Tunnel.Keeper can create mdc as required, and this operation is normally above carried out by master control borad (veneer of processing controls task).When service board of the present invention perceives mdc establishment event, can be that this mdc creates Multicast Tunnel.As previously mentioned, Multicast Tunnel quantity can be corresponding with the mdc maximum quantity that stack equipment is supported.Each veneer is being that newly-built mdc is while creating Multicast Tunnel, can from multicast ip address list, select a multicast ip address to use, in stack equipment, veneer all need to be chosen multicast ip address according to identical default selection rule and create Multicast Tunnel, to guarantee corresponding relation unique between Multicast Tunnel and mdc, such as the principle that can choose is in order chosen.
For each veneer, the outlet of the multicast forwarding list item that on it, Multicast Tunnel is corresponding need to comprise the exchange network interface towards network board, otherwise cannot be delivered on other veneers in this mdc by Multicast Tunnel.In addition, for comprising the veneer of stacking opening, also need to create this correspondence multicast forwarding list item, and the outlet using stacking opening as this list item, otherwise message cannot be delivered in other member devices by Multicast Tunnel, because the veneer of a mdc may be distributed on a plurality of even all member devices.In preferred mode, the present invention uses three layers of Multicast Tunnel, such as GRE Multicast Tunnel.
Multicast Tunnel is also in fact multicast group, and this multicast group is sightless to stack equipment outside, by its establishment list item is only used to inner forwarding, is used.In fact stack equipment main task is that message repeating service is externally provided, so the present invention still needs the multicast forwarding list item that those are externally served to process especially.These externally service multicast forwarding list items normally control plane create, how the embodiment of the present invention is learnt with aging list item and has no special requirements for multicast control plane.In embodiments of the present invention, the list item of learning by multicast protocol for control plane, or the list item that manually adds of keeper, service board all can add for it outlet of an acquiescence, i.e. Multicast Tunnel forward interface.After completing above-mentioned processing, on stack equipment, the forwarding chip of each veneer just can have been served according to externally launching in new ways multicast forwarding, below by once complete exemplary message repeating process, is described in detail.
Please refer to Fig. 6, when an original multicast message that need to forward by stack equipment enters certain veneer of stack equipment from certain veneer, single board service is processed aspect, such as forwarding chip need to be carried out table look-up to this message and forwards operation.Owing to having divided mdc, this native multicasting message will forward from the mdc at this veneer place and find corresponding outlet.Multicast message is different from unicast message, and its outlet may have a lot of, and may be distributed on the upper different veneer of mdc.The veneer that message enters is called entrance veneer, and at entrance veneer place, the multicast_entry that first single board chip is inquired about in multicast forward table obtains ipmc index, then according to this index, from ipmc_entry, is exported.If there is the local mouth of this veneer in outlet, local mouthful from veneer forwards.In the present invention, no matter export and whether have local mouthful of veneer, owing to there being Multicast Tunnel forward interface in the multicast forwarding list item for all external services in step 103, so multicast message also need to be gone out from Multicast Tunnel forward interface forwarding portion.
Please refer to Fig. 8, Multicast Tunnel comprises forward and contradirectional interface, and Multicast Tunnel forward interface has been in fact the functional entity of message tunnel encapsulation, and Multicast Tunnel contradirectional interface has been the functional entity of tunnel decapsulation.The message that enters forward interface need to carry out a Multicast Tunnel encapsulation, and encapsulation process is according to this mdc(mdc under veneer namely) Multicast Tunnel carry out corresponding tunnel encapsulation and form a Multicast Tunnel message.The actual outlet of using due to Multicast Tunnel forward interface is a default loopback mouth, therefore next packaged message can enter because of the loopback characteristic of loopback mouth in the forward process flow process of forwarding chip again, and chip can be to the forwarding of again tabling look-up of this Multicast Tunnel message.If the loopback mouth that single board chip inside does not carry cannot be supported look-up twice function in other words, developer can realize by loopback mouth of additional configuration.
For the Multicast Tunnel message that again enters chip forwarding process, because header has changed, native multicasting message has become the load of tunnel multicast message, and now the form of message is IPinIP form.But table look-up for process for chip, it still can think that this is a new IP multicast message, process as before.Chip can, according to the forwarding of tabling look-up of the tunnel IP head of message, therefore be tabled look-up and can obtain a new ipmc index, then from ipmc_entry, obtain corresponding outlet according to this new ipmc index.As previously mentioned, for veneer, on it, the corresponding list item middle outlet of Multicast Tunnel only has three kinds, and the first is the exchange network interface towards network board, and the second is the stacking opening towards adjacent member device, and the third is Multicast Tunnel contradirectional interface.For entrance veneer, because Multicast Tunnel message enters from loopback mouth, therefore can to loopback mouth, not be forwarded back to again, that is to say that message can not be forwarded to Multicast Tunnel contradirectional interface, so on entrance veneer, only may have the first and the second outlet.
Please refer to Fig. 6, supposing does not have stacking opening on entrance veneer, because list item middle outlet has the outlet towards network board all the time, therefore Multicast Tunnel message can be forwarded to network board, owing to there being the multicast forwarding list item corresponding with Multicast Tunnel on network board, so network board can obtain corresponding outlet (being veneer mouth) from the ipmc_entry of self according to the ipmc index of message.As previously mentioned, on network board, the outlet of the list item of Multicast Tunnel has comprised that network board connects the outlet of each veneer, because the outlet of message repeating can not comprise message entrance, so Multicast Tunnel message can be forwarded on all veneers except entrance veneer.
Other veneers can obtain corresponding outlet from the ipmc_entry of self according to ipmc index after receiving Multicast Tunnel message equally.Now outlet comprises aforementioned three kinds of outlets equally, because message is to enter from exchange network interface, therefore can not forward back again from exchange network interface, if therefore there is no stacking opening on this veneer, its multicast forwarding list item of inquiring about self can obtain outlet for Multicast Tunnel contradirectional interface, if have stacking opening on this veneer, to inquire about the outlet that self multicast forwarding list item obtains and also comprise stacking opening, message can and then be forwarded on other member devices.
Please refer to Fig. 8, because the actual entry of Multicast Tunnel contradirectional interface is loopback mouth, therefore message can enter Multicast Tunnel contradirectional interface by this default loopback mouth and processes, if the tunnel encapsulation of Multicast Tunnel message is consistent with the tunnel encapsulation of this mdc, this message is carried out to decapsulation and obtain native multicasting message, the forward process flow process that native multicasting message enters forwarding chip again due to the loopback characteristic of loopback mouth.If the tunnel encapsulation of Multicast Tunnel message and the tunnel encapsulation of this mdc are inconsistent, illustrate that this message need to, at this mdc repeating, therefore can not abandon.For need to, at the message of this mdc repeating, now carrying out table lookup operation again to native multicasting message.After if tabled look-up, find that this veneer has corresponding local mouthful, local mouthful from this veneer forwards, if not, abandons this message.It should be noted that, because native multicasting message now enters this veneer from loopback mouth, therefore the outlet obtaining of tabling look-up will not comprise Multicast Tunnel forward interface, because the actual outlet that forward interface is used is loopback mouth, so message can not forward back from actual entry again.
Please refer to Fig. 9, if receive the veneer of Multicast Tunnel message, have stacking opening, Multicast Tunnel message can be forwarded in other member devices by stacking opening.Such as in Fig. 9, stacking opening place veneer belongs to mdc2, multicast message is to forward in mdc1, on mdc2 with for the veneer of stacking opening, it can forward from member device 1 Multicast Tunnel message by stacking opening to member device 2.After veneer on member device 2 is received Multicast Tunnel message, can be according to forwarding of tabling look-up of above-mentioned same processing mode, equally need to compare packaging information simultaneously and determine the message that needs forwarding on this mdc whether.Because message enters from stacking opening, so message can back not forward, and only can forward toward network board; So continuing diffusion goes down, until be diffused into last member device of stack equipment, concrete handling process is identical with aforementioned process, and as can be seen from Figure 9, final original multicast message can have on the veneer of local breakout and transfers stack equipment from local mouthful of veneer in mdc1.
By above process, can find, Multicast Tunnel message can be diffused into all veneers by above-mentioned handling process and get on.If veneer and entrance veneer belong to same mdc, while checking so multicast channel message packaging information, can find that this message is to forward at this mdc, the processing that now again can decapsulation obtains carrying out after native multicasting message look-up twice forwarding obtains local corresponding outlet, thus native multicasting message can be under entrance veneer mdc all outlet ports forward.In this process, the message transmitting between all veneers is Multicast Tunnel message all the time, and the number of Multicast Tunnel is corresponding with mdc number.Suppose that mdc only has 8, the number of Multicast Tunnel also only has 8 so, and the ipmc index in requisition for transmitting together along with Multicast Tunnel message is only had to 8, and therefore overall shared ipmc index is considerably less.Except forwarding-table item corresponding to Multicast Tunnel, in multicast forward table, conventionally there are hundreds of and even thousands of multicast forwarding list items, these list items are all that service is externally provided, and the ipmc index that it uses is only effective in this veneer, therefore each veneer can use identical ipmc index, thereby realized the multiplexing of resource, avoided the problems of the prior art.
Please refer to Figure 10, below by a concrete example, be illustrated.Suppose that native multicasting message enters from veneer 1, now veneer 1 is message entrance veneer.Please refer to table 1, on veneer 1, inquire about its multicast forwarding list item, the source IP address, object IP address and the VLAN that suppose native multicasting message are respectively IP1, IPm1 and Tag1, now carry out the first step and table look-up that can to obtain ipmc index be S1, according to S1, can find corresponding outlet for local mouthful LP1 and Multicast Tunnel forward interface T1.Native multicasting message forwards portion from LP1 and goes out, and also has a Multicast Tunnel encapsulation that T1 carries out this mdc that enters simultaneously.The source IP address, object IP address and the VLAN that complete the tunnel multicast message that again enters by loopback mouth of encapsulation are respectively IP2, IPm2 and Tag2, and again tabling look-up and obtaining ipmc index is S2.According to S2, can obtain corresponding outlet is mdc1 Multicast Tunnel contradirectional interface RT1 and exchange network interface SP1, and because the actual entry of message is loopback mouth, so message can not continue to forward to RT1 direction.
Message arrives the veneer mouth BP1 of network board 1 by SP1, on network board 1, according to S2, can obtain at once outlet for veneer mouth BP1 and veneer mouth BP2, because message enters from BP1, therefore will by BP2, be forwarded to the exchange network interface SP2 of veneer 2.
On veneer 2, continue to search and obtain outlet for mdc2 Multicast Tunnel contradirectional interface RT2, SP2 and stacking opening AP1 according to S2, from RT2 and AP1, forward, because RT2 is the Multicast Tunnel of mdc2, so can be because do not mate and be dropped during decapsulation.SP2 is entrance, so message can back not forward, and message can only be forwarded to by AP1 the AP2 of veneer 3.
On veneer 3, continue to search and obtain outlet for RT3, SP3 and AP2 according to S2.Because AP2 is entrance, so message can not turn round.And RT3 is the Multicast Tunnel contradirectional interface of mdc2, so decapsulation process can abandon because do not mate this message.Message is forwarded on the veneer mouth BP3 of network board 2 by SP3.
On network board 2, continue according to S2 is BP3 and BP4 to outlet with searching, and because BP3 is message entrance, so message is forwarded on the SP4 of veneer 4 by BP4.
On veneer 4, continue to search and obtain outlet for SP4 and RT4 according to S2, because SP4 is message entrance, therefore message forwards from RT4, because RT4 is the Multicast Tunnel contradirectional interface of mdc1, so Multicast Tunnel message this correctly decapsulation obtain native multicasting message.After decapsulation, by loopback mouth, entering veneer 4 continues to table look-up and obtain index S1 according to native multicasting message, according to S1, obtain outlet for T4 and LP2, from LP2, native multicasting message repeating is gone out, because the actual entry of message is loopback mouth, so message can not continue to forward to Multicast Tunnel Interface T4.
From above example, can find out, native multicasting message through after above-mentioned processing successfully at this mdc(mdc1 namely) two local mouthful LP1 and LP2 is upper is forwarded smoothly.And in whole process, in multicast forwarding list item corresponding to Multicast Tunnel message, include at the unique outlet information index of the stack equipment overall situation, such as the index S2 in aforesaid example, this index is that the overall situation is unique, can not reuse.Externally the multicast forwarding list item of service is not limited by this, includes the unique outlet information index of this mdc in these list items.Please refer to table 1, wherein veneer 1 and veneer 2 belong to different mdc, but are all to have used index S1, but multicast group corresponding to S1 is different.Veneer 1 uses identical index S1 with veneer 3, and corresponding identical multicast group, because veneer 1 and veneer 3 belong to same mdc.
Figure BDA0000412370100000111
Figure BDA0000412370100000121
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (10)

1. a multicast forwarding list item processing method, be applied on stack equipment, wherein this stack equipment comprises some member devices that link together by stacking opening, each member device comprises service board and network board, wherein on this network board, be provided with the multicast forwarding list item of a plurality of Multicast Tunnel in advance, it is characterized in that, the method comprises the steps:
A, when many tenants facility environment equipment mdc creates, on this service board, create one with the unique corresponding Multicast Tunnel of this mdc, this mdc at least comprises a service board;
B creates the multicast forwarding list item corresponding with this Multicast Tunnel on this service board, and the outlet of this multicast forwarding list item comprises Multicast Tunnel contradirectional interface and exchange network interface; And when this service board comprises stacking opening, the outlet of this multicast forwarding list item also comprises stacking opening;
C, for each multicast forwarding list item of externally serving on this service board adds the Multicast Tunnel forward interface corresponding with this mdc as the outlet of this list item;
The actual outlet of the actual entry of wherein said Multicast Tunnel contradirectional interface and Multicast Tunnel forward interface is default loopback mouth.
2. the method for claim 1, it is characterized in that, in the multicast forwarding list item that wherein Multicast Tunnel message is corresponding, include at the unique outlet information index of the stack equipment overall situation, externally the multicast forwarding list item of service comprises the outlet information index that this mdc is unique.
3. the method for claim 1, is characterized in that, described Multicast Tunnel is three layers of Multicast Tunnel.
4. the method for claim 1, is characterized in that, described Multicast Tunnel is GRE Multicast Tunnel.
5. the method for claim 1, it is characterized in that, the process that creates a Multicast Tunnel at this service board specifically comprises: according to default selection rule, from default a plurality of multicast ip address, select a multicast ip address, use this multicast ip address to create this Multicast Tunnel, the preset rules that wherein this service board is used is identical with the preset rules that in stack equipment, other service boards are used.
6. a multicast forwarding list item processing unit, be applied on stack equipment, wherein this stack equipment comprises some member devices that link together by stacking opening, each member device comprises service board and network board, wherein on this network board, be provided with the multicast forwarding list item of a plurality of Multicast Tunnel in advance, it is characterized in that, this device comprises:
Tunnel management unit, for when many tenants facility environment equipment mdc creates, on this service board, create one with the unique corresponding Multicast Tunnel of this mdc, this mdc at least comprises a service board;
List item administrative unit, for create the multicast forwarding list item corresponding with this Multicast Tunnel on this service board, the outlet of this multicast forwarding list item comprises Multicast Tunnel contradirectional interface and exchange network interface; And when this service board comprises stacking opening, the outlet of this multicast forwarding list item also comprises stacking opening; Wherein this list item administrative unit is further used for adding the Multicast Tunnel forward interface corresponding with this mdc as the outlet of this list item into each multicast forwarding list item of externally serving on this service board; The actual outlet of the actual entry of wherein said Multicast Tunnel contradirectional interface and Multicast Tunnel forward interface is default loopback mouth.
7. device as claimed in claim 6, it is characterized in that, in the multicast forwarding list item that wherein Multicast Tunnel message is corresponding, include at the unique outlet information index of the stack equipment overall situation, externally the multicast forwarding list item of service comprises the outlet information index that this mdc is unique.
8. device as claimed in claim 6, is characterized in that, described Multicast Tunnel is three layers of Multicast Tunnel.
9. device as claimed in claim 6, is characterized in that, described Multicast Tunnel is GRE Multicast Tunnel.
10. device as claimed in claim 6, it is characterized in that, the process that wherein tunnel management unit creates a Multicast Tunnel at this service board specifically comprises: according to default selection rule, from default a plurality of multicast ip address, select a multicast ip address, use this multicast ip address to create this Multicast Tunnel, the preset rules that wherein this service board is used is identical with the preset rules that in stack equipment, other service boards are used.
CN201310559943.3A 2013-11-12 2013-11-12 A kind of multicast forwarding list item processing method and processing device Active CN103595639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310559943.3A CN103595639B (en) 2013-11-12 2013-11-12 A kind of multicast forwarding list item processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310559943.3A CN103595639B (en) 2013-11-12 2013-11-12 A kind of multicast forwarding list item processing method and processing device

Publications (2)

Publication Number Publication Date
CN103595639A true CN103595639A (en) 2014-02-19
CN103595639B CN103595639B (en) 2016-11-02

Family

ID=50085628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310559943.3A Active CN103595639B (en) 2013-11-12 2013-11-12 A kind of multicast forwarding list item processing method and processing device

Country Status (1)

Country Link
CN (1) CN103595639B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158718A (en) * 2014-08-25 2014-11-19 杭州华三通信技术有限公司 A message processing method and device
CN104836691A (en) * 2015-05-22 2015-08-12 杭州华三通信技术有限公司 Method and device for achieving multisystem working mode in multi-tenant environment
CN106100994A (en) * 2016-08-01 2016-11-09 杭州迪普科技有限公司 A kind of message forwarding method based on distributed apparatus and device
US10911356B2 (en) 2016-08-30 2021-02-02 New H3C Technologies Co., Ltd. Forwarding packet

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478477A (en) * 2008-12-01 2009-07-08 北京星网锐捷网络技术有限公司 Multicast packet forwarding method and device
CN101605103A (en) * 2009-07-16 2009-12-16 杭州华三通信技术有限公司 A kind of method of static forwarding multicast data and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478477A (en) * 2008-12-01 2009-07-08 北京星网锐捷网络技术有限公司 Multicast packet forwarding method and device
CN101605103A (en) * 2009-07-16 2009-12-16 杭州华三通信技术有限公司 A kind of method of static forwarding multicast data and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158718A (en) * 2014-08-25 2014-11-19 杭州华三通信技术有限公司 A message processing method and device
CN104158718B (en) * 2014-08-25 2017-06-13 新华三技术有限公司 A kind of message processing method and device
CN104836691A (en) * 2015-05-22 2015-08-12 杭州华三通信技术有限公司 Method and device for achieving multisystem working mode in multi-tenant environment
CN104836691B (en) * 2015-05-22 2018-05-11 新华三技术有限公司 Multisystem operating mode implementation method and device under a kind of multi-tenant environment
CN106100994A (en) * 2016-08-01 2016-11-09 杭州迪普科技有限公司 A kind of message forwarding method based on distributed apparatus and device
US10911356B2 (en) 2016-08-30 2021-02-02 New H3C Technologies Co., Ltd. Forwarding packet

Also Published As

Publication number Publication date
CN103595639B (en) 2016-11-02

Similar Documents

Publication Publication Date Title
US9426546B2 (en) Maintaining a fabric name across a distributed switch
US8873559B2 (en) Contention free pipelined broadcasting within a constant bisection bandwidth network topology
CN106302199B (en) user mode protocol stack implementation method and system based on three-layer switch equipment
US9479349B2 (en) VLAG PIM multicast traffic load balancing
CN103430499B (en) The method and apparatus of multicast packet Path Setup in network virtualization system
US20140029412A1 (en) Systems and methods for providing anycast mac addressing in an information handling system
US9819574B2 (en) Concerted multi-destination forwarding in a joint TRILL fabric and VXLAN/IP fabric data center
CN102006245B (en) Date exchanging and sharing platform
CN102347867A (en) Processing method and equipment for stacking splitting detection
CN104869081B (en) MESSAGE EXCHANGE processing method, business board and internet exchange system
KR102025680B1 (en) SDN based ARP implementation method and device
CN112491984B (en) Container editing engine cluster management system based on virtual network bridge
WO2023103461A1 (en) Cross-board message multicast replication and forwarding method and system based on clos architecture
CN103595639A (en) Multicast forwarding table item processing method and device
CN103746922A (en) Method and device for forwarding multicast messages
US9479438B2 (en) Link aggregation based on virtual interfaces of VLANs
CN102647359B (en) Method for implementing network bridge IGMP (internet group management protocol) Snooping based on DSA TAG (digital signature algorithm tag) and user-defined protocol stack
CN103609063A (en) Protocol independent multicast last hop router discovery
WO2016177180A1 (en) Method and device for reporting openflow switch capability
CN114268596A (en) Method for stack system damage protection based on exchange chip and application
CN103346950A (en) Sharing method and device of load between user service boards of rack-mounted wireless controller
KR101924002B1 (en) Chip multi processor and router for chip multi processor
US10938591B2 (en) Multicast system
WO2013159501A1 (en) Data transmission system, data interface device and data transmission method used among multiple servers
CN104821914A (en) Message forwarding method and equipment of TRILL network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

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

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20230602

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

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

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right