CN104639453B - Pseudo-wire flow control methods and relevant device - Google Patents
Pseudo-wire flow control methods and relevant device Download PDFInfo
- Publication number
- CN104639453B CN104639453B CN201410853455.8A CN201410853455A CN104639453B CN 104639453 B CN104639453 B CN 104639453B CN 201410853455 A CN201410853455 A CN 201410853455A CN 104639453 B CN104639453 B CN 104639453B
- Authority
- CN
- China
- Prior art keywords
- hub
- spoke
- message
- network
- isolation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000002955 isolation Methods 0.000 claims abstract description 236
- 230000015572 biosynthetic process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of pseudo-wire flow control methods and relevant device, to avoid forming loop in HVPLS networks.In some feasible embodiments, method includes:Multiple isolation groups are pre-configured with, isolation group includes at least one Hub PW, and each Hub PW can only belong to an isolation group;Needing to establish incidence relation between the isolation group of intercommunication and Spoke PW;When receiving the first message by the first Spoke PW, the isolation group associated with the first Spoke PW is judged whether, if it does, the identifier of associated isolation group is added in the heading of the first message;Whether when being forwarded to the first Hub PW, confirming the heading of the first message has the identifier of isolation group;If so, and the first Hub PW belong to isolation group corresponding to the identifier, then forward;If not provided, and the first Hub PW there is no affiliated isolation group, then forward;Otherwise, abandon.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a pseudo wire traffic control method and related devices.
Background
VPLS (Virtual Private Lan Service) is an MPLS (Multi-Protocol Label Switching) two-layer VPN (Virtual Private Network) technology. The core idea of the VPLS is to establish and maintain a PW (Provider Edge) between PE (Provider Edge) devices in a VPLS instance by using a signaling protocol, and to transmit and exchange a two-layer protocol frame on the PW after encapsulating the two-layer protocol frame, so that a plurality of local area networks in a wide area range are integrated into one network at a data link level, and a virtual ethernet service is provided for a user.
When networking equipment is few, a VPLS network generally adopts a full connection mode, that is, a Hub Pseudo Wire (hupw) is established between VSIs (Virtual Switch instances) created on all PE devices, and it is ensured that a loop does not occur in traffic by horizontal division forwarding. And by adopting horizontal division forwarding, if the VSI receives a message from the Hub PW, the message is not forwarded to any other Hub PW associated with the VSI.
When the number of networking devices is large, HVPLS (Hierarchy of VPLS, layered VPLS) can be adopted. The HVPLS is characterized in that the network is classified, full connection is formed in VPLS sub-networks of each stage, PE devices between the stages can be connected in an access pseudo wire (SpokePW) mode, and the data forwarding of the PE devices between the stages does not comply with the horizontal division principle, but can be mutually forwarded.
In practice, it has been found that when there is more than one Spoke PW between two VPLS subnetworks of the HVPLS, a loop may be caused due to non-compliance with the horizontal splitting principle between the Spoke PW and the Hub PW.
Disclosure of Invention
The embodiment of the invention provides a pseudo wire flow control method and related equipment, which are used for avoiding the formation of a loop in an HVPLS network.
A first aspect of the present invention provides a pseudowire flow control method for a hierarchical virtual private local area network service, HVPLS, network, the HVPLS network including a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node; the method comprises the following steps: a first network node pre-configures a plurality of isolation groups, wherein each isolation group comprises at least one Hub PW, and each Hub PW can only belong to one isolation group; establishing an association relation between the isolation group needing to be communicated and the Spoke PW; when a first message is received through a first Spoke PW, judging whether an isolation group associated with the first Spoke PW exists or not, and if so, adding an identifier of the associated isolation group into a message header of the first message; when the first message is forwarded to a first Hub PW, whether an identifier of an isolation group exists in a message header of the first message is determined; if the message header of the first message has an identifier, judging whether the first HubPW belongs to an isolation group corresponding to the identifier, if so, forwarding the first message to the first Hub PW, and if not, discarding the first message; if the packet header of the first packet does not have an identifier, determining whether the first Hub PW belongs to an isolation group, if not, forwarding the first packet to the first Hub PW, and if so, discarding the first packet.
With reference to the first aspect, in a first possible implementation manner, the method further includes: when a second message is received through a first Hub PW, adding an identifier of the first Hub PW into a message header of the second message; when the second message is forwarded to the first Spoke PW, whether the first Spoke PW has an associated isolation group is determined; if the first Spoke PW has an associated isolation group, judging whether the first Hub PW belongs to the associated isolation group, if so, forwarding the second message to the first Spoke PW, and if not, discarding the second message; if the first Spoke PW does not have the associated isolation group, judging whether the first Hub PW has the isolation group to which the first Hub PW belongs, if not, forwarding the second message to the first Spoke PW, and if so, discarding the second message.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the two network nodes further include a second network node, and the pre-configuring, by the first network node, a plurality of isolated groups includes: configuring the Hub PW between the first network node and the second network node into an independent isolation group, wherein the independent isolation group has no association relation with any Spoke PW.
A second aspect of the present invention provides a pseudowire flow control method, which is used in an HVPLS system for a dedicated virtual private local area network service, where the HVPLS system includes a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node; the method comprises the following steps: a first network node pre-configures a plurality of isolation groups, wherein each isolation group comprises at least one Hub PW, and each Hub PW can only belong to one isolation group; establishing an association relation between the isolation group needing to be communicated and the Spoke PW; when a second message is received through a first Hub PW, adding an identifier of the first Hub PW into a message header of the second message; when the second message is forwarded to the first Spoke PW, whether the first Spoke PW has an associated isolation group is determined; if the first Spoke PW has an associated isolation group, judging whether the first Hub PW belongs to the associated isolation group, if so, forwarding the second message to the first Spoke PW, and if not, discarding the second message; if the first Spoke PW does not have the associated isolation group, judging whether the first Hub PW has the isolation group to which the first Hub PW belongs, if not, forwarding the second message to the first Spoke PW, and if so, discarding the second message.
With reference to the second aspect, in a first possible implementation manner, the method further includes: when a first message is received through a first Spoke PW, judging whether an isolation group associated with the first Spoke PW exists or not, and if so, adding an identifier of the associated isolation group into a message header of the first message; when the first message is forwarded to a first Hub PW, whether the message header of the first message has an identifier of an isolation group is determined; if the packet header of the first packet has an identifier, judging whether the first Hub PW belongs to an isolation group corresponding to the identifier, if so, forwarding the first packet to the first Hub PW, and if not, discarding the first packet; if the packet header of the first packet does not have an identifier, determining whether the first Hub PW belongs to an isolation group, if not, forwarding the first packet to the first Hub PW, and if so, discarding the first packet.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the two network nodes further include a second network node, and the pre-configuring, by the first network node, a plurality of isolated groups includes: configuring the Hub PW between the first network node and the second network node into an independent isolation group.
A third aspect of the present invention provides a pseudowire flow control method, used in an HVPLS system for dedicated virtual private local area network service, where the HVPLS system includes a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node; the method comprises the following steps: a first network node configures an isolation identifier in advance, wherein the isolation identifier is used for indicating that a first Hub PW connected with the first network node needs to be isolated from a Spoke PW; when a third message is received through the first Hub PW, adding the isolation identifier into a message header of the third message; and when the third message is forwarded to the Spoke PW, determining whether the message header of the third message has the isolation identifier, and if so, discarding the third message.
With reference to the third aspect, in a first possible implementation manner, the method further includes: receiving a fourth message through a Spoke PW; and when the fourth message is forwarded to the Hub PW, if the Hub PW is the first Hub PW, discarding the fourth message.
A fourth aspect of the present invention provides a pseudowire flow control method, used in an HVPLS system for dedicated virtual private local area network service, where the HVPLS system includes a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node; the method comprises the following steps: a first network node configures an isolation identifier in advance, wherein the isolation identifier is used for indicating that a first Hub PW connected with the first network node needs to be isolated from a Spoke PW; receiving a fourth message through a Spoke PW; and when the fourth message is forwarded to the Hub PW, if the Hub PW is the first Hub PW, discarding the fourth message.
With reference to the fourth aspect, in a first possible implementation manner, the method further includes: when a third message is received through the first HubPW, adding the isolation identifier into a message header of the third message; and when the third message is forwarded to the Spoke PW, determining whether the message header of the third message has the isolation identifier, and if so, discarding the third message.
A fifth aspect of the present invention provides a PE device, configured to a virtual private local area network service, VPLS, system, where the VPLS system includes a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node, and the PE device serves as the first network node; the PE device includes: the device comprises a configuration module, a processing module and a processing module, wherein the configuration module is used for configuring a plurality of isolation groups in advance, each isolation group comprises at least one Hub PW, and each Hub PW only belongs to one isolation group; establishing an association relation between the isolation group needing to be communicated and the Spoke PW; the device comprises a Spoke PW processing module and a first message sending module, wherein the Spoke PW processing module is used for judging whether an isolation group associated with a first Spoke PW exists or not when the first message is received through the first Spoke PW, and if the isolation group associated with the first Spoke PW exists, adding an identifier of the associated isolation group into a message header of the first message; a Hub PW processing module, configured to determine whether an identifier of an isolation group exists in a header of a first packet when forwarding the first packet to a first Hub PW; if the packet header of the first packet has an identifier, judging whether the first Hub PW belongs to an isolation group corresponding to the identifier, if so, forwarding the first packet to the first Hub PW, and if not, discarding the first packet; if the packet header of the first packet does not have an identifier, determining whether the first Hub PW belongs to an isolation group, if not, forwarding the first packet to the first Hub PW, and if so, discarding the first packet.
With reference to the fifth aspect, in a first possible implementation manner, the Hub PW processing module is further configured to add, when a second packet is received through a first Hub PW, an identifier of the first Hub PW to a packet header of the second packet; the Spoke PW processing module is further configured to, when forwarding the second packet to a first Spoke PW, determine whether the first Spoke PW has an associated isolation group; if the first Spoke PW has an associated isolation group, judging whether the first Hub PW belongs to the associated isolation group, if so, forwarding the second message to the first Spoke PW, and if not, discarding the second message; if the first Spoke PW does not have the associated isolation group, judging whether the first Hub PW has the isolation group to which the first Hub PW belongs, if not, forwarding the second message to the first Spoke PW, and if so, discarding the second message.
With reference to the fifth aspect or the first possible implementation manner of the fifth aspect, in a second possible implementation manner, the two network nodes further include a second network node, and the configuration module is further configured to configure a Hub PW between the first network node and the second network node to an independent isolation group, where the independent isolation group has no association relationship with any Spoke PW.
A sixth aspect of the present invention provides a PE device, configured to a virtual private local area network service, VPLS system, where the VPLS system includes a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node, and the PE device serves as the first network node; the PE device includes: the device comprises a configuration module, a processing module and a processing module, wherein the configuration module is used for configuring a plurality of isolation groups in advance, each isolation group comprises at least one Hub PW, and each Hub PW only belongs to one isolation group; establishing an association relation between the isolation group needing to be communicated and the Spoke PW; a Hub PW processing module, configured to add an identifier of a first Hub PW to a header of a second packet when the second packet is received via the first Hub PW; the Spoke PW processing module is used for confirming whether the first Spoke PW has a related isolation group or not when the second message is forwarded to the first Spoke PW; if the first Spoke PW has an associated isolation group, judging whether the first Hub PW belongs to the associated isolation group, if so, forwarding the second message to the first Spoke PW, and if not, discarding the second message; if the first Spoke PW does not have the associated isolation group, judging whether the first HubPW belongs to the isolation group, if not, forwarding the second message to the first Spoke PW, and if so, discarding the second message.
With reference to the sixth aspect, in a first possible implementation manner, the Spoke PW processing module is further configured to, when a first packet is received through a first Spoke PW, determine whether an isolation group associated with the first Spoke PW exists, and if the isolation group exists, add an identifier of the associated isolation group to a packet header of the first packet; the Hub PW processing module is further configured to, when forwarding the first packet to a first Hub PW, determine whether a packet header of the first packet has an identifier of an isolation group; if the packet header of the first packet has an identifier, judging whether the first Hub PW belongs to an isolation group corresponding to the identifier, if so, forwarding the first packet to the first Hub PW, and if not, discarding the first packet; if the packet header of the first packet does not have an identifier, determining whether the first Hub PW belongs to an isolation group, if not, forwarding the first packet to the first Hub PW, and if so, discarding the first packet.
With reference to the sixth aspect or the first possible implementation manner of the sixth aspect, in a second possible implementation manner, the two network nodes further include a second network node, and the configuration module is further configured to configure a Hub PW between the first network node and the second network node to an independent isolated group, where the independent isolated group has no association relationship with any Spoke PW.
A seventh aspect of the present invention provides a PE device for a dedicated virtual private local area network service, HVPLS, system, where the HVPLS system includes a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node, and the PE device serves as the first network node; the PE device includes: a configuration module, configured to configure an isolation indicator in advance, where the isolation indicator is used to indicate that a first Hub PW connected to the first network node needs to be isolated from a Spoke PW; a Hub PW processing module, configured to add the isolation identifier to a packet header of a third packet when the third packet is received through the first Hub PW; and the Spoke PW processing module is used for confirming whether the isolation identifier exists in the message header of the third message when the third message is forwarded to the Spoke PW, and discarding the third message if the isolation identifier exists in the message header of the third message.
With reference to the seventh aspect, in a first possible implementation manner, the Spoke PW processing module is further configured to receive a fourth packet through a Spoke PW; the Hub PW processing module is further configured to, when forwarding the fourth packet to a Hub PW, discard the fourth packet if the Hub PW is the first Hub PW.
An eighth aspect of the present invention provides a PE device for use in an HVPLS system for private virtual private local area network service, the HVPLS system including a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node, and the PE device serves as the first network node; the PE device includes: a configuration module, configured to configure an isolation indicator in advance, where the isolation indicator is used to indicate that a first Hub PW connected to the first network node needs to be isolated from a Spoke PW; the Spoke PW processing module is used for receiving a fourth message through a Spoke PW; and the Hub PW processing module is used for discarding the fourth message if the Hub PW is the first Hub PW when forwarding the fourth message to the Hub PW.
With reference to the eighth aspect, in a first possible implementation manner, the Hub PW processing module is further configured to add the isolation identifier to a packet header of a third packet when the third packet is received through the first Hub PW; the Spoke PW processing module is further configured to, when forwarding the third packet to a Spoke PW, determine whether the packet header of the third packet has the isolation identifier, and if so, discard the third packet.
As can be seen from the above, in some feasible embodiments of the present invention, by establishing an isolation group of a Hub PW and establishing an association relationship between an isolation group and a Spoke PW that need to be intercommunicated, the flow of the Hub PW can be controlled to be forwarded only to the Spoke PW that needs to be forwarded, and the flow of the Spoke PW is controlled to be forwarded only to the Hub PW that needs to be forwarded, so that it is ensured that no flow loop occurs through the design of the isolation group, and flexible isolation control of the flow between PWs is achieved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is an architecture diagram of an HVPLS network according to an embodiment of the present invention;
fig. 2a is a schematic flowchart of a pseudowire traffic control method according to an embodiment of the present invention;
fig. 2b is a schematic flow chart of another pseudowire traffic control method according to an embodiment of the present invention;
fig. 3a is a schematic flow chart of another pseudo wire traffic control method according to an embodiment of the present invention;
fig. 3b is a flow chart of another pseudo wire traffic control method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a PE device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another PE device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another PE device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a pseudo wire flow control method and related equipment, which are used for avoiding the formation of loops among VPLS sub-networks of different grades in an HVPLS network.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following are detailed descriptions of the respective embodiments.
Referring to fig. 1 and fig. 2, an embodiment of the present invention provides a pseudowire traffic control method.
The method provided by the embodiment of the invention is applied to an HVPLS network, and the HVPLS network comprises a first VPLS network and a second VPLS network. The first VPLS network and the second VPLS network are internally connected fully, namely: a Hub PW is established between any two network nodes in the first VPLS network; and a Hub PW is established between any two network nodes in the second VPLS network. The first VPLS network and the second VPLS network are connected by adopting at least two Spoke PWs (access pseudo wires), wherein the two network nodes in the first VPLS network and at least one network node in the second VPLS network are respectively provided with the access pseudo wire Spoke PWs. The two network nodes include a first network node and a second network node. The network node may be a PE device.
In some embodiments of the invention, the HVPLS network may be as shown in fig. 1. In fig. 1, the first VPLS Network on the right includes four NPEs (Network Provider PE, Network core PE), which are respectively denoted by NPE1, NPE2, NPE3, and NPE4, and a Hub PW is established between any two NPEs. NPE1 and NPE2 function as switches (Switch) for connecting to a second VPLS network, and may also be referred to as SPE (Switch PE), which are denoted by S/NPE1 and S/NPE2, respectively. Optionally, CE (Custom Edge) devices are connected to the S/NPE1 and the S/NPE2, respectively, for example, the S/NPE1 is connected to the CE1, and the S/NPE1 is connected to the CE 2.
In fig. 1, the second VPLS network on the left includes four generic PE devices, denoted PE1, PE2, PE3, and PE4, respectively, with Hub PWs established between any two PEs.
And the first VPLS network and the second VPLS network are connected by adopting Spoke PW. Specifically, four Spoke PWs are respectively established between S/NPE1 and S/NPE2, PE3 and PE4, and S/NPE1 and S/NPE2, which are doubly homed to the first VPLS network by PE3 and PE 4.
As shown in FIG. 1, S/NPE1 and S/NPE2 are connected with PE1 through Spoke PW respectively, whereas Spoke PW and Hub PW in the prior art do not comply with the horizontal division principle and can be intercommunicated without limitation, so that loops may be formed between S/NPE1 and S/NPE2 and PE 1. For example, a packet forwarded by PE3 to S/NPE1 through a Spoke PW may be forwarded by S/NPE1 to S/NPE2 through a Hub PW, and S/NPE2 may forward the packet to PE3 through the Spoke PW. Similarly, loops may also form between S/NPE1 and S/NPE2 and PE 2. In order to solve the problem, an embodiment of the present invention provides a pseudo wire traffic control method.
Referring to fig. 2a, a method for controlling pseudowire traffic according to an embodiment of the present invention may include:
110. a first network node pre-configures a plurality of isolation groups, wherein each isolation group comprises at least one Hub PW, and each Hub PW can only belong to one isolation group; and establishing an association relation between the isolation group needing to be intercommunicated and the Spoke PW.
According to the embodiment of the invention, the loop is prevented from being formed by controlling the flow of the PW. To implement flow control, multiple isolation groups may be configured in advance on a first network node, e.g., S/NPE1 or S/NPE2, each isolation group including at least one Hub PW, and each Hub PW may only belong to one isolation group. The significance of the isolation group is that the Hub PW, default and Spoke PW within the isolation group are isolated and cannot forward to each other.
In the embodiment of the invention, an association relation can be established between the isolation group needing to be communicated and the Spoke PW. After the association relationship is established, the Hub PW in the isolated group can be intercommunicated with the Spoke PW associated with the isolated group, but cannot be intercommunicated with other Spoke PWs. A Spoke PW may have an association with one or more isolated groups.
The isolated group and the association relation of the above configuration and the like are stored in advance in the S/NPE1 or S/NPE2 as configuration data.
120. When a first message is received through a first Spoke PW, whether an isolation group associated with the first Spoke PW exists or not is judged, and if yes, an identifier of the associated isolation group is added into a message header of the first message.
The first Spoke PW may be any one of the Spoke PWs.
A Spoke PW processing module and a Hub PW processing module are arranged in each of the S/NPE1 and the S/NPE 2.
When S/NPE1 receives the first packet through the first Spoke PW, for example, receives the first packet from PE3 through Spoke PW1 connected to PE3, the Spoke PW processing module may determine, by querying the configuration data, whether there is an isolation group associated with Spoke PW1, where there may be one or more isolation groups. If there is an isolated group associated with Spoke PW1, then the identifier of the associated isolated group is added to the first message, and if there are multiple associated isolated groups, then the identifiers of the multiple associated isolated groups are all added to the first message. If there is no isolated group associated with Spoke PW1, no further processing of the first packet is required. And the first message processed by the Spoke PW processing module is transmitted to the Hub PW processing module.
130. And when the first message is forwarded to the first Hub PW, determining whether the message header of the first message has the identifier of the isolation group.
Wherein the first Hub PW may be any one of the Hub PWs.
And the Hub PW processing module is used for forwarding the message transmitted by the Spoke PW processing module to a destination network node through the Hub PW. When receiving a first message which is sent by the Spoke PW processing module and needs to be forwarded to the Hub PW, the Hub PW processing module first determines whether a header of the first message has an identifier of an isolation group. So as to perform corresponding flow control according to the isolated group.
140. If the packet header of the first packet has an identifier, judging whether the first Hub PW belongs to an isolation group corresponding to the identifier, if so, forwarding the first packet to the first Hub PW, and if not, discarding the first packet;
if the packet header of the first packet does not have an identifier, determining whether the first Hub PW belongs to an isolation group, if not, forwarding the first packet to the first Hub PW, and if so, discarding the first packet.
It can be seen that, if the identifier of at least one isolated group exists in the header of the first packet, the first packet is forwarded to the Hub PW included in the at least one isolated group. For example, assuming that the first isolation group includes Hub PW3 between S/NPE1 and NPE3, and the first isolation group has an association relationship with Spoke PW1, an identifier of the first isolation group is carried in a header of the first packet, so that the first packet is forwarded to NPE3 by the Hub PW processing module through Hub PW3 between S/NPE1 and NPE 3.
For another example, the second isolation group includes a Hub PW between S/NPE1 and S/NPE2, and the second isolation group has no association with SpokePW1, so that the identifier of the second isolation group is not carried in the packet header of the first packet, and thus, the first packet is not forwarded to the Hub PW between S/NPE1 and S/NPE2 by the Hub PW processing module. This avoids the formation of loops between the S/NPE1 and the S/NPE2 and PE 3.
If the header of the first packet does not include any identifier of the isolation group, the Hub PW processing module forwards the first packet to a Hub PW that does not belong to any isolation group. For example, if the Hub PW4 between S/NPE1 and NPE4 does not belong to any isolated group and the first packet does not include any isolated group identifier, the first packet is forwarded to the Hub PW between S/NPE1 and NPE4 as in the prior art.
The flow control in the direction from Spoke PW to Hub PW has been described above.
The method of the embodiment of the invention also can comprise the flow control from the Hub PW to the Spoke PW. Specifically, as shown in fig. 2b, the method may further include:
150. when a second message is received through a first Hub PW, adding an identifier of the first Hub PW into a message header of the second message.
When the S/NPE1 receives the second packet through the Hub PW, for example, the second packet from the NPE3 is received through the Hub PW3 connected to the NPE3, or the second packet from the S/NPE2 is received through the Hub PW1 connected to the S/NPE1, the HubPW processing module processes the second packet, and adds a flag of the Hub PW3 or the Hub PW1 to a packet header of the second packet. And then, the second message is transmitted to the SpokePW processing module.
160. And when the second message is forwarded to the first Spoke PW, determining whether the first Spoke PW has an associated isolation group.
And the Spoke PW processing module is used for forwarding the message transmitted by the Hub PW processing module to a destination network node through a Spoke PW. When the Spoke PW processing module needs to forward the second message to the Spoke PW, firstly, the carried identifier of the Hub PW is obtained from the message header of the second message.
170. If the first Spoke PW has an associated isolation group, judging whether the first Hub PW belongs to the associated isolation group, if so, forwarding the second message to the first Spoke PW, and if not, discarding the second message;
if the first Spoke PW does not have the associated isolation group, judging whether the first Hub PW has the isolation group to which the first Hub PW belongs, if not, forwarding the second message to the first Spoke PW, and if so, discarding the second message.
Take the Hub PW of the second packet as Hub PW3 as an example. Assuming that Spoke PW1 between PE3 and S/NPE1 has a relationship with the first isolated group, and Hub PW3 belongs to the first isolated group, the Spoke PW processing module forwards the second packet to Spoke PW1, and the second packet reaches PE3 through Spoke PW 1.
Take the Hub PW of the second packet as Hub PW1 as an example. If the first Spoke PW has no association with the second isolation group to which the Hub PW1 belongs, the Spoke PW processing module may directly discard the second packet.
Taking the Hub PW carried in the second packet as Hub PW4 (Hub PW between S/NPE1 and NPE 4) as an example, assuming that HubPW4 does not belong to any isolated group, the Spoke PW processing module may forward the second packet to all Spoke PWs as in the prior art, for example, to Spoke PW1 between PE3 and to Spoke PW3 between PE 4.
The flow control in the Hub PW to Spoke PW direction has also been described above.
It should be noted that the steps 120-140 and the steps 150-170 are flow control methods in two directions, and there is no sequence relationship, and the steps 120-140 may be executed first, and then the steps 150-170 are executed; alternatively, the step 150 and the step 170 may be performed first, and then the step 120 and the step 140 may be performed; or, performed simultaneously.
In some embodiments of the present invention, the two network nodes further include a second network node, and the pre-configuring, by the first network node, the plurality of isolated groups includes: configuring the Hub PW between the first network node and the second network node into an independent isolation group.
The first network node is, for example, S/NPE1, the second network node is, for example, S/NPE2, and the Hub PW between the first network node and the second network node is, for example, Hub PW1 between S/NPE1 and S/NPE 2. To avoid forming a traffic loop, in the embodiment of the present invention, an independent isolation group including only Hub PW1 may be established, and the independent isolation group has no association with any Spoke PW. In this way, Hub PW1 is not forwarded to any Spoke PW, and thus, formation of traffic loops can be avoided.
In order to facilitate understanding of the technical solution of the present invention, the following is supplemented with another example.
Assuming that two Spoke PWs (denoted by S1 and S2, respectively) and four Hub PWs (denoted by H1, H2, H3 and H4, respectively) exist in a certain VSI example, two isolated groups Z1 and Z2 are configured, and the isolated group relationship is as shown in table 1 below:
TABLE 1
Isolation group | Identifier | Member |
Z1 | 0X01 | H1,H2,S1 |
Z2 | 0X10 | H3 |
Wherein S1 has an associative relationship with Z1, it can also be understood that S1 is a member of Z1.
According to the isolation group, the forwarding relationship between Spoke PW and Hub PW is shown in table 2:
TABLE 2
In table 2, NO indicates that mutual forwarding is impossible, e.g., H1 and S2 are impossible, and OK indicates that mutual forwarding is possible, e.g., H1 and S1 are possible.
The embodiment of the invention discloses a pseudo wire flow control method. The method of the embodiment of the invention can control the flow of the Hub PW to be only forwarded to the Spoke PW to be forwarded by establishing the isolation group of the Hub PW and establishing the incidence relation between the isolation group and the Spoke PW to be communicated, and the flow of the Spoke PW is only forwarded to the Hub PW to be forwarded, thereby ensuring that no flow loop can occur through the design of the isolation group and realizing the flexible isolation control of the flow between the PWs.
Referring to fig. 3a, an embodiment of the present invention further provides another pseudowire flow control method for a virtual private local area network service, VPLS, system, where the VPLS system includes a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node; the method can comprise the following steps:
210. the method comprises the steps that an isolation identifier is configured in advance by a first network node, and the isolation identifier is used for indicating that a first Hub PW connected with the first network node needs to be isolated from a Spoke PW.
The two network nodes may also comprise a second network node, and the first Hub PW may specifically be a Hub PW between the first network node and the second network node.
220. And when a third message is received through the first Hub PW, adding the isolation identifier into a message header of the third message.
230. And when the third message is forwarded to the Spoke PW, determining whether the message header of the third message has the isolation identifier, and if so, discarding the third message.
Referring to fig. 3b, in some embodiments of the invention, the method may further include:
240. and receiving a fourth message through the Spoke PW.
250. And when the fourth message is forwarded to the Hub PW, if the Hub PW is the first Hub PW, discarding the fourth message.
In other words, the fourth packet is forwarded only to other Hub PWs than the first Hub PW.
It should be noted that the steps 220-230 and 240-250 are flow control methods in two directions, respectively, and there is no sequence relationship, and the steps 220-230 and 240-250 can be executed first; alternatively, the step 240 and the step 250 may be performed first, and then the step 220 and the step 230 may be performed later; or, performed simultaneously.
The embodiment of the invention discloses a pseudo wire flow control method. The method of the embodiment of the invention can control the flow of the Hub PW to be only forwarded to the Spoke PW to be forwarded by configuring the isolation identifier, and the flow of the Spoke PW is only forwarded to the Hub PW to be forwarded, thereby ensuring that no flow loop occurs and realizing flexible isolation control of the flow between the PWs.
In order to better implement the above-mentioned aspects of the embodiments of the present invention, the following also provides related devices for implementing the above-mentioned aspects cooperatively.
Referring to fig. 4, an embodiment of the present invention provides a PE device 400, which is used in a virtual private local area network service, VPLS, system, where the VPLS system includes a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node, the PE device 400 acting as the first network node;
the PE device 400 may include: a configuration module 410, a Spoke PW processing module 420, and a Hub PW processing module 430.
The configuration module 410 is configured to configure a plurality of isolation groups in advance, where each isolation group includes at least one Hub PW, and each Hub PW can only belong to one isolation group; and establishing an association relation between the isolation group needing to be intercommunicated and the Spoke PW.
In some embodiments of the present invention, the first and second electrodes are,
a Spoke PW processing module 420, configured to, when a first packet is received through a first Spoke PW, determine whether an isolation group associated with the first Spoke PW exists, and if the isolation group exists, add an identifier of the associated isolation group to a packet header of the first packet;
a Hub PW processing module 430, configured to determine whether an identifier of an isolation group exists in a header of a first packet when forwarding the first packet to a first Hub PW; if the packet header of the first packet has an identifier, judging whether the first Hub PW belongs to an isolation group corresponding to the identifier, if so, forwarding the first packet to the first Hub PW, and if not, discarding the first packet; if the packet header of the first packet does not have an identifier, judging whether the first Hub PW has an isolation group to which the first Hub PW belongs, if not, forwarding the first packet to the first Hub PW, and if so, discarding the first packet.
In still other embodiments of the present invention, the substrate may be,
a Hub PW processing module 420, configured to add an identifier of a first Hub PW to a header of a second packet when the second packet is received through the first Hub PW;
the Spoke PW processing module 430 is configured to, when forwarding the second packet to a first Spoke PW, determine whether the first Spoke PW has an associated isolated group; if the first Spoke PW has an associated isolation group, judging whether the first Hub PW belongs to the associated isolation group, if so, forwarding the second message to the first Spoke PW, and if not, discarding the second message; if the first Spoke PW does not have the associated isolation group, judging whether the first Hub PW has the isolation group to which the first Hub PW belongs, if not, forwarding the second message to the first Spoke PW, and if so, discarding the second message.
In still other embodiments of the invention, the two network nodes further comprise a second network node,
the configuration module 410 may be further configured to configure the hubpws between the first network node and the second network node into an independent isolated group, where the independent isolated group has no association with any Spoke PW.
It can be understood that the functions of each functional module of the PE device in the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description in the foregoing method embodiment, which is not described herein again.
As can be seen from the above, in some feasible embodiments of the present invention, by establishing an isolation group of a Hub PW and establishing an association relationship between an isolation group and a Spoke PW that need to be intercommunicated, the flow of the Hub PW can be controlled to be forwarded only to the Spoke PW that needs to be forwarded, and the flow of the Spoke PW is only forwarded to the Hub PW that needs to be forwarded, so that it is ensured that no flow loop occurs through the design of the isolation group, and flexible isolation control of the flow between PWs is achieved.
Referring to fig. 5, another PE device 500 is provided in an HVPLS system for private virtual private local area network service, the HVPLS system including a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node, and the PE device serves as the first network node;
the PE device may include: a configuration module 510, a Spoke PW processing module 520, and a Hub PW processing module 530. Wherein,
a configuring module 510, configured to configure an isolation indicator in advance, where the isolation indicator is used to indicate that a first Hub PW connected to the first network node needs to be isolated from a Spoke PW;
in some embodiments of the present invention, the first and second electrodes are,
a Hub PW processing module 530, configured to add the isolation identifier to a packet header of a third packet when the third packet is received through the first Hub PW;
the Spoke PW processing module 520 may be configured to, when forwarding the third packet to a Spoke PW, determine whether the packet header of the third packet has the isolation identifier, and if so, discard the third packet.
In still other embodiments of the present invention, the substrate may be,
a Spoke PW processing module 520, configured to receive the fourth packet through a Spoke PW;
a Hub PW processing module 530, configured to, when forwarding the fourth packet to a Hub PW, discard the fourth packet if the Hub PW is the first Hub PW;
in other words, the fourth packet is forwarded only to other Hub PWs than the first Hub PW.
It can be understood that the functions of each functional module of the PE device in the embodiment of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the relevant description in the foregoing method embodiment, which is not described herein again.
As can be seen from the above, in some feasible embodiments of the present invention, by configuring the isolation identifier, the traffic of the Hub PW can be controlled to be forwarded only to the Spoke PW that needs to be forwarded, and the traffic of the Spoke PW is only forwarded to the Hub PW that needs to be forwarded, so that it can be ensured that no traffic loop occurs, and flexible isolation control of the traffic between PWs is achieved.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the computer storage medium includes some or all of the steps of the pseudo wire traffic control method described in the foregoing method embodiment.
Referring to fig. 6, an embodiment of the present invention further provides a PE device 600, where the PE device 600 may specifically be a computer device, and the PE device 600 may include:
a processor 610, a memory 620, a bus 630, and a communication interface 640;
the memory 620 is used for storing computer executable instructions, the processor 610 is connected to the memory 620 through the bus 630, and when the PE device 600 runs, the processor 610 executes the computer executable instructions stored in the memory 620, so as to enable the PE device 600 to perform part or all of the steps of the pseudowire flow control method described in the above embodiments.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
The pseudo wire traffic control method and the related device provided by the embodiment of the present invention are introduced in detail, and a specific example is applied in the description to explain the principle and the embodiment of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (17)
1. A pseudowire flow control method for use in a hierarchical virtual private local area network service, HVPLS, network, the HVPLS network comprising a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node;
the method comprises the following steps:
a first network node pre-configures a plurality of isolation groups, wherein each isolation group comprises at least one Hub PW, and each Hub PW can only belong to one isolation group; establishing an association relation between the isolation group needing to be communicated and the Spoke PW;
when a first message is received through a first Spoke PW, judging whether an isolation group associated with the first Spoke PW exists or not, and if so, adding an identifier of the associated isolation group into a message header of the first message;
when the first message is forwarded to a first Hub PW, whether an identifier of an isolation group exists in a message header of the first message is determined;
if the packet header of the first packet has an identifier, judging whether the first Hub PW belongs to an isolation group corresponding to the identifier, if so, forwarding the first packet to the first Hub PW, and if not, discarding the first packet;
if the packet header of the first packet does not have an identifier, determining whether the first Hub PW belongs to an isolation group, if not, forwarding the first packet to the first Hub PW, and if so, discarding the first packet.
2. The method of claim 1, further comprising:
when a second message is received through a first Hub PW, adding an identifier of the first Hub PW into a message header of the second message;
when the second message is forwarded to the first Spoke PW, whether the first Spoke PW has an associated isolation group is determined;
if the first Spoke PW has an associated isolation group, judging whether the first Hub PW belongs to the associated isolation group, if so, forwarding the second message to the first Spoke PW, and if not, discarding the second message;
if the first Spoke PW does not have the associated isolation group, judging whether the first Hub PW has the isolation group to which the first Hub PW belongs, if not, forwarding the second message to the first Spoke PW, and if so, discarding the second message.
3. The method according to claim 1 or 2,
the two network nodes further include a second network node, and the pre-configuring, by the first network node, of the plurality of isolated groups includes: configuring the Hub PW between the first network node and the second network node into an independent isolation group, wherein the independent isolation group has no association relation with any Spoke PW.
4. A pseudowire flow control method, characterized in that, it is used in a dedicated virtual private local area network service HVPLS system, which includes a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node;
the method comprises the following steps:
a first network node pre-configures a plurality of isolation groups, wherein each isolation group comprises at least one Hub PW, and each Hub PW can only belong to one isolation group; establishing an association relation between the isolation group needing to be communicated and the Spoke PW;
when a second message is received through a first Hub PW, adding an identifier of the first Hub PW into a message header of the second message;
when the second message is forwarded to the first Spoke PW, whether the first Spoke PW has an associated isolation group is determined;
if the first Spoke PW has an associated isolation group, judging whether the first Hub PW belongs to the associated isolation group, if so, forwarding the second message to the first Spoke PW, and if not, discarding the second message;
if the first Spoke PW does not have the associated isolation group, judging whether the first Hub PW has the isolation group to which the first Hub PW belongs, if not, forwarding the second message to the first Spoke PW, and if so, discarding the second message.
5. The method of claim 4, further comprising:
when a first message is received through a first Spoke PW, judging whether an isolation group associated with the first Spoke PW exists or not, and if so, adding an identifier of the associated isolation group into a message header of the first message;
when the first message is forwarded to a first Hub PW, whether the message header of the first message has an identifier of an isolation group is determined;
if the packet header of the first packet has an identifier, judging whether the first Hub PW belongs to an isolation group corresponding to the identifier, if so, forwarding the first packet to the first Hub PW, and if not, discarding the first packet;
if the packet header of the first packet does not have an identifier, determining whether the first Hub PW belongs to an isolation group, if not, forwarding the first packet to the first Hub PW, and if so, discarding the first packet.
6. The method according to claim 4 or 5,
the two network nodes further include a second network node, and the pre-configuring, by the first network node, of the plurality of isolated groups includes: configuring the Hub PW between the first network node and the second network node into an independent isolation group.
7. A pseudowire flow control method, characterized in that, it is used in a dedicated virtual private local area network service HVPLS system, which includes a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node;
the method comprises the following steps:
a first network node configures an isolation identifier in advance, wherein the isolation identifier is used for indicating that a first Hub PW connected with the first network node needs to be isolated from a Spoke PW;
when a third message is received through the first Hub PW, adding the isolation identifier into a message header of the third message;
and when the third message is forwarded to the Spoke PW, determining whether the message header of the third message has the isolation identifier, and if so, discarding the third message.
8. The method of claim 7, further comprising:
receiving a fourth message through a Spoke PW;
and when the fourth message is forwarded to the Hub PW, if the Hub PW is the first Hub PW, discarding the fourth message.
9. A pseudowire flow control method, characterized in that, it is used in a dedicated virtual private local area network service HVPLS system, which includes a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node;
the method comprises the following steps:
a first network node configures an isolation identifier in advance, wherein the isolation identifier is used for indicating that a first Hub PW connected with the first network node needs to be isolated from a Spoke PW;
receiving a fourth message through a Spoke PW;
and when the fourth message is forwarded to the Hub PW, if the Hub PW is the first Hub PW, discarding the fourth message.
10. An operator edge PE device, which is used for a virtual private local area network service (VPLS) system, wherein the VPLS system comprises a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node, and the PE device serves as the first network node;
the PE device includes:
the device comprises a configuration module, a processing module and a processing module, wherein the configuration module is used for configuring a plurality of isolation groups in advance, each isolation group comprises at least one Hub PW, and each Hub PW only belongs to one isolation group; establishing an association relation between the isolation group needing to be communicated and the Spoke PW;
the device comprises a Spoke PW processing module and a first message sending module, wherein the Spoke PW processing module is used for judging whether an isolation group associated with a first Spoke PW exists or not when the first message is received through the first Spoke PW, and if the isolation group associated with the first Spoke PW exists, adding an identifier of the associated isolation group into a message header of the first message;
a Hub PW processing module, configured to determine whether an identifier of an isolation group exists in a header of a first packet when forwarding the first packet to a first Hub PW; if the message header of the first message has an identifier, judging whether the first HubPW belongs to an isolation group corresponding to the identifier, if so, forwarding the first message to the first Hub PW, and if not, discarding the first message; if the packet header of the first packet does not have an identifier, determining whether the first Hub PW belongs to an isolation group, if not, forwarding the first packet to the first Hub PW, and if so, discarding the first packet.
11. The PE device of claim 10,
the Hub PW processing module is further configured to add an identifier of a first Hub PW to a header of a second packet when the second packet is received through the first Hub PW;
the Spoke PW processing module is further configured to, when forwarding the second packet to a first Spoke PW, determine whether the first Spoke PW has an associated isolation group; if the first Spoke PW has an associated isolation group, judging whether the first Hub PW belongs to the associated isolation group, if so, forwarding the second message to the first Spoke PW, and if not, discarding the second message; if the first Spoke PW does not have the associated isolation group, judging whether the first Hub PW has the isolation group to which the first Hub PW belongs, if not, forwarding the second message to the first Spoke PW, and if so, discarding the second message.
12. The PE device of claim 10 or 11, wherein the two network nodes further comprise a second network node,
the configuration module is further configured to configure the Hub PW between the first network node and the second network node to an independent isolation group, where the independent isolation group has no association relationship with any Spoke PW.
13. An operator edge PE device, which is used for a virtual private local area network service (VPLS) system, wherein the VPLS system comprises a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node, and the PE device serves as the first network node;
the PE device includes:
the device comprises a configuration module, a processing module and a processing module, wherein the configuration module is used for configuring a plurality of isolation groups in advance, each isolation group comprises at least one Hub PW, and each Hub PW only belongs to one isolation group; establishing an association relation between the isolation group needing to be communicated and the Spoke PW;
a Hub PW processing module, configured to add an identifier of a first Hub PW to a header of a second packet when the second packet is received via the first Hub PW;
the Spoke PW processing module is used for confirming whether the first Spoke PW has an associated isolation group or not when the second message is forwarded to the first Spoke PW; if the first Spoke PW has an associated isolation group, judging whether the first HubPW belongs to the associated isolation group, if so, forwarding the second message to the first Spoke PW, and if not, discarding the second message; if the first Spoke PW does not have the associated isolation group, judging whether the first Hub PW has the isolation group to which the first Hub PW belongs, if not, forwarding the second message to the first Spoke PW, and if so, discarding the second message.
14. The PE device of claim 13, wherein the two network nodes further comprise a second network node,
the configuration module is further configured to configure the Hub PW between the first network node and the second network node to an independent isolation group, where the independent isolation group has no association relationship with any Spoke PW.
15. An operator edge PE device, for use in a private virtual private local area network service, HVPLS, system, the HVPLS system comprising a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node, and the PE device serves as the first network node;
the PE device includes:
a configuration module, configured to configure an isolation indicator in advance, where the isolation indicator is used to indicate that a first Hub PW connected to the first network node needs to be isolated from a Spoke PW;
a Hub PW processing module, configured to add the isolation identifier to a packet header of a third packet when the third packet is received through the first Hub PW;
and the Spoke PW processing module is used for confirming whether the isolation identifier exists in the message header of the third message when the third message is forwarded to the Spoke PW, and discarding the third message if the isolation identifier exists in the message header of the third message.
16. The PE device of claim 15,
the Spoke PW processing module is further used for receiving a fourth message through a Spoke PW;
the Hub PW processing module is further configured to, when forwarding the fourth packet to a Hub PW, discard the fourth packet if the Hub PW is the first Hub PW.
17. An operator edge PE device, for use in a private virtual private local area network service, HVPLS, system, the HVPLS system comprising a first VPLS network and a second VPLS network; a central pseudowire Hub PW is established between any two network nodes in the first VPLS network; an access pseudo wire Spoke PW is established between each of two network nodes in the first VPLS network and at least one network node in the second VPLS network; the two network nodes comprise a first network node, and the PE device serves as the first network node;
the PE device includes:
a configuration module, configured to configure an isolation indicator in advance, where the isolation indicator is used to indicate that a first Hub PW connected to the first network node needs to be isolated from a Spoke PW;
the Spoke PW processing module is used for receiving a fourth message through a Spoke PW;
and the Hub PW processing module is used for discarding the fourth message if the Hub PW is the first Hub PW when forwarding the fourth message to the Hub PW.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410853455.8A CN104639453B (en) | 2014-12-31 | 2014-12-31 | Pseudo-wire flow control methods and relevant device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410853455.8A CN104639453B (en) | 2014-12-31 | 2014-12-31 | Pseudo-wire flow control methods and relevant device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104639453A CN104639453A (en) | 2015-05-20 |
CN104639453B true CN104639453B (en) | 2017-12-29 |
Family
ID=53217784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410853455.8A Active CN104639453B (en) | 2014-12-31 | 2014-12-31 | Pseudo-wire flow control methods and relevant device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104639453B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118337697A (en) * | 2023-01-11 | 2024-07-12 | 中兴通讯股份有限公司 | Routing message, and cross-layer data message sending method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047636A (en) * | 2006-06-07 | 2007-10-03 | 华为技术有限公司 | Method and system for end-to-end pseudo-line simulation virtual leased line access virtual special network |
CN102164091A (en) * | 2011-05-13 | 2011-08-24 | 北京星网锐捷网络技术有限公司 | Method for building MAC (Media Access Control) address table and provider edge device |
CN102780631A (en) * | 2012-08-06 | 2012-11-14 | 福建星网锐捷网络有限公司 | Pseudo-wire (PW) establishing method and device and network device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9036644B2 (en) * | 2012-08-05 | 2015-05-19 | Eci Telecom Ltd. | Method of provisioning H-VPLS services in a multi-domain MPLS network |
-
2014
- 2014-12-31 CN CN201410853455.8A patent/CN104639453B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047636A (en) * | 2006-06-07 | 2007-10-03 | 华为技术有限公司 | Method and system for end-to-end pseudo-line simulation virtual leased line access virtual special network |
CN102164091A (en) * | 2011-05-13 | 2011-08-24 | 北京星网锐捷网络技术有限公司 | Method for building MAC (Media Access Control) address table and provider edge device |
CN102780631A (en) * | 2012-08-06 | 2012-11-14 | 福建星网锐捷网络有限公司 | Pseudo-wire (PW) establishing method and device and network device |
Non-Patent Citations (1)
Title |
---|
分层VOLS的基本模型和实现方式;姚君;《计算机与网络》;20120526(第10期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104639453A (en) | 2015-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10791053B2 (en) | Service function chain SFC-based communication method, and apparatus | |
EP3041179B1 (en) | A method and apparatus for use in network management | |
JP6250825B2 (en) | Method and system for deploying a MAXIMALLY REDUNDANT TREE in a data network | |
US11689452B2 (en) | Method for forwarding service data, network device, and network system | |
JP6014279B2 (en) | Method, device and routing system for network virtualization data transmission | |
US9509522B2 (en) | Forwarding multicast data packets | |
CN105379197B (en) | It establishes the method in tunnel, distribute method, equipment and the network system of label | |
US9769088B2 (en) | Method and system for VTEP redundancy in a multichassis link aggregation domain | |
US9049133B2 (en) | Virtual private wire services using E-VPN | |
US8369335B2 (en) | Method and system for extending routing domain to non-routing end stations | |
US8503329B2 (en) | Signaling of attachment circuit status and automatic discovery of inter-chassis communication peers | |
EP2632088B1 (en) | Method and device for storing and sending mac address entry | |
EP3378193A1 (en) | Designated forwarder (df) election and re-election on provider edge (pe) failure in all-active redundancy topology | |
EP2932665A1 (en) | Forwarding multicast data packets | |
US10965594B2 (en) | Pseudo wire load sharing method and device | |
EP3863233B1 (en) | Method and device used for ethernet virtual private network | |
EP2518952A1 (en) | Method and system for increasing forwarding efficiency of virtual private lan service network | |
EP3364613A2 (en) | Method and device for transmitting traffic via specified path | |
US8902794B2 (en) | System and method for providing N-way link-state routing redundancy without peer links in a network environment | |
CN107959611B (en) | Method, device and system for forwarding message | |
WO2015144018A1 (en) | Information transmission method, device and communication system | |
CN104639453B (en) | Pseudo-wire flow control methods and relevant device | |
CN105515999B (en) | Quick convergence method and device for end system address distribution information protocol | |
CN104052671A (en) | Processing method of multicast forwarding entry in TRILL network and routing bridge | |
CN103595609B (en) | TRILL network interconnected method, system and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |