CN104796331B - A kind of method that single-swap system realizes LSP and VC layered protections - Google Patents

A kind of method that single-swap system realizes LSP and VC layered protections Download PDF

Info

Publication number
CN104796331B
CN104796331B CN201510216768.7A CN201510216768A CN104796331B CN 104796331 B CN104796331 B CN 104796331B CN 201510216768 A CN201510216768 A CN 201510216768A CN 104796331 B CN104796331 B CN 104796331B
Authority
CN
China
Prior art keywords
lsp
labels
primary
standby
channels
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
Application number
CN201510216768.7A
Other languages
Chinese (zh)
Other versions
CN104796331A (en
Inventor
刘怀明
李秋玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Wuhan Fiberhome Technical Services Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201510216768.7A priority Critical patent/CN104796331B/en
Publication of CN104796331A publication Critical patent/CN104796331A/en
Application granted granted Critical
Publication of CN104796331B publication Critical patent/CN104796331B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

A kind of method that single-swap system realizes LSP and VC layered protections, it is related to PTN system field, including:S1.VC_W occurs abnormal;S2. judge whether LSP_W_W is abnormal, if so, into S3, if it is not, into S6;S3.LSP_W occurs channel and switched;S4. the Key dithering time pre-set is waited to reach;S5. judge whether VC_W exception occurs, if so, into S6, if it is not, terminating;S6. judge whether VC_P is abnormal, if so, into S7, if it is not, into S8;S7.VC_W and LSP_P occurs channel and switched, and terminates;S8.VC_W occurs channel and switched, and terminates;The present invention realizes LSP and VC layered protections in single-swap system, so as to meet engineer applied demand.

Description

A kind of method that single-swap system realizes LSP and VC layered protections
Technical field
The present invention relates to PTN system field, is specifically the side that a kind of single-swap system realizes LSP and VC layered protections Method.
Background technology
In Practical Project demand dual-homing protection, existing engineering networking scene LSP (label switched path, service layer), VC (pseudo channel path, client layer) layered protection is as shown in figure 1, node A requires to support uplink service LSP and VC layering to protect Shield, wherein A, B, C, E, F are network node, and D is third party device, and VC is the channel in lsp tunnel, and VC channels are in LSP Walk, establish between A and D, B, C, E, F form LSP channels.If it is required that client's access links normal and VC between C and D Layer channel is also normal, then walks primary VC routes from A to C, i.e., business is talked about to D under C;Otherwise standby VC routes are walked from A to D, i.e., Business is talked about under F to D, unrelated with the active and standby Channel assignments of LSP.
VC channel abnormal conditions are probably that the LSP channel abnormal conditions of MPLS network cause, it is also possible to which the link to D disconnects, i.e., objective Family Signal Fail causes.Standby usage VC channels have a respective active and standby LSP channels, and LSP protection then only focus on A, B, C, E, F it Between LSP layer channels, it is unrelated with walking which path of VC.
General PTN system has two-stage even three-level to intersect, i.e., multiple exchange chip finishing service forwardings.The branch road of access Disk realizes that VC layers are protected, and Cross Trade and circuit disk then cooperate with and complete the protection of LSP layers.But have some small-sized PTN systems, only There is a single-deck, an exchange chip finishing service forwarding, LSP and VC layered protections can not be realized.Or there are some large-scale systems Although system has multiple single-decks, multiple exchange chips, multiple physical exchange chips are logically one large-scale exchanges of composition Chip, such system are substantially still single-swap chip system for business forwarding above.At the system of these single-swap chips Reason MPLS label is once to forward i.e. one-dimensional, single-hop route to complete destination interface and encapsulation, rather than multidimensional route, natural nothing in fact Method realizes LSP and VC layered protections, and does not support LSP and VC layered protections as crossed, then can not realizes that operator is desired double Return protection.
The content of the invention
For defect present in prior art, it is an object of the invention to provide a kind of single-swap system realize LSP and The method of VC layered protections, LSP and VC layered protections are realized in single-swap system, so as to meet engineer applied demand.
To achieve the above objectives, the present invention takes a kind of method that single-swap system realizes LSP and VC layered protections, establishes One master one is for two routes, and to two destination interfaces, one carries lsp_w_w labels and vc_w labels, and another carries lsp_ P_w labels and vc_p labels;The primary VC of lsp_w_w tag representations walks the tunnel labels that primary LSP channels need to encapsulate, vc_w marks Label represent the pwe labels that primary VC need to be encapsulated, and the standby VC of lsp_p_w tag representations walks the tunnel that primary LSP channels need to encapsulate Label, the pwe labels that the standby VC of vc_p tag representations need to be encapsulated;Methods described includes step:
S1.VC_W occurs abnormal;
S2. judge whether LSP_W_W is abnormal, if so, into S3, if it is not, into S6;
S3.LSP_W occurs channel and switched;
S4. the Key dithering time pre-set is waited to reach;
S5. judge whether VC_W exception occurs, if so, into S6, if it is not, terminating;
S6. judge whether VC_P is abnormal, if so, into S7, if it is not, into S8;
S7.VC_W and LSP_P occurs channel and switched, and terminates;
S8.VC_W occurs channel and switched, and terminates;
Wherein, VC_W represents the primary end-to-end channels of VC, and VC_P represents the standby end-to-end channels of VC, and LSP_W represents primary LSP channels, LSP_P represent standby LSP channels, and LSP_W_W represents the primary LSP channels that primary VC is walked.
On the basis of above-mentioned technical proposal, in S3, LSP_W occurs channel and switched including uplink service route destination interface Switching, and alternate routing encapsulate lsp_w_p labels and vc_w labels respectively, and the wherein primary VC of lsp_w_p tag representations is walked standby The tunnel labels that need to be encapsulated with LSP channels, the pwe labels that the primary VC of vc_w tag representations need to be encapsulated.
On the basis of above-mentioned technical proposal, in S4, the time pre-set is 10ms.
On the basis of above-mentioned technical proposal, in S5, there is not exception in VC_W, then switches state for LSP_W.
On the basis of above-mentioned technical proposal, in S7, VC_W and LSP_P occur channel and switched, uplink service route purpose Port does not switch, and primary route encapsulates lsp_p_p labels and vc_p labels respectively, and the wherein standby VC of lsp_p_p tag representations is walked The tunnel labels that standby LSP channels need to encapsulate, the pwe labels that the standby VC of vc_p tag representations need to be encapsulated.
On the basis of above-mentioned technical proposal, after being switched in S7, state is switched for VC_W and LSP_P.
On the basis of above-mentioned technical proposal, in S8, VC_W occurs channel and switched, and uplink service route destination interface is carried out Switching, encapsulate attonity.
On the basis of above-mentioned technical proposal, VC_W prisons are had in the OAM modules of the point of LSP and VC layered protections to be performed Control, LSP_W_W monitoring, LSP_W_P monitoring, VC_P monitoring, LSP_P_W monitoring and LSP_P_P monitoring, LSP_W_P represent primary The standby LSP channels that VC is walked, LSP_P_W represent the primary LSP channels that standby VC is walked, the standby LSP letters that the standby VC of LSP_P_P are walked Road.
On the basis of above-mentioned technical proposal, the OAM modules are used for when VC or LSP have abnormal, triggering route purpose The switching of port.
The beneficial effects of the present invention are:Route and encapsulation are separated, are independent place no longer with usual irrelevant pattern Manage LSP layers and VC layer OAM monitor states, but correlation ground two layers of monitor state of comprehensive analysis, by algorithm obtain route and The respective handover information of encapsulation, so as to which by the effect of one-dimensional route implementing two dimension route, LSP and VC are realized with single-swap system Layered protection, and other new problems are not derived from.
Brief description of the drawings
Fig. 1 is existing engineering networking scene LSP and VC layered protection schematic diagram in background technology;
Fig. 2 is the method flow diagram that single-swap system of the present invention realizes LSP and VC layered protections;
Fig. 3 is the engineering failure schematic diagram that only triggering LSP is switched;
Fig. 4 is that the engineering failure that only triggering VC is switched shows schematic diagram;
Fig. 5 is to trigger the engineering failure schematic diagram that VC and LSP are switched simultaneously.
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.
For the ease of distinguishing and stating, the present invention corresponds to the respective LSP channels of active and standby VC using W, P, and all channels are used Capitalization represents, and corresponding label lowercase letter, wherein:
VC_W represents the primary end-to-end channels of VC,
VC_P represents the standby end-to-end channels of VC,
LSP_W represents primary LSP channels,
LSP_P represents standby LSP channels,
LSP_W_W represents the primary LSP channels that primary VC is walked,
LSP_W_P represents the standby LSP channels that primary VC is walked,
LSP_P_P represents the standby LSP channels that standby VC is walked,
LSP_P_W represents the primary LSP channels that standby VC is walked,
Pwe (pseudo-wire) label that the primary VC of vc_w tag representations need to be encapsulated,
The primary VC of lsp_w_w tag representations walks tunnel (channel) label that primary LSP channels need to encapsulate,
The primary VC of lsp_w_p tag representations walks the tunnel labels that standby LSP channels need to encapsulate,
The pwe labels that the standby VC of vc_p tag representations need to be encapsulated,
The standby VC of lsp_p_w tag representations walks the tunnel labels that primary LSP channels need to encapsulate,
The standby VC of lsp_p_p tag representations walks the tunnel labels that standby LSP channels need to encapsulate.
The present invention is based on existing engineering networking scene LSP and VC layered protection, a master one is had for two routes, to two Destination interface, one carries lsp_w_w labels and vc_w labels, and another carries lsp_p_w labels and vc_p labels;Needing VC_W monitoring, LSP_W_W monitoring, LSP_W_P monitoring, VC_P are had in the OAM modules of the point of LSP and VC layered protections to be performed Monitoring, LSP_P_W monitoring and LSP_P_P monitoring, the OAM modules are used for when VC or LSP have abnormal, triggering route destination The switching of mouth.
As shown in Fig. 2 the specific method of the present invention comprises the following steps:
S1. circulation is detected, until exception occurs in VC_W.
S2. judge whether LSP_W_W is abnormal, if so, into S3;If it is not, into S6.
S3.LSP_W occurs channel and switched;Sealed respectively including uplink service route destination interface switching, and alternate routing Lsp_w_p labels and vc_w labels are filled, and routing operations and encapsulation operation are separation.
S4. the Key dithering time pre-set is waited to reach;The time pre-set is preferably 10ms, that is, wait 10ms it Afterwards, into S5.
S5. judge whether VC_W exception occurs, if so, into S6, if it is not, then switching state for LSP_W, terminate.
S6. judge whether VC_P is abnormal, if so, into S7;If it is not, into S8.
S7.VC_W and LSP_P occurs channel and switched, and uplink service route destination interface does not switch, and primary route seals respectively Lsp_p_p labels and vc_p labels are filled, state is switched for VC_W and LSP_P, terminates.
S8.VC_W occurs channel and switched, and uplink service route destination interface switches over, and attonity is encapsulated, into VC_P Operating conditions, terminate.
In above-mentioned steps, the process for the various replies for switching state is an inverse operation, to lsp labels and vc labels Encapsulation change should directly operate hardware list.
As shown in figure 3, A points build call business, VC_W walks channel A-B-C-D, and label value vc_w, VC_P walk channel A-E- F-D, label value vc_p.It is channel A-B-C to build LSP_W_W, and label value lsp_w_w, LSP_W_P are channel A-E-F-C, mark Label value is lsp_w_p.It is channel A-E-F to build LSP_P_W, label value lsp_p_w, LSP_P_P A-B-C-F, and label value is lsp_p_p.Regular traffic walks channel A-B-C-D, LSP and VC and all walks Traffic Channel, and A points have two VC_OAM, 4 LSP_ OAM is monitored.
It is now normal between C-D as broken down in Fig. 3 between A-B, so as to which VC is not switched.And LSP_W_W and LSP_P_ P OAM is now abnormal, is switched so as to trigger LSP_W_W, and the VC_OAM states between A and D have instant jitter, and this is available Wait is changed to eliminate, it is normal so as to logic judgment A and D VC_OAM, VC is not triggered to be switched;Finally, business walks channel A_E_F_ C_D.Particular hardware acts:Node A uplink service route handoffs, while directly write table modification alternate routing encapsulation, respectively band There are lsp_w_p labels and vc_w labels.Due to only having call business on node A points to be related to LSP and VC layered protections, the guarantor of other points Protect and protected with common LSP, only describe node A herein, remaining summary.
As shown in figure 4, the engineering failure switched only to trigger VC shows schematic diagram.C-D failures, LSP_W and LSP_P are just Often, Client Signal Fail, channel A-B-C-D is abnormal, i.e. VC_W is abnormal, so as to which only triggering VC is switched, walks VC_P channels, A points Upper call business walks channel A-E-F-D, that is, walks LSP_P_W.Particular hardware acts:Node A uplink service route handoffs, are repaiied simultaneously Change alternate routing encapsulation, respectively lsp_p_w labels and vc_p labels.
As shown in figure 5, to trigger the engineering failure schematic diagram that VC and LSP are switched simultaneously.A-E and C-D break down, VC_W is abnormal, and LSP_P_W and LSP_W_P are abnormal, are all switched so as to trigger VC and LSP, walk VC_P and LSP_P_P.It is specific hard Part acts:A uplink services route does not switch, and modification primary route encapsulation, includes marking for lsp_p_p labels and vc_p respectively Label.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from On the premise of the principle of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention Within the scope of.The content not being described in detail in this specification belongs to prior art known to professional and technical personnel in the field.

Claims (9)

1. a kind of method that single-swap system realizes LSP and VC layered protections, it is characterised in that establish a master one for two roads By to two destination interfaces, one carries lsp_w_w labels and vc_w labels, and another is marked with lsp_p_w labels and vc_p Label;The primary VC of lsp_w_w tag representations walks the tunnel labels that primary LSP channels need to encapsulate, and the primary VC of vc_w tag representations is needed The pwe labels of encapsulation, the standby VC of lsp_p_w tag representations walk the tunnel labels that primary LSP channels need to encapsulate, vc_p label lists Show the pwe labels that standby VC need to be encapsulated;Methods described includes step:
S1.VC_W occurs abnormal;
S2. judge whether LSP_W_W is abnormal, if so, into S3, if it is not, into S6;
S3.LSP_W occurs channel and switched;
S4. the Key dithering time pre-set is waited to reach;
S5. judge whether VC_W exception occurs, if so, into S6, if it is not, terminating;
S6. judge whether VC_P is abnormal, if so, into S7, if it is not, into S8;
S7.VC_W and LSP_P occurs channel and switched, and terminates;
S8.VC_W occurs channel and switched, and terminates;
Wherein, VC_W represents the primary end-to-end channels of VC, and VC_P represents the standby end-to-end channels of VC, and LSP_W represents primary LSP letters Road, LSP_P represent standby LSP channels, and LSP_W_W represents the primary LSP channels that primary VC is walked.
2. the method that single-swap system as claimed in claim 1 realizes LSP and VC layered protections, it is characterised in that:In S3, LSP_W generation channels are switched encapsulates lsp_w_p labels respectively including uplink service route destination interface switching, and alternate routing With vc_w labels, the wherein primary VC of lsp_w_p tag representations walks the tunnel labels that standby LSP channels need to encapsulate, vc_w labels Represent the pwe labels that primary VC need to be encapsulated.
3. the method that single-swap system as claimed in claim 1 realizes LSP and VC layered protections, it is characterised in that:In S4, institute It is 10ms to state the time pre-set.
4. the method that single-swap system as claimed in claim 1 realizes LSP and VC layered protections, it is characterised in that:In S5, There is not exception in VC_W, then switches state for LSP_W.
5. the method that single-swap system as claimed in claim 1 realizes LSP and VC layered protections, it is characterised in that:In S7, VC_W and LSP_P occurs channel and switched, and uplink service route destination interface does not switch, and primary route encapsulates lsp_p_p marks respectively Label and vc_p labels, the wherein standby VC of lsp_p_p tag representations walk the tunnel labels that standby LSP channels need to encapsulate, vc_p marks Label represent the pwe labels that standby VC need to be encapsulated.
6. the method that single-swap system as claimed in claim 1 realizes LSP and VC layered protections, it is characterised in that:Sent out in S7 After life is switched, state is switched for VC_W and LSP_P.
7. the method that single-swap system as claimed in claim 1 realizes LSP and VC layered protections, it is characterised in that:In S8, VC_W occurs channel and switched, and uplink service route destination interface switches over, and encapsulates attonity.
8. the method that single-swap system as claimed in claim 1 realizes LSP and VC layered protections, it is characterised in that:To hold The OAM modules of the point of row LSP and VC layered protection have VC_W monitoring, LSP_W_W is monitored, LSP_W_P is monitored, VC_P is monitored, LSP_P_W is monitored and LSP_P_P monitoring, and LSP_W_P represents the standby LSP channels that primary VC is walked, and LSP_P_W represents that standby VC is walked Primary LSP channels, the standby LSP channels that the standby VC of LSP_P_P are walked.
9. the method that single-swap system as claimed in claim 8 realizes LSP and VC layered protections, it is characterised in that:The OAM Module is used for when VC or LSP have abnormal, the switching of triggering route destination interface.
CN201510216768.7A 2015-04-29 2015-04-29 A kind of method that single-swap system realizes LSP and VC layered protections Active CN104796331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510216768.7A CN104796331B (en) 2015-04-29 2015-04-29 A kind of method that single-swap system realizes LSP and VC layered protections

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510216768.7A CN104796331B (en) 2015-04-29 2015-04-29 A kind of method that single-swap system realizes LSP and VC layered protections

Publications (2)

Publication Number Publication Date
CN104796331A CN104796331A (en) 2015-07-22
CN104796331B true CN104796331B (en) 2018-02-16

Family

ID=53560854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510216768.7A Active CN104796331B (en) 2015-04-29 2015-04-29 A kind of method that single-swap system realizes LSP and VC layered protections

Country Status (1)

Country Link
CN (1) CN104796331B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721305B (en) * 2016-01-19 2019-04-16 烽火通信科技股份有限公司 The method of L3VPN route iteration outlet
CN107018081B (en) * 2017-03-15 2020-05-05 烽火通信科技股份有限公司 Method for realizing point-to-multipoint 1+1 protection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635754A (en) * 2003-12-26 2005-07-06 上海贝尔阿尔卡特股份有限公司 An Ethernet transmission equipment and method having characteristics of rapid protection and fairness
CN102035681A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Link protection method and system for virtual private network
CN102332987A (en) * 2010-07-12 2012-01-25 中兴通讯股份有限公司 Method and system for configuration of OAM attribute of pseudowire
CN104270231A (en) * 2014-09-05 2015-01-07 烽火通信科技股份有限公司 System and method for realizing double-node interconnected pseudo-wire

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1635754A (en) * 2003-12-26 2005-07-06 上海贝尔阿尔卡特股份有限公司 An Ethernet transmission equipment and method having characteristics of rapid protection and fairness
CN102332987A (en) * 2010-07-12 2012-01-25 中兴通讯股份有限公司 Method and system for configuration of OAM attribute of pseudowire
CN102035681A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Link protection method and system for virtual private network
CN104270231A (en) * 2014-09-05 2015-01-07 烽火通信科技股份有限公司 System and method for realizing double-node interconnected pseudo-wire

Also Published As

Publication number Publication date
CN104796331A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN102396193B (en) By the method for client data transmission of packet switching provider network
CN101710877B (en) Method, device and system for processing traffic flow based on pseudowire
CN105324959B (en) Communication system, communication device and guard method
CN101436976B (en) Method, system and equipment for forwarding data frame
US20080304407A1 (en) Efficient Protection Mechanisms For Protecting Multicast Traffic in a Ring Topology Network Utilizing Label Switching Protocols
CN102035712B (en) Multiprotocol label exchanged ring network protection method, device and system
CN101710875A (en) Method and device for realizing rapid re-routing
EP2571203B1 (en) Tunnel switching method and system for multi-protocol label switching services
EP2748986B1 (en) Method and apparatus for path switching
CN105471599B (en) Protection switching method and network equipment
CN101789879B (en) Dynamic maintenance method and device for related link circuits
US10205629B2 (en) Method and device for triggering protection switching by signal degrade of link aggregation port
WO2018095095A1 (en) Method and apparatus for establishing disjoint path
ES2547271T3 (en) Method, system and device to recover a service
US20080232246A1 (en) System and Method For Protection of a Multicast Traffic Path
CN104796331B (en) A kind of method that single-swap system realizes LSP and VC layered protections
CN102185712A (en) Method and device for switching virtual private local area network (LAN) service (VPLS) network and Ethernet ring
WO2016090815A1 (en) Switching control method and device in deploying high-capacity service
CN101848159B (en) Three-layer VPN route resetting method and device
CN102546352B (en) A kind of method and system realizing point-to-multipoint label switch paths protection
CN102255805B (en) Message transmission method, message forwarding method and devices
CN106603401A (en) Rapid rerouting method and apparatus thereof
CN108924046B (en) Method and system for protecting GRE tunnel bearing service
CN105791121B (en) A kind of setting method and device of business forwarding table
WO2016095605A1 (en) Service processing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180321

Address after: 430074 Wuhan, Hongshan Province District Road, Department of mail, No. 88 hospital

Co-patentee after: WUHAN FIBERHOME TECHNICAL SERVICES CO., LTD.

Patentee after: Fenghuo Communication Science &. Technology Co., Ltd.

Address before: 430074 No. 67, Pioneer Street, Hongshan District, Hubei, Wuhan, Optics Valley

Patentee before: Fenghuo Communication Science &. Technology Co., Ltd.