CN102035665A - Protection method and device for point-to-multipoint pseudowires (P2MP PW) - Google Patents

Protection method and device for point-to-multipoint pseudowires (P2MP PW) Download PDF

Info

Publication number
CN102035665A
CN102035665A CN2009101761992A CN200910176199A CN102035665A CN 102035665 A CN102035665 A CN 102035665A CN 2009101761992 A CN2009101761992 A CN 2009101761992A CN 200910176199 A CN200910176199 A CN 200910176199A CN 102035665 A CN102035665 A CN 102035665A
Authority
CN
China
Prior art keywords
p2mp
node
routing table
aii
standby
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2009101761992A
Other languages
Chinese (zh)
Other versions
CN102035665B (en
Inventor
范亮
陈然
吴波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN200910176199.2A priority Critical patent/CN102035665B/en
Publication of CN102035665A publication Critical patent/CN102035665A/en
Application granted granted Critical
Publication of CN102035665B publication Critical patent/CN102035665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a protection method and device for point-to-multipoint pseudowires (P2MP PW). The method comprises the following steps: a switching node in a P2MP PW is determined according to a pseudowire PW routing table, and the switching node sets up a main P2MP PW and a spare P2MP PW; and when the main P2MP PW breaks down, a flow path is switched to the spare P2MP PW through the switching node. By the invention, the concrete realization problem of a P2MP PW protection network in related technologies is solved, and the stability and the safety of the P2MP PW are improved.

Description

The guard method of point to multi-point pseudowire and device
Technical field
The present invention relates to the communications field, in particular to a kind of guard method and device of point to multi-point pseudowire.
Background technology
Along with Internet Protocol (Internet Protocol, abbreviate IP as) development of data network, the expanding of IP network itself, scalable and compatible intercommunication ability are very strong, the flexibility of the upgrading of traditional communication network, expansion, intercommunication then compares relatively poor, be subject to transmission manner and professional type, and the shared property of newly-built network is also relatively poor, unsuitable intercommunication management.Therefore, in the process that face upgrading in traditional communication network, expand to use, be the network of setting up repetition separately, still make full use of the purpose that existing or public resource reaches upgrade of network and expanded application, how can reach this target, be considerable problem.The pseudo wire emulation of edge-to-edge (Pseudo Wire Emulation Edge-to-Edge abbreviates PWE3 as) combines one of method that proposes for solving conventional communication networks with existing packet network just.
Past, point to multi-point pseudowire (the Point-to-Multipoint Pseudo-wire that PWE3 working group proposes, abbreviating P2MP PW as) technology is mainly used in clean culture IP and transmits, but, can not well satisfy such as Web TV (Internet Protocol Television, IPTV), Layer 2 virtual private network (Layer 2Virtual Private Network abbreviates P2MP L2VPN as) business such as clock distribution.
In order better to support P2MP L2VPN business, PWE3 working group has proposed the P2MPPW technology.P2MP PW is the unidirectional point pseudo-line to multiple spot, and a pseudo-line that links to each other with the source (Pseudo-wire abbreviates PW as) transmits two layer services to one or more recipients (perhaps leaf).P2MP PW basic function comprises: encapsulation arrives inlet place in circuit (Access Circuits, abbreviate AC as) protocol Data Unit (the Protocol Data Unit of specific transactions, PDU), and it is delivered to outlet place in circuit (Egress Access Circuits by P2MP PW, abbreviate Egress ACs as), and satisfy the time (timing), simulation requirements such as (order) in proper order.
In P2MP PW, when the link of outlet provider edge equipment (Provider Edge abbreviates PE as) node and outlet PE node and receiving terminal broke down, whole traffic transport will be failed, so there is the demand of stability and fail safe in P2MP PW.
Fig. 1 is the schematic diagram according to a kind of P2MP PW network of correlation technique, and as shown in Figure 1, setting up with TPE 1 is root node, and TPE2, TPE3 are the P2MP PW of leaf node.Under normal circumstances, the flow of user side edge device (Customer Edge abbreviates CE as) 1 is passed to CE2, CE3 by P2MP PW.If the link between TPE3 or TPE3 and the CE3 breaks down, CE3 will can not receive the flow that is sent by CE1, makes professional the appearance interrupt.
But, also do not have correlation technique to realize the dual-homed protection of the outlet PE of P2MP PW at present.
Summary of the invention
Demand is only arranged and do not have the problem of concrete implementation and propose the present invention at the protection of P2MP PW in the correlation technique, for this reason, main purpose of the present invention is to provide a kind of implementation of P2MP PW protection, to address the above problem.
To achieve these goals, according to an aspect of the present invention, provide the guard method of a kind of point to multi-point pseudowire P2MP PW.
Guard method according to P2MP PW of the present invention comprises: determine switching node among the P2MP PW according to pseudo-line PW routing table, switching node is set up main with P2MP PW and standby P2MP PW; When the master breaks down with P2MP PW, flow process is switched to standby P2MP PW by switching node.
Preferably, determine that according to the PW routing table switching node comprises: each the node place in P2MP PW sets up a PW routing table, comprises in the PW routing table of foundation inserting unique identifier AII and priority information; Judge whether corresponding different priority of AII identical in the PW routing table at each the node place among the P2MP PW, if judged result is for being that then this node is a switching node.
Preferably, each the node place in P2MP PW sets up a PW routing table and comprises: the priority information that adds each Egress node correspondence among the P2MP PW in Border Gateway Protocol (BGP); The AII information of Ingress node among the priority information of each Egress node correspondence and the P2MP PW among AII information by each Egress node correspondence among the BGP announcement P2MP PW, the P2MP PW, thus each the node place in P2MP PW sets up a PW routing table.
Preferably, among the AII information of each Egress node correspondence, the P2MP PW among the priority information of each Egress node correspondence and the P2MPPW during AII information of Ingress node, each node among the P2MP PW selects high priority to carry out inundation to identical AII in by BGP announcement P2MP PW.
Preferably, switching node is set up and mainly to be comprised with P2MP PW and standby P2MP PW: switching node is determined main with the Egress node of P2MP PW and the Egress node of standby P2MP PW respectively according to the PW routing table at switching node place, and is that root node is set up main P2MP PW of using and standby P2MP PW respectively with the switching node.
Preferably, when main with P2MP PW Egress node or when leading link with the Egress node of P2MP PW and data message receiving terminal and breaking down, switching node switches to standby P2MP PW with data message.
To achieve these goals, according to a further aspect in the invention, provide the protective device of a kind of point to multi-point pseudowire P2MP PW.
Protective device according to P2MP PW of the present invention comprises: determination module is used for determining according to pseudo-line PW routing table the switching node of P2MP PW; Set up module, be used for determining that at determination module local node is under the situation of switching node, set up main with P2MP PW and standby P2MP PW; Handover module is used for by switching node flow process being switched to standby P2MP PW when the master breaks down with P2MP PW.
Preferably, determination module comprises: first sets up submodule, is used for setting up a PW routing table at the local node place, comprises in the PW routing table of foundation inserting unique identifier AII and priority information; Judge submodule, be used for judging that first sets up whether corresponding different priority of the identical AII of PW routing table that submodule sets up, if judged result is for being that then local node is a switching node.
Preferably, first sets up submodule comprises: adding device is used for the priority information in BGP interpolation local node correspondence; Notification unit is used for by the AII of BGP announcement local node correspondence and the priority information of local node correspondence, so that each the node place in P2MP PW sets up a PW routing table.
Preferably, set up module and comprise: determine submodule, be used for determining respectively main with the Egress node of P2MP PW and the Egress node of standby P2MP PW according to the PW routing table at local node place; Second sets up submodule, and being used for the local node is that root node is set up main P2MP PW of using and standby P2MP PW respectively.
By the present invention; employing is determined switching node by the PW routing table; and by the main mode of switching node foundation with P2MP PW and standby P2MP PW; solved the specific implementation problem of P2MP PW protecting network in the correlation technique; solve the problem of service disconnection by the P2MP PW protecting network of setting up, reached and improved the stability of P2MP PW and the effect of fail safe.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram according to a kind of P2MP PW network of correlation technique;
Fig. 2 is the flow chart according to the P2MP PW guard method of the embodiment of the invention;
Fig. 3 is the concrete flow chart according to the P2MP PW guard method of the embodiment of the invention;
Fig. 4 is the flow chart that switches according to the P2MP PW after the fault recovery of the embodiment of the invention;
Fig. 5 is the schematic diagram according to P2MP SS-PW outlet PE protection in the example one of the embodiment of the invention;
Fig. 6 is the schematic diagram that breaks down according to P2MP SS-PW outlet PE in the example one of the embodiment of the invention;
Fig. 7 is the schematic diagram according to P2MP MS-PW outlet PE protection in the example two of the embodiment of the invention;
Fig. 8 is the schematic diagram that breaks down according to P2MP MS-PW outlet PE in the example two of the embodiment of the invention;
Fig. 9 is the schematic diagram according to P2MP MS-PW outlet PE protection in the example three of the embodiment of the invention;
Figure 10 is the schematic diagram that breaks down according to P2MP MS-PW outlet PE in the example three of the embodiment of the invention;
Figure 11 is the flow chart according to the implementation method of the outlet PE protection of P2MP SS-PW in the example one of the embodiment of the invention;
Figure 12 is the flow chart according to the implementation method of the outlet PE protection of P2MP MS-PW in the example two of the embodiment of the invention;
Figure 13 is the flow chart according to the implementation method of the outlet PE protection of P2MP MS-PW in the example three of the embodiment of the invention;
Figure 14 is the structured flowchart according to the protective device of the P2MP PW of the embodiment of the invention;
Figure 15 is the concrete structured flowchart according to the protective device of the P2MP PW of the embodiment of the invention.
Embodiment
Functional overview
Consider P2MP PW network in the correlation technique and produce the problem of service disconnection because the link of Egress node and Egress node and receiving terminal breaks down; the invention provides the protection scheme of a kind of P2MP PW; the treatment principle of this scheme is as follows: determine switching node among the P2MP PW according to pseudo-line PW routing table, switching node is set up main with P2MP PW and standby P2MP PW.By this method, solved the specific implementation problem of the protecting network of P2MP PW, improved stability and the fail safe of P2MP PW.
Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
In following examples, can in computer system, carry out in the step shown in the flow chart of accompanying drawing such as a set of computer-executable instructions, and, though there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
Method embodiment
According to embodiments of the invention, provide the guard method of a kind of P2MP PW.
Fig. 2 is the flow chart according to the guard method of the P2MP PW of the embodiment of the invention, and as shown in Figure 2, this method comprises that following step S202 is to step S204:
Step S202 determines switching node among the P2MP PW according to pseudo-line PW routing table;
Step S204, switching node set up main with P2MP PW and standby P2MP PW;
Step S206 when the master breaks down with P2MP PW, switches to standby P2MP PW by switching node with flow process.
In step S202, determine that according to the PW routing table switching node comprises: each the node place in the P2MPPW network sets up a PW routing table, comprises AII and priority information in this PW routing table; Judge in the PW routing table at each the node place in the P2MP PW network that identical AII is corresponding different priority whether, thereby draw according to PW routing table PE node the priority of identical AII is different determines it oneself is switching node.This switching node is finishes the node that active and standby P2MP PW switches.Switching node can be that the entry PE node in the pseudo-line of single hop also can be exchange provider edge equipment (Switch Provider Edge the abbreviates SPE as) node in the multi-segment pseudo-wires.
Wherein, each node place in P2MP PW network sets up a PW routing table and comprises: at Border Gateway Protocol (Border Gateway Protocol, abbreviate BGP as) in add the pairing priority information of each Egress node in the P2MP PW network, concrete, MP_REACH_NLRI and (the Network Layer Reachable Information of the Network Layer Reachable Information in the MP_UNREACH_NLRI attribute in the expansion bgp update message (UPDATE messages), abbreviate NLRI as) field, make it carry the priority (priority) of two bits (bit); Then, access specific identifiers (Attachment Individual Identifiers by entry PE among the BGP announcement P2MP PW, abbreviate AII as) information, and the priority information of each Egress node correspondence among the AII information of each Egress node correspondence and the P2MP PW, each the node place in P2MP PW network sets up a PW routing table.
By BGP announcement AII information and priority information the time, each the PE node among the P2MP PW only selects high priority to neighbours' inundation to identical AII.
In step S204, switching node is set up and mainly to be comprised with P2MP PW and standby P2MP PW: switching node is determined main with the Egress node of P2MPPW and the Egress node of standby P2MP PW respectively according to the PW routing table at switching node place, and is that root node is set up main P2MP PW of using and standby P2MP PW respectively with this switching node.
Under normal circumstances, data message is only transmitted with P2MP PW by main, when main with P2MP PW Egress node or when leading link with the Egress node of P2MP PW and data message receiving terminal and breaking down, switching node switches to standby P2MPPW with data message.
Be described in detail below in conjunction with the implementation procedure of example the embodiment of the invention.
Fig. 3 is the concrete flow chart according to the P2MP PW guard method of the embodiment of the invention, and as shown in Figure 3, this method may further comprise the steps S301 to step S310:
Step S301, Egress node configuration AII and Priority.
Can know the priority information of this Egress node in order to make other PE node, MP_REACH_NLRI among the needs expansion BGP UPDATE messages and the NLRI field in the MP_UNREACH_NLRI attribute, make it carry the priority of two bit, wherein, 00 has highest priority, and next coming in order are 01,10,11, wherein, the expansion of this NLRI field sees Table 1.
Figure B2009101761992D0000091
Table 1
Acquiescence only is provided with priority to the PE node that dual homed belongs to same CE.Be the identical AII of dual-homed outlet PE configuration, different priority.
For example; Fig. 7 is that example two mid points according to the embodiment of the invention are to multiple spot multi-segment pseudo-wires (Point-to-Multipoint Multi-Segment Pseudo-wire; abbreviate P2MPMS-PW as) schematic diagram of outlet PE protection; as shown in Figure 7; TPE1 is an entry PE; TPE2, TPE3, TPE4, TPE5 are outlet PE s, and SPE1, SPE2 are exchange PEs node.Wherein, at PE1 configuration AII11, AII21, priority are 01 in the TPE2 configuration; AII21, priority are 00 in the TPE3 configuration; AII31, priority are respectively 01,00 in PE4, PE5 configuration.
Step S302 is by agreements such as BGP announcement AII and priority information.
For example, for protecting network shown in Figure 7, can announce AII11 by the UPDATE MP_REACH_NLRI attribute in the bgp update message, AII21, AII31 information and priority information.
Step S303, each PE node only selects high Priority to neighbours' inundation for identical AII.
For example, for protecting network shown in Figure 7, the SPE2 node is that 01 AII21 and priority are 01 AII31 information to SPE1 inundation priority only, and after the inundation, the PW routing table that forms at SPE1 sees Table 4.
Step S304 according to the PW routing table that forms, determines switching node, and primary, spare P2MP PW is distinguished and set up to switching node.
By step S302, S303, all can form a PW routing table at each PE node.
For example; Fig. 5 is to pseudo-line (the Point-to-Multipoint S ingle Segment Pseudo-wire of multiple spot single hop according to example one mid point of the embodiment of the invention; abbreviate P2MPSS-PW as) schematic diagram of outlet PE protection; for protecting network shown in Figure 5, form PW routing table as shown in table 2 at the PE1 place.
AII information Next jumping The AII priority
AII?11 Link-local Do not have
AII21 PE2 01
AII31 PE4 01
AII31 PE5 00
AII21 PE3 00
Table 2
PE1 knows it oneself is switching node according to this PW routing table, and distinguishing PE2, PE4 is main Egress node with P2MP PW, and PE3, PE5 are the Egress nodes of standby P2MP PW.It is main with P2MPPW and standby P2MP PW with PE1 to be according to this PW routing table that root node is set up respectively.
For protecting network shown in Figure 7, SPE2 forms PW routing table as shown in table 3.
AII information Next jumping The AII priority
AII?11 SPE1 Do not have
AII21 TPE2 01
AII31 TPE4 01
AII31 TPE5
00
AII21 TPE3 00
Table 3
According to step S303, SPE2 only selects high Priority to neighbours' inundation for identical AII, so SPE1 forms PW routing table as shown in table 4.
AII information Next jumping The AII priority
AII11 TPE1 Do not have
AII21 SPE2 01
AII31 SPE2
01
Table 4
SPE2 draws the priority difference of identical AII according to the PW routing table at SPE2 place, thereby knows it oneself is switching node, and TPE2, TPE4 are main Egress nodes with P2MP PW, and TPE3, TPE5 are the Egress nodes of standby P2MP PW.According to the PW routing table at SPE2 place, be that root node is set up main P2MP PW of using and standby P2MP PW respectively with SPE2.
Fig. 9 is that for protecting network shown in Figure 9, SPE2 forms PW routing table as shown in table 5 according to the schematic diagram of P2MP MS-PW outlet PE protection in the example three of the embodiment of the invention.
AII information Next jumping The AII priority
AII11 SPE1 Do not have
AII21 TPE2 01
AII31 TPE4
01
Table 5
SPE3 forms PW routing table as shown in table 6.
AII information Next jumping The AII priority
AII11 SPE1 Do not have
AII21 TPE3 00
AII31 TPE5 00
Table 6
SPE1 forms PW routing table as shown in table 7.
AII information Next jumping The AII priority
AII11 TPE1 Do not have
AII21 SPE2 01
AII31 SPE2
01
AII31 SPE3
00
AII21 SPE3 00
Table 7
TPE1 forms PW routing table as shown in table 8.
AII information Next jumping The AII priority
AII11 Link-local Do not have
AII21 SPE1 01
AII31 SPE1
01
Table 8
SPE1 draws the priority difference of identical AII according to the PW routing table at SPE1 place, thereby knows it oneself is switching node, and TPE2, TPE4 are main Egress nodes with P2MP PW, and TPE3, TPE5 are the Egress nodes of standby P2MP PW.According to the PW routing table at SPE1 place, be that root node is set up main P2MP PW of using and standby P2MP PW respectively with SPE1.
Step S305, under normal circumstances, main in running order with P2MP PW, standby P2MP PW is in guard mode.
For example, Fig. 4 is the flow chart that switches according to the P2MP PW after the fault recovery of the embodiment of the invention, and for protecting network shown in Figure 4, data message is transmitted data message by main with P2MPPW, and standby P2MP PW only is in guard mode.
Step S306 after the upstream SPE node detection of Egress node breaks down to Egress node, forwards step S307 to.
The SPE node can detect (Bidirectional Forwarding Detection abbreviates BFD as) protocol detection to the Egress node fault by two-way forwarding.
Step S307 judges that whether this node is switching node, if this node is a switching node, then forwards step S308 to; If this node is not a switching node, then forward step S309 to.
The SPE node just can know oneself whether to be the upstream SPE node of outlet PE and whether to be switching node by the PW routing table.
For example, Fig. 5 is the schematic diagram according to P2MP SS-PW outlet PE protection in the example one of the embodiment of the invention, and for protecting network shown in Figure 5, SPE2 knows it oneself is that the upstream SPE node of outlet PE also is a switching node simultaneously according to the PW routing table.Know it oneself is switching node for protecting network SPE1 shown in Figure 7.
Step S308, the switch data message is to standby P2MP PW.
For protecting network shown in Figure 5, SPE2 switches to standby P2MPPW with data message.
Step S309 cancels the route that all arrive the Egress node of fault by the announcement of bgp protocol upstream nodes, forwards step S310 then to.
For example, for protecting network shown in Figure 8, SPE2 cancels the route that all arrive TPE2 by bgp update message announcement SPE1.
Step S310, upstream node receive bgp update message, forward step S307 to.
For example, for protecting network shown in Figure 8, after SPE1 received the bgp update message that SPE2 sends, it oneself was switching node that SPE1 finds, the switch data message is to standby P2MP PW.
Fig. 4 is the flow chart that switches according to the P2MP PW after the fault recovery of the embodiment of the invention, and as shown in Figure 4, this flow process generally comprises following steps S401 to step S405:
Step S401 after the upstream SPE node detection of Egress node breaks down to Egress node, forwards step S402 to.
The SPE node can be by the BFD protocol detection to the Egress node fault.
Step S402 judges that whether this node is switching node, forwards step S403 to if this node is a switching node; If this node is not a switching node, forward step S404 to.
The SPE node just can know oneself whether to be the upstream SPE node of outlet PE and whether to be switching node by the PW routing table.
For example, Fig. 6 is the schematic diagram that breaks down according to P2MP SS-PW outlet PE in the example one of the embodiment of the invention, and for protecting network shown in Figure 6, SPE2 knows it oneself is that the upstream SPE node of outlet PE also is a switching node simultaneously according to the PW routing table.For protecting network shown in Figure 8, SPE1 knows it oneself is switching node.
Step S403, the switch data message is to the main P2MP PW that uses.
For example, for protecting network shown in Figure 6, SPE2 switches to the main P2MP PW that uses with data message.
Step S404 recovers the route that all arrive the Egress node of fault by the announcement of bgp protocol upstream nodes, forwards step 405 then to.
Fig. 9 is the schematic diagram according to P2MP MS-PW outlet PE protection in the example three of the embodiment of the invention, and for protecting network shown in Figure 9, SPE2 recovers the route that all arrive TPE2 by bgp update message announcement SPE1.
Step S405, upstream node receive bgp update message, forward step S407 to.
For protecting network shown in Figure 8, after SPE1 received the bgp update message that SPE2 sends, it oneself was switching node that SPE1 finds, the switch data message is used P2MPPW to leading.
Example one
Relate to the protection of single hop P2MP PW in this example, for the P2MP PW of single hop, the entry PE node is switching node, also is the upstream PE node of outlet PE simultaneously.
Figure 11 is the flow chart according to the implementation method of the outlet PE of P2MP SS-PW in the example one of embodiment of the invention protection, and as shown in figure 11, this method may further comprise the steps S1101 to step S1108:
Step S1101, Egress node configuration AII and Priority.
MP_REACH_NLRI among the needs expansion BGP UPDATE messages and the NLRI field in the MP_UNREACH_NLRI attribute make its priority that carries two bit, and wherein, 00 has highest priority, and next coming in order are 01,10, and 11; The expansion of NLRI field is referring to table 1.
The dual-homed identical AII of Egress node configuration, different priority.
For P2MP SS-PW protecting network shown in Figure 5, PE1 disposes AII11, and priority does not dispose.In the identical AII21 of PE2, PE3 configuration, different priority bit position: be respectively 01,00.The AII31 that PE4, PE5 configuration is identical, different priority bit position: be respectively 01,00.
Step S1102 is by agreements such as BGP announcement AII and priority information.
For protecting network shown in Figure 5, expand by step S1101 and to announce AII11, AII21, AII31 information and priority information in the bgp update message.
Step S1103 according to the PW routing table that forms, determines that entry PE is switching node, and the active and standby P2MP of using PW is distinguished and set up to this switching node.
By step S1102, S1103, each PE node all can form a PW routing table.
For example, for protecting network shown in Figure 5, PE1 forms PW routing table as shown in table 2.
PE1 knows it oneself is switching node according to the PW routing table at PE1 place, and PE2, PE4 be main Egress node with P2MP PW, and PE3, PE5 are the Egress nodes of standby P2MP PW.PW routing table according to the PE1 place is that root node is set up main P2MP PW of using and standby P2MP PW respectively with PE1.
In P2MP SS-PW network, the entry PE node also is a switching node simultaneously.
Step S1104, under normal circumstances, main in running order with P2MP PW, standby P2MP PW is in guard mode.
For protecting network shown in Figure 5, data message is transmitted data message by main with P2MP PW, and standby P2MP PW only is in guard mode.
Step S1105, the upstream PE node detection of Egress node is to the Egress node fault.
For P2MP SS-PW network, the upstream PE of Egress node can be by the BFD protocol detection to the Egress node fault.
Network when breaking down for P2MP SS-PW outlet PE shown in Figure 6, PE1 can detect outlet PE 2 by BFD and break down.
Step S1106, the switch data message is to standby P2MP PW.
For protecting network shown in Figure 6, PE1 switches to standby P2MPPW with data message.
Step S1107, the entry PE node detection is to the outlet fault recovery.
The protecting network of P2MP SS-PW shown in Figure 5 also can be regarded the network after the outlet PE fault recovery as, and PE1 can detect outlet PE 2 fault recoveries by BFD.
Step S1108, the switch data message is to the main P2MP PW that uses.
For protecting network shown in Figure 5, PE1 switches to the main P2MPPW that uses with data message.
Example two
This example relates to the protection of multistage P2MP MS-PW, and the upstream node of outlet PE is switching node, and Fig. 7 is the schematic diagram according to P2MP MS-PW outlet PE protection in the example two of the embodiment of the invention.
Figure 12 is the flow chart according to the implementation method of the outlet PE of P2MP MS-PW in the example two of embodiment of the invention protection, and as shown in figure 12, this method may further comprise the steps S1201 to step S1209:
Step S1201, Egress node configuration AII and Priority.
MP_REACH_NLRI among the needs expansion BGP UPDATE messages and the NLRI field in the MP_UNREACH_NLRI attribute make its priority that carries two bit, and wherein, 00 has highest priority, and next coming in order are 01,10, and 11; For the expansion of NLRI field referring to table 1.
The dual-homed identical AII of Egress node configuration, different priority.
For P2MP SS-PW protecting network shown in Figure 7, PE1 disposes AII11, and priority does not dispose.The AII21 that TPE2, TPE3 configuration is identical, different priority bit position: be respectively 01,00.The AII31 that TPE4, TPE5 configuration is identical, different priority bit position: be respectively 01,00.
Step S1202 is by agreements such as BGP announcement AII and priority information.
For protecting network shown in Figure 7, expand by step S 1201 and to announce AII11, AII21, AII31 information and priority information in the bgp update message.
Step S1203, each PE node only selects high Priority to neighbours' inundation for identical AII.
For protecting network shown in Figure 7, the SPE2 node is that 01 AII21 and priority are 01 AII31 information to SPE1 inundation priority only, and the formed PW routing table of SPE1 sees Table 4 behind the inundation.
Step S1204 according to the PW routing table that forms, determines switching node, and the active and standby P2MP of using PW is distinguished and set up to switching node.
By step S1202, S1203, each PE node all can form a PW routing table.
For protecting network shown in Figure 7, PE1 forms the PW routing table shown in table 3,4.
SPE2 knows it oneself is switching node according to the PW routing table at SPE2 place, and PE2, PE4 are main Egress nodes with P2MP PW, and PE3, PE5 are the Egress nodes of standby P2MP PW.So, be that root node is set up main P2MP PW of using and standby P2MP PW respectively with SPE2 according to the PW routing table.
Step S1205, under normal circumstances, main in running order with P2MP PW, standby P2MP PW is in guard mode.
For protecting network shown in Figure 7, data message is transmitted data message by main with P2MP PW, and standby P2MP PW only is in guard mode.
Step S1206, the upstream SPE node detection of Egress node is to the Egress node fault
For network shown in Figure 8, SPE2 can detect outlet TPE2 by BFD and break down.
Step S1207, the switch data message is to standby P2MP PW.
For network shown in Figure 8, SPE2 switches to standby P2MP PW with data message.
Step S1208, the upstream SPE node detection of Egress node is to the Egress node fault recovery.
For network shown in Figure 8, SPE2 can detect outlet TPE2 fault recovery by BFD.
Step S1209, the switch data message is to the main P2MP PW that uses.
Also can see network after the TPE fault recovery for export for network shown in Figure 7, SPE2 switches to the main P2MP PW that uses with data message.
Example three
In this example, relate to the protection of multistage P2MP MS-PW, its network configuration is seen Fig. 9, and Fig. 9 is the schematic diagram according to P2MP MS-PW outlet PE protection in the example three of the embodiment of the invention.
Figure 13 is the flow chart according to the implementation method of the outlet PE of P2MP MS-PW in the example three of embodiment of the invention protection, and as shown in figure 13, this method may further comprise the steps S1301 to step S1311:
Step S1301, Egress node configuration AII and Priority.
MP_REACH_NLRI among the needs expansion BGP UPDATE messages and the NLRI field in the MP_UNREACH_NLRI attribute make its priority that carries two bit, and 00 has highest priority, and next coming in order are 01,10, and 11; For the expansion of NLRI field referring to table 1.
The dual-homed identical AII of Egress node configuration, different priority.
For network shown in Figure 9, PE1 disposes AII11, and priority does not dispose.The AII21 that TPE2, TPE3 configuration is identical, different priority bit position: be respectively 01,00.The AII31 that TPE4, TPE5 configuration is identical, different priority bit position: be respectively 01,00.
Step S1302 is by agreements such as BGP announcement AII and priority information.
For network shown in Figure 9, expand by step S1301 and to announce AII11, AII21, AII31 information and priority information in the bgp update message.
Step S1303, each PE node only selects high Priority to neighbours' inundation for identical AII.
For network shown in Figure 9, the SPE2 node is that 01 AII21 and priority are 01 AII31 information to TPE1 inundation priority only, and the formed PW routing table of TPE1 sees Table 8 behind the inundation.
Step S1304 according to the PW routing table that forms, determines switching node, and the active and standby P2MP of using PW is distinguished and set up to switching node.
By step S1302, S1303, each PE node all can form a PW routing table.
For protecting network shown in Figure 9, SPE2, SPE3, SPE1, TPE1 form the PW routing table shown in table 5,6,7.
SPE1 knows it oneself is switching node according to the PW routing table, and PE2, PE4 are main Egress nodes with P2MP PW, and PE3, PE5 are the Egress nodes of standby P2MP PW.So, it is main with P2MPPW and standby P2MP PW with SPE1 to be according to the PW routing table that root node is set up respectively.
Step S1305, under normal circumstances, main in running order with P2MP PW, standby P2MP PW is in guard mode.
For network shown in Figure 9, data message is transmitted data message by main with P2MP PW, and standby P2MP PW only is in guard mode.
Step S1306, the upstream SPE node detection of Egress node is to the Egress node fault.
For network shown in Figure 10, SPE2 can detect outlet TPE2 by BFD and break down.
Step S1307 cancels the route that all arrive the Egress node of fault by bgp update message announcement switching node.
For network shown in Figure 10, SPE2 can cancel the route that all arrive TPE2 by bgp update message announcement SPE1.
Step S1308, switching node switch data message is to standby P2MP PW.
Network shown in Figure 9 also can be seen the network after the TPE fault recovery for export, and SPE1 switches to standby P2MP PW with data message.
Step S1309, the upstream SPE node detection of Egress node is to the Egress node fault recovery.
For network shown in Figure 10, SPE2 can detect outlet TPE2 fault recovery by BFD.
Step S1310 recovers the route that all arrive the Egress node of fault by bgp update message announcement switching node.
For network shown in Figure 10, SPE2 can recover the route that all arrive TPE2 by bgp update message announcement SPE1.
Step S1311, switching node switch data message is to the main P2MP PW that uses.
Network shown in Figure 9 also can be seen the network after the TPE fault recovery for export, and SPE1 switches to the main P2MP PW that uses with data message.
Device embodiment
According to embodiments of the invention, provide the protective device of a kind of P2MP PW.
Figure 14 is the structured flowchart according to the protective device of the P2MP PW of the embodiment of the invention, and as shown in figure 14, this device comprises: determination module 1402, set up module 1404, handover module 1406, below this structure is elaborated.
Determination module 1402 is used for determining according to pseudo-line PW routing table the switching node of P2MP PW; Set up module 1404 and be connected to determination module 1402, be used for determining that at determination module 1402 local node is under the situation of switching node, set up main with P2MP PW and standby P2MP PW; Handover module 1406 is connected to sets up module 1404, is used for by switching node flow process being switched to standby P2MP PW when the master breaks down with P2MP PW.。
Figure 15 is the concrete structured flowchart according to the protective device of the P2MP PW of the embodiment of the invention, and as shown in figure 15, determination module 1402 comprises: first sets up submodule 1502, judgement submodule 1504, below this structure is elaborated.
First sets up submodule 1502, is used for setting up a PW routing table at the local node place, comprises in the PW routing table of foundation inserting unique identifier AII and priority information; Judge that submodule 1504 is connected to first and sets up submodule 1502, be used for judging that first sets up whether corresponding different priority of the identical AII of PW routing table that submodule 1502 sets up, if judged result is for being that then local node is a switching node.
First sets up submodule 1502 comprises: adding device 1506, notification unit 1508 are elaborated to this structure below.
Adding device 1506 is used for the priority information in Border Gateway Protocol (BGP) interpolation local node correspondence; Notification unit 1508 is connected to adding device 1506, is used for by the AII of BGP announcement local node correspondence and the priority information of local node correspondence, so that each the node place in P2MP PW sets up a PW routing table.
Setting up module 1404 comprises: determine that submodule 1510, second sets up submodule 1512, below this structure is elaborated.
Determine submodule 1510, be used for determining respectively main with the Egress node of P2MP PW and the Egress node of standby P2MP PW according to the PW routing table at local node place; Second sets up submodule 1512 is connected to definite submodule 1510, and being used for the local node is that root node is set up main P2MP PW of using and standby P2MP PW respectively.
In sum,, solved the specific implementation problem of P2MP PW protecting network in the correlation technique, solved the problem of service disconnection, the stability and the fail safe that have improved P2MP PW by the P2MP PW protecting network of setting up by the present invention.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the guard method of a point to multi-point pseudowire P2MP PW is characterized in that, comprising:
Determine switching node among the described P2MP PW according to pseudo-line PW routing table, described switching node is set up main with P2MP PW and standby P2MP PW;
When described master breaks down with P2MP PW, flow process is switched to described standby P2MP PW by described switching node.
2. method according to claim 1 is characterized in that, determines that according to described PW routing table described switching node comprises:
Each node place in described P2MP PW sets up a PW routing table, comprises in the PW routing table of described foundation inserting unique identifier AII and priority information;
Judge whether corresponding different priority of AII identical in the PW routing table at each the node place among the described P2MP PW, if judged result is for being that then this node is described switching node.
3. method according to claim 2 is characterized in that, each the node place in described P2MP PW sets up a PW routing table and comprises:
In Border Gateway Protocol (BGP), add the priority information of each Egress node correspondence among the described P2MP PW;
Announce the AII information of Ingress node among the priority information of each Egress node correspondence among the AII information of each Egress node correspondence among the described P2MP PW, the described P2MP PW and the described P2MP PW by described BGP, thereby each the node place in described P2MP PW sets up a PW routing table.
4. method according to claim 3, it is characterized in that, among the priority information of each Egress node correspondence and the described P2MPPW during AII information of Ingress node, described method also comprises in the AII information of announcing each Egress node correspondence among the described P2MP PW by described BGP, described P2MP PW:
Each node among the described P2MP PW selects high priority to carry out inundation to identical AII.
5. method according to claim 1 is characterized in that, described switching node is set up described master and comprised with P2MP PW and described standby P2MP PW:
Described switching node is determined main with the Egress node of P2MP PW and the Egress node of standby P2MP PW respectively according to the PW routing table at described switching node place,
And it is described main with P2MP PW and described standby P2MP PW to be with described switching node that root node is set up respectively.
6. according to each described method in the claim 1 to 5, it is characterized in that described method also comprises:
When described main Egress node or the described link of leading with the Egress node of P2MPPW and data message receiving terminal when breaking down with P2MP PW, described switching node switches to described standby P2MP PW with data message.
7. the protective device of a point to multi-point pseudowire P2MP PW is characterized in that, comprising:
Determination module is used for determining according to pseudo-line PW routing table the switching node of described P2MP PW;
Set up module, be used for determining that at described determination module local node is under the situation of described switching node, set up main with P2MP PW and standby P2MP PW;
Handover module is used for by described switching node flow process being switched to described standby P2MP PW when described master breaks down with P2MP PW.
8. device according to claim 7 is characterized in that, described determination module comprises:
First sets up submodule, is used for setting up a PW routing table at the local node place, comprises in the PW routing table of described foundation inserting unique identifier AII and priority information;
Judge submodule, be used for judging that described first sets up whether corresponding different priority of the identical AII of PW routing table that submodule sets up, if judged result is for being that then local node is described switching node.
9. device according to claim 8 is characterized in that, described first sets up submodule comprises:
Adding device is used for the priority information in BGP interpolation local node correspondence;
Notification unit is used for by the AII of described BGP announcement local node correspondence and the priority information of described local node correspondence, so that each the node place in described P2MP PW sets up a PW routing table.
10. according to each described device in the claim 7 to 9, it is characterized in that the described module of setting up comprises:
Determine submodule, be used for determining respectively main with the Egress node of P2MP PW and the Egress node of standby P2MP PW according to the PW routing table at described local node place;
Second sets up submodule, and being used for described local node is that root node is set up described main P2MP PW of using and described standby P2MP PW respectively.
CN200910176199.2A 2009-09-25 2009-09-25 Protection method and device for point-to-multipoint pseudowires (P2MP PW) Active CN102035665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910176199.2A CN102035665B (en) 2009-09-25 2009-09-25 Protection method and device for point-to-multipoint pseudowires (P2MP PW)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910176199.2A CN102035665B (en) 2009-09-25 2009-09-25 Protection method and device for point-to-multipoint pseudowires (P2MP PW)

Publications (2)

Publication Number Publication Date
CN102035665A true CN102035665A (en) 2011-04-27
CN102035665B CN102035665B (en) 2014-12-10

Family

ID=43888035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910176199.2A Active CN102035665B (en) 2009-09-25 2009-09-25 Protection method and device for point-to-multipoint pseudowires (P2MP PW)

Country Status (1)

Country Link
CN (1) CN102035665B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055719A (en) * 2009-10-29 2011-05-11 中兴通讯股份有限公司 Method and device for protecting point-to-multipoint pseudo-wire
CN107592252A (en) * 2016-07-08 2018-01-16 中兴通讯股份有限公司 Method for processing business and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267360A (en) * 2008-04-10 2008-09-17 华为技术有限公司 Pseudo failure detection method and user boundary device
CN101374075A (en) * 2008-06-30 2009-02-25 华为技术有限公司 Method, apparatus and system for protecting multicast source
CN101438539A (en) * 2006-05-04 2009-05-20 诺基亚西门子通信有限责任两合公司 Automatic packet protection forwarding to an MPLS network bya dual-homed Ethernet bridge
CN101447929A (en) * 2008-12-26 2009-06-03 华为技术有限公司 Traffic routing method, router and communication system
US20090161533A1 (en) * 2007-12-21 2009-06-25 Andrew John Ballantyne Active fault management for metro ethernet service over mpls network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101438539A (en) * 2006-05-04 2009-05-20 诺基亚西门子通信有限责任两合公司 Automatic packet protection forwarding to an MPLS network bya dual-homed Ethernet bridge
US20090161533A1 (en) * 2007-12-21 2009-06-25 Andrew John Ballantyne Active fault management for metro ethernet service over mpls network
CN101267360A (en) * 2008-04-10 2008-09-17 华为技术有限公司 Pseudo failure detection method and user boundary device
CN101374075A (en) * 2008-06-30 2009-02-25 华为技术有限公司 Method, apparatus and system for protecting multicast source
CN101447929A (en) * 2008-12-26 2009-06-03 华为技术有限公司 Traffic routing method, router and communication system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
FLORIN BALUS: "Dynamic placement of multi segment pseudo wires", 《DRAFT-BALUS-BOCCI-MARTINI-DYN-MS-PWE3-00.TXT》 *
MATTHEW BOCCI: "Network High Availability for Ethernet Services Using IP/MPLS Networks", 《IEEE COMMUNICATION MAGAZINE》 *
P.PAN: "Pseuso Wire Protection", 《DRAFT-PAN-PWE3-PROTECTION-03.TXT》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055719A (en) * 2009-10-29 2011-05-11 中兴通讯股份有限公司 Method and device for protecting point-to-multipoint pseudo-wire
CN107592252A (en) * 2016-07-08 2018-01-16 中兴通讯股份有限公司 Method for processing business and device
CN107592252B (en) * 2016-07-08 2021-06-29 中兴通讯股份有限公司 Service processing method and device

Also Published As

Publication number Publication date
CN102035665B (en) 2014-12-10

Similar Documents

Publication Publication Date Title
CN105379197B (en) It establishes the method in tunnel, distribute method, equipment and the network system of label
CN102035729B (en) Multicast data forwarding method
EP2675121B1 (en) Vpls fast rerouting method and device
JP4526423B2 (en) Ring connection method and apparatus
CN104135418B (en) It is a kind of to realize two layers of method and device for coordinating to switch with Layer3 Virtual Private Network
CN102143026B (en) Method for avoiding loop circuit in virtual two layer network
US9912586B2 (en) Method, system, and device for establishing pseudo wire
CN102045178B (en) The method of Virtual Private LAN Service multicast protection and device
CN102238057B (en) Ethernet-tree realization method, system, device and network equipment
WO2014090083A1 (en) Service bearing method and apparatus during distributed resilient network interconnect
WO2018058639A1 (en) Pseudo wire load sharing method and apparatus
CN102970231A (en) Multicast flow forwarding implementation method and routing bridge (RB)
CN102185712B (en) The reverse method of VPLS network and ethernet ring network and device
CN103297338B (en) A kind of VPN route advertising method and equipment
CN107888493B (en) Method and device for establishing label switching path
CN102055719A (en) Method and device for protecting point-to-multipoint pseudo-wire
WO2015027736A1 (en) Method and device for implementing hierarchical virtual private lan service
CN102045239B (en) Implementation method and device of point-to-multipoint pseudowire protective network
CN108462637A (en) One kind being routed back to blanking method, controller and system
CN106572012A (en) VPN FRR implementation method and PE equipment
CN102035665B (en) Protection method and device for point-to-multipoint pseudowires (P2MP PW)
CN103414642A (en) Maintaining method and device of information forwarding
CN102724126A (en) Method, device and equipment for forwarding Ethernet tree (E-tree) service message
CN104009919A (en) Message forwarding method and device
US20080212610A1 (en) Communication techniques and generic layer 3 automatic switching protection

Legal Events

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