CN101599873A - A kind of method for detecting connectivity and device - Google Patents

A kind of method for detecting connectivity and device Download PDF

Info

Publication number
CN101599873A
CN101599873A CNA2009100880617A CN200910088061A CN101599873A CN 101599873 A CN101599873 A CN 101599873A CN A2009100880617 A CNA2009100880617 A CN A2009100880617A CN 200910088061 A CN200910088061 A CN 200910088061A CN 101599873 A CN101599873 A CN 101599873A
Authority
CN
China
Prior art keywords
professional
control
group
detection
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2009100880617A
Other languages
Chinese (zh)
Other versions
CN101599873B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009100880617A priority Critical patent/CN101599873B/en
Publication of CN101599873A publication Critical patent/CN101599873A/en
Application granted granted Critical
Publication of CN101599873B publication Critical patent/CN101599873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of method for detecting connectivity and device.Method comprises: professional PW is divided into groups, wherein, the professional PW that is carried on the same tunnel is divided into one group; For every group of professional PW sets up a control PW who is carried on the same tunnel; Detect the connectedness of control PW, and control the detection of connectivity result of the pairing one group of professional PW of PW as this with the detection of connectivity result of control PW.Technical scheme of the present invention can improve the accuracy of detection of connectivity, and expense is little.

Description

A kind of method for detecting connectivity and device
Technical field
The present invention relates to network communications technology field, refer to a kind of method for detecting connectivity and device especially.
Background technology
Virtual private networks (VPN, Virtual Private Network) is a kind of new technology that develops rapidly along with the extensive use of internet (Internet) in recent years, is implemented in and makes up private network on the public network.
The label of fixed length encapsulates network layer packet with weak point in multiprotocol label switching (MPLS, Multiprotocol Label Switching), transmits according to label, and needn't carry out complicated route querying and forwarding as the IP technology.Vpn service can be realized easily by the MPLS technology, and the extensibility of VPN and the demand of management can be satisfied based on the IP technology.Utilize VPN structure VPN, the possibility that realizes value-added service also is provided, single access point can be formed multiple VPN, every kind of different business of VPN representative makes network transmit dissimilar business datums with flexi mode.
MPLS L2VPN is a kind of point-to-point in the vpn solution or two layers of service of putting multiple spot.MPLS L2VPN comprises virtual private circuit service (VPWS, Virtual Private Wire Service) and virtual special local area network service (VPLS, Virtual Private LAN Service), wherein, the former provides the point-to-point service, and the latter provides a little to the multiple spot service.MPLS L2VPN uses Label Distribution Protocol (LDP, Label Distribution Protocol) or Border Gateway Protocol (BGP, Border GatewayProtocol) at the Provider Edge (PE of service provider backbone network, Provider Edge) issues virtual connections (PW, Pseudo Wire) label between the equipment.Concerning VPLS, virtual connections is two two-way virtual connections between the virtual switch instance (VSI, Virtual Switch Instance) on the PE; Concerning VPWS, virtual connections is the virtual connection between the AC (Attachment Circuit), or virtual connection the between AC and the VSI (for example, that the UPE deploy is VPWS among Fig. 1, NPE deploy be under the situation of VPLS).PW is made of the opposite unidirectional virtual-circuit label switching path (VC-LSP) of a pair of direction, and the VC-LSP of each direction is carried on the tunnel of direction separately.
In actual applications,, need the connection status of L2VPN be detected, promptly need to detect the connectedness of PW for the ease of Network Management and maintenance.If the PW connected trouble then needs to produce alarm, perhaps, detect connected trouble as early as possible, and service traffics are switched on the protection path having disposed under the situation of switching fast.
Fig. 1 is the schematic diagram that PW of the prior art switches fast.As shown in Figure 1, in order to improve the reliability of network, adopted user oriented Provider Edge equipment (UPE, User-facingProvider Edge) dual-homed scheme (the UPE deploy can be VPWS, also can be VPLS), the Provider Edge equipment (NPE, Network ProviderEdge) that is UPE and two network-orienteds connects, and is respectively NPE1 and NPE2.Wherein the virtual connections PW between UPE and the NPE1 is main PW, and the PW between UPE and the NPE2 is backup PW.Shown in the left hand edge graph among Fig. 1, under normal circumstances, service traffics are transmitted on main PW.Shown in the right hand edge graph among Fig. 1, the main PW fault between UPE and NPE1, perhaps during the NPE1 equipment fault, UPE switches to service traffics on the backup PW from main PW, thereby realizes switching fast protection.
In existing L2VPN technology, the method for following several detection PW connectednesses is arranged:
(1) connectedness of the IP forward-path between the tunnel two-end-point is done detection,, think that then the PW between these two end points is also obstructed if obstructed.
Shortcoming: when being the MPLS traffic engineering tunnel in the tunnel of carrying PW, the path that the tunnel is walked is inconsistent with the IP forward-path, and therefore when the IP of equipment room routing forwarding can reach, the MPLS traffic engineering tunnel not necessarily can reach.
(2) connectedness in tunnel to carrying PW detects, and represents the connectedness of PW with the connectedness in tunnel.
Shortcoming: in suc scheme, a tunnel has carried a lot of PW, though the tunnel can reach, this province of PW is because of PW two ends abnormal state, and is unusual such as the LDP session status of announcement PW label, and causes PW itself not to be communicated with.
(3) each bar PW is detected respectively.
Shortcoming: this scheme need all be set up the detection entity for each PW, and is bigger in the quantity of PW, and during as up to ten thousand, expense is bigger.
In sum, there is the shortcoming that accuracy is not high or expense is bigger in existing P W detection of connectivity scheme.
Summary of the invention
The invention provides a kind of method for detecting connectivity, this method can improve the accuracy of detection of connectivity, and expense is little.
Not inventing also provides a kind of detection of connectivity device, and this device can improve the accuracy of detection of connectivity, and expense is little.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
The invention discloses a kind of method for detecting connectivity, this method is used for detecting the connectedness of the professional virtual connections PW of Layer 2 virtual private network L2VPN, and this method comprises:
Professional PW is divided into groups, wherein, the professional PW that is carried on the same tunnel is divided into one group;
For every group of professional PW sets up a control PW who is carried on the same tunnel;
Detect the connectedness of control PW, and control the detection of connectivity result of the pairing one group of professional PW of PW as this with the detection of connectivity result of control PW.
The invention also discloses a kind of detection of connectivity device, this device is used for detecting the connectedness of the professional virtual connections PW of Layer 2 virtual private network L2VPN, and this device comprises: grouping module, control PW set up module and detection module, wherein,
Grouping module is used for professional PW is divided into groups, and wherein, the professional PW that is carried on the same tunnel is divided into one group;
Control PW sets up module, is used to every group of professional PW to set up a control PW who is carried on the same tunnel;
Detection module is used to detect the connectedness of controlling PW, and controls the detection of connectivity result of the pairing one group of professional PW of PW with the detection of connectivity result of control PW as this.
As seen from the above technical solution, this professional PW that will be carried on the same tunnel of the present invention is divided into one group, for every group of professional PW sets up a control PW, detect the connectedness of control PW, and with the detection of connectivity result of control PW technical scheme as the detection of connectivity result of the pairing one group of professional PW of this control PW, can improve the accuracy of detection of connectivity, and expense is little.
Description of drawings
Fig. 1 is the schematic diagram that PW of the prior art switches fast;
Fig. 2 is the flow chart of a kind of method for detecting connectivity of the embodiment of the invention;
Fig. 3 is the composition structured flowchart of a kind of detection of connectivity device in the embodiment of the invention.
Embodiment
Fig. 2 is the flow chart of a kind of method for detecting connectivity of the embodiment of the invention.This method is used for detecting the connectedness of the virtual connections PW of Layer 2 virtual private network L2VPN, and as shown in Figure 2, this method comprises:
Step 201 is divided into groups professional PW, wherein, the professional PW that is carried on the same tunnel is divided into one group.
Step 202 is for every group of professional PW sets up a control PW who is carried on the same tunnel.
Step 203 detects the connectedness of controlling PW, and controls the detection of connectivity result of the pairing one group of professional PW of PW with the detection of connectivity result of control PW as this.
In scheme shown in Figure 2, because control PW is carried on the identical tunnel with corresponding one group of business PW, therefore, if the tunnel enters connective defective, the PW that is carried on so on the tunnel also must enter connective defect state.Therefore, the connectivity state that can control PW can reflect the connectivity state of one group of professional PW of its correspondence.And according to scheme shown in Figure 2, only need to detect the connectivity state of a control PW, just can determine the connectivity state of one group of PW.Therefore scheme shown in Figure 2 can improve the accuracy of detection of connectivity, and expense is little.
In step 201 shown in Figure 2, on the basis of professional PW being divided into groups, can also further divide into groups to professional PW based on following condition according to the tunnel that is carried.Be same group professional PW on being carried on identical tunnel, one or more in also will meeting the following conditions.These conditions are: same group professional PW uses identical PW tag distribution protocol; Same group professional PW uses identical label distribution protocol conversation; Same group PW has disposed wrap protection; Same group professional PW does not dispose wrap protection etc.For example, will be carried on the same tunnel, and use the professional PW of identical PW tag distribution protocol to be divided into one group; Perhaps, will be carried on the same tunnel, and use the professional PW of identical label distribution protocol conversation to be divided into one group; Perhaps will be carried on the same tunnel, and use identical PW tag distribution protocol, identical label distribution protocol conversation and disposed the professional PW of wrap protection and be divided into one group or the like.
In step 203 shown in Figure 2, the method that detects control PW connectedness can be a following detection mechanism of the prior art: by the internet engineering (IETF of panel, Internet Engineering TaskForce) the two-way forwarding of definition detects (BFD, Bidirectional Forwarding Detection) mechanism is by failure detection (CV/FFD) mechanism of the connectivity checking of the Y.1711 standard (ITU-T Y.1711) of communication standard portion of International Telecommunications Union definition/fast etc.
Also can realize detecting the connectedness of control PW in embodiments of the present invention according to following method: for two rightabout virtual-circuit label switching path VC-LSP that constitute control PW, a VC-LSP goes up and regularly sends the probe messages that has added PW label and tunnel encapsulation therein, receives that the equipment of this probe messages sends the echo reply message on another VC-LSP; If the probe messages of the continuous transmission of predetermined number is not all received corresponding response message, determine that then this control PW enters the connection defect state, otherwise determine that then this control PW is in connected state.
In step 203 shown in Figure 2, enter when being communicated with defect state when detecting control PW, this method is the handling process of follow-up connection defect state further, mainly comprises following two kinds of processing modes:
(1) for control PW produces alarm, prompting network operations management person carries out trouble shooting;
(2) judge among one group of professional PW of control PW correspondence whether the professional PW that has disposed wrap protection is arranged, if there is professional PW to dispose wrap protection, Business Stream that then should business PW switches to corresponding backup traffic PW.
Scheme shown in Figure 2 can be applied to being communicated with to detection of PW between UPE shown in Figure 1 and the NPE1.Certainly, scheme shown in Figure 2 also can be deployed between PE and the PE, perhaps between PE and the NPE.In a word, scheme shown in Figure 2 can be deployed between any two network elements that have PW between the two.
Based on the foregoing description, next provide the composition structure of the detection of connectivity device among the present invention.
Fig. 3 is the composition structured flowchart of a kind of detection of connectivity device in the embodiment of the invention.This device is used for detecting the connectedness of the professional virtual connections PW of Layer 2 virtual private network L2VPN, and as shown in Figure 3, this device comprises: grouping module 301, control PW set up module 302 and detection module 303.Also illustrated professional PW pond in addition among Fig. 3.
In Fig. 3, grouping module 301 is used for professional PW is divided into groups, and wherein, the professional PW that is carried on the same tunnel is divided into one group.Control PW sets up module 302, is used to every group of professional PW to set up a control PW who is carried on the same tunnel.Detection module 303 is used to detect the connectedness of controlling PW, and controls the detection of connectivity result of the pairing one group of professional PW of PW with the detection of connectivity result of control PW as this.
In Fig. 3, grouping module 301, the professional PW that is used for being carried on the same tunnel is divided into one group, and same group professional PW one or more in also will meeting the following conditions.Described condition comprises: use identical PW tag distribution protocol; Use identical label distribution protocol conversation; Dispose wrap protection or do not disposed wrap protection.
In Fig. 3, detection module 303 is used for for two rightabout virtual-circuit label switching path VC-LSP that constitute control PW, and a VC-LSP goes up and regularly sends probe messages therein; Wherein, the equipment of receiving this probe messages sends the echo reply message on another VC-LSP; If the probe messages of the continuous transmission of predetermined number is not all received corresponding response message, then described detection module 303 determines that this control PW enters the connection defect state, otherwise then described detection module 303 determines that this control PW is in connected state.
As shown in Figure 3, this device further comprises: switch module 304.Detection module 303 is used for entering when being communicated with defect state detecting control PW, sends notice to switching module 304.The described module 304 of switching; be used for when receiving described notice; judge among one group of this control PW correspondence professional PW whether the professional PW that has disposed wrap protection is arranged, if there is professional PW to dispose wrap protection, Business Stream that then should business PW switches to corresponding backup traffic PW.
In sum, this professional PW that will be carried on the same tunnel of the present invention is divided into one group, for every group of professional PW sets up a control PW, detect the connectedness of control PW, and with the detection of connectivity result of control PW technical scheme as the detection of connectivity result of the pairing one group of professional PW of this control PW, can improve the accuracy of detection of connectivity, and expense is little.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being made within the spirit and principles in the present invention, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1, a kind of method for detecting connectivity, this method are used for detecting the connectedness of the professional virtual connections PW of Layer 2 virtual private network L2VPN, it is characterized in that this method comprises:
Professional PW is divided into groups, wherein, the professional PW that is carried on the same tunnel is divided into one group;
For every group of professional PW sets up a control PW who is carried on the same tunnel;
Detect the connectedness of control PW, and control the detection of connectivity result of the pairing one group of professional PW of PW as this with the detection of connectivity result of control PW.
2, the method for claim 1 is characterized in that, described professional PW is divided into groups to comprise:
The professional PW that is carried on the same tunnel is divided into one group, and same group professional PW one or more in also will meeting the following conditions;
Condition comprises: use identical PW tag distribution protocol; Use identical label distribution protocol conversation.
3, the method for claim 1 is characterized in that, the connectedness of described detection control PW comprises:
For two rightabout virtual-circuit label switching path VC-LSP that constitute control PW, a VC-LSP goes up and regularly sends probe messages therein, receives that the equipment of this probe messages sends the echo reply message on another VC-LSP;
If the probe messages of the continuous transmission of predetermined number is not all received corresponding response message, determine that then this control PW enters the connection defect state, otherwise determine that then this control PW is in connected state.
4, the method for claim 1 is characterized in that, enters when being communicated with defect state when detecting control PW, and this method further comprises:
Produce alarm; Perhaps
Judge among one group of professional PW of control PW correspondence whether the professional PW that has disposed wrap protection is arranged, if there is professional PW to dispose wrap protection, Business Stream that then should business PW switches to corresponding backup traffic PW.
5, a kind of detection of connectivity device, this device are used for detecting the connectedness of the professional virtual connections PW of Layer 2 virtual private network L2VPN, it is characterized in that this device comprises: grouping module, control PW set up module and detection module, wherein,
Grouping module is used for professional PW is divided into groups, and wherein, the professional PW that is carried on the same tunnel is divided into one group;
Control PW sets up module, is used to every group of professional PW to set up a control PW who is carried on the same tunnel;
Detection module is used to detect the connectedness of controlling PW, and controls the detection of connectivity result of the pairing one group of professional PW of PW with the detection of connectivity result of control PW as this.
6, device as claimed in claim 5 is characterized in that,
Described grouping module, the professional PW that is used for being carried on the same tunnel is divided into one group, and same group professional PW one or more in also will meeting the following conditions;
Condition comprises: use identical PW tag distribution protocol; Use identical label distribution protocol conversation.
7, device as claimed in claim 5 is characterized in that,
Described detection module is used for for two rightabout virtual-circuit label switching path VC-LSP that constitute control PW, and a VC-LSP goes up and regularly sends probe messages therein; Wherein, the equipment of receiving this probe messages sends the echo reply message on another VC-LSP;
If the probe messages of the continuous transmission of predetermined number is not all received corresponding response message, then described detection module determines that this control PW enters the connection defect state, otherwise then described detection module is determined this control PW and is in connected state.
8, device as claimed in claim 5 is characterized in that, this device further comprises: switch module;
Described detection module is used for entering when being communicated with defect state detecting control PW, sends notice to switching module;
The described module of switching; be used for when receiving described notice; judge among one group of this control PW correspondence professional PW whether the professional PW that has disposed wrap protection is arranged, if there is professional PW to dispose wrap protection, Business Stream that then should business PW switches to corresponding backup traffic PW.
CN2009100880617A 2009-07-01 2009-07-01 Detection method of connectivity and device therefor Active CN101599873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100880617A CN101599873B (en) 2009-07-01 2009-07-01 Detection method of connectivity and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100880617A CN101599873B (en) 2009-07-01 2009-07-01 Detection method of connectivity and device therefor

Publications (2)

Publication Number Publication Date
CN101599873A true CN101599873A (en) 2009-12-09
CN101599873B CN101599873B (en) 2011-07-27

Family

ID=41421136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100880617A Active CN101599873B (en) 2009-07-01 2009-07-01 Detection method of connectivity and device therefor

Country Status (1)

Country Link
CN (1) CN101599873B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325042A (en) * 2011-07-19 2012-01-18 中兴通讯股份有限公司 PE (provider edge router) and protection method of homologous homoclinic PWs (pseudo wires)
CN102347873A (en) * 2011-10-26 2012-02-08 中兴通讯股份有限公司 Method and device for detecting tunnel and pseudo wire
CN102611577A (en) * 2012-03-02 2012-07-25 中兴通讯股份有限公司 LDP (Label Distribution Protocol) conversation-based method, device and system for protecting PWs (Pseudo Wires)
CN105591891A (en) * 2015-09-09 2016-05-18 杭州华三通信技术有限公司 Pseudowire (PW) switching method and device
CN109756420A (en) * 2017-11-07 2019-05-14 中兴通讯股份有限公司 Detection method, storage medium and processor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100484097C (en) * 2006-01-17 2009-04-29 华为技术有限公司 Method for judging pseudo wire connection state in packet-switching network and service apparatus thereof
CN101013928B (en) * 2007-02-07 2011-09-14 华为技术有限公司 Apparatus and method for implementing line fault detection of pseudo-wire simulation

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325042A (en) * 2011-07-19 2012-01-18 中兴通讯股份有限公司 PE (provider edge router) and protection method of homologous homoclinic PWs (pseudo wires)
CN102347873A (en) * 2011-10-26 2012-02-08 中兴通讯股份有限公司 Method and device for detecting tunnel and pseudo wire
CN102347873B (en) * 2011-10-26 2017-09-29 南京中兴新软件有限责任公司 The detection method and device in tunnel and pseudo-wire
CN102611577A (en) * 2012-03-02 2012-07-25 中兴通讯股份有限公司 LDP (Label Distribution Protocol) conversation-based method, device and system for protecting PWs (Pseudo Wires)
CN105591891A (en) * 2015-09-09 2016-05-18 杭州华三通信技术有限公司 Pseudowire (PW) switching method and device
CN109756420A (en) * 2017-11-07 2019-05-14 中兴通讯股份有限公司 Detection method, storage medium and processor
CN109756420B (en) * 2017-11-07 2021-09-24 中兴通讯股份有限公司 Detection method, storage medium and processor

Also Published As

Publication number Publication date
CN101599873B (en) 2011-07-27

Similar Documents

Publication Publication Date Title
CN101931520B (en) Switching method and system
US8804534B2 (en) Interworking between MPLS/IP and Ethernet OAM mechanisms
CN100365998C (en) System and method for implementing OAM function of ethernet and multi-protocol tag exchange network
US8854975B2 (en) Scaling OAM for point-to-point trunking
US8295160B2 (en) Data communication system, device and method of detecting a failure on an access line in a network
US8259590B2 (en) Systems and methods for scalable and rapid Ethernet fault detection
CN101051995B (en) Protection switching method based on no connection network
Bocci et al. A framework for MPLS in transport networks
CN100459531C (en) Method for notifying pseudo-lines fault based on bidirectional transmission detecting protocol
CN106487675A (en) For the outlet protection in EVPN with BUM flow during link failure
CN100502303C (en) Method for managing fault of Ethernet and multi-protocol tag exchange network interconnection
CN101924654B (en) Point-to-multipoint service-based path switching method and system
CN101155076B (en) Method for checking pseudo wire trouble of two-layer special network
CN103178971A (en) Passive optical network (PON) protecting method and device
CN101815006B (en) aggregation control method of links passing through provider network and system
CN102282805B (en) Method for service protection and access device
CN101599873B (en) Detection method of connectivity and device therefor
CN101719834B (en) Method and system for realizing virtual private multicast service protection
CN101908983B (en) Joint detection method and system for Ethernet local segment protection
CN101710869A (en) Device and method for detecting two-layer virtual private network failures
CN100446476C (en) Method and apparatus for communicating network trouble dtecting result
EP2129042B1 (en) A multicast network system, node and a method for detecting a fault of a multicast network link
CN101989944B (en) Method for local protection of Ethernet tunnel and shared node of protection domain working segment
CN100461742C (en) Method and device for improving reliability of user terminal dual attachment network in VPLS system
CN102104523B (en) Data stream transmission method based on PBB-TE sectional tunnel, and node

Legal Events

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

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address