[go: up one dir, main page]

CN102891788B - VPLS service establishing methods and device - Google Patents

VPLS service establishing methods and device Download PDF

Info

Publication number
CN102891788B
CN102891788B CN201110203444.1A CN201110203444A CN102891788B CN 102891788 B CN102891788 B CN 102891788B CN 201110203444 A CN201110203444 A CN 201110203444A CN 102891788 B CN102891788 B CN 102891788B
Authority
CN
China
Prior art keywords
vpls
service
local
protection
binding relationship
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.)
Expired - Fee Related
Application number
CN201110203444.1A
Other languages
Chinese (zh)
Other versions
CN102891788A (en
Inventor
沈训龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
Nanjing ZTE New Software 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 Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
Priority to CN201110203444.1A priority Critical patent/CN102891788B/en
Priority to PCT/CN2011/083234 priority patent/WO2012151969A1/en
Publication of CN102891788A publication Critical patent/CN102891788A/en
Application granted granted Critical
Publication of CN102891788B publication Critical patent/CN102891788B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/68Pseudowire emulation, e.g. IETF WG PWE3

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种VPLS业务建立方法及装置,上述方法包括:在PE设备上创建VPLS业务,并为VPLS业务生成在该PE设备范围内唯一的确定一个业务实例的业务ID;根据上述业务ID建立一条或多条伪线PW,指定上述一条或多条PW对应于上述VPLS业务;建立上述一条或多条PW与上述VPLS业务的绑定关系。通过本发明提供的技术方案,解决了VPLS业务中PE与PE之间(或NPE与NPE之间)的PW无保护功能的问题,进而达到了加强VPLS业务健壮性,提高VPLS业务可用性的效果。

The present invention discloses a method and device for establishing a VPLS service. The method includes: creating a VPLS service on a PE device, and generating a service ID uniquely identifying a service instance within the scope of the PE device for the VPLS service; according to the above service ID Establishing one or more pseudowire PWs, designating the above one or more PWs to correspond to the above VPLS service; establishing a binding relationship between the above one or more PWs and the above VPLS service. The technical scheme provided by the invention solves the problem that the PW between PEs (or between NPEs) has no protection function in the VPLS service, and further achieves the effect of strengthening the robustness of the VPLS service and improving the availability of the VPLS service.

Description

VPLS业务建立方法及装置Method and device for establishing VPLS service

技术领域technical field

本发明涉及通信领域,具体而言,涉及一种VPLS(Virtual Private LAN Service,虚拟专用局域网业务)业务建立方法及装置。The present invention relates to the communication field, in particular to a method and device for establishing a VPLS (Virtual Private LAN Service, Virtual Private LAN Service) service.

背景技术Background technique

当今IP网络已经遍布全球,如何利用现有IP网络为企业提供低成本转往服务,正逐渐被各运营商关注。因此,MPLS(Multi-Protocol Label Switching,多协议标签交换)VPN(VirtualPrivate Network,虚拟专用网络)技术应运而生,该技术具有可以在IP网络上提供VPN服务,并且具有可以方便设定带宽速率、配置简单等特点。Today's IP networks have spread all over the world. How to use the existing IP networks to provide low-cost forwarding services for enterprises is gradually attracting the attention of various operators. Therefore, MPLS (Multi-Protocol Label Switching, multi-protocol label switching) VPN (VirtualPrivate Network, virtual private network) technology emerges at the historic moment, this technology can provide VPN service on the IP network, and has the convenience of setting the bandwidth rate, Features such as simple configuration.

基于MPLS的VPN业务有两种,分别是L3(Layer 3)MPLS VPN和L2(Layer 2)MPLSVPN。L2 MPLS VPN包括VPLS和VPWS(Virtual Pfivate Wire Service,虚拟专线业务),其中VPWS仅适用于点到点的组网方式,而VPLS可以实现多点到多点的VPN组网,因此能够为运营商提供一种更完备的解决方案,并且还可以避免像L3 VPN那样接入用户内部路由。如此,运营商可以仅管理、运行一个网络,并在一个网络上同时提供传统IP服务、L3VPN、L2VPN等多种服务,从而避免运营商的大量建设、维护及运营费用。There are two types of MPLS-based VPN services, namely L3 (Layer 3) MPLS VPN and L2 (Layer 2) MPLS VPN. L2 MPLS VPN includes VPLS and VPWS (Virtual Pfivate Wire Service, virtual private line service), of which VPWS is only suitable for point-to-point networking, and VPLS can realize multipoint-to-multipoint VPN networking, so it can provide operators with Provide a more complete solution, and also avoid access to user internal routes like L3 VPN. In this way, operators can manage and operate only one network, and provide traditional IP services, L3VPN, L2VPN and other services on one network at the same time, thus avoiding a large amount of construction, maintenance and operation costs for operators.

VPLS是一种在MPLS网络上提供类似LAN(Local Area Network,局域网)服务的业务,它可以使分散在多个地理位置的用户的设备,接入到同一个虚拟的网络互相访问,从用户看,这些设备直接接入到一个LAN一样。VPLS是用户延伸局域网到MAN(Metro AreaNetwork,城域网),甚至WAN(Wide Area Network,广域网)上。VPLS is a service that provides services similar to LAN (Local Area Network, local area network) on MPLS network. , these devices are directly connected to a LAN like. VPLS is the user's extension of the LAN to the MAN (Metro Area Network, Metropolitan Area Network), or even the WAN (Wide Area Network, Wide Area Network).

VPLS模拟了LAN的转发机制,即通过MAC(Medium Access Control,媒体接入控制)地址转发Ethernet(以太网)报文,对查找MAC地址不成功的帧进行flood(泛洪,即把帧复制到属于同一个LAN中除接收源端口之外的所有其他端口)。VPLS还模拟LAN的MAC地址学习功能,当收到一个帧时,学习该帧的源MAC地址与入端口的映射关系。另外VPLS还模拟了LAN的广播功能,收到目的MAC地址为广播地址或组播地址的帧时,对报文进行flood。另外VPLS还模拟了LAN的MAC地址老化功能,当学习到某个MAC地址后,如果在一定时间内,没有从该MAC地址收到任何帧,则认为该MAC地址无效,需要在本地的映射关系表中删除。VPLS把PW(Pseudo Wire,伪线)模拟成一个以太网端口,即学习MAC地址时,MAC和端口的映射表中的端口号,也可以是MAC和PW的对应关系。VPLS simulates the forwarding mechanism of LAN, that is, forwards Ethernet (Ethernet) packets through the MAC (Medium Access Control, Media Access Control) address, and floods the frames that fail to find the MAC address, that is, copies the frames to belong to all other ports in the same LAN except the receiving source port). VPLS also simulates the MAC address learning function of LAN. When a frame is received, it learns the mapping relationship between the source MAC address of the frame and the incoming port. In addition, VPLS also simulates the broadcast function of LAN, and floods the message when receiving a frame whose destination MAC address is a broadcast address or a multicast address. In addition, VPLS also simulates the MAC address aging function of the LAN. After learning a certain MAC address, if no frame is received from the MAC address within a certain period of time, the MAC address is considered invalid and a local mapping relationship is required. delete from the table. The VPLS simulates a PW (Pseudo Wire) as an Ethernet port, that is, when learning a MAC address, the port number in the MAC-to-port mapping table can also be the corresponding relationship between the MAC and the PW.

在VPLS技术中,所有的LAN仿真都是由PE(ProviderEdge,运营商边缘)设备实现。In the VPLS technology, all LAN emulations are implemented by PE (ProviderEdge, operator's edge) equipment.

在VPLS技术应用中,当CE(Custom Edge,用户边缘)设备连接的PE设备失效,可能导致整个用户业务中断,为了保证用户业务的高可靠性,CE设备可以双归属的接入VPLS,即CE设备可以同时接入到同一个VPLS业务的两个PE设备,其中CE设备可控制一条连接为主用状态,另一条连接为备用状态;双归属所涉及的两个PE设备也可以控制一条连接为主用,另一条为备用。当其中的主用链路失效时,CE设备可以将业务流量很快的切换到备用链路,如此,可以避免业务中断。In the application of VPLS technology, when the PE equipment connected to the CE (Custom Edge, user edge) equipment fails, the entire user service may be interrupted. The device can be connected to two PE devices of the same VPLS service at the same time, and the CE device can control one connection to be in the active state and the other connection to be in the standby state; the two PE devices involved in dual-homing can also control one connection to be One is the main one, and the other one is the backup. When the active link fails, the CE device can quickly switch the service flow to the standby link, thus avoiding service interruption.

在VPLS技术中,还有一种H-VPLS(Hierarchy of VPLS)技术,该技术属于分层VPLS,其中PE设备分为NPE(网络侧PE)和UPE(用户侧PE),CE设备接入UPE设备,UPE设备接入NPE设备,NPE之间采用全链接。该技术可以缓解PE的全链接带来的PW的N平方问题,较大程度的解决了扩展性问题。另外,类似前述双归属保护机制,UPE设备也可以双归属的接入到两个NPE设备,形成备份保护机制。In VPLS technology, there is also a H-VPLS (Hierarchy of VPLS) technology, which belongs to hierarchical VPLS, in which PE equipment is divided into NPE (network side PE) and UPE (user side PE), and CE equipment is connected to UPE equipment , the UPE device is connected to the NPE device, and a full link is used between the NPEs. This technology can alleviate the N-square problem of PW caused by the full link of PE, and solve the scalability problem to a large extent. In addition, similar to the aforementioned dual-homing protection mechanism, a UPE device can also be dual-homing connected to two NPE devices to form a backup protection mechanism.

综合前述两种保护技术,都类似于对运营商和客户之间链路的保护,其中一旦PE与PE(非H-VPLS)之间或NPE与NPE(H-VPLS)之间的PW出现故障,暂时还未提出有效的方法。Combining the above two protection technologies, they are similar to the protection of the link between the operator and the customer. Once the PW between PE and PE (non-H-VPLS) or between NPE and NPE (H-VPLS) fails, No effective method has been proposed yet.

VPLS一个比较关键的技术是PW的创建,IETF(Internet Engineering TaskForce,互联网工程任务组)的PWE3(端到端伪线仿真)工作组定义了PW的若干标准。另外,IETF也制定了VPLS的RFC(Request for Comments),并明确指出PWID(伪线IP)用于标明业务ID,由于VPLS由多个相互独立的PW组成,因此就限定了所述PW的PWID必须一致。另外,在标准定义方面,对于三元组(本端PE设备IP地址,对端PE设备IP地址,PWID)唯一的确定一条PW。因此,对于一个VPLS业务,既要求PWID必须保持一致,又由于三元组的限定,于是就限制了两个PE之间只能建立一条PW。那么按照目前的业界通常的处理方式,VPLS的PE与PE(非H-VPLS)之间或NPE与NPE(H-VPLS)之间的PW无保护功能。针这一问题,目前尚未提出有效的解决方案。A relatively key technology of VPLS is the creation of PW. The PWE3 (end-to-end pseudowire emulation) working group of IETF (Internet Engineering Task Force, Internet Engineering Task Force) has defined several standards of PW. In addition, IETF also formulated the RFC (Request for Comments) of VPLS, and clearly pointed out that PWID (Pseudowire IP) is used to indicate the service ID. Since VPLS is composed of multiple independent PWs, the PWID of the PW is limited. Must be consistent. In addition, in terms of standard definitions, a PW is uniquely determined for a triplet (the IP address of the local PE device, the IP address of the peer PE device, and the PWID). Therefore, for a VPLS service, it is required that the PWIDs must be consistent, and because of the limitation of triplets, only one PW can be established between two PEs. Then, according to the current common processing method in the industry, the PW between PE and PE (non-H-VPLS) or between NPE and NPE (H-VPLS) of VPLS has no protection function. For this problem, no effective solution has been proposed yet.

发明内容Contents of the invention

本发明的主要目的在于提供一种VPLS业务建立方法及装置,以解决上述问题。The main purpose of the present invention is to provide a VPLS service establishment method and device to solve the above problems.

根据本发明的一个方面,提供了一种VPLS业务建立方法,包括:在PE设备上创建VPLS业务,并为VPLS业务生成在该PE设备范围内唯一的确定一个业务实例的业务ID;根据上述业务ID建立一条或多条PW,指定上述一条或多条PW对应于上述VPLS业务;建立上述一条或多条PW与上述VPLS业务的绑定关系。According to one aspect of the present invention, a method for establishing a VPLS service is provided, including: creating a VPLS service on a PE device, and generating a unique service ID for determining a service instance within the scope of the PE device for the VPLS service; according to the above-mentioned service The ID establishes one or more PWs, specifies that the one or more PWs correspond to the above-mentioned VPLS service; and establishes a binding relationship between the above-mentioned one or more PWs and the above-mentioned VPLS service.

根据业务ID建立一条或多条PW,指定上述一条或多条PW对应于VPLS业务包括以下之一:在本端PE和对端PE之间建立多条PW,其中,该多条PW对应的业务ID相同;在本端PE和对端PE之间建立一条PW,其中,该一条PW对应的业务ID与本端PE与其他对端PE之间的PW对应的业务ID都不相同。Establish one or more PWs according to the service ID, and designate the above-mentioned one or more PWs to correspond to VPLS services, including one of the following: Establish multiple PWs between the local PE and the peer PE, where the services corresponding to the multiple PWs The IDs are the same; a PW is established between the local PE and the remote PE, and the service ID corresponding to the PW is different from the service ID corresponding to the PW between the local PE and other peer PEs.

建立PW与VPLS业务的绑定关系包括:设置本端PE到对端PE之间的PW与VPLS业务的绑定关系;设置对端PE到本端PE之间的PW与VPLS业务的绑定关系。Establishing the binding relationship between PW and VPLS service includes: setting the binding relationship between PW and VPLS service between the local PE and the peer PE; setting the binding relationship between PW and VPLS service between the peer PE and the local PE .

设置本端PE到对端PE之间的PW与VPLS业务的绑定关系包括:在本端PE到对端PE之间的PW中指定工作PW及保护PW,将工作PW及保护PW都设置到绑定关系中;为保护PW指定所要保护的PW。Setting the binding relationship between the PW and the VPLS service between the local PE and the remote PE includes: specifying the working PW and the protection PW in the PW between the local PE and the remote PE, and setting both the working PW and the protection PW to In the binding relationship; specify the PW to be protected for the protected PW.

建立PW与VPLS业务的绑定关系还包括:设置本端PE到其他对端PE之间的PW与VPLS业务的绑定关系;设置其他对端PE到本端PE之间的PW与VPLS业务的绑定关系。Establishing the binding relationship between PW and VPLS service also includes: setting the binding relationship between PW and VPLS service between the local PE and other peer PEs; setting the binding relationship between PW and VPLS service between other peer PEs and local PE binding relationship.

根据本发明的另一方面,提供了一种VPLS业务建立装置,包括:业务模块,用于在PE设备上创建VPLS业务,并为VPLS业务生成在该PE设备范围内唯一的确定一个业务实例的业务ID;伪线模块,用于根据上述业务ID建立一条或多条PW,指定上述一条或多条PW对应于上述VPLS业务;绑定模块,用于建立上述一条或多条PW与上述VPLS业务的绑定关系。According to another aspect of the present invention, a device for establishing a VPLS service is provided, including: a service module, configured to create a VPLS service on a PE device, and generate a unique service instance for the VPLS service within the scope of the PE device Service ID; Pseudowire module, used to establish one or more PWs according to the above-mentioned service ID, specifying that the above-mentioned one or more PWs correspond to the above-mentioned VPLS service; binding module, used to establish the above-mentioned one or more PWs and the above-mentioned VPLS service binding relationship.

伪线模块包括以至少下之一:第一建立单元,用于在本端PE和对端PE之间建立多条PW,其中,该多条PW对应的业务ID相同;第二建立单元,用于在本端PE和对端PE之间建立一条PW,其中,一条PW对应的业务ID与本端PE与其他对端PE之间的PW对应的业务ID都不相同。The pseudowire module includes at least one of the following: a first establishment unit, configured to establish multiple PWs between the local PE and the peer PE, wherein the service IDs corresponding to the multiple PWs are the same; the second establishment unit is used to A PW is established between the local PE and the peer PE, where the service ID corresponding to a PW is different from the service ID corresponding to the PW between the local PE and other peer PEs.

绑定模块包括:第一设置单元,用于设置本端PE到对端PE之间的PW与VPLS业务的绑定关系;第二设置单元,用于设置对端PE到本端PE之间的PW与VPLS业务的绑定关系。The binding module includes: a first setting unit, which is used to set the binding relationship between the PW and the VPLS service between the local PE and the peer PE; the second setting unit, which is used to set the binding relationship between the peer PE and the local PE. Binding relationship between PW and VPLS service.

第一设置单元包括:第一指定子单元,用于在本端PE到对端PE之间的PW中指定工作PW及保护PW,将工作PW及保护PW都设置到绑定关系中;第二指定子单元,用于为保护PW指定所要保护的PW。The first setting unit includes: a first specifying subunit, which is used to specify a working PW and a protection PW in the PW between the local PE and the peer PE, and set both the working PW and the protection PW into the binding relationship; Specifies the subunit, which is used to specify the PW to be protected for the protected PW.

绑定模块还包括:第三设置单元,用于设置本端PE到其他对端PE之间的PW与VPLS业务的绑定关系;第四设置单元,用于设置其他对端PE到本端PE之间的PW与VPLS业务的绑定关系。The binding module also includes: a third setting unit, which is used to set the binding relationship between the PW and the VPLS service between the local PE and other peer PEs; the fourth setting unit, which is used to set other peer PEs to the local PE The binding relationship between the PW and the VPLS service.

通过本发明,采用在创建VPLS业务为该业务生成一个唯一的业务ID,PE设备根据该业务ID创建PW,并最终将所需的PW与该VPLS业务进行绑定的方案,解决了VPLS业务中PE与PE之间(或NPE与NPE之间)的PW无保护功能的问题,进而达到了加强VPLS业务健壮性,提高VPLS业务可用性的效果。Through the present invention, a unique service ID is generated for the service when the VPLS service is created, the PE device creates a PW according to the service ID, and finally binds the required PW with the VPLS service, which solves the problem of VPLS service The problem that the PW between PEs (or between NPEs) has no protection function can further achieve the effect of strengthening the robustness of VPLS services and improving the availability of VPLS services.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1是根据本发明实施例的VPLS业务建立方法的流程图;Fig. 1 is the flow chart of the method for establishing a VPLS service according to an embodiment of the present invention;

图2是根据本发明实例的承载VPLS业务的PE的结构示意图;Fig. 2 is the structural representation of the PE that bears the weight of VPLS service according to the example of the present invention;

图3是根据本发明实例的PW创建流程图;Fig. 3 is a flow chart of creating a PW according to an example of the present invention;

图4是根据本发明实例的VPLS业务和PW绑定的流程图;Fig. 4 is the flow chart of VPLS service and PW binding according to the example of the present invention;

图5是根据本发明实施例的VPLS业务建立装置的结构框图。Fig. 5 is a structural block diagram of a device for establishing a VPLS service according to an embodiment of the present invention.

具体实施方式detailed description

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

图1是根据本发明实施例的VPLS业务建立方法的流程图。如图1所示,根据本发明实施例的VPLS业务建立方法包括:Fig. 1 is a flowchart of a method for establishing a VPLS service according to an embodiment of the present invention. As shown in Figure 1, the VPLS service establishment method according to the embodiment of the present invention includes:

步骤S102,在PE设备上创建VPLS业务,并为VPLS业务生成在该PE设备范围内可以唯一的确定一个业务实例的业务ID;Step S102, creating a VPLS service on the PE device, and generating a service ID that can uniquely determine a service instance within the scope of the PE device for the VPLS service;

步骤S104,根据上述业务ID建立一条或多条PW,指定上述一条或多条PW对应于上述VPLS业务;Step S104, establishing one or more PWs according to the above-mentioned service ID, and specifying that the above-mentioned one or more PWs correspond to the above-mentioned VPLS service;

步骤S106,建立上述一条或多条PWPW与上述VPLS业务的绑定关系。Step S106, establishing a binding relationship between the above-mentioned one or more PWPWs and the above-mentioned VPLS service.

本实施实例提供的VPLS业务建立方法,在原有VPLS业务建立方法的基础上,通过在协议报文中新增专用的与PWID没有一一对应的关系的Service ID(业务ID),完善了VPLS业务PE与PE(非H-VPLS)之间或NPE与NPE(H-VPLS)之间的PW保护功能,从而加强了VPLS业务的健壮性,并提高了VPLS业务的可用性。本实例中所说的PE设备包括PE和NPE。The VPLS service establishment method provided by this implementation example, on the basis of the original VPLS service establishment method, improves the VPLS service by adding a dedicated Service ID (service ID) that does not have a one-to-one correspondence with the PWID in the protocol message The PW protection function between PE and PE (non-H-VPLS) or between NPE and NPE (H-VPLS), thus strengthening the robustness of VPLS services and improving the availability of VPLS services. The PE equipment mentioned in this example includes PE and NPE.

本优选实施例中列举两种根据业务ID建立PW的方式。优选地,步骤S104可以进一步包括以下之一处理:In this preferred embodiment, two ways of establishing a PW according to a service ID are listed. Preferably, step S104 may further include one of the following processes:

(1)在本端PE和对端PE之间建立多条PW,多条PW对应的业务ID相同;(1) Multiple PWs are established between the local PE and the remote PE, and the service IDs corresponding to the multiple PWs are the same;

(2)在本端PE和对端PE之间建立一条PW,该PW对应的业务ID与本端PE与其他对端PE之间的PW对应的业务ID都不相同。(2) A PW is established between the local PE and the peer PE, and the service ID corresponding to the PW is different from the service ID corresponding to the PW between the local PE and other peer PEs.

如果PW需要保护机制,则执行处理(1),在本端PE和对端PE之间建立多条PW,并且这些PW的service ID相同,但是PWID不同;如果PW不需要保护机制,则执行处理(2),在本端和对端PE之间建立一条PW,并且该PW的service ID和其他任何本端PE和对端PE之间的PW的service ID都不相同,但是PWID可以相同。If the PW needs a protection mechanism, perform processing (1), establish multiple PWs between the local PE and the remote PE, and the service IDs of these PWs are the same, but the PWID is different; if the PW does not require a protection mechanism, perform processing (2) A PW is established between the local PE and the peer PE, and the service ID of the PW is different from that of any other PW between the local PE and the peer PE, but the PWID can be the same.

优选地,步骤S106可以进一步包括以下处理:Preferably, step S106 may further include the following processing:

(1)设置本端PE到对端PE之间的PW与VPLS业务的绑定关系;(1) Set the binding relationship between the PW and the VPLS service between the local PE and the peer PE;

(2)设置对端PE到本端PE之间的PW与VPLS业务的绑定关系。(2) Set the binding relationship between the PW and the VPLS service between the remote PE and the local PE.

本端PE、对端PE是一种相对的称呼,在建立PW与VPLS业务的绑定关系时,先要设置本端PE到对端PE之间的PW与VPLS业务的绑定关系,还要完成对端PE到本端PE之间的PW与VPLS业务的绑定关系的设置。The local PE and the remote PE are relative terms. When establishing the binding relationship between the PW and the VPLS service, you must first set the binding relationship between the PW and the VPLS service between the local PE and the remote PE. Complete the setting of the binding relationship between the PW and the VPLS service between the remote PE and the local PE.

而设置PW与VPLS业务的绑定关系的方式有许多种,本优选实施例给出一种优选方式。优选地,设置本端PE到对端PE之间的PW与VPLS业务的绑定关系可以包括以下处理:There are many ways to set the binding relationship between the PW and the VPLS service, and this preferred embodiment provides a preferred way. Preferably, setting the binding relationship between the PW and the VPLS service between the local PE and the peer PE may include the following processing:

(1)在本端PE到对端PE之间的PW中指定工作PW及保护PW,将工作PW及保护PW都设置到绑定关系中;(1) Specify the working PW and protection PW in the PW between the local PE and the peer PE, and set both the working PW and the protection PW into the binding relationship;

(2)为保护PW指定所要保护的PW。(2) Designate the PW to be protected for the protected PW.

本优选实例给出一种简单实用的绑定关系设置方法。如果本端PE到对端PE之间的PW需要PW保护,则在设置PW和业务的绑定时,需要指定工作PW及保护PW并把PW保护所涉及PW都设置到绑定关系中,然后指定PW保护所涉及PW是工作PW还是保护PW,保护PW可以对工作PW进行保护,也可以对另一保护PW进行保护即双重保护。当然,如果本端PE和对端PE之间的PW不需要PW保护,则在设置PW和业务的绑定时,仅需要指定绑定的PW即可。This preferred example provides a simple and practical method for setting the binding relationship. If the PW between the local PE and the remote PE needs PW protection, when setting the binding between the PW and the service, you need to specify the working PW and the protection PW and set all the PWs involved in the PW protection into the binding relationship, and then Specify whether the PW involved in PW protection is a working PW or a protection PW. The protection PW can protect the working PW, or protect another protection PW, that is, double protection. Of course, if the PW between the local PE and the remote PE does not require PW protection, when setting the binding between the PW and the service, you only need to specify the bound PW.

优选地,步骤S106还可以进一步包括以下处理:Preferably, step S106 may further include the following processing:

(1)设置本端PE到其他对端PE之间的PW与VPLS业务的绑定关系;(1) Set the binding relationship between the PW and the VPLS service between the local PE and other peer PEs;

(2)设置其他对端PE到本端PE之间的PW与VPLS业务的绑定关系。(2) Set the binding relationship between the PW and the VPLS service between other peer PEs and the local PE.

一个VPLS业务对应的所有PE之间都可以根据业务ID建立多条PW以进行保护,当然也可以只在某几个PE之间进行保护,具体涉及的范围需要根据实际情况而定。Multiple PWs can be established between all PEs corresponding to a VPLS service for protection according to the service ID. Of course, protection can only be carried out between certain PEs. The specific scope depends on the actual situation.

下面结合实例对上述优选实施例进行详细说明。The above preferred embodiments will be described in detail below in conjunction with examples.

本实例中PE的结构如图2所示,整个VPLS业务建立过程描述如下:The PE structure in this example is shown in Figure 2, and the entire VPLS service establishment process is described as follows:

首先,在本PE创建VPLS业务,并且VPLS业务的Service ID和其他VPLS业务的ServiceID不相同。First, create a VPLS service on the local PE, and the Service ID of the VPLS service is different from the Service ID of other VPLS services.

如图2所示,VPLS业务VPLS-1由PE1、PE2、PE3共同完成建立,其中PE1、PE2和PE3在本地建立VPLS业务,创建的VPLS业务的Service ID都为1。As shown in Figure 2, the VPLS service VPLS-1 is jointly established by PE1, PE2, and PE3. PE1, PE2, and PE3 establish VPLS services locally, and the Service IDs of the created VPLS services are all 1.

在Service ID生成后,则开始创建PW,如图3所示,PW的创建流程包括:After the Service ID is generated, start to create a PW, as shown in Figure 3, the process of creating a PW includes:

步骤S302,根据service id、PWID和对端PE的IP地址创建一条PW。Step S302, creating a PW according to the service id, the PWID and the IP address of the peer PE.

在IETF的RFC 4447标准中定义的PW都是双向的,PW由两端点PE间的一对单向的LSP组成,其中这一对单向LSP的PWID相同的,即:唯一标识一条PW的是三元组信息(本端PEIP地址,对端PE IP地址,PWID)。The PW defined in the RFC 4447 standard of the IETF is bidirectional. The PW is composed of a pair of unidirectional LSPs between the two endpoints PE. The PWID of the pair of unidirectional LSPs is the same, that is, the unique identifier of a PW is Triple information (local PE IP address, peer PE IP address, PWID).

在实例中,对原有的协议进行了扩展,本端PE分配PW标签给对端PE时,信令消息中,不仅仅携带对端PE IP地址和PWID信息,并且还额外的携带Service ID字段,此时,PW还是单向的,PW由PW端点PE间的一对单向LSP组成,并且这一对单向LSP的二元组(ServiceID,PWID)相同,即:唯一标识一条PW的是四元组信息(本端PE IP地址,对端PE IP地址,ServiceID,PWID)。In the example, the original protocol is extended. When the local PE assigns a PW label to the peer PE, the signaling message not only carries the peer PE IP address and PWID information, but also additionally carries the Service ID field. , at this time, the PW is still unidirectional, and the PW is composed of a pair of unidirectional LSPs between the PW endpoints PE, and the two-tuple (ServiceID, PWID) of the pair of unidirectional LSPs are the same, that is, the unique identifier of a PW is Four-tuple information (local PE IP address, peer PE IP address, ServiceID, PWID).

步骤S304,判断PW是否具有保护属性。Step S304, judging whether the PW has a protection attribute.

在本实例中,PW是否具有保护属性,需要依据用户的输入决定。In this example, whether the PW has the protection attribute needs to be determined according to the user's input.

步骤S306,如果PW具有保护属性,在本端PE和对端PE之间创建多条PW,这些PW和已经建立好且属于同一PW保护组的PW的Service ID相同,但是PWID不同。Step S306, if the PW has the protection attribute, multiple PWs are created between the local PE and the peer PE. These PWs have the same Service ID as the established PWs belonging to the same PW protection group, but different PWIDs.

步骤S308,如果PW不具备保护属性,那么本端PE和对端PE之间,不需要额外建立PW。In step S308, if the PW does not have the protection attribute, no additional PW needs to be established between the local PE and the remote PE.

通过完整的执行以上各个步骤,即可根据用户对PW的保护属性设置,将一对PE之间的PW建立完成,这些PW的Service ID都相同,PWID不相同。By completely executing the above steps, a PW between a pair of PEs can be established according to the user's protection attribute settings for the PW. The Service IDs of these PWs are the same, but the PWIDs are different.

由于VPLS业务是多点业务,需要多个PE一起完成业务的转发,那么就需要在多个PE的集合内,两两PE之间都最好建立PW。前述步骤已经能在一对PE之间建立PW,因此,只需要在所有PE集合内的两两PE之间,逐步执行前述步骤S302、S304、S306、S308,就可以完成所有PW的建立,具体实施如下:Since the VPLS service is a multi-point service, multiple PEs are required to complete service forwarding together, so it is necessary to establish a PW between any two PEs in the set of multiple PEs. The preceding steps can already establish a PW between a pair of PEs. Therefore, it is only necessary to perform the preceding steps S302, S304, S306, and S308 step by step between two PEs in all PE sets to complete the establishment of all PWs. The implementation is as follows:

如图2所示的PE1,由于PE1和PE2之间的PW具有保护属性,PE1通过两次循环执行步骤S302、S304、S306建立PE1和PE2之间的单向伪线PW-1和单向伪线PW-2,由于PE1和PE3之间的PW不具备保护属性,PE1通过执行步骤S302、S304、S308建立PE1和PE3之间的单向伪线PW-4,这些伪线的Service ID都是1。For PE1 shown in Figure 2, since the PW between PE1 and PE2 has protection attributes, PE1 executes steps S302, S304, and S306 twice to establish the unidirectional pseudo-wire PW-1 and unidirectional pseudo-wire PW-1 between PE1 and PE2. Line PW-2. Since the PW between PE1 and PE3 does not have the protection attribute, PE1 establishes a unidirectional pseudo-wire PW-4 between PE1 and PE3 by performing steps S302, S304, and S308. The Service IDs of these pseudo-wires are 1.

如图2所示的PE2,由于PE2和PE1之间的PW具有保护属性,PE2通过两次循环的执行步骤S302、S304、S306建立PE2和PE1之间的单向伪线PW-1和PW-2,由于PE2和PE3之间的PW不具备保护属性,PE2通过执行步骤S302、S304、S308建立PE2和PE3之间的单向伪线PW-4,这些伪线的Service ID都是1。For PE2 shown in Figure 2, since the PW between PE2 and PE1 has protection attributes, PE2 establishes unidirectional pseudowires PW-1 and PW- 2. Since the PW between PE2 and PE3 does not have the protection attribute, PE2 establishes a unidirectional pseudowire PW-4 between PE2 and PE3 by performing steps S302, S304, and S308. The Service IDs of these pseudowires are all 1.

如图2所示的PE3,由于PE3和PE2之间的PW不具备保护属性,PE3通过执行步骤S302、S304、S308建立PE3和PE2之间的单向伪线PW-4,由于PE3和PE1之间的PW不具备保护属性,PE3通过执行步骤S302、S304、S308建立PE3和PE1之间的单向伪线PW-3,这些伪线的Service ID都是1。For PE3 shown in Figure 2, since the PW between PE3 and PE2 does not have protection attributes, PE3 establishes a unidirectional pseudowire PW-4 between PE3 and PE2 by performing steps S302, S304, and S308. The PWs between PE3 and PE1 do not have the protection attribute. PE3 establishes a unidirectional pseudowire PW-3 between PE3 and PE1 by performing steps S302, S304, and S308. The Service IDs of these pseudowires are all 1.

当根据保护属性,将所有的伪线都建立完成,并且VPLS业务已经建立完成,则进入VPLS业务和伪线的绑定步骤,如图4所示,包括:When all pseudowires are established according to the protection attribute, and the VPLS service has been established, then enter the binding step of the VPLS service and the pseudowire, as shown in Figure 4, including:

步骤S402,设置本端PE和对端PE之间的PW和VPLS业务的绑定。Step S402, setting the binding between the PW and the VPLS service between the local PE and the remote PE.

VPLS业务由伪线承载,通过本步骤的设置绑定,使业务和伪线之间形成对应关系。The VPLS service is carried by the pseudowire, and through the setting and binding in this step, a corresponding relationship is formed between the service and the pseudowire.

步骤S404,判断伪线是否具有保护属性。Step S404, judging whether the pseudowire has a protection attribute.

根据步骤S304,可以得到伪线是否具有保护属性,保护属性由用户根据VPLS业务需求指定。举例如下,如图1所述,VPLS-1业务的PE-1和PE-2之间需要保护,PE-2和PE-3之间不需要保护,那么,用户可以设置PE-1和PE-2之间的伪线具有保护属性,可以设置PE-2和PE-3之间的伪线不具备保护属性,如果具备保护属性,则继续执行步骤S406,如果不具备保护属性,则继续执行步骤S408。According to step S304, it can be obtained whether the pseudowire has a protection attribute, and the protection attribute is specified by the user according to the VPLS service requirement. For example, as shown in Figure 1, protection is required between PE-1 and PE-2 of the VPLS-1 service, and protection is not required between PE-2 and PE-3. Then, the user can set PE-1 and PE- The pseudowire between 2 has a protection attribute, and it can be set that the pseudowire between PE-2 and PE-3 does not have a protection attribute. If it has a protection attribute, proceed to step S406, and if it does not have a protection attribute, proceed to step S406. S408.

步骤S406,把VPLS业务与被保护伪线具有相同Service ID和相同对端PE IP的伪线绑定。Step S406, binding the VPLS service to the protected pseudowire with the same Service ID and the same peer PE IP.

参考步骤S404,VPLS-1业务的PE-1和PE-2之间具有保护属性,在步骤S304和步骤S306就创建了2条伪线,分别为PW1和PW2,并且PW1和PW2具有保护关系,步骤S404已经把其中一条PW1和VPLS-1业务进行了绑定,经过判断VPLS-1业务的PE-1和PE-2之间具有保护属性,那么在本步骤,把PW2和VPLS-1执行绑定。Referring to step S404, there is a protection attribute between PE-1 and PE-2 of the VPLS-1 service, and two pseudowires are created in steps S304 and S306, respectively PW1 and PW2, and PW1 and PW2 have a protection relationship, Step S404 has bound one of the PW1 and VPLS-1 services, after judging that there is a protection attribute between PE-1 and PE-2 of the VPLS-1 service, then in this step, bind PW2 and VPLS-1 Certainly.

步骤S408,不需要设置额外的绑定。Step S408, no additional binding needs to be set.

由于伪线不具备保护属性,那么在步骤S404之后,就不再需要设置额外的VPLS业务和伪线的绑定关系。Since the pseudowire does not have the protection attribute, after step S404, there is no need to set an additional binding relationship between the VPLS service and the pseudowire.

前述步骤S402到步骤S404已经能将一个PE的VPLS业务创建好,并且把本PE和VPLS业务内的一个对端PE的伪线和VPLS业务绑定。由于VPLS业务是多点业务,PE和其他所有PE之间都建立了伪线,这些伪线都要和业务绑定,本PE可以按照步骤S402、S404、S406、S408的要求,把VPLS业务涉及的其他排除本PE之外的所有PE和本PE之间的伪线,都建立和VPLS业务的绑定关系。The foregoing step S402 to step S404 can already create a VPLS service of a PE, and bind the PW and VPLS service of this PE and a peer PE in the VPLS service. Since the VPLS service is a multipoint service, pseudowires have been established between the PE and all other PEs, and these pseudowires must be bound to the service. This PE can follow the requirements of steps S402, S404, S406, and S408 to connect the VPLS services involved All pseudowires between other PEs except this PE and this PE are bound to the VPLS service.

如图2所示,PE1首先完成设置VPLS-1业务和PE2之间的伪线和VPLS业务绑定关系,通过分别设置PW-1和VPLS-1业务绑定关系,PW-2和VPLS-1业务绑定关系;然后按照S402、S404、S408的顺序,设置PE1和PE3之间的伪线和VPLS业务绑定关系,即设置PW-3和VPLS-1业务绑定关系。As shown in Figure 2, PE1 first completes the setting of the pseudowire and VPLS service binding relationship between the VPLS-1 service and PE2. By setting the PW-1 and VPLS-1 service binding relationship respectively, the Service binding relationship; then according to the order of S402, S404, S408, set the pseudowire and VPLS service binding relationship between PE1 and PE3, that is, set the PW-3 and VPLS-1 service binding relationship.

由于VPLS业务是多点业务,VPLS业务内的每个PE都需要创建VPLS业务,并且每个PE都需要把伪线和VPLS业务进行绑定。按照前述的步骤S402、S404、S406、S408即可完成,具体实施如下:Since the VPLS service is a multipoint service, each PE in the VPLS service needs to create a VPLS service, and each PE needs to bind the pseudowire and the VPLS service. It can be completed according to the aforementioned steps S402, S404, S406, and S408, and the specific implementation is as follows:

如图2所示的PE2,首先:PE2通过执行步骤S402创建VPLS-1业务,然后,由于PE2和PE1之间的伪线具有保护属性,PE2执行步骤S402、S404、S406完成PE2和PE1之间的PW1、PW2与VPLS-1的绑定设置,最后,由于PE2和PE3之间的伪线不具备保护属性,PE2执行步骤S402、S404、S408完成PE2和PE3之间的PW-4与VPLS-1的绑定设置。For PE2 shown in Figure 2, first: PE2 creates a VPLS-1 service by executing step S402, and then, because the pseudowire between PE2 and PE1 has protection attributes, PE2 executes steps S402, S404, and S406 to complete the connection between PE2 and PE1. Binding settings between PW1, PW2 and VPLS-1. Finally, because the pseudowire between PE2 and PE3 does not have protection attributes, PE2 performs steps S402, S404, and S408 to complete the PW-4 and VPLS-1 between PE2 and PE3. 1 for binding settings.

如图2所示的PE3,首先:PE3通过执行步骤S402创建VPLS-1业务,然后,由于PE3和PE1之间的伪线不具备保护属性,PE3执行步骤S402、S404、S408完成PE3和PE1之间的PW-3和VPLS-1的绑定设置,最后,由于PE3和PE2之间的伪线不具备保护属性,PE3执行步骤S402、S404、S408完成PE3和PE2之间的PW-4和VPLS-1的绑定设置。For PE3 shown in Figure 2, first: PE3 creates a VPLS-1 service by executing step S402, and then, because the pseudowire between PE3 and PE1 does not have protection attributes, PE3 executes steps S402, S404, and S408 to complete the connection between PE3 and PE1. Binding settings between PW-3 and VPLS-1, and finally, because the pseudowire between PE3 and PE2 does not have protection attributes, PE3 performs steps S402, S404, and S408 to complete PW-4 and VPLS between PE3 and PE2 -1 for binding settings.

本实例中,将伪线三元组(本端PE设备IP地址,对端PE设备IP地址,PWID)扩展为伪线四元组(本端PE设备IP地址,对端PE设备IP地址,Service ID,PWID),通过ServiceID确定是否属于同一个VPLS业务,使得对于同一个VPLS业务的一对PE设备之间,能够建立多条具有保护关系的伪线,并最终可以提供对VPLS业务的保护。In this example, the pseudowire triplet (IP address of the local PE device, IP address of the peer PE device, PWID) is extended to a pseudowire quadruple (IP address of the local PE device, IP address of the peer PE device, Service ID, PWID), determine whether they belong to the same VPLS service through the ServiceID, so that multiple pseudowires with protection relationship can be established between a pair of PE equipment for the same VPLS service, and finally the protection of the VPLS service can be provided.

图5是根据本发明实施例的VPLS业务建立装置的结构框图,如图5所示,根据本发明实施例的VPLS业务建立装置包括:Fig. 5 is a structural block diagram of a VPLS service establishment device according to an embodiment of the present invention. As shown in Fig. 5, the VPLS service establishment device according to an embodiment of the present invention includes:

业务模块52,用于在PE设备上创建VPLS业务,并为VPLS业务生成在该PE设备范围内可以唯一的确定一个业务实例的业务ID;A service module 52, configured to create a VPLS service on the PE device, and generate a service ID that can uniquely determine a service instance within the scope of the PE device for the VPLS service;

伪线模块54,连接至业务模块52,用于根据上述业务ID建立一条或多条PW,指定上述一条或多条PW对应于上述VPLS业务;The pseudowire module 54 is connected to the service module 52, and is used to establish one or more PWs according to the above-mentioned service ID, and specify that the above-mentioned one or more PWs correspond to the above-mentioned VPLS service;

绑定模块56,连接至伪线模块54,用于建立上述一条或多条PW与上述VPLS业务的绑定关系。The binding module 56 is connected to the pseudowire module 54 and configured to establish a binding relationship between the above-mentioned one or more PWs and the above-mentioned VPLS service.

本实施实例提供的VPLS业务建立装置通过在协议报文中新增专用的与PWID没有一一对应的关系的Service ID(业务ID),完善了VPLS业务PE与PE(非H-VPLS)之间或NPE与NPE(H-VPLS)之间的PW保护功能,从而加强了VPLS业务的健壮性,并提高了VPLS业务的可用性。The VPLS service establishment device provided by this implementation example improves the relationship between VPLS service PE and PE (non-H-VPLS) or The PW protection function between NPE and NPE (H-VPLS), thereby strengthening the robustness of VPLS services and improving the availability of VPLS services.

优选地,伪线模块54可以包括以至少下之一的单元:Preferably, the pseudowire module 54 may include at least one of the following units:

第一建立单元,用于在本端PE和对端PE之间建立多条PW,多条PW对应的业务ID相同;The first establishment unit is used to establish multiple PWs between the local PE and the peer PE, and the service IDs corresponding to the multiple PWs are the same;

第二建立单元,用于在本端PE和对端PE之间建立一条PW,该PW对应的业务ID与本端PE与其他对端PE之间的PW对应的业务ID都不相同。The second establishment unit is used to establish a PW between the local PE and the peer PE, and the service ID corresponding to the PW is different from the service ID corresponding to the PW between the local PE and other peer PEs.

如果PW需要保护机制,则第一建立单元会在本端PE和对端PE之间建立多条PW,并且这些PW的service ID相同,但是PWID不同;如果PW不需要保护机制,则第二建立单元会在本端和对端PE之间建立一条PW,并且该PW的service ID和其他任何本端PE和对端PE之间的PW的service ID都不相同,但是PWID可以相同。If the PW needs a protection mechanism, the first establishment unit will establish multiple PWs between the local PE and the peer PE, and the service IDs of these PWs are the same, but the PWIDs are different; if the PW does not require a protection mechanism, the second establishment unit The unit will establish a PW between the local PE and the peer PE, and the service ID of this PW is different from that of any other PW between the local PE and the peer PE, but the PWID can be the same.

优选地,绑定模块56可以包括:Preferably, the binding module 56 may include:

第一设置单元,用于设置本端PE到对端PE之间的PW与VPLS业务的绑定关系;The first setting unit is used to set the binding relationship between the PW and the VPLS service between the local PE and the peer PE;

第二设置单元,用于设置对端PE到本端PE之间的PW与VPLS业务的绑定关系。The second setting unit is used to set the binding relationship between the PW and the VPLS service between the peer PE and the local PE.

本端PE、对端PE是一种相对的称呼,在建立PW与VPLS业务的绑定关系时,先要设置本端PE到对端PE之间的PW与VPLS业务的绑定关系,还要完成对端PE到本端PE之间的PW与VPLS业务的绑定关系的设置,第一设置单元和第二设置单元即可完成上述功能。The local PE and the remote PE are relative terms. When establishing the binding relationship between the PW and the VPLS service, you must first set the binding relationship between the PW and the VPLS service between the local PE and the remote PE. After completing the setting of the binding relationship between the PW and the VPLS service between the peer PE and the local PE, the first setting unit and the second setting unit can complete the above functions.

优选地,上述第一设置单元可以包括:Preferably, the above-mentioned first setting unit may include:

第一指定子单元,用于在本端PE到对端PE之间的PW中指定工作PW及保护PW,将工作PW及保护PW都设置到绑定关系中;The first specifying subunit is used to specify a working PW and a protection PW in the PW between the local PE and the peer PE, and set both the working PW and the protection PW into the binding relationship;

第二指定子单元,用于为保护PW指定所要保护的PW。The second specifying subunit is used for specifying the PW to be protected for the protected PW.

如果本端PE到对端PE之间的PW需要PW保护,则在设置PW和业务的绑定时,第一指定子单元会指定工作PW及保护PW并把PW保护所涉及PW都设置到绑定关系中,然后第二指定子单元会指定PW保护所涉及PW是工作PW还是保护PW,保护PW可以对工作PW进行保护,也可以对另一保护PW进行保护即双重保护。如果本端PE和对端PE之间的PW不需要PW保护,则在设置PW和业务的绑定时,仅需要指定绑定的PW即可。If the PW between the local PE and the remote PE needs PW protection, when setting the binding between PW and service, the first designated subunit will designate the working PW and protection PW and set all PWs involved in PW protection to the binding In the fixed relationship, the second specifying subunit specifies whether the PW involved in PW protection is a working PW or a protection PW. The protection PW can protect the working PW, or can protect another protection PW, that is, double protection. If the PW between the local PE and the remote PE does not require PW protection, you only need to specify the bound PW when setting the binding between the PW and the service.

优选地,绑定模块56还可以包括:Preferably, the binding module 56 may also include:

第三设置单元,用于设置本端PE到其他对端PE之间的PW与VPLS业务的绑定关系;The third setting unit is used to set the binding relationship between the PW and the VPLS service between the local PE and other peer PEs;

第四设置单元,用于设置其他对端PE到本端PE之间的PW与VPLS业务的绑定关系。The fourth setting unit is used to set the binding relationship between the PW and the VPLS service between other peer PEs and the local PE.

一个VPLS业务对应的所有PE之间都可以根据业务ID建立多条PW以进行保护,当然也可以只在某几个PE之间进行保护,具体涉及的范围需要根据实际情况而定。Multiple PWs can be established between all PEs corresponding to a VPLS service for protection according to the service ID. Of course, protection can only be carried out between certain PEs. The specific scope depends on the actual situation.

从以上的描述中,可以看出,本发明提供的技术方案通过在协议报文中新增专用的与PWID没有一一对应的关系Service ID,完善了VPLS业务PE与PE(非H-VPLS)之间或NPE与NPE(H-VPLS)之间的PW保护功能,从而加强了VPLS业务的健壮性,并提高了VPLS业务的可用性。From the above description, it can be seen that the technical solution provided by the present invention improves the VPLS service PE and PE (non-H-VPLS) by adding a dedicated service ID that does not have a one-to-one correspondence with the PWID in the protocol message. The PW protection function between NPEs or between NPEs (H-VPLS), thus enhancing the robustness of VPLS services and improving the availability of VPLS services.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1. a kind of VPLS VPLS service establishing methods, it is characterised in that including:
In Provider Edge PE equipment create VPLS business, and for the VPLS service generations in the range of the PE equipment only The traffic ID of one one srvice instance of determination;
One or more pseudo-wire PW is set up according to the traffic ID, specifies the PW to correspond to the VPLS business;
Set up the PW and the VPLS business binding relationship;
Wherein, one or more pseudo-wire PW is set up according to the traffic ID, specifying the PW to correspond to the VPLS business includes: A plurality of PW is set up between local end PE and opposite end PE, wherein, the corresponding traffic ID of a plurality of PW is identical.
2. according to the method described in claim 1, it is characterised in that one or more pseudo-wire PW is set up according to the traffic ID, Specifying the PW to correspond to the VPLS business also includes:
When PW does not need protection mechanism, a PW is set up between local end PE and opposite end PE, wherein, a PW is corresponding The corresponding traffic ID of PW between traffic ID and the local end PE and other opposite ends PE is different from.
3. method according to claim 2, it is characterised in that set up the PW and the VPLS business binding relationship bag Include:
The local end PE is set to the PW between the opposite end PE and the binding relationship of the VPLS business;
The opposite end PE to the PW between the local end PE and the VPLS business binding relationship are set.
4. method according to claim 3, it is characterised in that set the local end PE to the PW between the opposite end PE and The binding relationship of the VPLS business includes:
The local end PE into the PW between the opposite end PE assigned work PW and protection PW, by the work PW and the guarantor Shield PW is set in binding relationship;
Claimed PW is specified for the protection PW.
5. the method according to claim 3 or 4, it is characterised in that set up the PW and the binding of the VPLS business is closed System also includes:
The local end PE is set to the PW and the binding relationship of the VPLS business between other opposite ends PE;
Other opposite ends PE to the PW between the local end PE and the binding relationship of the VPLS business are set.
6. a kind of VPLS VPLS business sets up device, it is characterised in that including:
Business module, in Provider Edge PE equipment create VPLS business, and for the VPLS service generations described The traffic ID of a srvice instance is uniquely determined in the range of PE equipment;
Pseudo- wire module, for setting up one or more pseudo-wire PW according to the traffic ID, specifies the PW to correspond to the VPLS Business;
Binding module, the binding relationship for setting up the PW and the VPLS business;
The pseudo- wire module includes:First sets up unit, for setting up a plurality of PW between local end PE and opposite end PE, wherein, institute State the corresponding traffic IDs of a plurality of PW identical.
7. device according to claim 6, it is characterised in that the pseudo- wire module also includes:
Second sets up unit, for when PW does not need protection mechanism, a PW to be set up between local end PE and opposite end PE, its In, the corresponding traffic ID of PW traffic ID corresponding with the PW between the local end PE and other opposite ends PE not phases Together.
8. device according to claim 7, it is characterised in that the binding module includes:
First setting unit, for setting the binding of the local end PE to the PW between the opposite end PE and the VPLS business to close System;
Second setting unit, for setting the opposite end PE to the PW between the local end PE and the binding of the VPLS business to close System.
9. device according to claim 8, it is characterised in that the first setting unit includes:
First specify subelement, for the local end PE into the PW between the opposite end PE assigned work PW and protection PW, The work PW and the protection PW are set in binding relationship;
Second specifies subelement, for specifying claimed PW for the protection PW.
10. device according to claim 8 or claim 9, it is characterised in that the binding module also includes:
3rd setting unit, for setting the local end PE tying up to the PW between other opposite ends PE and the VPLS business Determine relation;
4th setting unit, for setting tying up for other opposite ends PE to the PW between the local end PE and the VPLS business Determine relation.
CN201110203444.1A 2011-07-20 2011-07-20 VPLS service establishing methods and device Expired - Fee Related CN102891788B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110203444.1A CN102891788B (en) 2011-07-20 2011-07-20 VPLS service establishing methods and device
PCT/CN2011/083234 WO2012151969A1 (en) 2011-07-20 2011-11-30 Method and device for establishing vpls service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110203444.1A CN102891788B (en) 2011-07-20 2011-07-20 VPLS service establishing methods and device

Publications (2)

Publication Number Publication Date
CN102891788A CN102891788A (en) 2013-01-23
CN102891788B true CN102891788B (en) 2017-08-08

Family

ID=47138729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110203444.1A Expired - Fee Related CN102891788B (en) 2011-07-20 2011-07-20 VPLS service establishing methods and device

Country Status (2)

Country Link
CN (1) CN102891788B (en)
WO (1) WO2012151969A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870588A (en) * 2005-12-31 2006-11-29 华为技术有限公司 Implementing method and system for support VPLS service on IP skeletal network
CN101047636A (en) * 2006-06-07 2007-10-03 华为技术有限公司 Method and system for end-to-end pseudo-line simulation virtual leased line access virtual special network
CN101674239A (en) * 2009-10-10 2010-03-17 华为技术有限公司 Method and device for providing web service
CN101938370A (en) * 2009-06-30 2011-01-05 丛林网络公司 Redundant Pseudowires for Border Gateway Patrol-Based Virtual Private LAN Services in Multihomed Hosting Environments

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2670766A1 (en) * 2007-01-17 2008-07-24 Nortel Networks Limited Method and apparatus for interworking ethernet and mpls networks
US8619784B2 (en) * 2007-01-25 2013-12-31 Brixham Solutions Ltd. Mapping PBT and PBB-TE traffic to VPLS and other services
CN101552711B (en) * 2008-04-03 2011-09-14 华为技术有限公司 Method and device for establishing pseudowire mapping
CN101674249B (en) * 2009-10-28 2012-02-08 杭州华三通信技术有限公司 Method for forwarding provider backbone bridge (PBB) traffic and device thereof
WO2011072448A1 (en) * 2009-12-17 2011-06-23 上海贝尔股份有限公司 Method and device for determining forwarding rule for data packets

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870588A (en) * 2005-12-31 2006-11-29 华为技术有限公司 Implementing method and system for support VPLS service on IP skeletal network
CN101047636A (en) * 2006-06-07 2007-10-03 华为技术有限公司 Method and system for end-to-end pseudo-line simulation virtual leased line access virtual special network
CN101938370A (en) * 2009-06-30 2011-01-05 丛林网络公司 Redundant Pseudowires for Border Gateway Patrol-Based Virtual Private LAN Services in Multihomed Hosting Environments
CN101674239A (en) * 2009-10-10 2010-03-17 华为技术有限公司 Method and device for providing web service

Also Published As

Publication number Publication date
WO2012151969A1 (en) 2012-11-15
CN102891788A (en) 2013-01-23

Similar Documents

Publication Publication Date Title
CN101521631B (en) Treatment method, equipment and system for VPLS network messages
CN102694718B (en) A kind of VPLS fast rerouting method and equipment
EP3264694A1 (en) Signaling ip address mobility in ethernet virtual private networks
US9184935B2 (en) Network communication method and network node device
JP2014532368A (en) Virtual private network execution method and system based on traffic engineering tunnel
EP2926507A1 (en) Methods and routers for connectivity setup between provider edge routers
WO2007143952A1 (en) A method for accessing virtual private network, virtual private system, virtual private network and provider edge device
CN102098202B (en) Virtual private topology control method, device and system
CN103326940A (en) Method for forwarding message in network and edge device of operator
WO2013120427A1 (en) Mpls vpn realizing method, system and customer edge
WO2013139270A1 (en) Method, device, and system for implementing layer3 virtual private network
Fedyk et al. Generalized multiprotocol label switching (GMPLS) control of Ethernet provider backbone traffic engineering (PBB-TE)
CN105553810A (en) Method and device for forwarding special line service packet
Sajassi et al. Requirements for ethernet vpn (evpn)
CN102185712B (en) The reverse method of VPLS network and ethernet ring network and device
CN103795630A (en) Message transmitting method and device of label switching network
CN100499589C (en) Method of phantom lines in multiple hops for building simulation of phantom line from end to end
CN101719834A (en) Method and system for realizing virtual private multicast service protection
CN103634210B (en) Find the method and apparatus of the opposite end PE equipment of VPLS example
Rosen et al. Provisioning, Auto-Discovery, and Signaling in Layer 2 Virtual Private Networks (L2VPNs)
WO2007030988A1 (en) A method for implementing bi-directional traffic engineering tunnel and the system as well as the router thereof
CN100382501C (en) Operation and maintenance system and method of three-layer VPN in communication network
CN102891788B (en) VPLS service establishing methods and device
CN101316239A (en) A method of controlling access and forwarding in a virtual private area network service network
Boutros et al. Virtual Private Wire Service Support in Ethernet VPN

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170517

Address after: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Applicant after: Nanjing Zhongxing Software Co.,Ltd.

Address before: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Applicant before: ZTE Corp.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190918

Address after: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Patentee after: ZTE Corp.

Address before: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Patentee before: Nanjing Zhongxing Software Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170808

CF01 Termination of patent right due to non-payment of annual fee