CN105071960B - Pseudo-wire dispositions method, fault handling method, relevant device and dual-homing protection system - Google Patents
Pseudo-wire dispositions method, fault handling method, relevant device and dual-homing protection system Download PDFInfo
- Publication number
- CN105071960B CN105071960B CN201510466118.8A CN201510466118A CN105071960B CN 105071960 B CN105071960 B CN 105071960B CN 201510466118 A CN201510466118 A CN 201510466118A CN 105071960 B CN105071960 B CN 105071960B
- Authority
- CN
- China
- Prior art keywords
- pseudo
- wire
- network equipment
- parameter
- primary
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses a kind of pseudo-wire dispositions method, fault handling method, relevant device and dual-homing protection system, pseudo-wire dispositions method includes:The primary network equipment receives third parameter and second escape pseudo-wire fourth parameter on backup network equipment of the first escape pseudo-wire from backup network equipment in backup network equipment; third parameter instruction the first escape pseudo-wire protects spare pseudo-wire or spare access link, the 4th parameter instruction the second escape pseudo-wire to protect spare access link or spare pseudo-wire;The primary network equipment determines whether escape pseudo-wire deployment is correct according to the first parameter, the second parameter, third parameter and the 4th parameter; first parameter instruction the first escape pseudo-wire protects primary pseudo-wire or primary access link, the second parameter instruction the second escape pseudo-wire to protect primary access link or primary pseudo-wire.The embodiment of the present invention can find the deployment mistake of escape pseudo-wire in time, avoid protection network failure, promote the reliability of network.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of pseudo-wire dispositions method, fault handling method, relevant device
And dual-homing protection system.
Background technology
Pseudo-wire (Pseudo Wire, PW) redundancy application technology can solve the problems, such as the error protection of PW networks, promote network
Reliability.In practical applications, it in order to further increase the reliability of network, increases and escapes between the network equipment of dual homed side
Raw PW, escape PW carry out quick in primary PW or primary access link (Attachment Circuit, AC) failure of primary link
It is used when switching.
Two ways is produced again for the application for the PW that escapes according to different business models, one is single escape side PW
Formula only exists an escape PW between the network equipment of dual homed side;Secondly i.e. double escape PW modes, i.e. the dual homed side network equipment it
Between there are two escape PW.
In the deployment scenario of double escape PW, need to ensure that same escapes PW in the primary network equipment when configuration
And the circuit types protected in backup network equipment is different, but due to needing to configure two escapes two equipment sides simultaneously
Often there is same and escapes PW in the primary network equipment and the circuit protected in backup network equipment after configuring in PW
There is escape pseudo-wire and disposes mistake in the identical situation of type, escape pseudo-wire deployment mistake can make data send to form loop, lead
Cause protection network failure.
Invention content
In view of this, the present invention provides a kind of pseudo-wire dispositions method, fault handling method, relevant device and dual-homing protection
System can find the deployment mistake of escape pseudo-wire in time, avoid protection network failure, promote the reliability of network.
In a first aspect, an embodiment of the present invention provides a kind of pseudo-wire dispositions method, the pseudo-wire dispositions method is applied to double
Return protection system, the dual-homing protection system includes the primary network equipment being located in primary pseudo-wire and in spare pseudo-wire
Backup network equipment is deployed with the first escape pseudo-wire and second and escapes between the primary network equipment and the backup network equipment
Raw pseudo-wire;
The primary network equipment receives the first escape pseudo-wire from the backup network equipment described spare
The 4th parameter of third parameter and the second escape pseudo-wire in the backup network equipment on the network equipment;The third
Parameter instruction the first escape pseudo-wire protects the spare pseudo-wire or spare access link, the 4th parameter instruction described the
Two escape pseudo-wires protect the spare access link or the spare pseudo-wire;
The primary network equipment is determined according to the first parameter, the second parameter, the third parameter and the 4th parameter
Whether pseudo-wire of escaping deployment is correct, and first parameter instruction the first escape pseudo-wire is protected the primary pseudo-wire or primary connect
Incoming link, the second parameter instruction the second escape pseudo-wire protect the primary access link or the primary pseudo-wire;
Wherein, the situation of the escape pseudo-wire deployment mistake includes any one in following situations:The first situation:Institute
Stating the instruction of the first parameter protects primary pseudo-wire and third parameter instruction to protect spare pseudo-wire;The second situation:Described first
Parameter instruction protects primary access link and third parameter instruction to protect spare access link;The third situation:Described
The instruction of two parameters protects primary pseudo-wire and the instruction of the 4th parameter to protect spare pseudo-wire;4th kind of situation:The second parameter instruction
Primary access link and the 4th parameter is protected to indicate to protect spare access link.
With reference to first aspect, in the first embodiment of first aspect, when determining escape pseudo-wire deployment mistake, institute
It states the primary network equipment to negotiate to determine the network equipment for carrying out fault-tolerant processing with the backup network equipment, by negotiating determining net
Network equipment carries out fault-tolerant processing.
With reference to first aspect, in second of embodiment of first aspect, when determining escape pseudo-wire deployment mistake, institute
It states the primary network equipment and sends alarm notification to first network equipment.
With reference to first aspect or the first or second of embodiment of first aspect, in the third reality of first aspect
It applies in mode, the primary network equipment receives the first escape pseudo-wire from the backup network equipment described spare
Third parameter and the second escape pseudo-wire on the network equipment are also received in four parameter in the backup network equipment
The status information of the spare pseudo-wire from the backup network equipment;
The primary network equipment is according to the status information of the primary pseudo-wire, the status information of the spare pseudo-wire, institute
It states the first parameter, second parameter, the third parameter and the 4th parameter and determines that the dual-homing protection system whether may be used
With;
When the dual-homing protection system is unavailable, the primary network equipment sends to first network equipment and notices, institute
It states notice and indicates that the dual-homing protection system is unavailable.
The third embodiment with reference to first aspect, in the 4th kind of embodiment of first aspect, the dual homed is protected
Protecting system is unavailable to include:The status information of the primary pseudo-wire indicates the shape of the primary pseudo-lines fault and the spare pseudo-wire
State information indicates the spare pseudo-lines fault.
Second aspect, an embodiment of the present invention provides a kind of pseudo-wire dispositions method, the pseudo-wire dispositions method is applied to double
Return protection system, the dual-homing protection system includes the primary network equipment being located in primary pseudo-wire and in spare pseudo-wire
Backup network equipment is deployed with the first escape pseudo-wire and second and escapes between the primary network equipment and the backup network equipment
Raw pseudo-wire;
The backup network equipment receives the first escape pseudo-wire from the primary network equipment described primary
The second parameter of the first parameter and the second escape pseudo-wire on the primary network equipment on the network equipment;Described first
Parameter instruction the first escape pseudo-wire protects the primary pseudo-wire or primary access link, the second parameter instruction described the
Two escape pseudo-wires protect the primary access link or the primary pseudo-wire;
The backup network equipment is determined according to first parameter, second parameter, third parameter and the 4th parameter
Whether pseudo-wire of escaping deployment is correct, and third parameter instruction the first escape pseudo-wire is protected the spare pseudo-wire or spare connect
Incoming link, the 4th parameter instruction the second escape pseudo-wire protect the spare access link or the spare pseudo-wire;
Wherein, the situation of the escape pseudo-wire deployment mistake includes any one in following situations:The first situation:Institute
Stating the instruction of the first parameter protects primary pseudo-wire and third parameter instruction to protect spare pseudo-wire;The second situation:Described first
Parameter instruction protects primary access link and third parameter instruction to protect spare access link;The third situation:Described
The instruction of two parameters protects primary pseudo-wire and the instruction of the 4th parameter to protect spare pseudo-wire;4th kind of situation:The second parameter instruction
Primary access link and the 4th parameter is protected to indicate to protect spare access link.
In conjunction with second aspect, in the first embodiment of second aspect, when determining escape pseudo-wire deployment mistake, institute
It states backup network equipment to negotiate to determine the network equipment for carrying out fault-tolerant processing with the primary network equipment, by negotiating determining net
Network equipment carries out fault-tolerant processing.
In conjunction with second aspect, in second of embodiment of second aspect, when determining escape pseudo-wire deployment mistake, institute
It states backup network equipment and sends alarm notification to first network equipment.
In conjunction with the first or second of embodiment of second aspect or second aspect, in the third reality of second aspect
It applies in mode, the backup network equipment receives the first escape pseudo-wire from the primary network equipment described primary
The first parameter and the second escape pseudo-wire on the network equipment are also received in the second parameter on the primary network equipment
The status information of the primary pseudo-wire from the primary network equipment;
The backup network equipment is according to the status information of the primary pseudo-wire, the status information of the spare pseudo-wire, institute
It states the first parameter, second parameter, the third parameter and the 4th parameter and determines that the dual-homing protection system whether may be used
With;
When the dual-homing protection system is unavailable, the backup network equipment sends to first network equipment and notices, institute
It states notice and indicates that the dual-homing protection system is unavailable.
In conjunction with the third embodiment of second aspect, in the 4th kind of embodiment of second aspect, the dual homed is protected
Protecting system is unavailable to include:The status information of the primary pseudo-wire indicates the shape of the primary pseudo-lines fault and the spare pseudo-wire
State information indicates the spare pseudo-lines fault.
The third aspect, an embodiment of the present invention provides a kind of fault handling method, the fault handling method is applied to double
Return protection system, the dual-homing protection system includes the primary network equipment being located in primary pseudo-wire and in spare pseudo-wire
Backup network equipment, the method includes:
The primary network equipment receives the status information of the spare pseudo-wire from the backup network equipment;
The primary network equipment is determined according to status information, the status information of the spare pseudo-wire of the primary pseudo-wire
Whether the dual-homing protection system can be used;
When the dual-homing protection system is unavailable, the primary network equipment sends to second network equipment and notices, institute
It states notice and indicates that the dual-homing protection system is unavailable.
In conjunction with the third aspect, in the first embodiment of the third aspect, the primary network equipment with it is described spare
Escape pseudo-wire is deployed between the network equipment, the escape pseudo-wire is single escape pseudo-wire or the escape pseudo-wire is double escapes
Pseudo-wire.
In conjunction with the first of the third aspect or the third aspect embodiment, in second of embodiment of the third aspect,
The dual-homing protection system is unavailable to include:The status information of the primary pseudo-wire indicates the primary pseudo-lines fault and described standby
The spare pseudo-lines fault is indicated with the status information of pseudo-wire.
Fourth aspect, an embodiment of the present invention provides a kind of fault handling method, the fault handling method is applied to double
Return protection system, the dual-homing protection system includes the primary network equipment being located in primary pseudo-wire and in spare pseudo-wire
Backup network equipment, the method includes:
The backup network equipment receives the status information of the primary pseudo-wire from the primary network equipment;
The backup network equipment is determined according to status information, the status information of the spare pseudo-wire of the primary pseudo-wire
Whether the dual-homing protection system can be used;
When the dual-homing protection system is unavailable, the backup network equipment sends to second network equipment and notices, institute
It states notice and indicates that the dual-homing protection system is unavailable.
In conjunction with fourth aspect, in the first embodiment of fourth aspect, the primary network equipment with it is described spare
Escape pseudo-wire is deployed between the network equipment, the escape pseudo-wire is single escape pseudo-wire or the escape pseudo-wire is double escapes
Pseudo-wire.
In conjunction with the first of fourth aspect or fourth aspect embodiment, in second of embodiment of fourth aspect,
The dual-homing protection system is unavailable to include:The status information of the primary pseudo-wire indicates the primary pseudo-lines fault and described standby
The spare pseudo-lines fault is indicated with the status information of pseudo-wire.
5th aspect, an embodiment of the present invention provides a kind of primary network equipment, the primary network equipment is located at dual homed
Further include the backup network equipment being located in spare pseudo-wire, institute in the primary pseudo-wire of protection system, in the dual-homing protection system
It states and is deployed with the first escape pseudo-wire and the second escape pseudo-wire between the primary network equipment and the backup network equipment, it is described primary
The network equipment includes:
Communication unit, for receiving the first escape pseudo-wire from the backup network equipment in the backup network
The 4th parameter of third parameter and the second escape pseudo-wire in the backup network equipment in equipment;The third parameter
Indicate that the first escape pseudo-wire protects the spare pseudo-wire or spare access link, the 4th parameter instruction described second to escape
Raw pseudo-wire protects the spare access link or the spare pseudo-wire;
Processor, for determining that escape is pseudo- according to the first parameter, the second parameter, the third parameter and the 4th parameter
Whether line deployment is correct, and the first parameter instruction the first escape pseudo-wire protects the primary pseudo-wire or primary access chain
Road, the second parameter instruction the second escape pseudo-wire protect the primary access link or the primary pseudo-wire;
Wherein, the situation of the escape pseudo-wire deployment mistake includes any one in following situations:The first situation:Institute
Stating the instruction of the first parameter protects primary pseudo-wire and third parameter instruction to protect spare pseudo-wire;The second situation:Described first
Parameter instruction protects primary access link and third parameter instruction to protect spare access link;The third situation:Described
The instruction of two parameters protects primary pseudo-wire and the instruction of the 4th parameter to protect spare pseudo-wire;4th kind of situation:The second parameter instruction
Primary access link and the 4th parameter is protected to indicate to protect spare access link.
In conjunction with the 5th aspect, in the first embodiment of the 5th aspect, when determining escape pseudo-wire deployment mistake, institute
It states processor to be additionally operable to negotiate to determine the network equipment for carrying out fault-tolerant processing with the backup network equipment, by negotiating determining net
Network equipment carries out fault-tolerant processing.
In conjunction with the 5th aspect, in second of embodiment of the 5th aspect, when determining escape pseudo-wire deployment mistake, institute
Communication unit is stated to be additionally operable to send alarm notification to first network equipment.
In conjunction with the first or second of embodiment of the 5th aspect or the 5th aspect, in the third reality of the 5th aspect
It applies in mode, the communication unit receives the first escape pseudo-wire from the backup network equipment in the backup network
Third parameter and the second escape pseudo-wire in equipment are also received and are come from four parameter in the backup network equipment
The status information of the spare pseudo-wire of the backup network equipment;
The processor is according to the status information of the primary pseudo-wire, the status information of the spare pseudo-wire, and described first
Parameter, second parameter, the third parameter and the 4th parameter determine whether the dual-homing protection system can be used;
When the dual-homing protection system is unavailable, the communication unit is additionally operable to send to first network equipment and notice,
The notice indicates that the dual-homing protection system is unavailable.
In conjunction with the third embodiment of the 5th aspect, in the 4th kind of embodiment of the 5th aspect, the dual homed is protected
Protecting system is unavailable to include:The status information of the primary pseudo-wire indicates the shape of the primary pseudo-lines fault and the spare pseudo-wire
State information indicates the spare pseudo-lines fault.
6th aspect, an embodiment of the present invention provides a kind of backup network equipment, the backup network equipment is located at dual homed
Further include the primary network equipment being located in primary pseudo-wire, institute in the spare pseudo-wire of protection system, in the dual-homing protection system
It states and is deployed with the first escape pseudo-wire and the second escape pseudo-wire between the primary network equipment and the backup network equipment, it is described spare
The network equipment includes:
Communication unit, for receiving the first escape pseudo-wire from the primary network equipment in the primary network
The second parameter of the first parameter and the second escape pseudo-wire on the primary network equipment in equipment;First parameter
Indicate that the first escape pseudo-wire protects the primary pseudo-wire or primary access link, the second parameter instruction described second to escape
Raw pseudo-wire protects the primary access link or the primary pseudo-wire;
Processor, for determining that escape is pseudo- according to first parameter, second parameter, third parameter and the 4th parameter
Whether line deployment is correct, and third parameter instruction the first escape pseudo-wire protects the spare pseudo-wire or spare access chain
Road, the 4th parameter instruction the second escape pseudo-wire protect the spare access link or the spare pseudo-wire;
Wherein, the situation of the escape pseudo-wire deployment mistake includes any one in following situations:The first situation:Institute
Stating the instruction of the first parameter protects primary pseudo-wire and third parameter instruction to protect spare pseudo-wire;The second situation:Described first
Parameter instruction protects primary access link and third parameter instruction to protect spare access link;The third situation:Described
The instruction of two parameters protects primary pseudo-wire and the instruction of the 4th parameter to protect spare pseudo-wire;4th kind of situation:The second parameter instruction
Primary access link and the 4th parameter is protected to indicate to protect spare access link.
In conjunction with the 6th aspect, in the first embodiment of the 6th aspect, when determining escape pseudo-wire deployment mistake, institute
It states processor to be additionally operable to negotiate to determine the network equipment for carrying out fault-tolerant processing with the primary network equipment, by negotiating determining net
Network equipment carries out fault-tolerant processing.
In conjunction with the 6th aspect, in second of embodiment of the 6th aspect, when determining escape pseudo-wire deployment mistake, institute
Communication unit is stated to be additionally operable to send alarm notification to first network equipment.
In conjunction with the first or second of embodiment of the 6th aspect or the 6th aspect, in the third reality of the 6th aspect
It applies in mode, the communication unit receives the first escape pseudo-wire from the primary network equipment in the primary network
The first parameter and the second escape pseudo-wire in equipment are also received and are come from the second parameter on the primary network equipment
The status information of the primary pseudo-wire of the primary network equipment;
The processor is according to the status information of the primary pseudo-wire, the status information of the spare pseudo-wire, and described first
Parameter, second parameter, the third parameter and the 4th parameter determine whether the dual-homing protection system can be used;
When the dual-homing protection system is unavailable, the communication unit is additionally operable to send to first network equipment and notice,
The notice indicates that the dual-homing protection system is unavailable.
In conjunction with the third embodiment of the 6th aspect, in the 4th kind of embodiment of the 6th aspect, the dual homed is protected
Protecting system is unavailable to include:The status information of the primary pseudo-wire indicates the shape of the primary pseudo-lines fault and the spare pseudo-wire
State information indicates the spare pseudo-lines fault.
7th aspect, an embodiment of the present invention provides a kind of primary network equipment, the primary network equipment is located at dual homed
Further include the backup network equipment being located in spare pseudo-wire, institute in the primary pseudo-wire of protection system, in the dual-homing protection system
Stating the primary network equipment includes:
Communication unit, the status information for receiving the spare pseudo-wire from the backup network equipment;
Processor, described in being determined according to status information, the status information of the spare pseudo-wire of the primary pseudo-wire
Whether dual-homing protection system can be used;
When the dual-homing protection system is unavailable, the communication unit is additionally operable to send to second network equipment and notice,
The notice indicates that the dual-homing protection system is unavailable.
In conjunction with the 7th aspect, the 7th aspect the first embodiment in, the primary network equipment with it is described spare
Escape pseudo-wire is deployed between the network equipment, the escape pseudo-wire is single escape pseudo-wire or the escape pseudo-wire is double escapes
Pseudo-wire.
In conjunction with the 7th aspect or the first embodiment of the 7th aspect, in second of embodiment of the 7th aspect,
The dual-homing protection system is unavailable to include:The status information of the primary pseudo-wire indicates the primary pseudo-lines fault and described standby
The spare pseudo-lines fault is indicated with the status information of pseudo-wire.
Eighth aspect, an embodiment of the present invention provides a kind of backup network equipment, the backup network equipment is located at dual homed
Further include the primary network equipment being located in primary pseudo-wire, institute in the spare pseudo-wire of protection system, in the dual-homing protection system
Stating backup network equipment includes:
Communication unit, the status information for receiving the primary pseudo-wire from the primary network equipment;
Processor, described in being determined according to status information, the status information of the spare pseudo-wire of the primary pseudo-wire
Whether dual-homing protection system can be used;
When the dual-homing protection system is unavailable, the communication unit is additionally operable to send to second network equipment and notice,
The notice indicates that the dual-homing protection system is unavailable.
In conjunction with eighth aspect, in the first embodiment of eighth aspect, the primary network equipment with it is described spare
Escape pseudo-wire is deployed between the network equipment, the escape pseudo-wire is single escape pseudo-wire or the escape pseudo-wire is double escapes
Pseudo-wire.
In conjunction with the first of eighth aspect or eighth aspect embodiment, in second of embodiment of eighth aspect,
The dual-homing protection system is unavailable to include:The status information of the primary pseudo-wire indicates the primary pseudo-lines fault and described standby
The spare pseudo-lines fault is indicated with the status information of pseudo-wire.
9th aspect, an embodiment of the present invention provides a kind of dual-homing protection systems, including according to aforementioned 5th aspect or the
The primary network equipment described in any one embodiment of five aspects, and times according to aforementioned 6th aspect or the 6th aspect
Backup network equipment described in a kind of embodiment of anticipating;Or include according to any one of aforementioned 7th aspect or the 7th aspect
The primary network equipment described in embodiment, and any one embodiment institute according to aforementioned eighth aspect or eighth aspect
The backup network equipment stated.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the present invention, after the completion of escaping pseudo-wire deployment, the primary network equipment can come from according to what is received
Parameter and primary network device itself of each item escape pseudo-wire of backup network equipment in backup network equipment have each
Parameter of the item escape pseudo-wire on the primary network equipment determines whether escape pseudo-wire deployment is correct, it is thus possible to discovery escape in time
The scene of pseudo-wire deployment mistake, finds deployment mistake, avoids protection network failure, improve when needing not wait for pretection switch
The reliability of network.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those skilled in the art, other attached drawings can also be obtained such as these attached drawings.
Fig. 1 a are the deployment scenario one embodiment schematic diagrames of PW of singly escaping in background technology;
Fig. 1 b are deployment scenario one embodiment schematic diagrames of double escape PW in background technology;
Fig. 1 c are another embodiment schematic diagrams of deployment scenario of double escape PW in background technology;
Fig. 2 is pseudo-wire dispositions method one embodiment schematic diagram of the present invention;
Fig. 3 is another embodiment schematic diagram of pseudo-wire dispositions method of the present invention;
Fig. 4 is fault handling method one embodiment schematic diagram of the present invention;
Fig. 5 is another embodiment schematic diagram of fault handling method of the present invention;
Fig. 6 is the primary network equipment one embodiment schematic diagram of the present invention;
Fig. 7 is the primary another embodiment schematic diagram of the network equipment of the present invention;
Fig. 8 is backup network equipment one embodiment schematic diagram of the present invention;
Fig. 9 is another embodiment schematic diagram of backup network equipment of the present invention;
Figure 10 is the primary network equipment one embodiment schematic diagram of the present invention;
Figure 11 is the primary another embodiment schematic diagram of the network equipment of the present invention;
Figure 12 is backup network equipment one embodiment schematic diagram of the present invention;
Figure 13 is another embodiment schematic diagram of backup network equipment of the present invention;
Figure 14 is dual-homing protection system one embodiment schematic diagram of the present invention;
Figure 15 is another embodiment schematic diagram of dual-homing protection system of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, the every other embodiment that those skilled in the art are obtained, shall fall within the protection scope of the present invention.
Before introducing the embodiment of the present invention, the deployment field of single escape PW in the prior art and double escape PW are first introduced
Scape.Single escape PW deployment scenarios can be as shown in Figure 1a, wireless traffic side gateway (Radio Service Gateway, RSG) 1,
Only existed between RSG2 one escape PW, i.e. PW3, PW3 can protect simultaneously primary pseudo-wire PW1, primary access link AC1 or
Spare pseudo-wire PW2, spare access link AC2.For example, normal condition flow path is base station side gateway (Cell Site
Gateway, CSG)-PW1-RSG1-AC1-radio network controller (Radio Network Controller, RNC), when
When PW1 failures, flow path is switched to CSG-PW2-RSG2-PW3-RSG1-AC1-RNC, if AC1 failures, flow
Path is switched to CSG-PW1-RSG1-PW3-RSG2-AC2-RNC.It can be seen that in single escape PW modes, escape PW
Protection there is adaptivity, according to the state of AC, PW can automatically select flow path.
Double escape PW modes are as shown in Figure 1 b, and there are two escape PW, i.e. PW3, PW4, double escape PW between RSG1, RSG2
Scene under, the protective effect for the PW that escapes is fixed.For example, PW3 fixed protection AC1 on RSG1, the fixed guarantor on RSG2
Protect PW2;PW4 fixed protection PW1 on RSG1, the fixed protection AC2 on RSG2.I.e. for the scene of double escape PW, same
Escape PW is inconsistent in the protection behavior of dual homed side (RSG1, RSG2), and double escape PW form a kind of cross reference.If deployment
Mistake makes double escape PW form parallel relation and may result in business error.Such as shown in Fig. 1 c, when double escape PW dispose mistake
When, same is escaped, and in the protection behavior of dual homed side (RSG1, RSG2), unanimously (i.e. same escape PW protects PW to PW in dual homed side
Or protect AC), once double escape PW are deployed to this mode, when AC1 failures, the flow that CSG goes to RNC will become
CSG-PW1-RSG1-PW3-RSG2-PW2-CSG protect network failure, do not play protection to form loop
Effect.At present to avoid the occurrence of this mistake, is mainly ensured by configuring, once there is configuration error, may result in flow
Error, and not may be found that mistake under normal circumstances, it only arrives AC or PW and breaks down, when needing to carry out pretection switch
It can just pinpoint the problems.
By above description it is found that when disposing double escape PW in pseudo-wire dual homed network, it is susceptible to escape pseudo-wire
The situation of mistake is disposed, and can not generally find deployment mistake in time in the prior art, thus, an embodiment of the present invention provides one
Kind pseudo-wire dispositions method can find deployment mistake in time in the deployment scenarios of double escape PW.
What the escape pseudo-wire that the embodiment of the present invention is mentioned referred to establishing between the primary network equipment and backup network equipment
Pseudo-wire can be detoured to backup network by pseudo-wire of escaping and be set when primary PW or primary access link (AC) break down
It is standby.Escape pseudo-wire is also referred to as bypass pseudo-wire (bypass PW), and centre, which is switched, backs up pseudo-wire between pseudo-wire, frame
(Interchassis Backup PW) etc., is not specifically limited herein.
Specifically, pseudo-wire dispositions method provided by the invention is applied to dual-homing protection system, and dual-homing protection system includes position
In the primary network equipment in primary pseudo-wire and the backup network equipment in spare pseudo-wire, the primary network equipment and spare net
Double escape pseudo-wires are deployed between network equipment, double escape pseudo-wires include the first escape pseudo-wire and the second escape pseudo-wire.Please refer to figure
1, the method for the present embodiment includes:
Step 21, the primary network equipment receive the first escape pseudo-wire from backup network equipment in backup network equipment
Third parameter and the second fourth parameter of the escape pseudo-wire in backup network equipment;
Third parameter instruction the first escape pseudo-wire protects spare pseudo-wire or spare access link, the 4th parameter instruction second to escape
Raw pseudo-wire protects spare access link or spare pseudo-wire.I.e. first escape pseudo-wire and the second escape pseudo-wire are in backup network equipment
The circuit of protection is different, if the first escape pseudo-wire protects spare pseudo-wire, the second escape pseudo- in backup network equipment
What line was protected in backup network equipment is exactly spare access link, and vice versa.
In addition, the primary network equipment can also be by the first first parameter and second of the escape pseudo-wire on the primary network equipment
Second parameter of the pseudo-wire of escaping on the primary network equipment is sent to backup network equipment.Wherein, the first parameter instruction first is escaped
Raw pseudo-wire protects primary pseudo-wire or primary access link, the second parameter instruction the second escape pseudo-wire to protect primary access link or master
Use pseudo-wire.The circuit that i.e. first escape pseudo-wire and the second escape pseudo-wire are protected on the primary network equipment is different, if the
As soon as escape pseudo-wire protects primary pseudo-wire on the primary network equipment, then the second escape pseudo-wire is protected on the primary network equipment
It is primary access link, vice versa.
I.e. after the deployment of double escape pseudo-wires is completed, the primary, spare network equipment can check double escape pseudo-wires in actual track
In respective parameter, and by double escape pseudo-wires opposite equip. is sent in respective parameter.
Step 22, the primary network equipment determine that escape is pseudo- according to the first parameter, the second parameter, third parameter and the 4th parameter
Whether line deployment is correct.
In the specific implementation, the primary, spare network equipment can the parameter in two equipment determines together respectively according to double escape PW
Whether the circuit types that one escape PW is protected two equipment sides is consistent, if unanimously, protecting behavior to form parallel relation, saying
Bright double escape PW dispose mistake;If inconsistent, behavior is protected to form cross reference, illustrates that double escape PW deployment are correct.
Specifically, the situation of escape pseudo-wire deployment mistake includes any one in following situations:The first situation:First
Parameter instruction protects primary pseudo-wire and the instruction of third parameter to protect spare pseudo-wire;The second situation:First parameter instruction protection master
Spare access link is protected with access link and the instruction of third parameter;The third situation:Primary pseudo-wire is protected in the instruction of second parameter
Spare pseudo-wire is protected with the instruction of the 4th parameter;4th kind of situation:Primary access link and the 4th parameter are protected in the instruction of second parameter
Spare access link is protected in instruction.
Citing illustrates below, when (PW3 and PW4, the first escape pseudo-wire can be PW3 to double escape PW, and the second escape is pseudo-
Line can be PW4, and vice versa) disposed by mode shown in Fig. 1 b after, the primary network equipment can be RSG1, and backup network is set
Standby can be RSG2, and parameters of the PW3 in RSG1 can indicate:PW3 protects AC1 on RSG1, and parameters of the PW4 in RSG1 can
With instruction:PW4 protects PW1 on RSG1;Parameters of the PW3 in RSG2 can indicate:PW3 protects PW2, PW4 to exist on RSG2
Parameter in RSG2 can indicate:PW4 protects AC2 on RSG2.RSG1 can send the parameter of PW3 and PW4 in RSG1
To RSG2, and receive the parameter in RSG2 of PW3 and PW4 of RSG2 transmissions, such RSG1 and RSG2 can according to PW3 and
PW4 respectively the parameter in two equipment come judge escape PW deployable states, specifically in this example, same escape PW is two
The circuit types of side protection is different that (that PW3 protects in both sides is AC1 and PW2 respectively, and PW4 is respectively what both sides were protected
AC2 and PW1), illustrate that the deployment of escape PW is correct.
Certainly, in deployment way shown in Fig. 1 b, parameters of the PW3 in RSG1 can also indicate that:PW3 is protected on RSG1
The parameter of PW1, PW4 in RSG1 can also indicate that:PW4 protects AC1 on RSG1;Parameters of the PW3 in RSG2 can also refer to
Show:PW3 protects AC2, parameters of the PW4 in RSG2 can also indicate that on RSG2:PW4 protects PW2, subsequent place on RSG2
Reason flow sees the description of the preceding paragraph, and final result is still that correct (PW3 is respectively for escape pseudo-wire deployment what both sides were protected
That PW1 and AC2, PW4 are protected in both sides is AC1 and PW2 respectively).
When (PW3 and PW4, the first escape pseudo-wire can be PW3 to double escape PW, and the second escape pseudo-wire can be PW4, on the contrary
Also can) disposed by mode shown in Fig. 1 c after, the primary network equipment can be RSG1, and backup network equipment can be RSG2, PW3
Parameter in RSG1 can be:PW3 protects the AC1, parameters of the PW4 in RSG1 can be on RSG1:PW4 is protected on RSG1
Protect PW1;Parameters of the PW3 in RSG2 can be:PW3 protects the AC2, parameters of the PW4 in RSG2 can be on RSG2:PW4
PW2 is protected on RSG2.The parameter of PW3 and PW4 in RSG1 can be sent to RSG2 by RSG1, and receive RSG2 transmissions
Parameters of the PW3 and PW4 in RSG2, such RSG1 and RSG2 can be according to PW3 and PW4 parameters in two equipment respectively
Come judge escape PW deployable states, specifically in this example, the circuit types that same escape PW is protected in both sides is identical
(that PW3 protects in both sides is AC, i.e. AC1 and AC2, and that PW4 is protected in both sides is PW, i.e. PW1 and PW2), illustrates to escape
The deployment of PW malfunctions, and deployment mistake can be found in time after double escape PW deployment is completed by thereby realizing.
Certainly, in deployment way shown in Fig. 1 c, parameters of the PW3 in RSG1 can also be:PW3 is protected on RSG1
The parameter of PW1, PW4 in RSG1 can also be:PW4 protects AC1 on RSG1;Parameters of the PW3 in RSG2 can also be:
PW3 protects the PW2, parameters of the PW4 in RSG2 to can also be on RSG2:PW4 protects AC2, subsequent processing stream on RSG2
Journey sees the description of the preceding paragraph, and final result is still to escape that (that PW3 protects in both sides is PW to pseudo-wire deployment mistake, i.e.,
That PW1 and PW2, PW4 are protected in both sides is AC, i.e. AC1 and AC2).
When finding pseudo-wire deployment error, RSG1 and RSG2 can send alarm notification to first network equipment, specifically exist
In above example, first network equipment can be RNC, which can be Operations, Administration and Maintenance (Operation
Administration and Maintenance, OAM) alarm.User can monitor first network equipment, when monitoring the first net
When network equipment receives alarm notification, user is known that escape pseudo-wire deployment mistake and redeploys escape pseudo-wire.
Or when finding pseudo-wire deployment error, RSG1 and RSG2 can negotiate voluntarily to handle, such as RSG1 and RSG2 associations
Quotient determines fault-tolerant by Internet protocol (Internet Protocol, IP) small side in address (or the side of IP address greatly) progress
Processing.
Such as when there is the deployment mistake in Fig. 1 c, negotiable determination carries out fault-tolerant processing by RSG1, then RSG1 can be with
According to parameters of the preset rules update PW3 and PW4 in RSG1 and/or RSG2, preset rules can be:Same escape PW is two
The type for the circuit protected in the Provider Equipment of a dual homed side is different.Such as RSG1 can be by PW3 and PW4 in RSG2 ginseng
Number is updated (as being updated according to shown in Fig. 1 b), and certain RSG1 can also update the parameter of PW3 and PW4 in RSG1,
Or the parameter of PW3 and PW4 in RSG1 and RSG2 is updated simultaneously, specific update method does not limit herein, as long as meeting
The type difference for the circuit that same escape PW is protected in the primary, spare network equipment after update.RSG1 completes parameter
After update, the parameter after update is sent to RSG2, RSG1 and RSG2 and re-establishes escape according to the parameter after update
Pseudo-wire.In certain the present embodiment, it can also negotiate to carry out fault-tolerant processing by RSG2.
In addition, at present in the deployment scenario of double escape PW, the primary, spare network equipment can monitor and the pseudo-wire that is respectively connected
State, when the equal failure of the pseudo-wire for monitoring to be connected with itself, which can send to first network equipment and notice, the
Notice can be presented to user by one network equipment, and user can do the processing of some troubleshootings.This notice mode it is possible that
Dual-homing protection system is unavailable, but since escape pseudo-wire still can be used, the primary, spare network equipment is still without to first network
Equipment sends the case where notice, and failure is caused not exclude in time.Such as in Fig. 1 b, when the equal failures of PW1 and PW2, net at this time
Network is unavailable, but for RSG1, RSG2, and PW3, PW4 are still available, and RSG1, RSG2 will not be sent out to first network equipment
Send notice.
The present embodiment discloses following solution for this problem, i.e., is received in the primary network equipment and come from spare net
Third parameter and second escape pseudo-wire of the first escape pseudo-wire of network equipment in backup network equipment are in backup network equipment
Four parameters when, also receive the status information of the spare pseudo-wire from backup network equipment.The status information of pseudo-wire is for referring to
Show pseudo-lines fault or available.The network equipment primary in this way can be with according to the first parameter, the second parameter, third parameter and the 4th parameter
The topological structure of current dual-homing protection system is obtained, the status information of status information and spare pseudo-wire in conjunction with primary pseudo-wire can
To determine whether dual-homing protection system can be used, when dual-homing protection system is unavailable, the primary network equipment can be to first network
Equipment sends notice, and notice instruction dual-homing protection system is unavailable.
In addition, the primary network equipment is escaped by the first parameter and second of the first escape pseudo-wire on the primary network equipment
Pseudo-wire, can also be by the status information of primary pseudo-wire when the second parameter on the primary network equipment is sent to backup network equipment
It is sent to backup network equipment.
In addition, the status information of primary access link can also be sent to backup network equipment by the primary network equipment, together
When receive backup network equipment send spare access link status information, the primary network equipment can also be by double escape pseudo-wires
Status information and the status information of primary access link be sent to another network equipment on active link, in Fig. 1 b institutes
The example shown exists, and another network equipment can be base station side gateway CSG.
Above embodiment describes pseudo-wire dispositions method provided by the invention from the angle of the primary network equipment, below will
Pseudo-wire dispositions method provided by the invention is described from the angle of backup network equipment, referring to Fig. 3, the method packet of the present embodiment
It includes:
Step 31, backup network equipment receive the first escape pseudo-wire from the primary network equipment on the primary network equipment
The first parameter and the second second parameter of the escape pseudo-wire on the primary network equipment;
First parameter instruction the first escape pseudo-wire protects primary pseudo-wire or primary access link, the second parameter instruction second to escape
Raw pseudo-wire protects primary access link or primary pseudo-wire.
In addition, in the present embodiment, backup network equipment can also be by the first escape pseudo-wire the in backup network equipment
The 4th parameter of three parameters and the second escape pseudo-wire in backup network equipment is sent to the primary network equipment;Wherein, third is joined
Number instruction the first escape pseudo-wire protects spare pseudo-wire or spare access link, the 4th parameter instruction the second escape pseudo-wire protection spare
Access link or spare pseudo-wire.
Step 32, backup network equipment determine that escape is pseudo- according to the first parameter, the second parameter, third parameter and the 4th parameter
Whether line deployment is correct.
The situation of escape pseudo-wire deployment mistake includes any one in following situations:The first situation:First parameter refers to
Show that the primary pseudo-wire of protection and the instruction of third parameter protect spare pseudo-wire;The second situation:Primary access is protected in the instruction of first parameter
Spare access link is protected in link and the instruction of third parameter;The third situation:Primary pseudo-wire and the 4th are protected in the instruction of second parameter
Spare pseudo-wire is protected in parameter instruction;4th kind of situation:The instruction of second parameter protects primary access link and the instruction of the 4th parameter to protect
Protect spare access link.
When determining escape pseudo-wire deployment mistake, backup network equipment can send alarm notification to first network equipment.
Or when determining escape pseudo-wire deployment mistake, backup network equipment is negotiated determination with the primary network equipment and is held
The network equipment of fault reason carries out fault-tolerant processing by negotiating the determining network equipment.
In addition, receiving the first escape pseudo-wire from the primary network equipment on the primary network equipment in backup network equipment
The first parameter and second escape pseudo-wire in the second parameter on the primary network equipment, may also receive from primary network and set
The status information of standby primary pseudo-wire;Backup network equipment according to the status information of primary pseudo-wire, the status information of spare pseudo-wire,
First parameter, the second parameter, third parameter and the 4th parameter determine whether dual-homing protection system can be used.
In third parameter and second escape pseudo-wire of the backup network equipment by the first escape pseudo-wire in backup network equipment
When the 4th parameter in backup network equipment is sent to the primary network equipment, the status information of spare pseudo-wire can also be sent
To the primary network equipment.
When dual-homing protection system is unavailable, backup network equipment can send to first network equipment and notice, and notice refers to
Show that dual-homing protection system is unavailable.
Dual-homing protection system is unavailable to include:The status information of primary pseudo-wire indicates primary pseudo-lines fault and spare pseudo-wire
Status information indicates spare pseudo-lines fault.
Succinctly for description, the step of the present embodiment is not described in detail backup network equipment side, it is aforementioned right to see
The detailed description of primary network equipment side.
In addition, in current dual-homing protection system, the primary, spare network equipment can monitor and the shape for the pseudo-wire being respectively connected
State, when the equal failure of the pseudo-wire for monitoring to be connected with itself, which can send to second network equipment and notice, the second net
Notice can be presented to user by network equipment, and user can do the processing of some troubleshootings.When being deployed with escape in dual-homing protection system
When pseudo-wire, this notice mode is it is possible that dual-homing protection system is unavailable, but pseudo-wire of escaping still can be used, active and standby
The case where noticing will not be sent to second network equipment with the network equipment, failure is caused not exclude in time.Such as shown in Fig. 1 a,
When the equal failures of PW1 and PW2, dual-homing protection system is unavailable at this time, but for RSG1, RSG2, and PW3 is still available,
RSG1, RSG2 will not send to RNC and notice;In Fig. 1 b, when the equal failures of PW1 and PW2, dual-homing protection system can not at this time
With, but for RSG1, RSG2, PW3, PW4 are still available, and RSG1, RSG2 also will not send to RNC and notice.For this
Problem, the present invention propose following solution, which is applied to dual-homing protection system, and dual-homing protection system includes position
In the primary network equipment in primary pseudo-wire and the backup network equipment in spare pseudo-wire, referring to Fig. 4, the present embodiment
Method includes:
Step 41, the primary network equipment receive the status information of the spare pseudo-wire from backup network equipment;
In the specific implementation, the status information of primary pseudo-wire can also be sent to backup network equipment by the primary network equipment,
The status information of pseudo-wire is used to indicate pseudo-lines fault or available.
Step 42, the primary network equipment determine dual homed according to the status information of primary pseudo-wire, the status information of spare pseudo-wire
Whether protection system can be used;
Step 43, when dual-homing protection system is unavailable, the primary network equipment to second network equipment send notice, notice
Indicate that dual-homing protection system is unavailable.
Specifically, dual-homing protection system is unavailable includes:The status information of primary pseudo-wire indicates primary pseudo-lines fault and standby
Spare pseudo-lines fault is indicated with the status information of pseudo-wire.
In the specific implementation, escape pseudo-wire can be deployed between the primary network equipment and backup network equipment, pseudo-wire of escaping
It can be single escape pseudo-wire, can also be double escape pseudo-wires.Certainly, there is no portion between the primary network equipment and backup network equipment
The method of scene the present embodiment of administration's escape pseudo-wire is also suitable, and is not specifically limited herein.
When escape pseudo-wire is double escape pseudo-wires, escape pseudo-wire includes the first escape pseudo-wire and the second escape pseudo-wire, primary
It, can also be by the first escape pseudo-wire in primary net when the status information of primary pseudo-wire is sent to backup network equipment by the network equipment
The second parameter of the first parameter and the second escape pseudo-wire on the primary network equipment in network equipment is sent to backup network equipment,
The primary network equipment may also receive from spare net when receiving the status information of the spare pseudo-wire from backup network equipment
Third parameter and second escape pseudo-wire of the first escape pseudo-wire of network equipment in backup network equipment are in backup network equipment
The 4th parameter.
Wherein, the first escape of the first parameter instruction pseudo-wire protects primary pseudo-wire or primary access link, the instruction of the second parameter
Second escape pseudo-wire protects primary access link or primary pseudo-wire.Third parameter instruction the first escape pseudo-wire protect spare pseudo-wire or
Spare access link, the 4th parameter instruction the second escape pseudo-wire protect spare access link or spare pseudo-wire.
The primary network equipment can obtain current dual homed according to the first parameter, the second parameter, third parameter and the 4th parameter
The topological structure of protection system is assured that dual homed is protected in conjunction with the status information of primary pseudo-wire and the status information of spare pseudo-wire
Whether protecting system can be used, and when dual-homing protection system is unavailable, the primary network equipment can send to first network equipment and notice,
Notice instruction dual-homing protection system is unavailable.
Citing illustrates below, and (the primary network equipment can be RSG1, and backup network equipment can be by taking Fig. 1 a as an example
RSG2, vice versa), in the singly deployment scenario of escape PW, the status information of PW1 can be sent to RSG2 by RSG1, and be connect
The status information for receiving the PW2 that RSG2 is sent, when the status information of PW1 indicates PW1 failures, and the status information instruction PW2 events of PW2
When barrier, no matter PW3 whether failure, RSG1 will determine that dual-homing protection system is unavailable, and RSG1 can send to RNC and notice, and lead to
It is unavailable to accuse instruction dual-homing protection system.
By taking Fig. 1 b as an example (the primary network equipment can be RSG1, and backup network equipment can be RSG2, and vice versa),
In the deployment scenario of double escape PW, RSG1 can by PW3 in the parameter of RSG1, PW4 in the parameter of RSG1 and the status information of PW1
It is sent to RSG2, while receiving the PW3 of RSG2 transmissions in the parameter of RSG2, PW4 in the parameter of RSG2 and the status information of PW2,
RSG1 can be obtained in the parameter of RSG1, PW4 in the parameter in RSG2 of parameter, PW4 of the parameter of RSG1, PW3 in RSG2 according to PW3
To the framework of dual-homing protection system, whether dual-homing protection system can be determined in conjunction with the status information of PW1 and the status information of PW2
It can use.For example, when PW1 status information indicate PW1 failures, and PW2 status information instruction PW2 failures when, no matter PW3 or
PW4 whether failure, RSG1 will determine that dual-homing protection system is unavailable, and RSG1 can send to RNC and notice, notice instruction dual homed
Protection system is unavailable.
In addition, it is necessary to illustrate, notice mode can be with the primary network equipment and backup network disclosed in the present embodiment
The existing notice mode of equipment is compatible with.
Above embodiment describes fault handling method provided by the invention from the angle of the primary network equipment, below will
Fault handling method provided by the invention is described from the angle of backup network equipment, referring to Fig. 5, the method packet of the present embodiment
It includes:
Step 51, backup network equipment receive the status information of the primary pseudo-wire from the primary network equipment;
In the specific implementation, the status information of spare pseudo-wire can also be sent to the primary network equipment by backup network equipment.
Step 52, backup network equipment determine dual homed according to the status information of primary pseudo-wire, the status information of spare pseudo-wire
Whether protection system can be used;
Step 53, when dual-homing protection system is unavailable, backup network equipment to second network equipment send notice, notice
Indicate that dual-homing protection system is unavailable.
In addition, can dispose escape pseudo-wire between the primary network equipment and backup network equipment, escape pseudo-wire can be single
Escape pseudo-wire, or be double escape pseudo-wires.
Dual-homing protection system is unavailable to include:The status information of primary pseudo-wire indicates primary pseudo-lines fault and spare pseudo-wire
Status information indicates spare pseudo-lines fault.
Succinctly for description, the step of the present embodiment is not described in detail backup network equipment side, it is aforementioned right to see
The detailed description of primary network equipment side.
The primary network equipment for implementing pseudo-wire dispositions method shown in Fig. 2 is described below, the primary network equipment is located at double
Return in the primary pseudo-wire of protection system, further includes the backup network equipment being located in spare pseudo-wire in dual-homing protection system, it is primary
The first escape pseudo-wire and the second escape pseudo-wire are deployed between the network equipment and backup network equipment, referring to Fig. 6, the present embodiment
The primary network equipment 60 include:
Communication unit 61, for receives from backup network equipment first escape pseudo-wire in backup network equipment the
The 4th parameter of three parameters and the second escape pseudo-wire in backup network equipment;Third parameter instruction the first escape pseudo-wire protection is standby
With pseudo-wire or spare access link, the 4th parameter instruction the second escape pseudo-wire protects spare access link or spare pseudo-wire;
Processor 62, for determining escape pseudo-wire deployment according to the first parameter, the second parameter, third parameter and the 4th parameter
Whether correct, the first parameter instruction the first escape pseudo-wire protects primary pseudo-wire or primary access link, the second parameter instruction second
Pseudo-wire of escaping protects primary access link or primary pseudo-wire;
Wherein, the situation of escape pseudo-wire deployment mistake includes any one in following situations:The first situation:First ginseng
Number instruction protects primary pseudo-wire and the instruction of third parameter to protect spare pseudo-wire;The second situation:The instruction protection of first parameter is primary
Spare access link is protected in access link and the instruction of third parameter;The third situation:The instruction of second parameter protect primary pseudo-wire and
Spare pseudo-wire is protected in the instruction of 4th parameter;4th kind of situation:The instruction of second parameter protects primary access link and the 4th parameter to refer to
Show the spare access link of protection.
Further, optionally, when determining escape pseudo-wire deployment mistake, processor 62 is additionally operable to assist with backup network equipment
Quotient determines the network equipment for carrying out fault-tolerant processing, and fault-tolerant processing is carried out by negotiating the determining network equipment.
Further, optionally, when determining escape pseudo-wire deployment mistake, communication unit 61 is additionally operable to first network equipment
Send alarm notification.
Further, communication unit 61 receives the first escape pseudo-wire from backup network equipment in backup network equipment
Third parameter and second escape pseudo-wire in four parameter in backup network equipment, also receive from backup network equipment
The status information of spare pseudo-wire;
Processor 62 according to the status information of primary pseudo-wire, the status information of spare pseudo-wire, the first parameter, the second parameter,
Third parameter and the 4th parameter determine whether dual-homing protection system can be used;
When dual-homing protection system is unavailable, communication unit 61 is additionally operable to send to first network equipment and notice, and notice refers to
Show that dual-homing protection system is unavailable.
Further, dual-homing protection system is unavailable includes:The status information of primary pseudo-wire indicate primary pseudo-lines fault and
The status information of spare pseudo-wire indicates spare pseudo-lines fault.
In addition, communication unit 61 can also escape first parameter and second of the first escape pseudo-wire on the primary network equipment
Second parameter of the raw pseudo-wire on the primary network equipment is sent to backup network equipment;And the status information of primary pseudo-wire is sent out
Give backup network equipment.
It should be noted that the step of not being described in detail in the present embodiment sees retouching for embodiment of the method shown in Fig. 2
It states, details are not described herein again.
With method shown in Fig. 2 correspondingly, Fig. 7 shows another embodiment of the primary network equipment 70 provided by the invention
The primary network equipment 70 of schematic diagram, the present embodiment can be provider edge equipment (Provider Edge, PE), such as nothing
Line service side gateway RSG.The primary network equipment 70 includes communication port 71, processor 72, memory 73 and bus 74.Processor
72, the memory 73 and the communication interface 71 are connected by the bus 74 and complete mutual communication.
The bus 74 can be industry standard architecture (Industry Standard Architecture, abbreviation
For ISA) bus or external equipment interconnection (Peripheral Component, referred to as PCI) bus or extension industrial standard body
Architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc..The bus can be with
It is divided into one or more in address bus, data/address bus, controlling bus.For ease of indicating, only with a thick line table in Fig. 7
Show, it is not intended that an only bus or a type of bus.
For the memory 73 for storing executable program code, which includes computer-managed instruction.Work as master
When executing the program code with the network equipment 70, the primary network equipment 70 can complete step 21~23 of Fig. 2 embodiments, also may be used
Institute to realize the primary network equipment 60 in Fig. 6 embodiments is functional.The memory 73 can include high-speed RAM (Ramdom
Access Memory) memory.Optionally, the memory 73 can also further include nonvolatile memory (non-
volatile memory).Such as the memory 73 may include magnetic disk storage.
The processor 72 can be a central processing unit (Central Processing Unit, referred to as CPU),
Or the processor 72 can be specific integrated circuit (Application Specific Integrated Circuit, letter
Referred to as ASIC) or the processor 72 can be arranged to implement the embodiment of the present invention one or more integrated circuits.
The processor 72, for executing all operations performed by the processor 62 of the primary network equipment 60 shown in Fig. 6,
Details are not described herein again.
The communication interface 71, for executing the institute performed by the communication unit 61 in the primary network equipment 60 shown in Fig. 6
There is operation, details are not described herein again.
The backup network equipment for pseudo-wire dispositions method shown in implementing Fig. 3 is described below, backup network equipment is located at double
Return in the spare pseudo-wire of protection system, further includes the primary network equipment being located in primary pseudo-wire in dual-homing protection system, it is primary
The first escape pseudo-wire and the second escape pseudo-wire are deployed between the network equipment and backup network equipment, referring to Fig. 8, the present embodiment
Backup network equipment 80 include:
Communication unit 81, for receives from the primary network equipment first escape pseudo-wire on the primary network equipment the
The second parameter of one parameter and the second escape pseudo-wire on the primary network equipment;First parameter instruction the first escape pseudo-wire is protected
Primary pseudo-wire or primary access link are protected, the second parameter instruction the second escape pseudo-wire protects primary access link or primary pseudo-wire;
Processor 82, for determining escape pseudo-wire deployment according to the first parameter, the second parameter, third parameter and the 4th parameter
It is whether correct;Third parameter instruction the first escape pseudo-wire protects spare pseudo-wire or spare access link, the 4th parameter instruction second
Pseudo-wire of escaping protects spare access link or spare pseudo-wire;
Wherein, the situation of escape pseudo-wire deployment mistake includes any one in following situations:The first situation:First ginseng
Number instruction protects primary pseudo-wire and the instruction of third parameter to protect spare pseudo-wire;The second situation:The instruction protection of first parameter is primary
Spare access link is protected in access link and the instruction of third parameter;The third situation:The instruction of second parameter protect primary pseudo-wire and
Spare pseudo-wire is protected in the instruction of 4th parameter;4th kind of situation:The instruction of second parameter protects primary access link and the 4th parameter to refer to
Show the spare access link of protection.
Further, optionally, when determining escape pseudo-wire deployment mistake, processor 82 is additionally operable to assist with the primary network equipment
Quotient determines the network equipment for carrying out fault-tolerant processing, and fault-tolerant processing is carried out by negotiating the determining network equipment.
Further, optionally, when determining escape pseudo-wire deployment mistake, communication unit 81 is additionally operable to first network equipment
Send alarm notification.
Further, communication unit 81 receives the first escape pseudo-wire from the primary network equipment on the primary network equipment
The first parameter and second escape pseudo-wire in the second parameter on the primary network equipment, also receive from the primary network equipment
The status information of primary pseudo-wire;
Processor 82 according to the status information of primary pseudo-wire, the status information of spare pseudo-wire, the first parameter, the second parameter,
Third parameter and the 4th parameter determine whether dual-homing protection system can be used;
When dual-homing protection system is unavailable, communication unit 81 is additionally operable to send to first network equipment and notice, and notice refers to
Show that dual-homing protection system is unavailable.
Further, dual-homing protection system is unavailable includes:The status information of primary pseudo-wire indicate primary pseudo-lines fault and
The status information of spare pseudo-wire indicates spare pseudo-lines fault.
In addition, communication unit 81 can also escape third parameter and second of the first escape pseudo-wire in backup network equipment
Fourth parameter of the raw pseudo-wire in backup network equipment is sent to the primary network equipment;And the status information of spare pseudo-wire is sent out
Give the primary network equipment.
It should be noted that the step of not being described in detail in the present embodiment sees retouching for embodiment of the method shown in Fig. 3
It states, details are not described herein again.
Correspondingly, Fig. 9 shows another embodiment of backup network equipment 90 provided by the invention to method as shown in figure 3
The backup network equipment 90 of schematic diagram, the present embodiment can be provider edge equipment (Provider Edge, PE), such as nothing
Line service side gateway RSG.Backup network equipment 90 includes communication port 91, processor 92, memory 93 and bus 94.Processor
92, the memory 93 and the communication interface 91 are connected by the bus 94 and complete mutual communication.
The bus 94 can be industry standard architecture (Industry Standard Architecture, abbreviation
For ISA) bus or external equipment interconnection (Peripheral Component, referred to as PCI) bus or extension industrial standard body
Architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc..The bus can be with
It is divided into one or more in address bus, data/address bus, controlling bus.For ease of indicating, only with a thick line table in Fig. 9
Show, it is not intended that an only bus or a type of bus.
For the memory 93 for storing executable program code, which includes computer-managed instruction.When standby
When executing the program code with the network equipment 90, backup network equipment 90 can complete step 31~33 of Fig. 3 embodiments, also may be used
Institute to realize backup network equipment 80 in Fig. 8 embodiments is functional.The memory 93 can include high-speed RAM (Ramdom
Access Memory) memory.Optionally, the memory 93 can also further include nonvolatile memory (non-
volatile memory).Such as the memory 93 may include magnetic disk storage.
The processor 92 can be a central processing unit (Central Processing Unit, referred to as CPU),
Or the processor 92 can be specific integrated circuit (Application Specific Integrated Circuit, letter
Referred to as ASIC) or the processor 92 can be arranged to implement the embodiment of the present invention one or more integrated circuits.
The processor 92, for executing all operations performed by the processor 82 of backup network equipment shown in Fig. 8 80,
Details are not described herein again.
The communication interface 91, for executing the institute performed by the communication unit 81 in backup network equipment shown in Fig. 8 80
There is operation, details are not described herein again.
The primary network equipment for implementing fault handling method shown in Fig. 4 is described below, the primary network equipment is located at double
Return in the primary pseudo-wire of protection system, further includes the backup network equipment being located in spare pseudo-wire in dual-homing protection system, please join
Figure 10 is read, the primary network equipment 100 of the present embodiment includes:
Communication unit 101, the status information for receiving the spare pseudo-wire from backup network equipment;
Processor 102, for determining dual-homing protection system according to the status information of primary pseudo-wire, the status information of spare pseudo-wire
Whether system can be used;
When dual-homing protection system is unavailable, communication unit 101 is additionally operable to send to second network equipment and notice, and notice refers to
Show that dual-homing protection system is unavailable.
Further, escape pseudo-wire is deployed between the primary network equipment and backup network equipment, escape pseudo-wire is singly to escape
Raw pseudo-wire, or escape pseudo-wire are double escape pseudo-wires.
Further, dual-homing protection system is unavailable includes:The status information of primary pseudo-wire indicate primary pseudo-lines fault and
The status information of spare pseudo-wire indicates spare pseudo-lines fault.
In addition, the status information of primary pseudo-wire can also be sent to backup network equipment by communication unit 101.
It should be noted that the step of not being described in detail in the present embodiment sees retouching for embodiment of the method shown in Fig. 4
It states, details are not described herein again.
With method shown in Fig. 4 correspondingly, Figure 11 shows another implementation of the primary network equipment 110 provided by the invention
It illustrating and is intended to, the primary network equipment 110 of the present embodiment can be provider edge equipment (Provider Edge, PE), such as
Wireless traffic side gateway RSG.The primary network equipment 110 includes communication port 111, processor 112, memory 113 and bus
114.Processor 112, the memory 113 and the communication interface 111 are connected and are completed mutual by the bus 114
Communication.
The bus 114 can be industry standard architecture (Industry Standard Architecture, abbreviation
For ISA) bus or external equipment interconnection (Peripheral Component, referred to as PCI) bus or extension industrial standard body
Architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc..The bus can be with
It is divided into one or more in address bus, data/address bus, controlling bus.For ease of indicating, only with a thick line table in Figure 11
Show, it is not intended that an only bus or a type of bus.
For the memory 113 for storing executable program code, which includes computer-managed instruction.Work as master
When executing the program code with the network equipment 110, the primary network equipment 110 can complete step 41~44 of Fig. 4 embodiments,
The institute that the primary network equipment 100 in Figure 10 embodiments may be implemented is functional.The memory 113 can include high-speed RAM
(Ramdom Access Memory) memory.Optionally, the memory 113 can also further include nonvolatile memory
(non-volatile memory).Such as the memory 113 may include magnetic disk storage.
The processor 112 can be a central processing unit (Central Processing Unit, referred to as CPU),
Or the processor 112 can be specific integrated circuit (Application Specific Integrated Circuit,
Referred to as ASIC) or the processor 112 can be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.
The processor 112, it is all performed by the processor 102 of the primary network equipment 100 shown in Figure 10 for executing
Operation, details are not described herein again.
The communication interface 111, for executing performed by the communication unit 101 in the primary network equipment 100 shown in Figure 10
All operations, details are not described herein again.
The backup network equipment for implementing fault handling method shown in Fig. 5 is described below, backup network equipment is located at double
Return in the spare pseudo-wire of protection system, further includes the primary network equipment being located in primary pseudo-wire in dual-homing protection system, please join
Figure 12 is read, the backup network equipment 120 of the present embodiment includes:
Communication unit 121, the status information for receiving the primary pseudo-wire from the primary network equipment;
Processor 122, for determining dual-homing protection system according to the status information of primary pseudo-wire, the status information of spare pseudo-wire
Whether system can be used;
When dual-homing protection system is unavailable, communication unit 121 is additionally operable to send to second network equipment and notice, and notice refers to
Show that dual-homing protection system is unavailable.
Further, escape pseudo-wire is deployed between the primary network equipment and backup network equipment, escape pseudo-wire is singly to escape
Raw pseudo-wire, or escape pseudo-wire are double escape pseudo-wires.
Further, dual-homing protection system is unavailable includes:The status information of primary pseudo-wire indicate primary pseudo-lines fault and
The status information of spare pseudo-wire indicates spare pseudo-lines fault.
In addition, the status information of spare pseudo-wire can also be sent to the primary network equipment by communication unit 121.
It should be noted that the step of not being described in detail in the present embodiment sees retouching for embodiment of the method shown in Fig. 5
It states, details are not described herein again.
With method shown in Fig. 5 correspondingly, Figure 13 shows another implementation of backup network equipment 130 provided by the invention
It illustrating and is intended to, the backup network equipment 130 of the present embodiment can be provider edge equipment (Provider Edge, PE), such as
Wireless traffic side gateway RSG.Backup network equipment 130 includes communication port 131, processor 132, memory 133 and bus
134.Processor 132, the memory 133 and the communication interface 131 are connected and are completed mutual by the bus 134
Communication.
The bus 134 can be industry standard architecture (Industry Standard Architecture, abbreviation
For ISA) bus or external equipment interconnection (Peripheral Component, referred to as PCI) bus or extension industrial standard body
Architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc..The bus can be with
It is divided into one or more in address bus, data/address bus, controlling bus.For ease of indicating, only with a thick line table in Figure 13
Show, it is not intended that an only bus or a type of bus.
For the memory 133 for storing executable program code, which includes computer-managed instruction.When standby
When executing the program code with the network equipment 130, backup network equipment 130 can complete step 51~54 of Fig. 5 embodiments,
The institute that backup network equipment 120 in Figure 12 embodiments may be implemented is functional.The memory 133 can include high-speed RAM
(Ramdom Access Memory) memory.Optionally, the memory 133 can also further include nonvolatile memory
(non-volatile memory).Such as the memory 133 may include magnetic disk storage.
The processor 132 can be a central processing unit (Central Processing Unit, referred to as CPU),
Or the processor 132 can be specific integrated circuit (Application Specific Integrated Circuit,
Referred to as ASIC) or the processor 132 can be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.
The processor 132, it is all performed by the processor 122 of backup network equipment shown in Figure 12 120 for executing
Operation, details are not described herein again.
The communication interface 131, for executing performed by the communication unit 121 in backup network equipment shown in Figure 12 120
All operations, details are not described herein again.
Figure 14 shows that a kind of dual-homing protection system 140 provided in an embodiment of the present invention, the dual-homing protection system 140 are wrapped
Include the primary network equipment 60 that above-mentioned embodiment illustrated in fig. 6 provides and the backup network equipment 80 that embodiment illustrated in fig. 8 provides;
Alternatively, the dual-homing protection system 140 includes the primary network equipment 70 that above-mentioned embodiment illustrated in fig. 7 provides and figure
The backup network equipment 90 that 9 illustrated embodiments provide;
In addition, can also include other network equipments, such as base station side gateway CSG, Yi Jiwu in dual-homing protection system 140
Line network controller RNC etc..
Figure 15 shows that a kind of dual-homing protection system 150 provided in an embodiment of the present invention, the dual-homing protection system 150 are wrapped
Include the primary network equipment 100 that above-mentioned embodiment illustrated in fig. 10 provides and the backup network equipment that embodiment illustrated in fig. 12 provides
120;
Alternatively, the dual-homing protection system 150 includes 110 He of the primary network equipment that above-mentioned embodiment illustrated in fig. 11 provides
The backup network equipment 130 that embodiment illustrated in fig. 13 provides.
In addition, can also include other network equipments, such as base station side gateway CSG, Yi Jiwu in dual-homing protection system 150
Line network controller RNC etc..
In addition it should be noted that, the apparatus embodiments described above are merely exemplary, wherein described as separation
The unit of part description may or may not be physically separated.Portion therein can be selected according to the actual needs
Point or whole module achieve the purpose of the solution of this embodiment.In addition, in device embodiment attached drawing provided by the invention, module
Between connection relation indicate that there is between them communication connection, specifically can be implemented as one or more communication bus or signal
Line.Those of ordinary skill in the art are without creative efforts, you can to understand and implement.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can borrow
Help software that the mode of required common hardware is added to realize, naturally it is also possible to by specialized hardware include application-specific integrated circuit, specially
It is realized with CPU, private memory, special components and parts etc..Under normal circumstances, all functions of being completed by computer program can
It is easily realized with corresponding hardware, moreover, for realizing that the particular hardware structure of same function can also be a variety of more
Sample, such as analog circuit, digital circuit or special circuit etc..But it is more for the purpose of the present invention in the case of software program it is real
It is now more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words makes the prior art
The part of contribution can be expressed in the form of software products, which is stored in the storage medium that can be read
In, such as the floppy disk of computer, USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory
Device (RAM, Random Access Memory), magnetic disc or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes the method described in each embodiment of the present invention.
It is provided for the embodiments of the invention a kind of pseudo-wire dispositions method, fault handling method, relevant device and double above
Protection system is returned to be described in detail, for those of ordinary skill in the art, the thought of embodiment, is having according to the present invention
There will be changes in body embodiment and application range, therefore, the content of the present specification should not be construed as the limit to the present invention
System.
Claims (29)
1. a kind of pseudo-wire dispositions method, which is characterized in that the pseudo-wire dispositions method is applied to dual-homing protection system, the dual homed
Protection system includes the primary network equipment being located in primary pseudo-wire and the backup network equipment in spare pseudo-wire, the master
Be deployed between the network equipment and the backup network equipment the first escape pseudo-wire and second escape pseudo-wire;
The primary network equipment receives the first escape pseudo-wire from the backup network equipment in the backup network
The 4th parameter of third parameter and the second escape pseudo-wire in the backup network equipment in equipment;The third parameter
Indicate that the first escape pseudo-wire protects the spare pseudo-wire or spare access link, the 4th parameter instruction described second to escape
Raw pseudo-wire protects the spare access link or the spare pseudo-wire;
The primary network equipment is determined according to the first parameter, the second parameter, the third parameter and the 4th parameter and is escaped
Whether pseudo-wire deployment is correct, and the first parameter instruction the first escape pseudo-wire protects the primary pseudo-wire or primary access chain
Road, the second parameter instruction the second escape pseudo-wire protect the primary access link or the primary pseudo-wire;
Wherein, the situation of the escape pseudo-wire deployment mistake includes any one in following situations:The first situation:Described
The instruction of one parameter protects primary pseudo-wire and third parameter instruction to protect spare pseudo-wire;The second situation:First parameter
Instruction protects primary access link and third parameter instruction to protect spare access link;The third situation:Second ginseng
Number instruction protects primary pseudo-wire and the instruction of the 4th parameter to protect spare pseudo-wire;4th kind of situation:The second parameter instruction protection
Spare access link is protected in primary access link and the instruction of the 4th parameter.
2. according to the method described in claim 1, it is characterized in that, when determine escape pseudo-wire deployment mistake when, the primary net
Network equipment and the backup network equipment negotiate to determine the network equipment for carrying out fault-tolerant processing, by negotiate the determining network equipment into
Row fault-tolerant processing.
3. according to the method described in claim 1, it is characterized in that, when determine escape pseudo-wire deployment mistake when, the primary net
Network equipment sends alarm notification to first network equipment.
4. according to the method described in claims 1 to 3 any one, which is characterized in that the primary network equipment reception comes from
Third parameter and described second of the first escape pseudo-wire of the backup network equipment in the backup network equipment are escaped
Raw pseudo-wire also receives the spare puppet from the backup network equipment in four parameter in the backup network equipment
The status information of line;
The primary network equipment is according to the status information of the primary pseudo-wire, the status information of the spare pseudo-wire, and described
One parameter, second parameter, the third parameter and the 4th parameter determine whether the dual-homing protection system can be used;
When the dual-homing protection system is unavailable, the primary network equipment sends to first network equipment and notices, described logical
It accuses and indicates that the dual-homing protection system is unavailable.
5. according to the method described in claim 4, it is characterized in that, the dual-homing protection system is unavailable includes:It is described primary
The status information of pseudo-wire indicates the status information instruction of the primary pseudo-lines fault and the spare pseudo-wire spare pseudo-wire event
Barrier.
6. a kind of pseudo-wire dispositions method, which is characterized in that the pseudo-wire dispositions method is applied to dual-homing protection system, the dual homed
Protection system includes the primary network equipment being located in primary pseudo-wire and the backup network equipment in spare pseudo-wire, the master
Be deployed between the network equipment and the backup network equipment the first escape pseudo-wire and second escape pseudo-wire;
The backup network equipment receives the first escape pseudo-wire from the primary network equipment in the primary network
The second parameter of the first parameter and the second escape pseudo-wire on the primary network equipment in equipment;First parameter
Indicate that the first escape pseudo-wire protects the primary pseudo-wire or primary access link, the second parameter instruction described second to escape
Raw pseudo-wire protects the primary access link or the primary pseudo-wire;
The backup network equipment is determined according to first parameter, second parameter, third parameter and the 4th parameter and is escaped
Whether pseudo-wire deployment is correct, and third parameter instruction the first escape pseudo-wire protects the spare pseudo-wire or spare access chain
Road, the 4th parameter instruction the second escape pseudo-wire protect the spare access link or the spare pseudo-wire;
Wherein, the situation of the escape pseudo-wire deployment mistake includes any one in following situations:The first situation:Described
The instruction of one parameter protects primary pseudo-wire and third parameter instruction to protect spare pseudo-wire;The second situation:First parameter
Instruction protects primary access link and third parameter instruction to protect spare access link;The third situation:Second ginseng
Number instruction protects primary pseudo-wire and the instruction of the 4th parameter to protect spare pseudo-wire;4th kind of situation:The second parameter instruction protection
Spare access link is protected in primary access link and the instruction of the 4th parameter.
7. according to the method described in claim 6, it is characterized in that, when determine escape pseudo-wire deployment mistake when, the spare net
Network equipment negotiates to determine the network equipment for carrying out fault-tolerant processing with the primary network equipment, by negotiate the determining network equipment into
Row fault-tolerant processing.
8. according to the method described in claim 6, it is characterized in that, when determine escape pseudo-wire deployment mistake when, the spare net
Network equipment sends alarm notification to first network equipment.
9. according to the method described in claim 6 to 8 any one, which is characterized in that the backup network equipment reception comes from
First parameter and described second of the first escape pseudo-wire of the primary network equipment on the primary network equipment are escaped
Raw pseudo-wire also receives the primary puppet from the primary network equipment in the second parameter on the primary network equipment
The status information of line;
The backup network equipment is according to the status information of the primary pseudo-wire, the status information of the spare pseudo-wire, and described
One parameter, second parameter, the third parameter and the 4th parameter determine whether the dual-homing protection system can be used;
When the dual-homing protection system is unavailable, the backup network equipment sends to first network equipment and notices, described logical
It accuses and indicates that the dual-homing protection system is unavailable.
10. according to the method described in claim 9, it is characterized in that, the dual-homing protection system is unavailable includes:It is described primary
The status information of pseudo-wire indicates the status information instruction of the primary pseudo-lines fault and the spare pseudo-wire spare pseudo-wire event
Barrier.
11. a kind of fault handling method, which is characterized in that the fault handling method is applied to dual-homing protection system, described double
Return protection system include be located at primary pseudo-wire on the primary network equipment and the backup network equipment in spare pseudo-wire, it is described
Method includes:
The primary network equipment receives the status information of the spare pseudo-wire from the backup network equipment;
Described in the primary network equipment is determined according to the status information of the primary pseudo-wire, the status information of the spare pseudo-wire
Whether dual-homing protection system can be used;
When the dual-homing protection system is unavailable, the primary network equipment sends to second network equipment and notices, described logical
It accuses and indicates that the dual-homing protection system is unavailable;
Escape pseudo-wire is deployed between the primary network equipment and the backup network equipment, the escape pseudo-wire is single escapes
Pseudo-wire or the escape pseudo-wire are double escape pseudo-wires;
When escape pseudo-wire is double escape pseudo-wires, escape pseudo-wire includes the first escape pseudo-wire and the second escape pseudo-wire, described primary
The network equipment obtains the topological frame of current dual-homing protection system according to the first parameter, the second parameter, third parameter and the 4th parameter
Structure determines whether dual-homing protection system can be used in conjunction with the status information of primary pseudo-wire and the status information of spare pseudo-wire;
Wherein, first parameter refers to the parameter of the first escape pseudo-wire on the primary network equipment, described second
Parameter refers to parameter of the second escape pseudo-wire on the primary network equipment, and the third parameter refers to that first escape is pseudo-
Parameter of the line in the backup network equipment, the 4th parameter refer to that the second escape pseudo-wire is set in the backup network
Standby upper parameter.
12. according to the method for claim 11, which is characterized in that the dual-homing protection system is unavailable to include:The master
Indicate that the status information of the primary pseudo-lines fault and the spare pseudo-wire indicates the spare pseudo-wire with the status information of pseudo-wire
Failure.
13. a kind of fault handling method, which is characterized in that the fault handling method is applied to dual-homing protection system, described double
Return protection system include be located at primary pseudo-wire on the primary network equipment and the backup network equipment in spare pseudo-wire, it is described
Method includes:
The backup network equipment receives the status information of the primary pseudo-wire from the primary network equipment;
Described in the backup network equipment is determined according to the status information of the primary pseudo-wire, the status information of the spare pseudo-wire
Whether dual-homing protection system can be used;
When the dual-homing protection system is unavailable, the backup network equipment sends to second network equipment and notices, described logical
It accuses and indicates that the dual-homing protection system is unavailable;
Escape pseudo-wire is deployed between the primary network equipment and the backup network equipment, the escape pseudo-wire is single escapes
Pseudo-wire or the escape pseudo-wire are double escape pseudo-wires;
When escape pseudo-wire is double escape pseudo-wires, escape pseudo-wire includes the first escape pseudo-wire and the second escape pseudo-wire, described primary
The network equipment obtains the topological frame of current dual-homing protection system according to the first parameter, the second parameter, third parameter and the 4th parameter
Structure determines whether dual-homing protection system can be used in conjunction with the status information of primary pseudo-wire and the status information of spare pseudo-wire;
Wherein, first parameter refers to the parameter of the first escape pseudo-wire on the primary network equipment, described second
Parameter refers to parameter of the second escape pseudo-wire on the primary network equipment, and the third parameter refers to that first escape is pseudo-
Parameter of the line in the backup network equipment, the 4th parameter refer to that the second escape pseudo-wire is set in the backup network
Standby upper parameter.
14. according to the method for claim 13, which is characterized in that the dual-homing protection system is unavailable to include:The master
Indicate that the status information of the primary pseudo-lines fault and the spare pseudo-wire indicates the spare pseudo-wire with the status information of pseudo-wire
Failure.
15. a kind of primary network equipment, which is characterized in that the primary network equipment is located at the primary pseudo-wire of dual-homing protection system
On, further include the backup network equipment being located in spare pseudo-wire, the primary network equipment and institute in the dual-homing protection system
It states and is deployed with the first escape pseudo-wire and the second escape pseudo-wire between backup network equipment, the primary network equipment includes:
Communication unit, for receiving the first escape pseudo-wire from the backup network equipment in the backup network equipment
On third parameter and fourth parameter of the second escape pseudo-wire in the backup network equipment;The third parameter instruction
The first escape pseudo-wire protects the spare pseudo-wire or spare access link, the 4th parameter instruction second escape pseudo-
Line protects the spare access link or the spare pseudo-wire;
Processor, for determining escape pseudo-wire portion according to the first parameter, the second parameter, the third parameter and the 4th parameter
Whether administration is correct, and the first parameter instruction the first escape pseudo-wire protects the primary pseudo-wire or primary access link, institute
It states the second parameter instruction the second escape pseudo-wire and protects the primary access link or the primary pseudo-wire;
Wherein, the situation of the escape pseudo-wire deployment mistake includes any one in following situations:The first situation:Described
The instruction of one parameter protects primary pseudo-wire and third parameter instruction to protect spare pseudo-wire;The second situation:First parameter
Instruction protects primary access link and third parameter instruction to protect spare access link;The third situation:Second ginseng
Number instruction protects primary pseudo-wire and the instruction of the 4th parameter to protect spare pseudo-wire;4th kind of situation:The second parameter instruction protection
Spare access link is protected in primary access link and the instruction of the 4th parameter.
16. the primary network equipment according to claim 15, which is characterized in that when determining escape pseudo-wire deployment mistake,
The processor is additionally operable to negotiate to determine the network equipment for carrying out fault-tolerant processing with the backup network equipment, by negotiating determination
The network equipment carries out fault-tolerant processing.
17. the primary network equipment according to claim 15, which is characterized in that when determining escape pseudo-wire deployment mistake,
The communication unit is additionally operable to send alarm notification to first network equipment.
18. the primary network equipment according to claim 15 to 17 any one, which is characterized in that the communication unit connects
Receive the first third parameter of the escape pseudo-wire in the backup network equipment from the backup network equipment and described
Second escape pseudo-wire is also received in four parameter in the backup network equipment from described in the backup network equipment
The status information of spare pseudo-wire;
The processor according to the status information of the primary pseudo-wire, the status information of the spare pseudo-wire, first parameter,
Second parameter, the third parameter and the 4th parameter determine whether the dual-homing protection system can be used;
When the dual-homing protection system is unavailable, the communication unit is additionally operable to send to first network equipment and notice, described
Notice indicates that the dual-homing protection system is unavailable.
19. the primary network equipment according to claim 18, which is characterized in that the unavailable packet of dual-homing protection system
It includes:The status information of the primary pseudo-wire indicates described in the status information instruction of the primary pseudo-lines fault and the spare pseudo-wire
Spare pseudo-lines fault.
20. a kind of backup network equipment, which is characterized in that the backup network equipment is located at the spare pseudo-wire of dual-homing protection system
On, further include the primary network equipment being located in primary pseudo-wire, the primary network equipment and institute in the dual-homing protection system
It states and is deployed with the first escape pseudo-wire and the second escape pseudo-wire between backup network equipment, the backup network equipment includes:
Communication unit, for receiving the first escape pseudo-wire from the primary network equipment in the primary network equipment
On the first parameter and second parameter of the second escape pseudo-wire on the primary network equipment;The first parameter instruction
The first escape pseudo-wire protects the primary pseudo-wire or primary access link, the second parameter instruction second escape pseudo-
Line protects the primary access link or the primary pseudo-wire;
Processor, for determining escape pseudo-wire portion according to first parameter, second parameter, third parameter and the 4th parameter
Whether administration is correct, and third parameter instruction the first escape pseudo-wire protects the spare pseudo-wire or spare access link, institute
It states the 4th parameter instruction the second escape pseudo-wire and protects the spare access link or the spare pseudo-wire;
Wherein, the situation of the escape pseudo-wire deployment mistake includes any one in following situations:The first situation:Described
The instruction of one parameter protects primary pseudo-wire and third parameter instruction to protect spare pseudo-wire;The second situation:First parameter
Instruction protects primary access link and third parameter instruction to protect spare access link;The third situation:Second ginseng
Number instruction protects primary pseudo-wire and the instruction of the 4th parameter to protect spare pseudo-wire;4th kind of situation:The second parameter instruction protection
Spare access link is protected in primary access link and the instruction of the 4th parameter.
21. backup network equipment according to claim 20, which is characterized in that when determining escape pseudo-wire deployment mistake,
The processor is additionally operable to negotiate to determine the network equipment for carrying out fault-tolerant processing with the primary network equipment, by negotiating determination
The network equipment carries out fault-tolerant processing.
22. backup network equipment according to claim 20, which is characterized in that when determining escape pseudo-wire deployment mistake,
The communication unit is additionally operable to send alarm notification to first network equipment.
23. the backup network equipment according to claim 20 to 22 any one, which is characterized in that the communication unit connects
Receive first first parameter of the escape pseudo-wire on the primary network equipment from the primary network equipment and described
Second escape pseudo-wire is also received in the second parameter on the primary network equipment from described in the primary network equipment
The status information of primary pseudo-wire;
The processor according to the status information of the primary pseudo-wire, the status information of the spare pseudo-wire, first parameter,
Second parameter, the third parameter and the 4th parameter determine whether the dual-homing protection system can be used;
When the dual-homing protection system is unavailable, the communication unit is additionally operable to send to first network equipment and notice, described
Notice indicates that the dual-homing protection system is unavailable.
24. backup network equipment according to claim 23, which is characterized in that the unavailable packet of dual-homing protection system
It includes:The status information of the primary pseudo-wire indicates described in the status information instruction of the primary pseudo-lines fault and the spare pseudo-wire
Spare pseudo-lines fault.
25. a kind of primary network equipment, which is characterized in that the primary network equipment is located at the primary pseudo-wire of dual-homing protection system
On, further include the backup network equipment being located in spare pseudo-wire in the dual-homing protection system, the primary network equipment includes:
Communication unit, the status information for receiving the spare pseudo-wire from the backup network equipment;
Processor, for determining the dual homed according to the status information of the primary pseudo-wire, the status information of the spare pseudo-wire
Whether protection system can be used;
When the dual-homing protection system is unavailable, the communication unit is additionally operable to send to second network equipment and notice, described
Notice indicates that the dual-homing protection system is unavailable;
Escape pseudo-wire is deployed between the primary network equipment and the backup network equipment, the escape pseudo-wire is single escapes
Pseudo-wire or the escape pseudo-wire are double escape pseudo-wires;
The processor is specifically used for when pseudo-wire of escaping is double escape pseudo-wires, and escape pseudo-wire includes the first escape pseudo-wire and second
Escape pseudo-wire, the primary network equipment obtain current dual homed according to the first parameter, the second parameter, third parameter and the 4th parameter
The topological structure of protection system determines dual-homing protection system in conjunction with the status information of primary pseudo-wire and the status information of spare pseudo-wire
Whether can be used;
Wherein, first parameter refers to the parameter of the first escape pseudo-wire on the primary network equipment, described second
Parameter refers to parameter of the second escape pseudo-wire on the primary network equipment, and the third parameter refers to that first escape is pseudo-
Parameter of the line in the backup network equipment, the 4th parameter refer to that the second escape pseudo-wire is set in the backup network
Standby upper parameter.
26. the primary network equipment according to claim 25, which is characterized in that the unavailable packet of dual-homing protection system
It includes:The status information of the primary pseudo-wire indicates described in the status information instruction of the primary pseudo-lines fault and the spare pseudo-wire
Spare pseudo-lines fault.
27. a kind of backup network equipment, which is characterized in that the backup network equipment is located at the spare pseudo-wire of dual-homing protection system
On, further include the primary network equipment being located in primary pseudo-wire in the dual-homing protection system, the backup network equipment includes:
Communication unit, the status information for receiving the primary pseudo-wire from the primary network equipment;
Processor, for determining the dual homed according to the status information of the primary pseudo-wire, the status information of the spare pseudo-wire
Whether protection system can be used;
When the dual-homing protection system is unavailable, the communication unit is additionally operable to send to second network equipment and notice, described
Notice indicates that the dual-homing protection system is unavailable;
Escape pseudo-wire is deployed between the primary network equipment and the backup network equipment, the escape pseudo-wire is single escapes
Pseudo-wire or the escape pseudo-wire are double escape pseudo-wires;
When escape pseudo-wire is double escape pseudo-wires, escape pseudo-wire includes the first escape pseudo-wire and the second escape pseudo-wire, described primary
The network equipment obtains the topological frame of current dual-homing protection system according to the first parameter, the second parameter, third parameter and the 4th parameter
Structure determines whether dual-homing protection system can be used in conjunction with the status information of primary pseudo-wire and the status information of spare pseudo-wire;
Wherein, first parameter refers to the parameter of the first escape pseudo-wire on the primary network equipment, described second
Parameter refers to parameter of the second escape pseudo-wire on the primary network equipment, and the third parameter refers to that first escape is pseudo-
Parameter of the line in the backup network equipment, the 4th parameter refer to that the second escape pseudo-wire is set in the backup network
Standby upper parameter.
28. backup network equipment according to claim 27, which is characterized in that the unavailable packet of dual-homing protection system
It includes:The status information of the primary pseudo-wire indicates described in the status information instruction of the primary pseudo-lines fault and the spare pseudo-wire
Spare pseudo-lines fault.
29. a kind of dual-homing protection system, which is characterized in that including according to the primary network of claim 15 to 19 any one of them
Equipment, and according to claim 20 to 24 any one of them backup network equipment;Or including according to claim 25 or
The primary network equipment described in 26, and the backup network equipment according to claim 27 or 28.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510466118.8A CN105071960B (en) | 2015-07-31 | 2015-07-31 | Pseudo-wire dispositions method, fault handling method, relevant device and dual-homing protection system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510466118.8A CN105071960B (en) | 2015-07-31 | 2015-07-31 | Pseudo-wire dispositions method, fault handling method, relevant device and dual-homing protection system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105071960A CN105071960A (en) | 2015-11-18 |
CN105071960B true CN105071960B (en) | 2018-09-21 |
Family
ID=54501247
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510466118.8A Active CN105071960B (en) | 2015-07-31 | 2015-07-31 | Pseudo-wire dispositions method, fault handling method, relevant device and dual-homing protection system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105071960B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111901235A (en) | 2017-12-01 | 2020-11-06 | 华为技术有限公司 | Method and device for processing route, and method and device for data transmission |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101902353A (en) * | 2009-05-31 | 2010-12-01 | 华为技术有限公司 | Protecting method, device and system of packet network |
US9036466B2 (en) * | 2011-07-12 | 2015-05-19 | Tellahs Operations, Inc. | Methods and apparatus for improving network communication using ethernet switching protection |
-
2015
- 2015-07-31 CN CN201510466118.8A patent/CN105071960B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101902353A (en) * | 2009-05-31 | 2010-12-01 | 华为技术有限公司 | Protecting method, device and system of packet network |
US9036466B2 (en) * | 2011-07-12 | 2015-05-19 | Tellahs Operations, Inc. | Methods and apparatus for improving network communication using ethernet switching protection |
Also Published As
Publication number | Publication date |
---|---|
CN105071960A (en) | 2015-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9608903B2 (en) | Systems and methods for recovery from network changes | |
EP1994694A2 (en) | System and method for preventing loops in the presence of control plane failures | |
CN104253745B (en) | A kind of route withdraw method and the network equipment | |
CN105337785A (en) | Path connectivity detection method and device | |
EP2751953A1 (en) | Notifying network operator when virtual addresses do not match on network elements configured for interchassis redundancy | |
CN104579727A (en) | Method and device for managing network connection of network nodes | |
CN103581025B (en) | Method and system for processing routing information and equipment | |
US8687523B2 (en) | System and method for integrating ring-protocol-compatible devices into network configurations that also include non-ring-protocol compatible devices | |
US9413642B2 (en) | Failover procedure for networks | |
CN104702431B (en) | A kind of method and device of Virtual Private Network double break protection | |
WO2017000096A1 (en) | Link recovery method and network device | |
WO2015154423A1 (en) | Cross-domain service processing method, apparatus and system | |
CN105071960B (en) | Pseudo-wire dispositions method, fault handling method, relevant device and dual-homing protection system | |
US9866428B2 (en) | Fabric switchover for systems with control plane and fabric plane on same board | |
CN108023800A (en) | A kind of guard method of LTE bearer networks and device | |
EP2981025B1 (en) | Method, network and system for protection switching | |
WO2015180265A1 (en) | Multi-link protection switching method and device | |
WO2018077124A1 (en) | Method, device, and system for service alarm processing | |
CN115333994A (en) | Method and device for realizing VPN route rapid convergence and electronic equipment | |
CN106330700A (en) | Method and device for data communication network main and standby access network element protection | |
JP4190170B2 (en) | Detour route setting system | |
CN103052118B (en) | A kind of communication tunnel changing method and the network equipment | |
WO2015180277A1 (en) | Pw dual-homing protection switching method and system | |
CN112637051A (en) | Path detection message forwarding method and device | |
CN109120521B (en) | Path switching method of annular stacking system, first stacking equipment and second stacking 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 |