CN102215166A - Method and device for forwarding VPLS (Virtual Private Lan Service) multicasting data - Google Patents

Method and device for forwarding VPLS (Virtual Private Lan Service) multicasting data Download PDF

Info

Publication number
CN102215166A
CN102215166A CN2011101477442A CN201110147744A CN102215166A CN 102215166 A CN102215166 A CN 102215166A CN 2011101477442 A CN2011101477442 A CN 2011101477442A CN 201110147744 A CN201110147744 A CN 201110147744A CN 102215166 A CN102215166 A CN 102215166A
Authority
CN
China
Prior art keywords
multicast
user
vpls
message
forwarding
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.)
Pending
Application number
CN2011101477442A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2011101477442A priority Critical patent/CN102215166A/en
Publication of CN102215166A publication Critical patent/CN102215166A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and a device for forwarding VPLS (Virtual Private Lan Service) multicasting data. The method comprises the following steps: building a multicasting message forwarding table entry only comprising multicasting user forwarding information; and according to the multicasting message forwarding table entry, forwarding a received multicasting message. The invention also discloses a device for forwarding VPLS multicasting data. The multicasting message forwarding table entry only comprising that following steps: the multicasting user forwarding information is built to cause the received multicasting message to forward the multicasting message according to the multicasting message forwarding table entry; the multicasting data of the VPLS network of two-layer VPN (Virtual Private Network) is forwarded; and the multicasting data sent by the multicasting user is only forwarded to the multicasting user and is not forwarded to a common user so as to improve the performance of forwarding the VPLS multicasting data, save network bandwidth, reduce network congestion and improve service forwarding performance.

Description

A kind of VPLS multicast data forwarding method and device
Technical field
The present invention relates to the network data communication technology, relate in particular to a kind of VPLS (VPLS, Virtual Private LAN Services) multicast data forwarding method and device.
Background technology
VPLS is a kind of at multiprotocol label switching (MPLS, Multi-protocol Label Switching) provides similar local area network (LAN) (LAN on the network, Local Area Network) a kind of business, the point while access network that it can make the user disperse from a plurality of geographical position, and visit mutually, just as these points directly are linked on the LAN.VPLS combines the advantage of Ethernet and MPLS technology, be emulation to traditional LAN repertoire, its main purpose is to connect a plurality of LAN that are made of Ethernet that isolate on the region by the MPLS network that operator provides, make these Ethernets go work, thereby form VPN (virtual private network) as a LAN.
Multicast more and more comes into one's own as a kind of new technology, and very big application prospect is arranged.Multicast is that a kind of one or more senders of permission (multicast source) send the network technology of single packet to a plurality of recipients.So-called multicast address, be actually a logical concept, represent the group of a logic, the terminal equipment that adds this group can be that destination address sends data with the multicast address of this group, and the data that send this moment are not at certain concrete main frame, but at a group, want to receive the equipment of these data, as long as the destination address of judgment data bag is the multicast address of multicast group, if, then receive, otherwise abandon.Multicast source sends to particular multicast group with packet, has only the equipment that adds this multicast group just can receive packet.From the notion of multicast as can be seen, multicast is between clean culture and multicast, if multicast source has only one, the reception member of multicast group has only one, has so just become the clean culture form, if the reception member in the multicast group is a plurality of, has so just become the forms of broadcasting.Because this characteristic between clean culture and multicast makes multicast that very large advantage be arranged.
The typical networking of a VPLS multicast service comprises the user's border networks equipment (CE as the multicast user, Custom Edge), as CE, the operator edge network equipment (PE of domestic consumer, Provider Edge) and the router (P of operator, equipment such as Provider), the PE that adds VPLS supports broadcasting, multicast, clean culture, can transmit and filter ethernet frame, passes through pseudo-line (PW between each PE, Pseudo Wire) is connected to each other, the user is formed an emulated lan.In the VPLS multicast, can intercom mutually between the multicast user of same multicast group, the multicast user can not send data to domestic consumer, and domestic consumer can send data to the multicast user.
Present transmitting multicast data realizes based on the three layers of IP network, and therefore VPLS is based on two-layer virtual private network (VPN, Virtual Private Network) network,, need to propose a kind of multicast data forwarding method, to realize the VPLS multicast functionality based on the two-layer VPN network.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of VPLS multicast data forwarding method and device, can realize multicast data forwarding method based on the two-layer VPN network.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of VPLS multicast data forwarding method, described method comprises:
Make up the multicast message forwarding-table item that only comprises multicast user's forwarding information;
Transmit the multicast message that receives according to described multicast message forwarding-table item.
In such scheme, described multicast message forwarding-table item comprises: comprise local multicast subscriber's meter that inserts side VPLS multicast user forwarding information and the far-end multicast user table that comprises pseudo-line side VPLS multicast user forwarding information;
Describedly transmit described multicast message, comprising: described multicast message is transmitted to the VPLS multicast user who inserts side according to described local multicast subscriber's meter according to described multicast message forwarding-table item; And/or, described multicast message is transmitted to the VPLS multicast user of pseudo-line side according to described far-end multicast user table.
In such scheme, described far-end multicast user table includes user ID, forwarding label, VC label and next jumping of far-end of pseudo-line side VPLS multicast user;
The described VPLS multicast user who described multicast message is transmitted to pseudo-line side according to described far-end multicast user table, comprise: after pseudo-line side VPLS multicast user's forwarding label and VC label are encapsulated into described multicast message, with described multicast message be forwarded to described pseudo-line side VPLS multicast user far-end next jump corresponding outgoing interface.
In such scheme, described method also comprises: make up the far-end next hop information table that includes next jumping index of far-end and outgoing interface information;
The described corresponding outgoing interface of next jumping of far-end that described multicast message is forwarded to described pseudo-line side VPLS multicast user, for: next jumps corresponding outgoing interface information to inquire about described pseudo-line side VPLS multicast user far-end from described far-end next hop information table, according to the outgoing interface information that inquires described multicast message is forwarded to corresponding outgoing interface.
In such scheme, described local multicast subscriber's meter includes user ID and the outgoing interface information that inserts side VPLS multicast user;
Described multicast message is transmitted to the VPLS multicast user who inserts side according to described local multicast subscriber's meter, comprise:, directly described multicast message is forwarded to corresponding described access side VPLS multicast user's outgoing interface according to the outgoing interface information that inserts side VPLS multicast user in the described local multicast subscriber's meter.
In such scheme, described multicast message forwarding-table item also comprises: the VPLS multicast example table that includes sign, access side multicast user's number and the pseudo-line side multicast user number of VPLS multicast group;
Described local multicast subscriber's meter also comprises the sign that inserts the affiliated VPLS multicast group of side multicast user;
Described far-end multicast user table also comprises the sign of the affiliated VPLS multicast group of pseudo-line side multicast user.
In such scheme, described method also comprises: make up the common message forwarding-table item that includes multicast user's forwarding information and domestic consumer's forwarding information;
When receiving message, judge whether described message is multicast message, if transmit described message according to described multicast message forwarding-table item; If not, then transmit described message according to described common message forwarding-table item.
In such scheme, described common message forwarding-table item comprises: comprise local user's table that inserts side VPLS user forwarding information and the remote subscriber table that comprises pseudo-line side VPLS user forwarding information;
Describedly transmit described message, comprising: according to described local user's table described message is transmitted to and inserts side VPLS user according to described common message forwarding-table item; And/or, described message is transmitted to the VPLS user of pseudo-line side according to described remote subscriber table;
Wherein, VPLS user comprises VPLS multicast user and domestic consumer.
In such scheme, described remote subscriber table includes user ID, forwarding label, VC label and next jumping of far-end of pseudo-line side VPLS user;
The described VPLS user who described message is transmitted to pseudo-line side according to described remote subscriber table, comprise: after pseudo-line side VPLS user's forwarding label and VC label are encapsulated into described message, with described message be forwarded to described pseudo-line side VPLS user far-end next jump corresponding outgoing interface.
In such scheme, described method also comprises: make up the far-end next hop information table that includes next jumping index of far-end and outgoing interface information;
The described corresponding outgoing interface of next jumping of far-end that described message is forwarded to described pseudo-line side VPLS user, for: the corresponding outgoing interface information of next jumping of far-end from described far-end next hop information table is inquired about described pseudo-line side VPLS user is forwarded to corresponding outgoing interface according to the outgoing interface information that inquires with described message.
In such scheme, described local user's table includes user ID and the outgoing interface information that inserts side VPLS user;
The described VPLS user who described message is transmitted to the access side according to described local user's table, comprise:, directly described message is forwarded to corresponding described access side VPLS user's outgoing interface according to the outgoing interface information that inserts side VPLS user in described local user's table.
In such scheme, described multicast message forwarding-table item also comprises: the VPLS multicast example table that includes sign, access side multicast user's number and the pseudo-line side multicast user number of VPLS multicast group;
Described local multicast subscriber's meter also comprises the sign that inserts the affiliated VPLS multicast group of side multicast user;
Described far-end multicast user table also comprises the sign of the affiliated VPLS multicast group of pseudo-line side multicast user.
The present invention also provides a kind of VPLS transmitting multicast data device, and described device comprises:
Construction unit is used to make up the multicast message forwarding-table item that only comprises multicast user's forwarding information;
Retransmission unit, the multicast message forwarding-table item that is used for making up according to described construction unit is transmitted the multicast message that receives.
In such scheme, described construction unit also is used to make up the common message forwarding-table item that includes multicast user's forwarding information and domestic consumer's forwarding information;
Described retransmission unit comprises discriminating module and forwarding module, wherein, when described discriminating module is used to receive message, judges whether described message is multicast message, if then notify described forwarding module to transmit described message according to described multicast message forwarding-table item; If not, then notify described forwarding module to transmit described message according to described common message forwarding-table item.
In such scheme, the multicast message forwarding-table item that described construction unit makes up comprises: comprise local multicast subscriber's meter that inserts side VPLS multicast user forwarding information and the far-end multicast user table that comprises pseudo-line side VPLS multicast user forwarding information;
Described forwarding module also is used for described multicast message being transmitted to the VPLS multicast user who inserts side according to described local multicast subscriber's meter; And/or, described multicast message is transmitted to the VPLS multicast user of pseudo-line side according to described far-end multicast user table.
In such scheme, described common message forwarding-table item comprises: comprise local user's table that inserts side VPLS user forwarding information and the remote subscriber table that comprises pseudo-line side VPLS user forwarding information;
Described forwarding module also is used for according to described local user's table described message being transmitted to access side VPLS user; And/or, described message is transmitted to the VPLS user of pseudo-line side according to described remote subscriber table;
Wherein, VPLS user comprises VPLS multicast user and domestic consumer.
In such scheme, described construction unit also is used to make up the far-end next hop information table that includes next jumping index of far-end and outgoing interface information;
Described forwarding module also is used for described multicast message being transmitted to the VPLS multicast user of pseudo-line side according to described far-end multicast user table and far-end next hop information table; And/or, according to described remote subscriber table and far-end next hop information table, described message is transmitted to pseudo-line side VPLS user.
VPLS multicast data forwarding method of the present invention and device, by making up the multicast message forwarding-table item that only comprises multicast user's forwarding information, make and to transmit described multicast message according to described multicast message forwarding-table item when receiving multicast message, realized transmitting multicast data for the two-layer VPN network of similar VPLS, and the multicast packet that the multicast user sends only can be transmitted to the multicast user, can not be transmitted to domestic consumer again, thereby improve the performance of VPLS transmitting multicast data, save the network bandwidth, reduce network congestion, improve professional forwarding performance.
Description of drawings
Fig. 1 is the realization flow figure of VPLS multicast data forwarding method of the present invention;
Fig. 2 is the composition structural representation of VPLS multicast networking in a kind of specific embodiment of the present invention;
Fig. 3 is the realization flow figure of a kind of specific embodiment of VPLS multicast data forwarding method of the present invention.
Embodiment
Main thought of the present invention is: in the data forwarding of VPLS multicast network, by making up common message forwarding-table item and only comprising the multicast message forwarding-table item of multicast user's forwarding information, and according to described multicast message forwarding-table item forwarding multicasting message, so, the multicast packet that the multicast user sends only can be transmitted to the multicast user, can not be transmitted to domestic consumer again, realizes the transmitting multicast data of VPLS, and improved the transmitting multicast data performance, save the network bandwidth.
A kind of VPLS multicast data forwarding method of the present invention with reference to shown in Figure 1, mainly can may further comprise the steps:
Step 101: make up the multicast message forwarding-table item that only comprises multicast user's forwarding information;
Step 102: when receiving multicast message, transmit described multicast message according to described multicast message forwarding-table item.
Particularly, described multicast message forwarding-table item can comprise: comprise local multicast subscriber's meter that inserts side VPLS multicast user forwarding information and the far-end multicast user table that comprises pseudo-line side VPLS multicast user forwarding information; Can described multicast message be transmitted to the VPLS multicast user who inserts side according to described local multicast subscriber's meter; And/or, can described multicast message be transmitted to the VPLS multicast user of pseudo-line side according to described far-end multicast user table.
Here, described far-end multicast user table includes user ID, forwarding label, VC label and next jumping of far-end of pseudo-line side VPLS multicast user; After pseudo-line side VPLS multicast user's forwarding label and VC label can being encapsulated into described multicast message, with described multicast message be forwarded to described pseudo-line side VPLS multicast user far-end next jump corresponding outgoing interface.
Wherein, described method also comprises: make up the far-end next hop information table that includes next jumping index of far-end and outgoing interface information.Particularly, next jumps corresponding outgoing interface information to inquire about described pseudo-line side VPLS multicast user far-end from described far-end next hop information table, according to the outgoing interface information that inquires described multicast message is forwarded to corresponding outgoing interface.Here, far-end next hop information table also comprises pseudo-each user's of line side next jumping of far-end and the correspondence relationship information of outgoing interface information.
Here, described local multicast subscriber's meter includes user ID and the outgoing interface information that inserts side VPLS multicast user; Can directly described multicast message be forwarded to corresponding described access side VPLS multicast user's outgoing interface according to the outgoing interface information that inserts side VPLS multicast user in the described local multicast subscriber's meter.
Wherein, described multicast message forwarding-table item also comprises: the VPLS multicast example table that includes sign, access side multicast user's number and the pseudo-line side multicast user number of VPLS multicast group; Described local multicast subscriber's meter also comprises the sign that inserts the affiliated VPLS multicast group of side multicast user; Described far-end multicast user table also comprises the sign of the affiliated VPLS multicast group of pseudo-line side multicast user.So, inquiry receives the user of message and inserts the side multicast user when being convenient to transmit, or pseudo-line side multicast user, and then transmits according to corresponding local multicast subscriber's meter or far-end multicast user table.
Wherein, described method also comprises: make up the common message forwarding-table item that includes multicast user's forwarding information and domestic consumer's forwarding information.
Particularly, when receiving message, judge whether described message is multicast message, if transmit described message according to described multicast message forwarding-table item; If not, then transmit described message according to described common message forwarding-table item.
Here, described common message forwarding-table item comprises: comprise local user's table that inserts side VPLS user forwarding information and the remote subscriber table that comprises pseudo-line side VPLS user forwarding information.Particularly, can described message be transmitted to access side VPLS user according to described local user's table; And/or, described message is transmitted to the VPLS user of pseudo-line side according to described remote subscriber table; Wherein, VPLS user comprises VPLS multicast user and domestic consumer.
Wherein, described remote subscriber table includes user ID, forwarding label, VC label and next jumping of far-end of pseudo-line side VPLS user; After pseudo-line side VPLS user's forwarding label and VC label can being encapsulated into described message, with described message be forwarded to described pseudo-line side VPLS user far-end next jump corresponding outgoing interface.
Here, can inquire about described pseudo-line side VPLS user's the corresponding outgoing interface information of next jumping of far-end, described message is forwarded to corresponding outgoing interface according to the outgoing interface information that inquires from described far-end next hop information table.
Wherein, described local user's table includes user ID and the outgoing interface information that inserts side VPLS user.In the practical application, can directly described message be forwarded to corresponding described access side VPLS user's outgoing interface according to the outgoing interface information that inserts side VPLS user in described local user's table.
Wherein, described multicast message forwarding-table item also comprises: the VPLS multicast example table that includes sign, access side multicast user's number and the pseudo-line side multicast user number of VPLS multicast group; Described local multicast subscriber's meter also comprises the sign that inserts the affiliated VPLS multicast group of side multicast user; Described far-end multicast user table also comprises the sign of the affiliated VPLS multicast group of pseudo-line side multicast user.So, inquiry receives the user of message and inserts the side user when being convenient to transmit, or pseudo-line side user, and then transmits according to corresponding local user's table or remote subscriber table.
Accordingly, the present invention also provides a kind of VPLS transmitting multicast data device, and described device comprises: construction unit and retransmission unit, and wherein, construction unit is used to make up the multicast message forwarding-table item that only comprises multicast user's forwarding information; Retransmission unit, the multicast message forwarding-table item that is used for making up according to described construction unit is transmitted the multicast message that receives.
Particularly, described construction unit also is used to make up the common message forwarding-table item that includes multicast user's forwarding information and domestic consumer's forwarding information;
Described retransmission unit comprises discriminating module and forwarding module, wherein, when described discriminating module is used to receive message, judges whether described message is multicast message, if then notify described forwarding module to transmit described message according to described multicast message forwarding-table item; If not, then notify described forwarding module to transmit described message according to described common message forwarding-table item.
Here, described discriminating module can also be used for intercepting agreement (IGMPSNOOPING, Internet Group Management Protocol Snooping) agreement by multicast management and carries out the operation that the user adds multicast user groups.
Wherein, the multicast message forwarding-table item of described construction unit structure comprises: comprise local multicast subscriber's meter that inserts side VPLS multicast user forwarding information and the far-end multicast user table that comprises pseudo-line side VPLS multicast user forwarding information; Described forwarding module also is used for described multicast message being transmitted to the VPLS multicast user who inserts side according to described local multicast subscriber's meter; And/or, described multicast message is transmitted to the VPLS multicast user of pseudo-line side according to described far-end multicast user table.
Here, described far-end multicast user table includes user ID, forwarding label, VC label and next jumping of far-end of pseudo-line side VPLS multicast user; Described forwarding module, after also being used for pseudo-line side VPLS multicast user's forwarding label and VC label be encapsulated into described multicast message, with described multicast message be forwarded to described pseudo-line side VPLS multicast user far-end next jump corresponding outgoing interface.
Wherein, described local multicast subscriber's meter includes user ID and the outgoing interface information that inserts side VPLS multicast user; Described forwarding module also is used for the outgoing interface information according to described local multicast subscriber's meter access side VPLS multicast user, directly described multicast message is forwarded to corresponding described access side VPLS multicast user's outgoing interface.
Particularly, described common message forwarding-table item comprises: comprise local user's table that inserts side VPLS user forwarding information and the remote subscriber table that comprises pseudo-line side VPLS user forwarding information;
Described forwarding module also is used for according to described local user's table described message being transmitted to access side VPLS user; And/or, described message is transmitted to the VPLS user of pseudo-line side according to described remote subscriber table; Wherein, VPLS user comprises VPLS multicast user and domestic consumer.
Wherein, described remote subscriber table includes user ID, forwarding label, VC label and next jumping of far-end of pseudo-line side VPLS user; Described forwarding module, after also being used for pseudo-line side VPLS user's forwarding label and VC label be encapsulated into described message, with described message be forwarded to described pseudo-line side VPLS user far-end next jump corresponding outgoing interface.
Wherein, described construction unit also is used to make up the far-end next hop information table that includes next jumping index of far-end and outgoing interface information; Described forwarding module also is used for described multicast message being transmitted to the VPLS multicast user of pseudo-line side according to described far-end multicast user table and far-end next hop information table; And/or, according to described remote subscriber table and far-end next hop information table, described message is transmitted to pseudo-line side VPLS user.
Here, described forwarding module, next jumps corresponding outgoing interface information also to be used for inquiring about described pseudo-line side VPLS multicast user far-end from described far-end next hop information table, according to the outgoing interface information that inquires described multicast message is forwarded to corresponding outgoing interface.
Here, described forwarding module, also be used for from described far-end next hop information table inquire about described pseudo-line side VPLS user far-end next jump corresponding outgoing interface information, according to the outgoing interface information that inquires described message is forwarded to corresponding outgoing interface.
Wherein, described local user's table includes user ID and the outgoing interface information that inserts side VPLS user; Described forwarding module also is used for the outgoing interface information according to described local user's table access side VPLS user, directly described message is forwarded to corresponding described access side VPLS user's outgoing interface.
In the practical application, described VPLS transmitting multicast data device can be built in the network elements such as switch or router.
Embodiment one
The VPLS multicast group web frame of present embodiment, as shown in Figure 2, mainly comprise: P, PE1, PE2, PE3, PE4, CE1, CE2, CE3, CE4, CE5, CE6, in the calculation, CE1, CE2, CE4, CE5 are the multicast user, CE3 and CE6 are domestic consumer, and CE1, CE2, CE3 are the access side VPLS user of PE1, and CE4, CE5, CE6 are the pseudo-line side VPLS user of PE1.
For VPLS multicast networking as shown in Figure 2, the specific implementation process of VPLS transmitting multicast data mainly can may further comprise the steps as shown in Figure 3:
Step 301: on each PE, make up common message forwarding-table item and far-end next hop information table;
In this step, the common message forwarding-table item of structure includes under the PE all users' forwarding information in the networking of VPLS multicast, and this common message forwarding-table item comprises each domestic consumer in the networking of VPLS multicast and each multicast user's forwarding information.Wherein, constructed common message forwarding-table item can comprise that the local user shows and the remote subscriber table.
In this step, constructed common message forwarding-table item can also comprise the VPLS example table, can comprise the information of all users under each VPLS example in the VPLS example table.
In addition, in this step, also make up far-end next hop information table, described far-end next hop information table can comprise far-end, and next jumps index and outgoing interface information, next jumping index of far-end and outgoing interface information correspondence are deposited, and are convenient to the follow-up corresponding outgoing interface information of next jumping of each multicast user's far-end that can obtain when the multicast user E-Packets.
In networking shown in Figure 2, be example with PE1, on PE1, make up the common message forwarding-table item and the far-end next hop information table that comprise following VPLS example table, local user's table, remote subscriber table:
Wherein, the VPLS example table is as shown in table 1, can comprise the sign of domestic consumer under the sign of each VPLS example and each the VPLS example and multicast user's sign.In the practical application, the networking of a VPLS multicast of a VPLS case representation.Wherein, VPLS example 1 is the sign of VPLS multicast shown in Figure 2 networking, and local number (LN, Local Number) is the sign of domestic consumer, and remote number (RN, Remote Number) is multicast user's a sign.。
Table 1
The local user shows as shown in table 2, include the access side user CE1 of current PE, the forwarding information of CE2, CE3, particularly, forwarding information that inserts the side user can comprise the user ID that inserts the side user, outgoing interface information and the sign etc. of corresponding VPLS example.Wherein, LN1 is the sign of CE1, and LN2 is the sign of CE2, and LN3 is the sign of CE3.Here, it is a kind of two layers of forwarding that local user's business is transmitted, and according to the outgoing interface information in the list item, can directly transmit to the local user.
Figure BDA0000066012370000112
Table 2
The remote subscriber table is as shown in table 3, include the pseudo-line side user CE4 of current PE, the forwarding information of CE5, CE6, a pseudo-line side user's forwarding information can comprise each pseudo-line side user user ID, forwarding label, VC label, far-end next jump and the sign etc. of corresponding VPLS example.Wherein, RN1 is the sign of CE4, and RN2 is the sign of CE5, and RN3 is the sign of CE6.
Figure BDA0000066012370000121
Table 3
Far-end next hop information table is as shown in table 4, and next jumps index and outgoing interface information to comprise far-end, and next jumping index of far-end and outgoing interface information correspondence are deposited.
Figure BDA0000066012370000122
Table 4
Step 302: on each PE, make up the multicast message forwarding-table item;
In this step, at the enough strong multicast message forwarding-table item of the multicast member in the VPLS multicast group, wherein, described multicast message forwarding-table item can comprise VPLS multicast example table, local multicast subscriber's meter and far-end multicast user table, wherein, comprise the local multicast user's who is positioned at current PE access side number and the far-end multicast user's who is positioned at the pseudo-line side of current PE number in the VPLS multicast example table, corresponding, the local multicast subscriber's meter comprises each local multicast user's forwarding information, and far-end multicast user table comprises each far-end multicast user's forwarding information.
Particularly, in networking shown in Figure 2, be example with PE1, on PE1, make up the multicast message forwarding-table item that comprises following VPLS multicast example table, local multicast subscriber's meter and far-end multicast user table:
Wherein, VPLS multicast example table is as shown in table 5, the sign, local multicast number of users LN, the far-end multicast user RN that comprise the VPLS multicast group, particularly, as shown in Figure 2, multicast local user number LN is 2 (being designated the CE1 and the CE2 that is designated LN2 of LN1), and far-end multicast user number RN is 2 (being designated the CE4 and the CE5 that is designated RN2 of RN1).In the practical application, a VPLS multicast group is made up of all multicast users in the VPLS example, and VPLS multicast group 1 is the sign of VPLS multicast group in the VPLS multicast shown in Figure 2 networking in the table 5.
Figure BDA0000066012370000131
Table 5
Corresponding, the local multicast subscriber's meter is as shown in table 6, comprise the forwarding information of CE1 and the forwarding information of CE2, particularly, the data entries of sign LN1 correspondence is the forwarding information of CE1, the items for information of sign LN2 correspondence is the forwarding information of CE2, each local multicast user's forwarding information can comprise user ID, outgoing interface information, user business type and the sign etc. of corresponding VPLS multicast group.Wherein, " multicast this locality " is user business type, and VPLS multicast group 1 is the sign of corresponding VPLS multicast group.
Figure BDA0000066012370000132
Table 6
Accordingly, the far-end multicast user shows as shown in table 7, comprise the forwarding information of CE4 and the forwarding information of CE5, particularly, the data entries of sign RN1 correspondence is the forwarding information of CE4, the items for information of sign RN2 correspondence is the forwarding information of CE5, each far-end multicast user's forwarding information comprise user ID, forwarding label, VC label, next jumping of far-end, user business type and the sign etc. of corresponding VPLS multicast group.Wherein, " multicast far-end " is user business type, and VPLS multicast group 1 is the sign of corresponding VPLS multicast group.
Figure BDA0000066012370000141
Table 7
In the practical application, can in each PE of VPLS networking, set up and dispose above-mentioned each list item according to the structure of VPLS networking in advance.
Step 303:PE receives message, judges whether received message is multicast message, if, then continue step 304, otherwise, step 305 continued;
Whether whether in this step, because multicast MAC is special MAC, therefore, can be multicast MAC by the purpose MAC that judges described message, distinguishing described message be multicast message.
In the practical application, require multicast MAC to start with 01005E, like this, can be by judging whether the purpose MAC in the message is to start with 01005E, whether be multicast message, if the purpose MAC of described message is with the 01005E beginning, then be multicast message if distinguishing described message, if the purpose MAC of described message is not that then described message is common message with the 01005E beginning.
Step 304:, transmit described message to each multicast user according to constructed multicast message forwarding-table item.
In this step, specific implementation process from described message to each multicast user that transmit can comprise following concrete steps:
The user that step 1:PE judge to receive described message is positioned at the local multicast user that inserts side, still is positioned at the far-end multicast user of pseudo-line side, if described user is the local multicast user, continue step 2,, then continue step 3 if described user is the far-end multicast user.
Particularly, PE can determine that by inquiry VPLS multicast example table described user is positioned at the local multicast user who inserts side, still is positioned at the far-end multicast user of pseudo-line side according to the user's who receives described message sign.
For example, in the networking shown in Figure 2, with PE1 equipment is example, local multicast number of users LN is 2 in the VPLS multicast example table, be respectively the CE2 that is designated the CE1 of LN1 and is designated LN2, far-end multicast user number RN is 2 in the VPLS multicast example table, is respectively the CE5 that is designated the CE4 of RN1 and is designated RN2.If receiving the user of described message is CE1, can from VPLS multicast example table, inquires it according to its user ID LN1 and be the local multicast user.
Step 2: transmit according to the local multicast subscriber's meter;
Particularly, if described user is the local multicast user, according to described user's user ID, inquiry local multicast subscriber's meter, obtain described user's outgoing interface information, and directly described message is forwarded to corresponding described user's outgoing interface according to the outgoing interface information that is obtained.So, only finish and transmit, isolated the message of domestic consumer and transmitted to local multicast user's message.
In this step, transmit according to the local multicast subscriber's meter for the local multicast user, owing to transmit to this locality, the similar two layers of forwarding of this forwarding, include outgoing interface information in the local multicast subscriber's meter, only need message be forwarded to the outgoing interface of local multicast user correspondence according to the outgoing interface information in the local multicast subscriber's meter.
For example, in the networking shown in Figure 2, for PE1 equipment, the local multicast subscriber's meter comprises the forwarding information of CE1 and the forwarding information of CE2, if receiving the user of described message is CE1, can from the local multicast subscriber's meter, inquire the forwarding information of CE1 according to its user ID LN1, and then obtain the outgoing interface information of CE1, described message is forwarded to the outgoing interface of corresponding CE1.Especially, for the message from pseudo-line side, for example from the message of PE2, PE1 also need be with the label peeling in the described message before transmitting.
Step 3: transmit according to far-end multicast user table and far-end next hop information table;
Particularly, if described user is the far-end multicast user, user ID according to described user, inquiry far-end multicast user table, obtain described user's information such as next jumping of forwarding label, VC label and far-end, and according to the far-end that is obtained next is jumped and to inquire about far-end next hop information table again, obtain corresponding outgoing interface information; Then, in described message, encapsulate the forwarding label and VC label that is obtained after, according to the outgoing interface information that obtains, described message is forwarded to corresponding described user's outgoing interface.
For example, in the networking shown in Figure 2, for PE1 equipment, far-end multicast user table comprises the forwarding information of CE4 and the forwarding information of CE5, if receiving the user of described message is CE4, can from far-end multicast user table, inquire the forwarding information of CE4 according to its user ID RN1, and then the forwarding label of acquisition CE4, information such as next jumping of VC label and far-end, from far-end next hop information table, inquire about the corresponding outgoing interface information of next jumping of far-end of CE4 again, at last, in described message, behind the forwarding label and VC label of encapsulation CE4,, described message is forwarded to the outgoing interface of corresponding CE4 according to the corresponding outgoing interface information of next jumping of far-end of CE4.Especially, for the message from pseudo-line side, for example from the message of PE2, PE1 also need be with the label peeling in the described message before transmitting.
Step 305: transmit described message according to constructed common message forwarding-table item.
In this step, specific implementation process from described message to each user (comprising multicast user and domestic consumer) that transmit can comprise following concrete steps:
The user that step 1:PE judge to receive described message is positioned at the local user that inserts side, still is positioned at the remote subscriber of pseudo-line side, if described user is the local user, continues step 2, if described user is a remote subscriber, then continues step 3.
Step 2: transmit according to local user's table;
Step 3: transmit according to remote subscriber table and far-end next hop information table.
Here, the implementation procedure of each concrete steps is similar in the specific implementation process of above-mentioned each concrete steps and the above-mentioned steps 304, does not repeat them here.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (17)

1. a VPLS multicast data forwarding method is characterized in that, described method comprises:
Make up the multicast message forwarding-table item that only comprises multicast user's forwarding information;
Transmit the multicast message that receives according to described multicast message forwarding-table item.
2. according to the described VPLS multicast data forwarding method of claim 1, it is characterized in that described multicast message forwarding-table item comprises: comprise local multicast subscriber's meter that inserts side VPLS multicast user forwarding information and the far-end multicast user table that comprises pseudo-line side VPLS multicast user forwarding information;
Describedly transmit described multicast message, comprising: described multicast message is transmitted to the VPLS multicast user who inserts side according to described local multicast subscriber's meter according to described multicast message forwarding-table item; And/or, described multicast message is transmitted to the VPLS multicast user of pseudo-line side according to described far-end multicast user table.
3. according to the described VPLS multicast data forwarding method of claim 2, it is characterized in that,
Described far-end multicast user table includes user ID, forwarding label, VC label and next jumping of far-end of pseudo-line side VPLS multicast user;
The described VPLS multicast user who described multicast message is transmitted to pseudo-line side according to described far-end multicast user table, comprise: after pseudo-line side VPLS multicast user's forwarding label and VC label are encapsulated into described multicast message, with described multicast message be forwarded to described pseudo-line side VPLS multicast user far-end next jump corresponding outgoing interface.
4. according to the described VPLS multicast data forwarding method of claim 3, it is characterized in that,
Described method also comprises: make up the far-end next hop information table that includes next jumping index of far-end and outgoing interface information;
The described corresponding outgoing interface of next jumping of far-end that described multicast message is forwarded to described pseudo-line side VPLS multicast user, for: next jumps corresponding outgoing interface information to inquire about described pseudo-line side VPLS multicast user far-end from described far-end next hop information table, according to the outgoing interface information that inquires described multicast message is forwarded to corresponding outgoing interface.
5. according to the described VPLS multicast data forwarding method of claim 2, it is characterized in that,
Described local multicast subscriber's meter includes user ID and the outgoing interface information that inserts side VPLS multicast user;
Described multicast message is transmitted to the VPLS multicast user who inserts side according to described local multicast subscriber's meter, comprise:, directly described multicast message is forwarded to corresponding described access side VPLS multicast user's outgoing interface according to the outgoing interface information that inserts side VPLS multicast user in the described local multicast subscriber's meter.
6. according to each described VPLS multicast data forwarding method of claim 1 to 5, it is characterized in that described multicast message forwarding-table item also comprises: the VPLS multicast example table that includes sign, access side multicast user's number and the pseudo-line side multicast user number of VPLS multicast group;
Described local multicast subscriber's meter also comprises the sign that inserts the affiliated VPLS multicast group of side multicast user;
Described far-end multicast user table also comprises the sign of the affiliated VPLS multicast group of pseudo-line side multicast user.
7. according to the described VPLS multicast data forwarding method of claim 1, it is characterized in that described method also comprises:
Structure includes the common message forwarding-table item of multicast user's forwarding information and domestic consumer's forwarding information;
When receiving message, judge whether described message is multicast message, if transmit described message according to described multicast message forwarding-table item; If not, then transmit described message according to described common message forwarding-table item.
8. according to the described VPLS multicast data forwarding method of claim 7, it is characterized in that,
Described common message forwarding-table item comprises: comprise local user's table that inserts side VPLS user forwarding information and the remote subscriber table that comprises pseudo-line side VPLS user forwarding information;
Describedly transmit described message, comprising: according to described local user's table described message is transmitted to and inserts side VPLS user according to described common message forwarding-table item; And/or, described message is transmitted to the VPLS user of pseudo-line side according to described remote subscriber table;
Wherein, VPLS user comprises VPLS multicast user and domestic consumer.
9. described according to Claim 8 VPLS multicast data forwarding method is characterized in that,
Described remote subscriber table includes user ID, forwarding label, VC label and next jumping of far-end of pseudo-line side VPLS user;
The described VPLS user who described message is transmitted to pseudo-line side according to described remote subscriber table, comprise: after pseudo-line side VPLS user's forwarding label and VC label are encapsulated into described message, with described message be forwarded to described pseudo-line side VPLS user far-end next jump corresponding outgoing interface.
10. according to the described VPLS multicast data forwarding method of claim 9, it is characterized in that,
Described method also comprises: make up the far-end next hop information table that includes next jumping index of far-end and outgoing interface information;
The described corresponding outgoing interface of next jumping of far-end that described message is forwarded to described pseudo-line side VPLS user, for: the corresponding outgoing interface information of next jumping of far-end from described far-end next hop information table is inquired about described pseudo-line side VPLS user is forwarded to corresponding outgoing interface according to the outgoing interface information that inquires with described message.
11. described according to Claim 8 VPLS multicast data forwarding method is characterized in that,
Described local user's table includes user ID and the outgoing interface information that inserts side VPLS user;
The described VPLS user who described message is transmitted to the access side according to described local user's table, comprise:, directly described message is forwarded to corresponding described access side VPLS user's outgoing interface according to the outgoing interface information that inserts side VPLS user in described local user's table.
12. according to each described VPLS multicast data forwarding method of claim 7 to 11, it is characterized in that described multicast message forwarding-table item also comprises: the VPLS multicast example table that includes sign, access side multicast user's number and the pseudo-line side multicast user number of VPLS multicast group;
Described local multicast subscriber's meter also comprises the sign that inserts the affiliated VPLS multicast group of side multicast user;
Described far-end multicast user table also comprises the sign of the affiliated VPLS multicast group of pseudo-line side multicast user.
13. a VPLS transmitting multicast data device is characterized in that described device comprises:
Construction unit is used to make up the multicast message forwarding-table item that only comprises multicast user's forwarding information;
Retransmission unit, the multicast message forwarding-table item that is used for making up according to described construction unit is transmitted the multicast message that receives.
14. according to the described VPLS transmitting multicast data of claim 13 device, it is characterized in that,
Described construction unit also is used to make up the common message forwarding-table item that includes multicast user's forwarding information and domestic consumer's forwarding information;
Described retransmission unit comprises discriminating module and forwarding module, wherein, when described discriminating module is used to receive message, judges whether described message is multicast message, if then notify described forwarding module to transmit described message according to described multicast message forwarding-table item; If not, then notify described forwarding module to transmit described message according to described common message forwarding-table item.
15. according to the described VPLS transmitting multicast data of claim 14 device, it is characterized in that,
The multicast message forwarding-table item that described construction unit makes up comprises: comprise local multicast subscriber's meter that inserts side VPLS multicast user forwarding information and the far-end multicast user table that comprises pseudo-line side VPLS multicast user forwarding information;
Described forwarding module also is used for described multicast message being transmitted to the VPLS multicast user who inserts side according to described local multicast subscriber's meter; And/or, described multicast message is transmitted to the VPLS multicast user of pseudo-line side according to described far-end multicast user table.
16. according to the described VPLS transmitting multicast data of claim 14 device, it is characterized in that,
Described common message forwarding-table item comprises: comprise local user's table that inserts side VPLS user forwarding information and the remote subscriber table that comprises pseudo-line side VPLS user forwarding information;
Described forwarding module also is used for according to described local user's table described message being transmitted to access side VPLS user; And/or, described message is transmitted to the VPLS user of pseudo-line side according to described remote subscriber table;
Wherein, VPLS user comprises VPLS multicast user and domestic consumer.
17. according to claim 15 or 16 described VPLS transmitting multicast data devices, it is characterized in that,
Described construction unit also is used to make up the far-end next hop information table that includes next jumping index of far-end and outgoing interface information;
Described forwarding module also is used for described multicast message being transmitted to the VPLS multicast user of pseudo-line side according to described far-end multicast user table and far-end next hop information table; And/or, according to described remote subscriber table and far-end next hop information table, described message is transmitted to pseudo-line side VPLS user.
CN2011101477442A 2011-06-02 2011-06-02 Method and device for forwarding VPLS (Virtual Private Lan Service) multicasting data Pending CN102215166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101477442A CN102215166A (en) 2011-06-02 2011-06-02 Method and device for forwarding VPLS (Virtual Private Lan Service) multicasting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101477442A CN102215166A (en) 2011-06-02 2011-06-02 Method and device for forwarding VPLS (Virtual Private Lan Service) multicasting data

Publications (1)

Publication Number Publication Date
CN102215166A true CN102215166A (en) 2011-10-12

Family

ID=44746302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101477442A Pending CN102215166A (en) 2011-06-02 2011-06-02 Method and device for forwarding VPLS (Virtual Private Lan Service) multicasting data

Country Status (1)

Country Link
CN (1) CN102215166A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970226A (en) * 2012-11-12 2013-03-13 盛科网络(苏州)有限公司 Method and device for performing multicast datagram forwarding in application specific integrated circuit (ASIC)
WO2017219859A1 (en) * 2016-06-22 2017-12-28 中兴通讯股份有限公司 Cross-domain provider edge, hierarchical vpls network and broadcast traffic processing method therefor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035729A (en) * 2010-11-22 2011-04-27 杭州华三通信技术有限公司 Multicast data forwarding method and device thereof
CN102075439A (en) * 2011-02-22 2011-05-25 杭州华三通信技术有限公司 Multicast message transmitting method and routing equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035729A (en) * 2010-11-22 2011-04-27 杭州华三通信技术有限公司 Multicast data forwarding method and device thereof
CN102075439A (en) * 2011-02-22 2011-05-25 杭州华三通信技术有限公司 Multicast message transmitting method and routing equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970226A (en) * 2012-11-12 2013-03-13 盛科网络(苏州)有限公司 Method and device for performing multicast datagram forwarding in application specific integrated circuit (ASIC)
CN102970226B (en) * 2012-11-12 2015-07-22 盛科网络(苏州)有限公司 Method and device for performing multicast datagram forwarding in application specific integrated circuit (ASIC)
WO2017219859A1 (en) * 2016-06-22 2017-12-28 中兴通讯股份有限公司 Cross-domain provider edge, hierarchical vpls network and broadcast traffic processing method therefor

Similar Documents

Publication Publication Date Title
CN102035729B (en) Multicast data forwarding method
CN101616014B (en) Method for realizing cross-virtual private local area network multicast
US8958423B2 (en) Implementing a multicast virtual private network by using multicast resource reservation protocol-traffic engineering
CN100433691C (en) Routing method of virtual special network
CN105991432A (en) Supplier rim router and method
WO2008092357A1 (en) A method and device for establishing a pseudo wire tunnel and transmitting message using it
CN102932254B (en) Message forwarding method and device
CN100442770C (en) Method for realizing muti-casting in BGP/MPLS VPN
CN104954265B (en) Send the method and interchanger of multicast message
CN101106507B (en) A method for realizing hierarchical VLAN
CN107566265B (en) A kind of EVPN VXLAN gateway ESI redundancy cut-in methods under symmetrical forwarding model
CN102801625A (en) Method and device for double layered mutual communication in heterogeneous network
CN102739501A (en) Message forwarding method in two or three layer virtual private network (VPN) and system thereof
CN102404179B (en) Method and device for processing message
CN102238057B (en) Ethernet-tree realization method, system, device and network equipment
CN105743797B (en) Multicasting VPN tunnel establishing method based on interface binding
CN102571375B (en) Multicast forwarding method and device as well as network device
CN101800691A (en) Method, equipment and system for establishing data forwarding paths in ethernets
CN102045250B (en) Forwarding method for multicast message in VPLS, and service provider edge equipment
CN101119222B (en) Method, device and system for implementing multicast of HOPE network
CN102984070A (en) Method for realizing data forwarding through unnumbered interface of Ethernet
CN104092554A (en) Multicast distribution tree establishment method and device
CN102724126A (en) Method, device and equipment for forwarding Ethernet tree (E-tree) service message
CN102215166A (en) Method and device for forwarding VPLS (Virtual Private Lan Service) multicasting data
CN102025626A (en) Method for forwarding multicast data message and provider edge

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20111012

RJ01 Rejection of invention patent application after publication