CN103354524A - PIM-SSM-based method and device for realizing demand path selection for three-layer multicast - Google Patents

PIM-SSM-based method and device for realizing demand path selection for three-layer multicast Download PDF

Info

Publication number
CN103354524A
CN103354524A CN2013102800878A CN201310280087A CN103354524A CN 103354524 A CN103354524 A CN 103354524A CN 2013102800878 A CN2013102800878 A CN 2013102800878A CN 201310280087 A CN201310280087 A CN 201310280087A CN 103354524 A CN103354524 A CN 103354524A
Authority
CN
China
Prior art keywords
multicast
routing information
equipment
table item
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.)
Granted
Application number
CN2013102800878A
Other languages
Chinese (zh)
Other versions
CN103354524B (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 CN201310280087.8A priority Critical patent/CN103354524B/en
Publication of CN103354524A publication Critical patent/CN103354524A/en
Application granted granted Critical
Publication of CN103354524B publication Critical patent/CN103354524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a PIM-SSM-based method and device for realizing demand path selection for three-layer multicast. The method includes a step of judging whether the device is the one corresponding to a first hop in a demand path information link or not by itself after the a multicast accession message is received by the device and a fact that an interface receiving the multicast accession message is provided with corresponding demand path information or a fact that the multicast message carries the demand path information is determined. If the device is judged to be the one corresponding to the first hop in the demand path information link, flow accession is performed according to routine multicast, multicast routing table items are established and multicast accession message carrying no demand path information is forwarded to the uplink. If the device is judged not to be the one corresponding to the first hop in the demand path information link, multicast routing table items are established according to the demand path information and the multicast accession message carrying the demand path information is forwarded to a device corresponding to the last hop in the demand path information link. According to the invention, flexibility of forwarding path arrangement for multicast data streams is improved and manageability of the forwarding of the multicast data streams is enhanced.

Description

A kind of three layers of multicast of realization based on PIM-SSM are the method and apparatus of routing as required
Technical field
The present invention relates to the communications field, relate in particular to a kind of as required method and apparatus of routing of three layers of multicast of realizing.
Background technology
PIM(Protocol Independent Multicast, Protocol Independent Multicast) be a kind of can utilize the clean culture static routing or arbitrarily the unicast routing table that generates of unicast routing protocol be IP(Internet Protocol, Internet protocol) multicast provides the multicasting technology of route.
PIM is by RPF(Reverse Path Forwarding, and inverse path is transmitted) the machine-processed forwarding that realizes multicast message.When multicast message arrives local device, at first it is carried out rpf check, if rpf check is passed through, then create corresponding multicast routing table item, thereby carry out the forwarding of multicast message; If the rpf check failure then abandons this message.Wherein, the implementation method of RPF mechanism is: according to multicast source address, searching singlecast router is the multicast Upstream Interface to the nearest down hop outgoing interface of multicast source.
Take scene shown in Figure 1 as example, suppose each path cost(expense in this scene) identical, at the Router(router) _ 9 on, 1.1.1.1 searches route according to multicast source address, lookup result is for existing two equal-cost routes, it passes through respectively Router_6 and Router_8, based on RPF mechanism, Router_9 selects wherein one (can pass through the relatively mode of interface IP size) according to priority relationship, take preferred route as through Router_8 as example, Router_9 sends multicast to Router_8 and joins request.After Router_8 receives multicast and joins request, continuation is upwards searched route according to multicast source address, lookup result is also for existing two equal-cost routes, it passes through respectively Router_5 and Router_7, based on RPF mechanism, Router_8 selects wherein one, take preferred route as through Router_5 as example, Router_8 sends multicast to Router_5 and joins request.Router_5 and follow-up routing device in like manner carry out respective handling, finish the foundation of multicast transmit tree.
Based on the multicast transmit tree that aforesaid way is set up, its Route Selection relies on the RPF of singlecast router to calculate fully, and the forward-path of generation can't human intervention, can't realize that on-demand sets up multicast transmit tree.
Can also set up multicast transmit tree by the mode of static multicast route in the prior art, namely according to multicast source address, the RPF interface of static state setting upstream equipment on the different equipment (be the incoming interface of multicast traffic stream for equipment), realized to a certain extent setting up as required multicast transmit tree, but existing static multicast routing mode can only be set up corresponding multicast transmit tree for multicast source address, for same multicast source, can't generate different multicast transmit trees for the different user on the same equipment (by the user of this equipment distinct interface connection), take scene shown in Figure 2 as example, when the Client(client) _ when 9A and Client_9B all wish multicast traffic stream that the receiving multicast data source sends, prior art can't generate respectively different multicast forwarding paths with Client_9B for Client_9A, the flexibility that the forward-path of multicast traffic stream is disposed, and the manageability of the forwarding of multicast traffic stream is relatively poor.
Summary of the invention
The object of the present invention is to provide the as required method and apparatus of routing of a kind of three layers of multicast of realization based on PIM-SSM, with the flexibility that the forward-path that improves multicast traffic stream is disposed, strengthen the manageability of the forwarding of multicast traffic stream.For this reason, the present invention adopts following technical scheme:
A kind of three layers of multicast of realization based on PIM-SSM are the method for routing as required, comprising:
When receiving multicast, equipment joins message, and determine to receive the interface configuration that this multicast joins message corresponding as required routing information is arranged, or this multicast is when carrying as required routing information in joining message, and judges self whether to be that this first jumps corresponding equipment in routing information link as required; Wherein, comprise this pre-configured multicast successively unique identification information of each equipment of process on demand of corresponding multicast traffic stream that joins message in the described as required routing information;
If be judged as be, then add flow process according to conventional multicast, set up multicast routing table item, and forwarded upstream is not carried as required, and the multicast of routing information joins message;
If be judged as noly, then set up multicast routing table item according to described as required routing information, and device forwards corresponding to upper hop carries as required that the multicast of routing information joins message in the described as required routing information link.
Wherein, described equipment device forwards corresponding to upper hop in the described as required routing information link carries as required that the multicast of routing information joins message, and is specially:
The identification information corresponding with self in the described as required routing information of described unit deletion, and the multicast that device forwards corresponding to upper hop carried the as required routing information of this deletion identification information corresponding with self in the described as required routing information link joins message.
Wherein, described equipment is set up multicast routing table item according to described as required routing information, is specially:
When described equipment is determined equipment corresponding in as described as required routing information link final jump, set up multicast routing table item according to described as required routing information.
Wherein, described equipment is set up multicast routing table item according to described as required routing information, is specially:
Described equipment with self connect this as required in the routing information link interface of equipment corresponding to upper hop receive interface that described multicast joins message as the outgoing interface of multicast routing table item as the incoming interface of multicast routing table item, set up multicast routing table item.
Wherein, described equipment judges it self is not that this first is jumped after the corresponding equipment in routing information link as required, and the method also comprises:
Determine it self is not in the described as required routing information link during equipment corresponding to final jump when described equipment, abandon this multicast and join message.
A kind of network equipment comprises:
Receiver module is used for receiving group and joins message;
Judge module, the interface configuration that joins message for the multicast of determining when described equipment to receive has corresponding as required routing information, or this multicast is when carrying as required routing information in joining message, and judges self whether to be that this first jumps corresponding equipment in routing information link as required; Wherein, comprise this pre-configured multicast successively unique identification information of each equipment of process on demand of corresponding multicast traffic stream that joins message in the described as required routing information link;
Processing module is used for being judged as when being when described judge module, according to conventional multicast adding flow process, set up multicast routing table item, and forwarded upstream is not carried as required, and the multicast of routing information joins message; When described judge module is judged as when no, set up multicast routing table item according to described as required routing information, and device forwards corresponding to upper hop carries as required that the multicast of routing information joins message in the described as required routing information link.
Wherein, described processing module specifically is used for, and the multicast of routing information joins message to realize in the following manner in the described as required routing information link carrying device forwards corresponding to upper hop as required:
Delete the identification information corresponding with self in the described as required routing information, and the multicast that device forwards corresponding to upper hop carried the as required routing information of this deletion identification information corresponding with self in the described as required routing information link joins message.
Wherein, described processing module specifically is used for, and realizes in the following manner setting up multicast routing table item according to described as required routing information:
When described equipment is determined equipment corresponding in as described as required routing information link final jump, set up multicast routing table item according to described as required routing information.
Wherein, described processing module specifically is used for, and realizes in the following manner setting up multicast routing table item according to described as required routing information:
With self connect this as required in the routing information link interface of equipment corresponding to upper hop receive interface that described multicast joins message as the outgoing interface of multicast routing table item as the incoming interface of multicast routing table item, set up multicast routing table item.
Wherein, described processing module also is used for, when described equipment judge self be not this as required in the routing information link first jump corresponding equipment after, and determine it self is not in the described as required routing information link during equipment corresponding to final jump, abandon this multicast and join message.
In the above embodiment of the present invention, join message when receiving multicast, and determine to receive the interface configuration that this multicast joins message corresponding as required routing information is arranged, or this multicast is when carrying as required routing information in joining message, and judges self whether to be first to jump corresponding equipment in the routing information link as required; If be judged as be, then add flow process according to conventional multicast, set up multicast routing table item, and forwarded upstream is not carried as required, and the multicast of routing information joins message; Otherwise, according to this as required routing information set up multicast routing table item, and to this as required in the routing information link device forwards corresponding to upper hop carry as required that the multicast of routing information joins message, improve the flexibility of the forward-path deployment of multicast traffic stream, strengthened the manageability of multicast packet flow forwarding.
Description of drawings
The scene schematic diagram of the multicast forwarding that provides in the prior art is provided Fig. 1 and 2;
A kind of three layers of multicast of realization based on PIM-SSM that Fig. 3 provides for the embodiment of the invention are the schematic flow sheet of the method for routing as required;
The configuration diagram of a kind of concrete application scenarios that Fig. 4 provides for the embodiment of the invention;
The structural representation of a kind of network equipment that Fig. 5 provides for the embodiment of the invention.
Embodiment
For above-mentioned problems of the prior art, the embodiment of the invention provides the as required technical scheme of routing of a kind of three layers of multicast of realization based on PIM-SSM.In this technical scheme, join message when receiving multicast, and determine to receive the interface configuration that this multicast joins message corresponding as required routing information is arranged, or this multicast is when carrying as required routing information in joining message, and judges self whether to be first to jump corresponding equipment in the routing information link as required; If be judged as be, then add flow process according to conventional multicast, set up multicast routing table item, and forwarded upstream is not carried as required, and the multicast of routing information joins message; Otherwise, according to this as required routing information set up multicast routing table item, and to this as required in the routing information link device forwards corresponding to upper hop carry as required that the multicast of routing information joins message, improve the flexibility of the forward-path deployment of multicast traffic stream, strengthened the manageability of multicast packet flow forwarding.
Wherein, above-mentionedly add flow process according to conventional multicast and set up multicast routing table item, be according to existing RPF mechanism and determine multicast Upstream Interface (hereinafter to be referred as Upstream Interface), and with the incoming interface of this Upstream Interface as multicast routing table item, simultaneously, with receiving interface that multicast the joins message outgoing interface as multicast routing table item, set up multicast routing table item.Correspondingly, forwarded upstream does not carry as required that the multicast of routing information joins message, and is the Upstream Interface of determining by this, transmits not carry as required that the multicast of routing information joins message.
Wherein, the application scenarios of the technical scheme that the embodiment of the invention provides is mainly client and knows multicast source address, and need not to be concerned about BSR(Boot Strap Router, BootStrap Router) and RP(Rendezvous Point, convergent point) information, and do not have the multi-access(multiple access) scene in, its typical application scenarios is operation PIM-SSM(PIM-Source Specific Multicast, Protocol Independent Multicast-Source-Specific Multicast) system's (being the PIM-SSM scene) of agreement.
For ease of describing, below the technical scheme that all take the PIM-SSM scene as application scenarios the embodiment of the invention provided be described.
Below in conjunction with accompanying drawing, the technical scheme in the embodiments of the invention is carried out clear, complete description, obviously, the embodiments described below only are the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not paying the every other embodiment that obtains under the creative work prerequisite, all belong to the scope of embodiments of the invention protection.
As shown in Figure 3, a kind of three layers of multicast of realization based on PIM-SSM that provide for the embodiment of the invention are the schematic flow sheet of the method for routing as required, can may further comprise the steps:
Step 301, receiving group join message.
Step 302, judge whether receive the interface that this multicast joins message disposes corresponding as required routing information.Then to go to step 304 if be judged as; Otherwise, go to step 303;
Step 303, judge that this multicast joins message and whether carry as required routing information.Then to go to step 304 if be judged as; Otherwise, carry out conventional multicast and add flow processing.
Step 304, judging self whether to be first to jump corresponding equipment in the routing information link as required, is then to go to step 306 if be judged as; Otherwise, go to step 305;
Step 305, set up multicast routing table item according to routing information as required, and device forwards corresponding to upper hop carries as required that the multicast of routing information joins message in the routing information link as required.
Step 306, add flow process according to conventional multicast, set up multicast routing table item, and forwarded upstream is not carried as required, and the multicast of routing information joins message.
Concrete, in embodiments of the present invention, can be the as required routing information corresponding to interface configuration of equipment in advance, this as required routing information be used to indicate the successively unique identification information of each equipment of process (such as the IP address of equipment) on demand of the multicast traffic stream transmitted through this interface.Wherein, this equipment can be routing device.
Wherein, the corresponding interface for this each equipment that comprises in routing information as required need to enable as required path function, can identify as required routing information with the corresponding interface that guarantees this each equipment.
Take scene shown in Figure 2 as example, for the upper interface that connects Client_9A of Router_9, can pre-configured following as required routing information: the IP address of IP1(Router_1, lower same)-〉 IP4-〉IP7-〉IP8-〉IP9, namely pass through the upward multicast traffic stream of the multicast traffic stream (namely sending to Clinet_9A) of the interface forwarding of connection Client_9A of Router_9, in data forwarding process, need to pass through successively Router_1, Router_4, Router_7, Router_8 and Router_9.
After equipment receives multicast and joins message, can judge first whether receive the interface that this multicast joins message disposes corresponding as required routing information, if configuration (then thinks it self is not equipment corresponding to final jump in as required routing information link corresponding to certain multicast traffic stream, or, self not the arbitrary equipment of jumping correspondence in as required routing information link corresponding to certain multicast traffic stream), can judge further then whether this multicast carries as required routing information in joining message, if do not carry (then thinking it self is not the equipment of the arbitrary jumping correspondence in as required routing information link corresponding to certain multicast traffic stream), then carry out conventional multicast and add flow processing (namely carrying out multicast adding flow processing according to existing PIM-SSM agreement).
If equipment determines to receive the interface configuration that this multicast joins message corresponding as required routing information is arranged, or, during joining message, this multicast carries as required routing information, then this equipment also needs further to judge self whether to be that this first jumps corresponding equipment in routing information link as required, and when being judged as when no, according to this as required routing information set up multicast routing table item, and to this as required in the routing information link device forwards corresponding to upper hop carry as required that the multicast of routing information joins message.If equipment determines it self is first to jump corresponding equipment in the routing information link as required, then add flow process according to conventional multicast, set up multicast routing table item, and forwarded upstream is not carried as required, and the multicast of routing information joins message.
Still take scene shown in Figure 2 as example, after Router_9 receives multicast that Clinet_9A sends and joins message, the interface configuration of determining the upper Clinet_9A of connection of Router_9 have corresponding as required routing information (IP1-〉IP4-〉IP7-IP8-IP9), and determine it self is not that this first jumps equipment corresponding to (IP1) in routing information link as required, then Router_9 is setting up multicast routing table item and is transmitting this multicast when joining message, no longer be according to the incoming interface in the definite multicast routing table item of RFP mechanism, and transmit the outgoing interface that this multicast joins message, but need to according to this as required routing information determine corresponding interface, be Router_9 generate in should multicast routing table item to the incoming interface of the multicast traffic stream of interface that should the upper Clinet_9A of connection of Router_9 for connecting the interface of Router_8, correspondingly, when Router_9 joined message at forwarding multicasting, by this interface multicast being joined message was transmitted to Router_8.Wherein, the Router_9 multicast that is transmitted to Router_8 carries accordingly as required routing information in joining message.
After Router_8 receives multicast that Router_9 transmits and joins message, determine that this multicast carries as required routing information in joining message, and determine it self is not that this first jumps corresponding equipment (this as required in the routing information link first to jump corresponding equipment be Router_1) in routing information link as required, then according to this as required routing information set up multicast routing table item, and to this as required in the routing information link equipment (Router_7) corresponding to upper hop transmit and carry as required that the multicast of routing information joins message.
It should be noted that, in embodiments of the present invention, determine to receive the interface configuration that multicast joins message when equipment corresponding as required routing information is arranged, or, when determining that the multicast that receives carries as required routing information in joining message, when equipment device forwards multicast corresponding to upper hop in the routing information link as required joined message, the as required routing information that carries during this multicast joins message can be the as required routing information behind the identification information of deleting self.
For example, the as required routing information of the correspondence of the interface configuration of the upper connection of Router_9 Client_9A is IP1-〉IP4-〉IP7-〉IP8-〉IP9, can be IP1-and Router_9 is transmitted to the as required routing information that the multicast of Router_8 carries in joining message〉IP4-〉IP7-〉IP8(is the identification information that Router_9 has deleted self), correspondingly, the as required routing information that carries in joining message of the Router_8 multicast that is transmitted to Router_7 can be IP1-〉IP4-〉IP7.
In addition, in embodiments of the present invention, equipment receives multicast and joins message, and when determining that this multicast carries as required routing information in joining message, can also determine this whether comprise in routing information as required the identification information of self (or, when if equipment device forwards multicast corresponding to upper hop in the routing information link as required joins message, the as required routing information of the as required routing information that carries during this multicast joins message after for self identification information of deletion, then equipment need to determine self whether to be this as required equipment corresponding to final jump in the routing information link), and when determining this identification information that comprises as required self in routing information link (determine from as equipment corresponding to final jump in the routing information link as required), think it oneself is this multicast equipment that corresponding multicast traffic stream need to pass through that joins message, and when self not being as required in the routing information link first when jumping corresponding equipment, according to this as required routing information set up multicast routing table item, and this multicast is joined message to this device forwards corresponding to upper hop in the routing information link as required.When this do not comprise in routing information as required self identification information (or, when if equipment device forwards multicast corresponding to upper hop in the routing information link as required joins message, the as required routing information of the as required routing information that carries during this multicast joins message after for self identification information of deletion, determine it self is not this as required equipment corresponding to final jump in the routing information link) time, abandon this multicast and join message, and finish current flow process.
Wherein, equipment is when routing information is set up multicast routing table item as required, can also compare the incoming interface (or Upstream Interface) of determining according to routing information as required and whether the incoming interface (or Upstream Interface) of determining by RPF mechanism be identical, and when not identical, can in multicast routing table item, add corresponding mark, such as " as required ", to show that this multicast routing table item is according to as required routing information foundation.
Still take scene shown in Figure 2 as example, after the interface receiving group of supposing the upper Client_9A of connection of Router_9 joins message, incoming interface in the multicast routing table item of determining according to RPF mechanism (i.e. this multicast join message and transmit outgoing interface) is the interface of the upper Router_6 of connection of Router_9, and then the route table items of the correspondence of the upper generation of Router_9 can comprise following information:
Router_9:
IP0(multicast packet source IP)
Mark: as required
The interface of the upper connection of incoming interface: Router_9 Router_8
The interface of the upper connection of outgoing interface: Router_9 Clinet_9A [IP1-〉IP4-〉IP7-〉IP8]
According to above-mentioned multicast routing table item, the interface that connects Router_8 from Router_9 as Router_9 receive the IP address be the multicast packet source of IP0 send multicast traffic stream the time, need this multicast traffic stream is connected from Router_9 the interface forwarding of Clinet_9A.
In order to make those skilled in the art understand better the technical scheme that the embodiment of the invention provides, below in conjunction with concrete application scenarios the technical scheme that the embodiment of the invention provides is further described in more detail.
As shown in Figure 4, the configuration diagram of a kind of concrete application scenarios that provides for the embodiment of the invention, wherein: Router_A connects multicast packet source 100.1.1.1225.1.1.1 by interface A0, Router_A is B1 by the interface that interface A1 is connected with A2 on Router_B corresponding to Router_B(respectively) and Router_C corresponding to Router_C(on interface be C2), Router_B is C3 by the interface that interface B3 connects on Router_C corresponding to Router_C(), Router_C is connected Client_1 and Client_2 by interface C0 respectively with C1; The IP address of Router_A, Router_B and Router_C is respectively 1.1.1.1,2.2.2.2 and 3.3.3.3.
In this embodiment, the interface C0 of the upper connection of Router_C Client_1 does not configure as required routing information; The as required routing information of the correspondence of the interface C1 configuration of the upper connection of Router_C Client_2 is: 1.1.1.1-〉2.2.2.2-〉3.3.3.3; Interface C1, B3 and A1 have enabled as required path function, and suppose that it is C2 that Router_C receives the Upstream Interface that calculates by RPF mechanism behind the multicast data message.
Based on application scenarios shown in Figure 4, when Client_1 wanted the multicast traffic stream of receiving multicast data source 100.1.1.1225.1.1.1 transmission, Client_1 can send the multicast of asking to add multicast group corresponding to this multicast packet source to Router_C and join message; In like manner, when Client_2 wanted the multicast traffic stream of receiving multicast data source 100.1.1.1225.1.1.1 transmission, Client_2 also can send the multicast of asking to add multicast group corresponding to this multicast packet source to Router_C and join message.
After RouterC receives multicast that Client_1 sends and joins message, add flow processing according to conventional multicast, in the process of transmitting of multicast traffic stream, for Client_1, the multicast traffic stream that multicast packet source 100.1.1.1225.1.1.1 sends, pass through 1.1.1.1-〉path of 3.3.3.3 sends to Client_1, and its specific implementation does not repeat them here.
After Router_C receives multicast that Client_2 sends and joins message, determine that corresponding interface (C1) disposes corresponding as required routing information, be 1.1.1.1-〉2.2.2.2-〉3.3.3.3, and self not that this first jumps equipment corresponding to (1.1.1.1) in routing information link as required, then set up multicast routing table item according to the as required routing information that inquires:
Router_C:
100.1.1.1225.1.1.1
Mark: as required
Upstream Interface: C3
Downstream interface: C1[1.1.1.1-〉2.2.2.2]
Wherein, according to the information in the above-mentioned multicast routing table item as can be known, when Router_C receives the multicast traffic stream of multicast packet source 100.1.1.1225.1.1.1 transmission from interface C3, need this multicast traffic stream is transmitted by interface C1.
After Router_C has set up multicast routing table item, Router_C with this multicast message according to this routing information as required, to this as required in the routing information link equipment (Router_B) corresponding to upper hop (2.2.2.2) transmit this multicast and join message, wherein, carry the as required routing information 1.1.1.1-after Router_C deletes self identification information (being 3.3.3.3) during this multicast joins message〉2.2.2.2.
After Router_B receives this multicast and joins message, determine that this multicast carries as required routing information in joining message, and determine from as this equipment corresponding to final jump (2.2.2.2) in the routing information link as required, and self be not that this first jumps equipment corresponding to (1.1.1.1) in routing information link as required, then according to this as required routing information set up multicast routing table item:
Router_B:
100.1.1.1225.1.1.1
Upstream Interface (being incoming interface): B1
Downstream interface (being outgoing interface): B3[1.1.1.1]
Wherein, according to the information in the above-mentioned multicast routing table item as can be known, when Router_B receives the multicast traffic stream of multicast packet source 100.1.1.1225.1.1.1 transmission from interface B1, need this multicast traffic stream is transmitted by interface B3.
After Router_B has set up multicast routing table item, Router_B with this multicast message according to this routing information as required, to this as required in the routing information link equipment (Router_A) corresponding to upper hop (1.1.1.1) transmit this multicast and join message, wherein, carry the as required routing information 1.1.1.1 after Router_B deletes self identification information (being 2.2.2.2) during this multicast joins message.
After Router_A receives this multicast and joins message, determine that this multicast carries as required routing information in joining message, and determine from as this equipment corresponding to final jump (1.1.1.1) in the routing information link as required, and determine from first jumping equipment corresponding to (1.1.1.1) in the routing information link as required as this, then add flow process according to conventional multicast, set up multicast routing table item, and forwarded upstream is not carried as required, and the multicast of routing information joins message, suppose that the Upstream Interface of determining by RPF mechanism is A0, then set up following multicast routing table item:
Router_A:
100.1.1.1225.1.1.1
Upstream Interface (being incoming interface): A0
Downstream interface (being outgoing interface): A1
Wherein, according to the information in the above-mentioned multicast routing table item as can be known, when Router_A receives the multicast traffic stream of multicast packet source 100.1.1.1225.1.1.1 transmission from interface A0, need this multicast traffic stream is transmitted by interface A1.
By with upper type, the multicast traffic stream that multicast packet source 100.1.1.1225.1.1.1 sends, pass through 1.1.1.1-〉path of 3.3.3.3 sends to Client_1, pass through 1.1.1.1-〉2.2.2.2-〉path of 3.3.3.3 sends to Client_2, realized the different user on the same equipment is disposed different multicast forwarding paths, improve the flexibility of the forward-path deployment of multicast traffic stream, strengthened the manageability of the forwarding of multicast traffic stream.
Based on the inventive concept of said method embodiment system, the embodiment of the invention also provides a kind of network equipment, can be applied to said method embodiment.
As shown in Figure 5, the structural representation of a kind of network equipment that provides for the embodiment of the invention can comprise:
Receiver module 51 is used for receiving group and joins message;
Judge module 52, the interface configuration that joins message for the multicast of determining when described equipment to receive has corresponding as required routing information, or this multicast is when carrying as required routing information in joining message, and judges self whether to be that this first jumps corresponding equipment in routing information link as required; Wherein, comprise this pre-configured multicast successively unique identification information of each equipment of process on demand of corresponding multicast traffic stream that joins message in the described as required routing information;
Processing module 53 is used for being judged as when being when described judge module 52, according to conventional multicast adding flow process, set up multicast routing table item, and forwarded upstream is not carried as required, and the multicast of routing information joins message; When described judge module 52 is judged as when no, set up multicast routing table item according to described as required routing information, and device forwards corresponding to upper hop carries as required that the multicast of routing information joins message in the described as required routing information link.
Wherein, described processing module 53 specifically is used for, and the multicast of routing information joins message to realize in the following manner in the described as required routing information link carrying device forwards corresponding to upper hop as required:
Delete the identification information corresponding with self in the described as required routing information, and the multicast that device forwards corresponding to upper hop carried the as required routing information of this deletion identification information corresponding with self in the described as required routing information link joins message.
Wherein, described processing module 53 specifically is used for, and realizes in the following manner setting up multicast routing table item according to described as required routing information:
When described equipment is determined equipment corresponding in as described as required routing information link final jump, set up multicast routing table item according to described as required routing information.
Wherein, described processing module 53 specifically is used for, and realizes in the following manner setting up multicast routing table item according to described as required routing information:
With self connect this as required in the routing information link interface of equipment corresponding to upper hop receive interface that described multicast joins message as the outgoing interface of multicast routing table item as the incoming interface of multicast routing table item, set up multicast routing table item.
Wherein, described processing module 53 also is used for, when described equipment judge self be not this as required in the routing information link first jump corresponding equipment after, and determine it self is not in the described as required routing information link during equipment corresponding to final jump, abandon this multicast and join message.
Wherein, preferably, this network equipment can be routing device.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (10)

1. one kind based on three layers of multicast of realization of Protocol Independent Multicast-designated multicast source PIM-SSM method of routing as required, it is characterized in that, comprising:
When receiving multicast, equipment joins message, and determine to receive the interface configuration that this multicast joins message corresponding as required routing information is arranged, or this multicast is when carrying as required routing information in joining message, and judges self whether to be that this first jumps corresponding equipment in routing information link as required; Wherein, comprise this pre-configured multicast successively unique identification information of each equipment of process on demand of corresponding multicast traffic stream that joins message in the described as required routing information;
If be judged as be, then add flow process according to conventional multicast, set up multicast routing table item, and forwarded upstream is not carried as required, and the multicast of routing information joins message;
If be judged as noly, then set up multicast routing table item according to described as required routing information, and device forwards corresponding to upper hop carries as required that the multicast of routing information joins message in the described as required routing information link.
2. the method for claim 1 is characterized in that, described equipment device forwards corresponding to upper hop in the described as required routing information link carries as required that the multicast of routing information joins message, and is specially:
The identification information corresponding with self in the described as required routing information of described unit deletion, and the multicast that device forwards corresponding to upper hop carried the as required routing information of this deletion identification information corresponding with self in the described as required routing information link joins message.
3. method as claimed in claim 2 is characterized in that, described equipment is set up multicast routing table item according to described as required routing information, is specially:
When described equipment is determined equipment corresponding in as described as required routing information link final jump, set up multicast routing table item according to described as required routing information.
4. such as each described method among the claim 1-3, it is characterized in that, described equipment is set up multicast routing table item according to described as required routing information, is specially:
Described equipment with self connect this as required in the routing information link interface of equipment corresponding to upper hop receive interface that described multicast joins message as the outgoing interface of multicast routing table item as the incoming interface of multicast routing table item, set up multicast routing table item.
5. method as claimed in claim 3 is characterized in that, described equipment judges it self is not that this first is jumped after the corresponding equipment in routing information link as required, and the method also comprises:
Determine it self is not in the described as required routing information link during equipment corresponding to final jump when described equipment, abandon this multicast and join message.
6. a network equipment is characterized in that, comprising:
Receiver module is used for receiving group and joins message;
Judge module, the interface configuration that joins message for the multicast of determining when described equipment to receive has corresponding as required routing information, or this multicast is when carrying as required routing information in joining message, and judges self whether to be that this first jumps corresponding equipment in routing information link as required; Wherein, comprise this pre-configured multicast successively unique identification information of each equipment of process on demand of corresponding multicast traffic stream that joins message in the described as required routing information;
Processing module is used for being judged as when being when described judge module, according to conventional multicast adding flow process, set up multicast routing table item, and forwarded upstream is not carried as required, and the multicast of routing information joins message; When described judge module is judged as when no, set up multicast routing table item according to described as required routing information, and device forwards corresponding to upper hop carries as required that the multicast of routing information joins message in the described as required routing information link.
7. the network equipment as claimed in claim 6 is characterized in that, described processing module specifically is used for, and the multicast of routing information joins message to realize in the following manner in the described as required routing information link carrying device forwards corresponding to upper hop as required:
Delete the identification information corresponding with self in the described as required routing information, and the multicast that device forwards corresponding to upper hop carried the as required routing information of this deletion identification information corresponding with self in the described as required routing information link joins message.
8. the network equipment as claimed in claim 7 is characterized in that, described processing module specifically is used for, and realizes in the following manner setting up multicast routing table item according to described as required routing information:
When described equipment is determined equipment corresponding in as described as required routing information link final jump, set up multicast routing table item according to described as required routing information.
9. such as each described network equipment of claim 6-8, it is characterized in that, described processing module specifically is used for, and realizes in the following manner setting up multicast routing table item according to described as required routing information:
With self connect this as required in the routing information link interface of equipment corresponding to upper hop receive interface that described multicast joins message as the outgoing interface of multicast routing table item as the incoming interface of multicast routing table item, set up multicast routing table item.
10. the network equipment as claimed in claim 8 is characterized in that,
Described processing module also is used for, when described equipment judge self be not this as required in the routing information link first jump corresponding equipment after, and determine it self is not in the described as required routing information link during equipment corresponding to final jump, abandon this multicast and join message.
CN201310280087.8A 2013-07-03 2013-07-03 A kind of method and apparatus realizing three layers of on-demand routing of multicast based on PIM-SSM Active CN103354524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310280087.8A CN103354524B (en) 2013-07-03 2013-07-03 A kind of method and apparatus realizing three layers of on-demand routing of multicast based on PIM-SSM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310280087.8A CN103354524B (en) 2013-07-03 2013-07-03 A kind of method and apparatus realizing three layers of on-demand routing of multicast based on PIM-SSM

Publications (2)

Publication Number Publication Date
CN103354524A true CN103354524A (en) 2013-10-16
CN103354524B CN103354524B (en) 2016-08-10

Family

ID=49310839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310280087.8A Active CN103354524B (en) 2013-07-03 2013-07-03 A kind of method and apparatus realizing three layers of on-demand routing of multicast based on PIM-SSM

Country Status (1)

Country Link
CN (1) CN103354524B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107800547A (en) * 2016-09-07 2018-03-13 华为技术有限公司 A kind of method and its equipment for being used to handle multicast join message

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110868307B (en) * 2018-08-28 2022-01-21 杭州海康威视数字技术股份有限公司 Message processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488873A (en) * 2009-02-19 2009-07-22 杭州华三通信技术有限公司 Multicast joining method and system
US7649882B2 (en) * 2002-07-15 2010-01-19 Alcatel-Lucent Usa Inc. Multicast scheduling and replication in switches
CN101651609A (en) * 2008-08-14 2010-02-17 华为技术有限公司 Method and device for realizing multicast load sharing
US20110075663A1 (en) * 2009-09-30 2011-03-31 At&T Intellectual Property I, L.P. Load balancing multicast network traffic using virtual channels
CN102244583A (en) * 2011-07-20 2011-11-16 北京星网锐捷网络技术有限公司 Method and network equipment for forwarding multicast streaming
CN102624604A (en) * 2011-02-01 2012-08-01 华为技术有限公司 Multicast control method, routing equipment and multicast system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7649882B2 (en) * 2002-07-15 2010-01-19 Alcatel-Lucent Usa Inc. Multicast scheduling and replication in switches
CN101651609A (en) * 2008-08-14 2010-02-17 华为技术有限公司 Method and device for realizing multicast load sharing
CN101488873A (en) * 2009-02-19 2009-07-22 杭州华三通信技术有限公司 Multicast joining method and system
US20110075663A1 (en) * 2009-09-30 2011-03-31 At&T Intellectual Property I, L.P. Load balancing multicast network traffic using virtual channels
CN102624604A (en) * 2011-02-01 2012-08-01 华为技术有限公司 Multicast control method, routing equipment and multicast system
CN102244583A (en) * 2011-07-20 2011-11-16 北京星网锐捷网络技术有限公司 Method and network equipment for forwarding multicast streaming

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107800547A (en) * 2016-09-07 2018-03-13 华为技术有限公司 A kind of method and its equipment for being used to handle multicast join message

Also Published As

Publication number Publication date
CN103354524B (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN101656679B (en) Method for rapidly converging multicast, router and communication system
CN101605103B (en) Method and apparatus for static forwarding multicast data
CN101645790B (en) Switching-over method, device and system of multicast distribution tree
CN102137000B (en) Method, device and system for establishing switching multicast distribution tree
CN103916905A (en) Multicast source registering and multicast path establishing method and device
CN102413059A (en) Multicast forwarding method based on SPB (Shortest Path Bridging) network and SPBM (MAC-in-MAC SPB) bridge
CN103209134B (en) Method and equipment for multicast forwarding
KR20110010087A (en) Method and apparatus for multicast tree management in multi-hop relay communication system
CN101252529A (en) Method and apparatus for forwarding multicast message
CN104980355A (en) Source controllable multicast data transmission method and system thereof under SDN Environment
CN105099937B (en) A kind of determination method and apparatus of PMTU
CN102916888B (en) Multicast data transmission method and multicast data transmission device
CN101986601B (en) Multicast data transmission method and equipment
US20190222537A1 (en) Modifications of headend forwarding rules to join wide area network branch hosts to multicast groups
CN104521188A (en) Method, apparatus and system for establishing optical bypass
CN106357541B (en) Information transmission method and device
CN103220217B (en) A kind of route generating method and equipment
CN103716169A (en) Point-to-multipoint multicast realization method, network nodes and system
CN109005109B (en) Route setting method and multicast networking system
CN103178976A (en) Method for multicast tree establishment and fault restoration
CN103354524A (en) PIM-SSM-based method and device for realizing demand path selection for three-layer multicast
CN102624604B (en) Multicast control method, routing equipment and multicast system
CN103401788B (en) A kind of SPT method for building up and equipment
CN107547377A (en) A kind of multicast traffic transport method and apparatus
CN104348736A (en) Method for selecting route under multicast load scene and routers

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: 20230615

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