WO2015027736A1 - 分层虚拟专用局域网服务的实现方法及装置 - Google Patents

分层虚拟专用局域网服务的实现方法及装置 Download PDF

Info

Publication number
WO2015027736A1
WO2015027736A1 PCT/CN2014/080287 CN2014080287W WO2015027736A1 WO 2015027736 A1 WO2015027736 A1 WO 2015027736A1 CN 2014080287 W CN2014080287 W CN 2014080287W WO 2015027736 A1 WO2015027736 A1 WO 2015027736A1
Authority
WO
WIPO (PCT)
Prior art keywords
group
same
attribute information
pes
identifier
Prior art date
Application number
PCT/CN2014/080287
Other languages
English (en)
French (fr)
Inventor
王文婷
王海波
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP14839614.6A priority Critical patent/EP3029888B1/en
Publication of WO2015027736A1 publication Critical patent/WO2015027736A1/zh
Priority to US15/053,835 priority patent/US9860080B2/en

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/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • 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/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2858Access network architectures
    • H04L12/2859Point-to-point connection between the data network and the subscribers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • 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

Definitions

  • the embodiments of the present invention relate to the field of communications, and in particular, to a method and an apparatus for implementing a layered virtual private local area network service.
  • each carrier edge device PE is sent to all peer devices in the virtual private LAN service (VPLS).
  • VPLS virtual private LAN service
  • the bandwidth waste caused by broadcast packets introduces Hierarchical Virtual Private LAN Service (HVPLS).
  • HVPLS tiers the network, and each level of the network forms a full connection.
  • the data forwarding of the devices between the tiers does not follow the principle of horizontal splitting, but can be forwarded to each other.
  • the BGP Auto-Discovery (BGP-AD) mode is one of the ways to implement HVPLS.
  • BGP Update extended BGP Update
  • LDP Label Distribution Protocol
  • BGP-AD PW static mode PW BGP-AD
  • routing and creation levels need to be filtered through the RT policy.
  • the BGP-AD PW is added to the horizontal split group in a static group. The configuration process is complicated and the cost is high .
  • an embodiment of the invention provides a method and a device for implementing a hierarchical virtual private local area network service, which solves the problem of complicated configuration process and high cost in the process of implementing HVPLS in the BGP-AD mode.
  • an embodiment of the present invention provides a method for implementing a layered virtual local area network (LAN) service, including: acquiring group attribute information of at least one remote operator edge device, where each group attribute information carries a corresponding a group identifier of the remote node; determining, according to the group identifier of each of the groups, a pseudowire group to which the pseudowire PW belongs to each of the ports, the pseudowire group including: a horizontal segmentation group or a redundancy protection group According to the pseudowire group, the service forwarding path is determined.
  • LAN virtual local area network
  • the determining, according to the group identifier of each of the ⁇ , determining a pseudowire group to which the pseudowire PW belongs to each of the ⁇ includes: determining, according to each group identifier of the group, a ⁇ having the same group identifier; dividing the PW between the ⁇ and the ⁇ of each of the same group identifiers into the same horizontal split group.
  • the determining, according to the group identifier of each of the ⁇ , determining a pseudowire group to which the pseudowire PW belongs to each of the ⁇ includes: determining, according to each group identifier of the group, a ⁇ having the same group identifier; dividing the PW between the ⁇ and the ⁇ of each of the same group identifiers into one redundant protection group.
  • the determining, according to the pseudowire group, the service forwarding path includes: For the PWs in the same horizontal split group, they are forwarded to other horizontal split groups.
  • the determining, according to the pseudowire group, the service forwarding path includes:
  • the group attribute information further carries a priority of each of the PEs; After the PW between the PEs with the same group ID is divided into a redundant protection group, the following includes:
  • the group attribute information of the operator edge device PE includes: acquiring group attribute information carried by the extended community attribute of the at least one PE; or acquiring group attribute information carried by the border gateway protocol attribute of the at least one PE.
  • the embodiment of the present invention provides a hierarchical LAN service implementation apparatus, including: an obtaining module, configured to acquire group attribute information of at least one remote operator edge device PE, where each group attribute information carries Group IDs of the corresponding remote PEs;
  • a first determining module configured to determine, according to the group identifier of each PE that is obtained by the acquiring module, a pseudowire group to which the pseudowire PW belongs to each of the PEs, where the pseudowire group includes: a group or a redundancy protection group; a second determining module, configured to determine a service forwarding path according to the pseudowire group.
  • the first determining module is configured to determine, according to the group identifier of each PE, a PE that has the same group identifier, and each The PWs between the PEs of the same group identifier are divided into the same horizontal split group.
  • the first determining module is configured to determine, according to the group identifier of each PE, a PE that has the same group identifier; The PW between the PEs identified by the same group is divided into a redundant protection group.
  • the second determining module is configured to: Other horizontal split group forwarding.
  • the second determining module is configured to determine, according to the label switching router of each PE, The active/standby relationship of each PW in the same redundancy protection group.
  • the group attribute information acquired by the acquiring module further carries a priority of each PE ;
  • the second determining module is configured to determine, according to the priorities of the PEs, the active/standby relationship of each PW in the same redundancy protection group.
  • the acquiring module is configured to obtain The group attribute information carried by the extended community attribute of the at least one PE; or the group attribute information carried by the border gateway protocol attribute of the at least one PE.
  • the method and device for implementing the layered virtual private local area network service provided by the embodiment of the present invention the local PE obtains the group attribute information of the remote PE connected to the local PE, and determines the remote end according to the group identifier of each PE in the group attribute information.
  • the pseudowire group to which the pseudowire PW belongs between the PEs determines the service forwarding path to solve the problem of complicated configuration and high cost in the process of implementing HVPLS in the BGP-AD mode.
  • the PWs between the PEs are added to the corresponding horizontal split group or redundant protection group. No static addition is required, that is, no manual configuration is required.
  • FIG. 1 is a flowchart of Embodiment 1 of a method for implementing a hierarchical virtual local area network service according to the present invention
  • FIG. 2 is a schematic diagram of a packet format of an extended community in a method for implementing a hierarchical virtual local area network service according to the present invention
  • FIG. 4 is a schematic structural diagram of Embodiment 1 of a hierarchical LAN service implementation apparatus according to the present invention
  • FIG. 5 is a schematic structural diagram of Embodiment 2 of a layered LAN service implementation apparatus according to the present invention.
  • FIG. 1 is a flowchart of Embodiment 1 of a method for implementing a layered virtual local area network service according to the present invention.
  • the operator edge device PE in this embodiment is applicable to a scenario in which a hierarchical virtual local area network service (HVPLS) is dynamically implemented. Specifically, the embodiment includes the following steps:
  • each group attribute information carries a group identifier of a corresponding remote PE.
  • HVPLS includes two types of PEs: a backbone network edge device (Ultimate PE, UPE) that is directly connected to the user edge device (CE) and the label switching device (Switching PE, SPE).
  • UPE backbone network edge device
  • SPE label switching device
  • the other is the SPE that connects the UPE and establishes a full connection with other SPEs in the HVPLS.
  • the PE in this embodiment can be referred to as SPE or UPE unless otherwise specified.
  • the local PE obtains the group attribute information of the remote PE connected to it, for example, the local PE receives the protocol packet that the remote PE sends the group attribute information, and the protocol report sent by each remote PE.
  • the group attribute information is included in the text, where the group attribute information carries the group identifier of the remote PE.
  • the local PE After receiving the protocol packet carrying the group attribute information sent by the remote PE, the local PE can obtain the group ID of all remote PEs from the protocol packets.
  • the group identifier is used to identify whether the PE belongs to the same group as other PEs, and the identity used to identify the PE identity is completely different. For example, each PE has a unique identity, but some The group IDs of the PEs are the same.
  • the PWs between the local PEs and the PEs belong to the same horizontal split group or redundant protection group.
  • the local PE may obtain the group attribute information carried by the extended community attribute of the at least one PE, or obtain the group attribute information carried by the border gateway protocol attribute of the at least one PE.
  • the group attribute information may be carried in the extended community attribute or in the Border Gateway Protocol (BGP).
  • Border Gateway Protocol BGP
  • an extended community attribute can be used to define a new extended community attribute in which group attribute information is carried.
  • Line group, pseudo line group includes: Horizontal split group or redundant protection group.
  • HVPLS includes two types of PWs: one is a spoke pseudowire between the UPE and the SPE, and the other is a hub pseudowire (Sub PW) between the SPEs, which dynamically implements HVPLS.
  • the process is mainly the process of dynamically establishing Spoke PW and Hub PW.
  • the local PE determines the relationship between the PWs established by each remote PE according to the group identifier of each PE carried in the group attribute information.
  • the local PE can automatically add the PW to the remote PE according to the obtained group ID of the remote PE.
  • no static addition is required, ie no manual configuration is required.
  • the local PE can determine the subsequent service forwarding path according to the preset policy. For example, for a PW in the same horizontal split group, it is not forwarded in the horizontal split group, but is forwarded to other horizontal split groups. For the PW in the same redundant protection group, the primary PW and the standby PW can be determined. , thus selecting the primary path and the alternate path.
  • the forwarding of the PW in the embodiment refers to forwarding of the bearer service on the PW.
  • the local PE obtains the group attribute information of the remote PE connected to the local PE, and determines the relationship between the remote PE and the remote PE according to the group identifier of each PE in the group attribute information.
  • the pseudowire group to which the pseudowire PW belongs, and then the service forwarding path is determined according to the pseudowire group, thereby solving the problem of complicated configuration and high cost in the process of implementing HVPLS in the BGP-AD mode, and when the network topology changes, Need any change configuration, automatic
  • the PW between the remote PE and the remote PE is added to the corresponding horizontal split group or redundant protection group without static addition, that is, no manual configuration is required.
  • determining the pseudowire group to which the pseudowire PW belongs to each PE according to the group identifier of each PE including: determining, according to the group identifier of each PE, the PE having the same group identifier;
  • the PWs between the PEs identified by the same group are divided into the same horizontal split group.
  • the local PE may divide the PEs having the same group identifier into the same horizontal split group according to the group identifier in the obtained group attribute information of each PE, for the same horizontal split group. PW, forwarded to other horizontal split groups.
  • determining the pseudowire group to which the pseudowire PW belongs to each PE according to the group identifier of each PE includes: determining, according to the group identifier of each PE, the same group The identified PE is divided into a redundant protection group by the PW between the PEs of the same group identifier.
  • the local PE may be configured according to the group identifier in the group attribute information of each PE according to a preset policy, for example, the PEs with the same group identifier are divided into the same redundancy protection group, for the same redundancy.
  • the PW in the protection group can determine the primary PW and the standby PW to select the primary service path and the service alternate path.
  • the local PE may determine the primary/standby relationship of each PW in the same redundancy protection group according to the label switching router (LSR-ID) of each PE; or, if the group attribute information carries the priority of each PE
  • the local PE can also determine the active/standby relationship of each PW in the same redundancy protection group according to the priority of each PE.
  • the local PE may obtain the group attribute information carried by the extended community attribute of the at least one PE; or obtain the group attribute information carried by the border gateway protocol attribute of the at least one PE, thereby acquiring the PE attribute information.
  • Group ID Taking the extended community attribute as an example, this embodiment defines a new extended community attribute, which carries the group attribute information of the PE, and the group attribute information may specifically carry the group identifier of the PE.
  • 2 is a schematic diagram of a packet format of an extended community in a method for implementing a layered virtual local area network service according to the present invention. Referring to FIG.
  • Extended Community Type indicates that the extended community attribute is newly defined for the present invention, for example, Expressed as must be 0x900a.
  • the first octets of the third row a group identity group identifier (Group ID), which is a group attribute information of the present invention, which may carry a group identifier of each PE, and the range of the representation may be, for example, 255 ( Indicate the group ID).
  • Group ID is a group identity group identifier of the present invention, which may carry a group identifier of each PE, and the range of the representation may be, for example, 255 ( Indicate the group ID).
  • the relationship between the PWs can be determined according to the group attribute information.
  • the PWs with the same group attribute information can be divided into the same horizontal split group or redundant protection group.
  • the second octets of the third line Preference, which indicates the priority of each PW (used for Redundancy Group), the range of expressions can be, for example, ( ⁇ 65535, for the same type of PW, in determining the redundant partition to which it belongs After the group, for the PW in the redundant partition group, the primary and backup relationships between the PWs can be determined according to the priority.
  • FIG. 3 is a schematic view of a layered network architecture and services implemented method applicable LAN virtual invention is shown in Figure 3, the network comprising SPE1 ⁇ SPE4, UPEl and UPE2, wherein, SPE1, SPE2, SPE3, SPE4 having The same group identifier, gp Group-Flag: gl, Group-Flag of UPEl and UPE2 are g2, g3, and LSR-ID of UPE is 1. 1. 1. 1, LSR-ID of SPEl is 2. 2. 2 2, SPE2 LSR-ID is 3. 3. 3. 3, SPE3 LSR-ID is 4. 4. 4. 4, SPE4 LSR-ID is 5.
  • the Spoke PW is set up between the SPE1 and the SPE3.
  • the UPU1 receives the Gro U p_ID carried by the extended community attribute of the SPE1 as gl.
  • the Group_ID carried by the extended community attribute of the SPE3 is gl. It can be seen that SPE1 and SPE3 have the same Group_ID, that is, have the same group identifier.
  • the PW between UPE1 and SPE1, and the PW between UPE1 and SPE3 belong to the same horizontal split group. Therefore, according to the principle that the service forwarding path is followed: The traffic of SPE1 received by UPE1 cannot be forwarded to SPE3. Similarly, the traffic from SPE3 received by UPE1 cannot be forwarded to SPEl.
  • the PW belongs to the same horizontal split group, and the Spoke PW between SPE1 and UPE1 belongs to another horizontal split group. Therefore, according to the service path forwarding principle, the traffic of the UPE1 received by the SPE1 can be forwarded to the SPE2, the SPE3, and the SPE4.
  • the traffic of the SPE2 received by the SPE1 can be forwarded only to the UPE1, but not to the SPE3 and SPE4.
  • the traffic of the SPE3 can be forwarded only to the UPE1 and cannot be forwarded to the SPE2 and the SPE4.
  • the traffic of the SPE4 received by the SPEl can only be forwarded to the UPE1 and cannot be forwarded to the SPE2 and SPE3.
  • the multi-service transmission platform may be used in the HVPLS defined by Request For Comments (RFC) 4762. , MSTP) solution.
  • the above technical solution is described by taking the type of the PW as a horizontal split group type as an example.
  • the present invention is transmitted in detail by taking the type of the PW as a redundant protection group type as an example. Please refer to FIG. 2 and FIG. 3 at the same time.
  • the group type carried by the extended community attribute is (Group Type) is 0x02, indicating that the type of PW between the local PE and each remote PE is the redundancy protection group type.
  • the PW between the local PE and each remote PE belongs to the same redundancy protection group.
  • the label switching router (LSR-ID) of each PE Determine the active/standby relationship of each PW in the same redundancy protection group to determine the service forwarding path.
  • a Spoke PW (labeled as PW1) is established between SPE1 and a Spoke PW (labeled as PW2) is established between UPE1 and SPE3.
  • UG1 receives the Gro U p_ID carried by the extended community attribute of SPE1 as gl; the Group_ID carried by the extended community attribute of SPE3 is gl. Therefore, SPE1 and SPE3 have the same Group_ID, that is, they have the same group ID, and PW1 and PW2 belong to the same redundancy protection group.
  • UPE1 performs the selection of the active and standby PWs.
  • the selection principle is as follows: 1) The LSR-ID can be selected according to the LSR-ID.
  • the PW between the PEs with the smaller LSR-IDs is used as the primary PW, and the PEs with the larger LSR-IDs are used.
  • the PW between the two is used as the standby PW; 2)
  • the primary and secondary selections can be made according to the priority (Preference) carried by the extended community attribute.
  • UPE1 determines the service forwarding path. In this embodiment, it is assumed that the UPE1 performs the selection of the active and standby PWs according to the LSR-ID.
  • the LSR-ID of the SPE1 is smaller than the LSR-ID of the SPE3, and the PW1 is the primary PW and the PW2 is the standby PW.
  • UP1 forwards the data traffic received from the CE side to the PW1 and the different PW2.
  • BFD Bidirectional Forwarding Detection
  • FIG. 4 is a schematic structural diagram of Embodiment 1 of a layered local area network service implementation apparatus according to the present invention.
  • Ben The hierarchical LAN service implementation device provided in the embodiment may be disposed on the device, or may be the device itself, and is applicable to the device embodiment corresponding to the embodiment of the present invention. The specific implementation process is not described herein.
  • the hierarchical LAN service implementation apparatus 100 provided by this embodiment specifically includes: an obtaining module 11 configured to acquire group attribute information of at least one remote operator edge device, where each group attribute information carries respective corresponding far The group ID of the end;
  • the first determining module 12 is configured to determine, according to the group identifiers of the ports acquired by the obtaining module 11, the pseudowire group to which the pseudowire PW belongs, and the pseudowire group includes: a horizontal split group or a redundant protection group ;
  • the second determining module 13 is configured to determine a service forwarding path according to the pseudowire group.
  • the device for implementing the hierarchical local area network service provided by the embodiment of the present invention obtains the pseudo attribute between the remote end and the remote set according to the group identifier of each group in the group attribute information by acquiring the group attribute information of the remote port connected to the local port.
  • the pseudowire group to which the line PW belongs, and then the service forwarding path is determined according to the pseudowire group. Therefore, the configuration process is complicated and costly in the process of implementing HVPLS in the BGP-AD mode, and when the network topology changes, it is not required.
  • the first determining module 12 is configured to determine, according to the group identifier of each group, the ⁇ with the same group identifier, and divide the PW between the ⁇ and the ⁇ of the same group identifier into the same horizontal split group. Further, the first determining module 12 is configured to determine, according to the group identifier of each group, the ⁇ having the same group identifier; and divide the PW between the ⁇ and the ⁇ of the same group identifier into one redundant protection group. Further, the second determining module 13 is configured to forward the PWs in the same horizontal split group to other horizontal split groups.
  • the second determining module 13 is configured to determine, according to the label switching routers of the PEs, the active/standby relationship of each PW in the same redundancy protection group. Further, the group attribute information acquired by the obtaining module 11 further carries the priorities of the PEs. The second determining module 13 is configured to determine, according to the priorities of the PEs, the mains of the PWs belonging to the same redundancy protection group. Prepare the relationship. Further, the obtaining module 11 is configured to obtain group attribute information carried by the extended community attribute of the at least one PE, or obtain group attribute information carried by the border gateway protocol attribute of the at least one PE.
  • FIG. 5 is a schematic structural diagram of Embodiment 2 of a layered local area network service implementation apparatus according to the present invention. As shown in FIG.
  • the hierarchical LAN service implementation apparatus 200 includes: a receiver 21 and a processor 22.
  • the receiver 21 is configured to obtain group attribute information of the at least one remote provider edge device PE, where each group attribute information carries a group identifier of a corresponding remote PE;
  • the processor 22 is configured to use, according to each PE
  • the group identifier determines a pseudowire group to which the pseudowire PW belongs to each PE, and the pseudowire group includes: a horizontal split group or a redundant protection group; and the service forwarding path is determined according to the pseudowire group.
  • the pseudowire group to which the pseudowire PW belongs to each PE is determined according to the group identifier of each PE, including: determining, according to the group identifier of each PE, a PE having the same group identifier; The PW between the PEs is divided into the same horizontal split group. Further, the pseudowire group to which the pseudowire PW belongs to each PE is determined according to the group identifier of each PE, including: determining, according to the group identifier of each PE, a PE having the same group identifier; The PW between the PEs is divided into a redundant protection group. Further, the service forwarding path is determined according to the pseudowire group, including: For the PWs in the same horizontal split group, forwarding to other horizontal split groups.
  • the service forwarding path is determined according to the pseudowire group, including: determining the active/standby relationship of each PW in the same redundancy protection group according to the label switching router of each PE.
  • the group attribute information also carries the priorities of the PEs; After the PWs of the PEs in the same redundancy group are divided into one redundancy protection group, the method includes: determining, according to the priorities of the PEs, the primary backups of the PWs belonging to the same redundancy protection group.
  • obtaining the group attribute information of the at least one remote carrier edge device PE including: acquiring the group attribute information carried by the extended community attribute of the at least one PE; or acquiring the group carried by the border gateway protocol attribute of the at least one PE Attribute information.
  • the layered local area network service implementation apparatus provided in this embodiment may be used to implement the steps of the method for implementing the layered local area network service implementation apparatus provided by any embodiment of the present invention, and the implementation principle is similar, and details are not described herein again.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • a person skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of each functional module described above is exemplified. In practical applications, the above function assignment can be completed by different functional modules as needed, that is, the device is installed. The internal structure is divided into different functional modules to perform all or part of the functions described above.

Landscapes

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

Abstract

本发明实施例提供一种分层虚拟专用局域网服务的实现方法及装置,该方法包括:获取至少一个远端的运营商边缘设备PE的组属性信息,各组属性信息携带有各自对应的远端的PE的组标识;根据各PE的组标识,确定与各PE之间的伪线PW所属的伪线组,伪线组包括:水平分割组或冗余保护组;根据伪线组,确定业务转发路径,从而解决BGP-AD方式实现HVPLS的过程中,配置过程复杂、成本高的问题,并且当网络拓扑发生变化时,不需要任何的更改配置,自动的将与该远端PE之间的PW添加到对应的水平分割组或冗余保护组中,无需静态添加,即无需手动配置。

Description

分层虚拟专用局域网服务的实现方法及装置 本申请要求于 2013 年 8 月 27 日提交中国专利局、 申请号为 201310378421. 3、 发明名称为 "分层虚拟专用局域网服务的实现方法及装 置" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及通信领域, 尤其涉及一种分层虚拟专用局域网服务 的实现方式及装置。
背景技术
目前, 为避免虚拟专用局域网服务 (Virtual Private LAN Service, VPLS) 中, 对未知单播报文、 广播报文和组播报文, 每个运营商边缘设备 (Provider Edge, PE) 向所有对端设备广播报文而造成的带宽浪费, 引入 了分层虚拟专用局域网服务(Hierarchical Virtual Private LAN Service, HVPLS)。 HVPLS通过对网络分层, 每一级网络形成全连接, 分级间的设备的 数据转发不遵守水平分割原则, 而是可以相互转发。 边界网关协议自动发现 (BGP Auto-Discovery, BGP-AD) 方式是实现 HVPLS的方式之一。 该方式中, 首先通过扩展的 BGP更新 (BGP Update) 报 文自动发现其他 PE 等成员的信息, 然后用标签分发协议 (Label Distribution Protocol , LDP ) 分发标签从而建立本地虚拟交换实例 (Virtual Switch Instance, VSI ) 与远端 VSI之间的伪线 (Pseudowire, PW)0 为实现 HVPLS, 通过路由目标 (Route Target, RT) 策略过滤路由, 创建水平分割组,然后静态的将 BGP-AD方式建立的 PW(以下简称 BGP-AD PW) 加入水平分割组。 然而, 上述 HVPLS实现过程中, 需要通过 RT策略过滤路由、 创建水平 分割组、 静态的将 BGP-AD PW加入水平分割组, 配置过程复杂, 成本高 (
发明内容
本发明实施例提供一种分层虚拟专用局域网服务的实现方法及装置, 以解决 BGP-AD方式实现 HVPLS的过程中, 配置过程复杂、 成本高的问题。 第一个方面, 本发明实施例提供一种分层虚拟局域网服务的实现方法, 包括: 获取至少一个远端的运营商边缘设备 ΡΕ的组属性信息, 各所述组属性 信息携带有各自对应的远端的 ΡΕ的组标识; 根据各所述 ΡΕ的组标识, 确定与各所述 ΡΕ之间的伪线 PW所属的伪线 组, 所述伪线组包括: 水平分割组或冗余保护组; 根据所述伪线组, 确定业务转发路径。 结合第一个方面, 在第一个方面的第一种可能的实现方式中, 所述根 据各所述 ΡΕ的组标识, 确定与各所述 ΡΕ之间的伪线 PW所属的伪线组, 包 括: 根据各所述 ΡΕ的组标识, 确定具有相同组标识的 ΡΕ; 将与各所述相同组标识的 ΡΕ之间的 PW划分为同一个水平分割组。 结合第一个方面, 在第一个方面的第二种可能的实现方式中, 所述根 据各所述 ΡΕ的组标识, 确定与各所述 ΡΕ之间的伪线 PW所属的伪线组, 包 括: 根据各所述 ΡΕ的组标识, 确定具有相同组标识的 ΡΕ; 将与各所述相同组标识的 ΡΕ之间的 PW划分为一个冗余保护组。 结合第一个方面的第一种可能的实现方式, 在第一个方面的第三种可 能的实现方式中, 所述根据所述伪线组, 确定业务转发路径, 包括: 对于所述同一水平分割组内的 PW, 向其他水平分割组转发。 结合第一个方面的第二种可能的实现方式, 在第一个方面的第四种可 能的实现方式中, 所述根据所述伪线组, 确定业务转发路径, 包括:
根据各所述 PE的标记交换路由器, 确定属于同一个冗余保护组中的各 PW的主备关系。 结合第一个方面的第二种可能的实现方式, 在第一个方面的第五种可 能的实现方式中, 所述组属性信息还携带各所述 PE的优先级; 所述将与各所述相同组标识的 PE之间的 PW划分为一个冗余保护组之 后, 包括:
根据各所述 PE的优先级, 确定属于同一个冗余保护组中的各 PW的主 备关系。 结合第一个方面、 第一个方面的第一种至第五种中任一种可能的实现 方式, 在第一个方面的第六种可能的实现方式中, 所述获取至少一个远端 的运营商边缘设备 PE的组属性信息, 包括: 获取所述至少一个 PE的扩展团体属性携带的组属性信息; 或者, 获取所述至少一个 PE的边界网关协议属性携带的组属性信息。 第二个方面, 本发明实施例提供一种分层局域网服务实现装置, 包括: 获取模块,用于获取至少一个远端的运营商边缘设备 PE的组属性信息, 各所述组属性信息携带有各自对应的远端的 PE的组标识;
第一确定模块, 用于根据所述获取模块获取到的各所述 PE的组标识, 确定与各所述 PE之间的伪线 PW所属的伪线组, 所述伪线组包括: 水平分 割组或冗余保护组; 第二确定模块, 用于根据所述伪线组, 确定业务转发路径。 结合第二个方面, 在第二个方面的第一种可能的实现方式中, 所述第 一确定模块, 用于根据各所述 PE的组标识, 确定具有相同组标识的 PE, 将 与各所述相同组标识的 PE之间的 PW划分为同一个水平分割组。 结合第二个方面, 在第二个方面的第二种可能的实现方式中, 所述第 一确定模块, 用于根据各所述 PE的组标识, 确定具有相同组标识的 PE; 将 与各所述相同组标识的 PE之间的 PW划分为一个冗余保护组。 结合第二个方面的第一种可能的实现方式, 在第二个方面的第三种可 能的实现方式中, 所述第二确定模块, 用于对于所述同一水平分割组内的 PW, 向其他水平分割组转发。 结合第二个方面的第二种可能的实现方式, 在第二个方面的第四种可 能的实现方式中, 所述第二确定模块, 用于根据各所述 PE的标记交换路由 器, 确定属于同一个冗余保护组中的各 PW的主备关系。 结合第二个方面的第二种可能的实现方式, 在第二个方面的第五种可 能的实现方式中, 所述获取模块获取到的所述组属性信息还携带各所述 PE 的优先级;
所述第二确定模块, 用于根据各所述 PE的优先级, 确定属于同一个冗 余保护组中的各 PW的主备关系。 结合第二个方面、 第二个方面的第一种至第五种中任一种可能的实现 方式, 在第二个方面的第六种可能的实现方式中, 所述获取模块, 用于获 取所述至少一个 PE的扩展团体属性携带的组属性信息; 或者, 获取所述至少一个 PE的边界网关协议属性携带的组属性信息。 本发明实施例提供的分层虚拟专用局域网服务的实现方法及装置, 本 地 PE通过获取与其相连的远端 PE的组属性信息, 根据组属性信息中的各 PE的组标识, 确定出与远端 PE之间的伪线 PW所属的伪线组, 进而根据伪 线组, 确定业务转发路径, 从而解决 BGP-AD方式实现 HVPLS的过程中, 配 置过程复杂、 成本高的问题, 并且当网络拓扑发生变化时, 不需要任何的 更改配置, 自动的将与该远端 PE之间的 PW添加到对应的水平分割组或冗 余保护组中, 无需静态添加, 即无需手动配置。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。 图 1为本发明分层虚拟局域网服务的实现方法实施例一的流程图; 图 2 为本发明分层虚拟局域网服务的实现方法中扩展团体的报文格式 示意图; 图 3 为本发明分层虚拟局域网服务的实现方法所适用的网络架构示意 图; 图 4为本发明分层局域网服务实现装置的实施例一的结构示意图; 图 5为本发明分层局域网服务实现装置的实施例二的结构示意图。
具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。 图 1 为本发明分层虚拟局域网服务的实现方法实施例一的流程图。 本 实施例的运营商边缘设备 PE, 适用于动态实现分层虚拟局域网服务 HVPLS 的场景。 具体的, 本实施例包括以下歩骤:
101、 获取至少一个远端的运营商边缘设备 PE 的组属性信息, 各组属 性信息携带有各自对应的远端的 PE的组标识。
一般来说, HVPLS 中包含两种类型的 PE: —种是直接与用户边缘设备 ( Customer Edge , CE ) 和标签交换转发的设备 (Switching PE , SPE ) 相 连的骨干网络边缘设备(Ultimate PE, UPE) , 另一种是连接 UPE并与 HVPLS 中其他 SPE建立全连接的 SPE, 本实施例中的 PE, 若未做特别说明, 可泛 指 SPE或 UPE。 本歩骤中, 本地的 PE获取与其相连的、 远端的 PE的组属性信息, 例 如, 本地 PE接收各远端 PE发送携带组属性信息的协议报文, 每一个远端 PE发送的协议报文中均包括有组属性信息, 其中, 组属性信息携带该远端 PE的组标识。 本地 PE接收至少一个远端 PE发送的携带有组属性信息的协 议报文后, 可以从各协议报文中获取到所有远端 PE的组标识。 其中, 组标 识是用于标识该 PE是否与其他 PE属于同一个组的标识, 和用于标识 PE身 份的身份标识是完全不同的, 例如, 每个 PE具有唯一的身份标识, 但是, 某些 PE的组标识是相同的, 本地 PE与该些 PE之间的 PW属于同一个水平 分割组或冗余保护组。
可选的, 本地 PE可获取至少一个 PE的扩展团体属性携带的组属性信 息; 或者, 获取至少一个 PE的边界网关协议属性携带的组属性信息。 具体 的, 组属性信息可携带在扩展团体属性中或边界网关协议 BGP 中。 以扩展 团体属性为例, 可定义一种新的扩展团体属性, 在该团体属性中携带组属 性信息。
102、 根据各 PE的组标识, 确定与各 PE之间建立的伪线 PW所属的伪 线组, 伪线组包括: 水平分割组或冗余保护组。
本歩骤中, 可事先通过 BGP-AD等方式建立 HVPLS中各 PE之间的 PW。 一般来说, HVPLS中包含两种类型的 PW: —种是 UPE与 SPE之间的轮辐伪 线 (Spoke PW) , 另一种是 SPE之间的轮毂伪线 (Hub PW ) , 动态实现 HVPLS 的过程, 主要是动态的建立 Spoke PW与 Hub PW的过程。 本歩骤中, 在获取了与其相连的、 远端的各个 PE 的组属性信息后, 本地 PE根据组属性信息携带的各 PE的组标识,确定与各远端 PE建立的 PW 之间的关系, 例如, 属于同一个水平分割组、 属于不同的水平分割组、 属 于同一个冗余保护组、 属于不同的冗余保护组等。 当网络拓扑信息发生变 化, 需要重新配置水平分割组、 冗余保护组时, 本地 PE可根据获取到的远 端的 PE的组标识, 自动的将与该远端 PE之间的 PW添加到对应的水平分割 组或冗余保护组中, 无需静态添加, 即无需手动配置。
103、 根据伪线组, 确定业务转发路径。 对于某一个确定的远端 PE ,本地 PE在确定出与该远端 PE之间的 PW的 伪线组后, 可根据预设的策略等, 确定出后续业务转发路径。 例如, 对于 同一个水平分割组内的 PW, 在本水平分割组内不转发, 而是向其他水平分 割组转发; 对于同一个冗余保护组内的 PW, 可确定出主用 PW和备用 PW, 从而选择主用路径和备用路径。
需要说明的是, 本实施例所述的 PW的转发, 具体是指对该 PW上的承 载的业务的转发。 本实施例提供的分层虚拟局域网服务的实现方法, 本地 PE通过获取与 其相连的远端 PE的组属性信息, 根据组属性信息中的各 PE的组标识, 确 定出与远端 PE之间的伪线 PW所属的伪线组, 进而根据伪线组, 确定业务 转发路径, 从而解决 BGP-AD方式实现 HVPLS的过程中, 配置过程复杂、 成 本高的问题, 并且当网络拓扑发生变化时, 不需要任何的更改配置, 自动 的将与该远端 PE之间的 PW添加到对应的水平分割组或冗余保护组中, 无 需静态添加, 即无需手动配置。
进一歩的, 上述实施例一中, 根据各 PE的组标识, 确定与各 PE之间 的伪线 PW所属的伪线组, 包括: 根据各 PE的组标识, 确定具有相同组标 识的 PE; 将与各相同组标识的 PE之间的 PW划分为同一个水平分割组。 具体的, 本地 PE可根据获取到的各 PE的组属性信息中的组标识, 按 照预设的策略, 例如, 将具有相同组标识的 PE划分为同一个水平分割组, 对于同一水平分割组内的 PW, 向其他水平分割组转发。 进一歩的, 上述实施例一中, 根据各 PE 的组标识, 确定与各所述 PE 之间的伪线 PW所属的伪线组, 包括: 根据各所述 PE的组标识, 确定具有 相同组标识的 PE; 将与各所述相同组标识的 PE之间的 PW划分为一个冗余 保护组。
具体的, 本地 PE可根据获取到的各 PE的组属性信息中的组标识, 按 照预设的策略, 例如, 将具有相同组标识的 PE划分为同一个冗余保护组, 对于同一个冗余保护组内的 PW, 可确定出主用 PW和备用 PW, 从而选择业 务主用路径和业务备用路径。 可选的, 本地 PE可根据各 PE的标记交换路 由器 (LSR-ID ) , 确定属于同一个冗余保护组中的各 PW的主备关系; 或者, 若组属性信息中携带各 PE的优先级,则本地 PE还可以根据各 PE的优先级, 确定属于同一个冗余保护组中的各 PW的主备关系。
进一歩的, 上述实施例一中, 本地 PE可通过获取至少一个 PE的扩展 团体属性携带的组属性信息; 或者, 获取至少一个 PE的边界网关协议属性 携带的组属性信息, 从而获取到 PE的组标识。 以扩展团体属性为例, 本实 施例定义了一种新的扩展团体属性, 该团体属性携带 PE的组属性信息, 组 属性信息具体可携带 PE的组标识。 图 2为本发明分层虚拟局域网服务的实 现方法中扩展团体的报文格式示意图。 请参照图 2, 扩展团体属性包括 8个 8位字节组 (octets) , 第一行的 2个 octets: 扩展团体类型 (Extended Community Type) 表示该扩展团体 属性为本发明新定义的, 例如可表示为 must be 0x900a。 第二行的 1 个 octets: 组类型 (Group Type) , 表示本地 PE与远端 PE之间的 PW的类型, 例如, 0x01 表示水平分割组 (Split Group) 类型, 0x02表示冗余保护组 (Redundancy Group)类型。 第三行的 1个 octets: 组身份组标识 ( Group ID) , 即本发明所述的组属性信息, 其可携带各 PE 的组标识, 表示范围例 如可以为广 255 ( Indicate the group ID) , 本发明中, 对于同一种类型的 PW, 可根据组属性信息, 确定出各 PW之间的关系, 例如, 可以将组属性信 息相同的 PW划分为同一个水平分割组或冗余保护组。第三行的 2个 octets: 优先级 (Preference) , 表示各 PW的优先级 ( used for Redundancy Group) , 表示范围例如可以为 (Γ65535 , 对于同一类型的 PW, 在确定出其所属的冗 余分割组后, 对于该冗余分割组中的 PW, 可根据优先级确定出各 PW之间的 主备关系。第四行的 2个 octets:保留位(Reserve) , 目前还未用到(no use now ) 0 图 3 为本发明分层虚拟局域网服务的实现方法所适用的网络架构示意 图。 如图 3所示, 该网络包含 SPE1〜SPE4、 UPEl以及 UPE2 , 其中, SPE1、 SPE2、 SPE3、 SPE4具有相同的组标识, gp Group—Flag : gl, UPEl与 UPE2的 Group—Flag分别为 g2、 g3, UPE的 LSR—ID为 1. 1. 1. 1, SPEl的 LSR—ID为 2. 2. 2. 2 , SPE2的 LSR—ID为 3. 3. 3. 3, SPE3的 LSR—ID为 4. 4. 4. 4, SPE4的 LSR—ID为 5. 5. 5. 5 , UPE2的 LSR—ID为 6. 6. 6. 6。 请同时参照图 2与图 3, 本实施例中, 假设扩展团体属性携带的组类型 (Group Type ) 为 0x01, 表示本地 PE与各远端 PE之间的 PW的类型为水平 分割组类型。 此时, 若组属性信息, 即 Group ID相同, 表示本地 PE与各 远端 PE之间的 PW属于同一个水平分割组, 确定的业务转发路径遵循同一 水平分割组内 PW不能转发, 不同的水平分割组内 PW可以相互转发的原则。 下面, 分别从 UPE1、 SPEl为本地 PE的角度阐释本发明。 对于 UPE1来说,其与 SPE1、 SPE3之间建立 Spoke PW, UPE1接收到 SPE1 的扩展团体属性携带的 GroUp_ID为 gl ; 接收到 SPE3的扩展团体属性携带 的 Group_ID为 gl。 由此可知, SPE1与 SPE3具有相同的 Group_ID, 即具有 相同的组标识, UPE1与 SPE1之间的 PW、 UPE1与 SPE3之间的 PW属于同一 个水平分割组。 因此, 按照业务转发路径遵循的原则: UPE1接收到的 SPE1 的流量无法转发至 SPE3 , 同理, UPE1接收到的 SPE3过来的流量无法转发 至 SPEl o 对于 SPEl来说, 其与 UPE1之间建立 Spoke PW, 与 SPE2、 SPE3、 SPE4 之间建立 Hub PW, SPEl接收到的 UPE1的扩展团体属性携带的 Group_ID为 gl , SPEl接收到的 SPE2、 SPE3及 SPE4的扩展团体属性携带的 Group_ID均 为 gl。 由此可知, SPE2、 SPE3及 SPE4具有相同的 Group_ID, 即具有相同 的组标识, UPE1与 SPE2、 SPE3及 SPE4的 Group_ID不同, 即具有不同的组 标识, SPE1与 SPE2、 SPE3及 SPE4之间的 Hub PW属于同一个水平分割组, SPE1与 UPE1之间的 Spoke PW属于另外一个水平分割组。 因此, 按照业务 路径转发原则: SPE1接收到的 UPE1的流量可任意转发给 SPE2、SPE3及 SPE4; SPE1接收到的 SPE2的流量仅可转发给 UPE1 , 而不能转发给 SPE3、 SPE4; SPEl接收到的 SPE3的流量仅可转发给 UPE1 , 而不能转发给 SPE2、 SPE4; SPEl接收到的 SPE4的流量仅可转发给 UPE1 , 而不能转发给 SPE2、 SPE3。 上述技术方案中, 对于业务转发路径 SPE1-〉UPE1-〉SPE 3存在的环路, 可按照请求注解 (Request For Comments, RFC) 4762定义的 HVPLS中, 使 用多业务传输平台 (Multi-Service Transmission Platform, MSTP) 解决。 上述技术方案是以 PW的类型为水平分割组类型为例对本发明进行阐述 的, 下面, 以 PW的类型为冗余保护组类型为例对本发明进行详细传输。 请同时参照图 2与图 3, 本实施例中, 假设扩展团体属性携带的组类型 (Group Type ) 为 0x02, 表示本地 PE与各远端 PE之间的 PW的类型为冗余 保护组类型。 此时, 若组属性信息, 即 Group ID相同, 表示本地 PE与各 远端 PE之间的 PW属于同一个冗余保护组, 此时, 可根据各 PE的标记交换 路由器 (LSR-ID) , 确定属于同一个冗余保护组中的各 PW 的主备关系, 从 而确定业务转发路径; 或者, 也可根据扩展团体属性中的各 PE的优先级, 确定出同一个冗余保护组中的各 PW的主备关系。 下面, 从 UPE1为本地 PE 的角度阐释本发明。
对于 UPE1来说, 首先, 其与 SPE1之间建立 Spoke PW (标记为 PW1 ), UPE1与 SPE3之间建立 Spoke PW (标记为 PW2)。 UPE1接收到 SPE1的扩展 团体属性携带的 GroUp_ID 为 gl ; 接收到 SPE3 的扩展团体属性携带的 Group_ID为 gl。 由此可知, SPE1与 SPE3具有相同的 Group_ID, 即具有相 同的组标识, PW1与 PW2属于同一个冗余保护组。 其次, UPE1进行主备 PW 的选择, 选择原则: 1 ) 可根据 LSR-ID进行选择, 例如, 将与 LSR-ID小的 PE之间的 PW作为主 PW, 将与 LSR-ID大的 PE之间的 PW作为备用 PW; 2 ) 可根据扩展团体属性携带的优先级 (Preference ) 来进行主备的选择。 最 后, UPE1确定业务转发路径。 本实施例中, 假设 UPE1根据 LSR-ID进行主 备 PW的选择, 则由图 3可知, SPE1的 LSR-ID小于 SPE3的 LSR-ID, 则 PW1 为主用 PW, PW2为备用 PW。 此时 UP1将从 CE侧接收到的数据流量向从 PW1 转发, 而不同 PW2 转发; 对于控制类协议报文, 例如, 双向转发检测 (Bidirectional Forwarding Detection, BFD) ί艮文, 从 PW1与 PW2上正 常转发。
另外, 上述实施例中, 除了根据 LSR-ID或扩展团体属性携带的优先级 进行主备选择外, 还可以将属于同一个冗余保护组的 PW对应的 SPE归属到 UPE上, 将其中之一的 PW作为主用 PW其余的均作为备用 PW。 图 4为本发明分层局域网服务实现装置的实施例一的结构示意图。 本 实施例提供的分层局域网服务实现装置可设置在 ΡΕ上, 也可以是 ΡΕ本身, 适于本发明图 1 实施例对应的装置实施例, 具体实现过程在此不再赘述。 具体的, 本实施例提供的分层局域网服务实现装置 100具体包括: 获取模块 11,用于获取至少一个远端的运营商边缘设备 ΡΕ的组属性信 息, 各组属性信息携带有各自对应的远端的 ΡΕ的组标识;
第一确定模块 12, 用于根据获取模块 11获取到的各 ΡΕ的组标识, 确 定与各 ΡΕ之间的伪线 PW所属的伪线组, 伪线组包括: 水平分割组或冗余 保护组;
第二确定模块 13, 用于根据伪线组, 确定业务转发路径。 本发明实施例提供的分层局域网服务实现装置, 通过获取与本地 ΡΕ相 连的远端 ΡΕ的组属性信息, 根据组属性信息中的各 ΡΕ的组标识, 确定出 与远端 ΡΕ之间的伪线 PW所属的伪线组, 进而根据伪线组, 确定业务转发 路径, 从而解决 BGP-AD方式实现 HVPLS的过程中, 配置过程复杂、 成本高 的问题, 并且当网络拓扑发生变化时, 不需要任何的更改配置, 自动的将 与该远端 ΡΕ之间的 PW添加到对应的水平分割组或冗余保护组中, 无需静 态添加, 即无需手动配置。 进一歩的, 第一确定模块 12, 用于根据各 ΡΕ的组标识, 确定具有相同 组标识的 ΡΕ,将与各相同组标识的 ΡΕ之间的 PW划分为同一个水平分割组。 进一歩的, 第一确定模块 12, 用于根据各 ΡΕ的组标识, 确定具有相同 组标识的 ΡΕ; 将与各相同组标识的 ΡΕ之间的 PW划分为一个冗余保护组。 进一歩的, 第二确定模块 13, 用于对于同一水平分割组内的 PW, 向其 他水平分割组转发。
进一歩的, 第二确定模块 13, 用于根据各 PE的标记交换路由器, 确定 属于同一个冗余保护组中的各 PW的主备关系。 进一歩的, 获取模块 11获取到的组属性信息还携带各 PE的优先级; 第二确定模块 13, 用于根据各 PE的优先级, 确定属于同一个冗余保护 组中的各 PW的主备关系。 进一歩的, 获取模块 11, 用于获取至少一个 PE的扩展团体属性携带的 组属性信息; 或者, 获取至少一个 PE的边界网关协议属性携带的组属性信息。 图 5 为本发明分层局域网服务实现装置的实施例二的结构示意图。 如 图 5所示, 本实施例提供的分层局域网服务实现装置 200包括: 接收器 21、 处理器 22。 其中, 接收器 21用于获取至少一个远端的运营商边缘设备 PE 的组属性信息, 各组属性信息携带有各自对应的远端的 PE的组标识; 处理 器 22,用于根据各 PE的组标识,确定与各 PE之间的伪线 PW所属的伪线组, 伪线组包括: 水平分割组或冗余保护组; 根据伪线组, 确定业务转发路径。
进一歩的, 根据各 PE的组标识, 确定与各 PE之间的伪线 PW所属的伪 线组, 包括: 根据各 PE的组标识, 确定具有相同组标识的 PE; 将与各相同 组标识的 PE之间的 PW划分为同一个水平分割组。 进一歩的, 根据各 PE的组标识, 确定与各 PE之间的伪线 PW所属的伪 线组, 包括: 根据各 PE的组标识, 确定具有相同组标识的 PE; 将与各相同 组标识的 PE之间的 PW划分为一个冗余保护组。 进一歩的, 根据伪线组, 确定业务转发路径, 包括: 对于同一水平分 割组内的 PW, 向其他水平分割组转发。 进一歩的, 根据伪线组, 确定业务转发路径, 包括: 根据各 PE 的标记交换路由器, 确定属于同一个冗余保护组中的各 PW 的主备关系。 进一歩的, 组属性信息还携带各 PE的优先级; 将与各相同组标识的 PE之间的 PW划分为一个冗余保护组之后, 包括: 根据各 PE的优先级, 确定属于同一个冗余保护组中的各 PW的主备关
进一歩的, 获取至少一个远端的运营商边缘设备 PE的组属性信息, 包 括: 获取至少一个 PE的扩展团体属性携带的组属性信息; 或者, 获取至少 一个 PE的边界网关协议属性携带的组属性信息。 本实施例提供的分层局域网服务实现装置, 可用于实现本发明任意实 施例提供的应用于分层局域网服务实现装置的方法的各个歩骤, 其实现原 理类似, 此处不再赘述。 在本发明所提供的几个实施例中, 应该理解到, 所揭露的装置和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性 的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以 有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之 间的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接 耦合或通信连接, 可以是电性, 机械或其它的形式。 所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地 方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的 部分或者全部单元来实现本实施例方案的目的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用硬 件加软件功能单元的形式实现。 本领域技术人员可以清楚地了解到, 为描述的方便和简洁, 仅以上述 各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功 能分配由不同的功能模块完成, 即将装置的内部结构划分成不同的功能模 块, 以完成以上描述的全部或者部分功能。 上述描述的装置的具体工作过 程, 可以参考前述方法实施例中的对应过程, 在此不再赘述。 本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分 歩骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算 机可读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的歩 骤; 而前述的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程 序代码的介质。 最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非 对其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的 普通技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进 行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或 者替换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权利要求
1、 一种分层虚拟局域网服务的实现方法, 其特征在于, 包括: 获取至少一个远端的运营商边缘设备 PE的组属性信息,各所述组属性 信息携带有各自对应的远端的 PE的组标识;
根据各所述 PE的组标识, 确定与各所述 PE之间的伪线 PW所属的伪 线组, 所述伪线组包括: 水平分割组或冗余保护组;
根据所述伪线组, 确定业务转发路径。
2、 根据权利要求 1所述的方法, 其特征在于, 所述根据各所述 PE的 组标识, 确定与各所述 PE之间的伪线 PW所属的伪线组, 包括:
根据各所述 PE的组标识, 确定具有相同组标识的 PE;
将与各所述相同组标识的 PE之间的 PW划分为同一个水平分割组。
3、 根据权利要求 1所述的方法, 其特征在于, 所述根据各所述 PE的 组标识, 确定与各所述 PE之间的伪线 PW所属的伪线组, 包括:
根据各所述 PE的组标识, 确定具有相同组标识的 PE;
将与各所述相同组标识的 PE之间的 PW划分为一个冗余保护组。
4、 根据权利要求 2所述的方法, 其特征在于, 所述根据所述伪线组, 确定业务转发路径, 包括:
对于所述同一水平分割组内的 PW, 向其他水平分割组转发。
5、 根据权利要求 3所述的方法, 其特征在于, 所述根据所述伪线组, 确定业务转发路径, 包括:
根据各所述 PE的标记交换路由器,确定属于同一个冗余保护组中的各 PW的主备关系。
6、 根据权利要求 3所述的方法, 其特征在于, 所述组属性信息还携带 各所述 PE的优先级;
所述将与各所述相同组标识的 PE之间的 PW划分为一个冗余保护组之 后, 包括:
根据各所述 PE的优先级,确定属于同一个冗余保护组中的各 PW的主 备关系。
7、 根据权利要求 1~6任一项所述的方法, 其特征在于, 所述获取至少 一个远端的运营商边缘设备 PE的组属性信息, 包括: 获取所述至少一个 PE的扩展团体属性携带的组属性信息; 或者, 获取所述至少一个 PE的边界网关协议属性携带的组属性信息。
8、 一种分层局域网服务实现装置, 其特征在于, 包括:
获取模块, 用于获取至少一个远端的运营商边缘设备 PE 的组属性信 息, 各所述组属性信息携带有各自对应的远端的 PE的组标识;
第一确定模块, 用于根据所述获取模块获取到的各所述 PE的组标识, 确定与各所述 PE之间的伪线 PW所属的伪线组, 所述伪线组包括: 水平分 割组或冗余保护组;
第二确定模块, 用于根据所述伪线组, 确定业务转发路径。
9、 根据权利要求 8所述的装置, 其特征在于,
所述第一确定模块, 用于根据各所述 PE的组标识, 确定具有相同组标 识的 PE, 将与各所述相同组标识的 PE之间的 PW划分为同一个水平分割 组。
10、 根据权利要求 8所述的装置, 其特征在于,
所述第一确定模块, 用于根据各所述 PE的组标识, 确定具有相同组标 识的 PE; 将与各所述相同组标识的 PE之间的 PW划分为一个冗余保护组。
11、 根据权利要求 9所述的装置, 其特征在于,
所述第二确定模块, 用于对于所述同一水平分割组内的 PW, 向其他水 平分割组转发。
12、 根据权利要求 10所述的装置, 其特征在于,
所述第二确定模块, 用于根据各所述 PE的标记交换路由器, 确定属于 同一个冗余保护组中的各 PW的主备关系。
13、 根据权利要求 10所述的装置, 其特征在于,
所述获取模块获取到的所述组属性信息还携带各所述 PE的优先级; 所述第二确定模块, 用于根据各所述 PE的优先级, 确定属于同一个冗 余保护组中的各 PW的主备关系。
14、 根据权利要求 8~13任一项所述的装置, 其特征在于,
所述获取模块,用于获取所述至少一个 PE的扩展团体属性携带的组属 性信息; 或者,
获取所述至少一个 PE的边界网关协议属性携带的组属性信息。
PCT/CN2014/080287 2013-08-27 2014-06-19 分层虚拟专用局域网服务的实现方法及装置 WO2015027736A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14839614.6A EP3029888B1 (en) 2013-08-27 2014-06-19 Method and device for implementing hierarchical virtual private lan service
US15/053,835 US9860080B2 (en) 2013-08-27 2016-02-25 Method and device for implementing hierarchical virtual private LAN service

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310378421.3A CN103457820B (zh) 2013-08-27 2013-08-27 分层虚拟专用局域网服务的实现方法及装置
CN201310378421.3 2013-08-27

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/053,835 Continuation US9860080B2 (en) 2013-08-27 2016-02-25 Method and device for implementing hierarchical virtual private LAN service

Publications (1)

Publication Number Publication Date
WO2015027736A1 true WO2015027736A1 (zh) 2015-03-05

Family

ID=49739800

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/080287 WO2015027736A1 (zh) 2013-08-27 2014-06-19 分层虚拟专用局域网服务的实现方法及装置

Country Status (4)

Country Link
US (1) US9860080B2 (zh)
EP (1) EP3029888B1 (zh)
CN (1) CN103457820B (zh)
WO (1) WO2015027736A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457820B (zh) 2013-08-27 2018-06-26 华为技术有限公司 分层虚拟专用局域网服务的实现方法及装置
CN104579945B (zh) * 2013-10-18 2019-07-02 中兴通讯股份有限公司 一种冗余保护方法及装置
KR20160035157A (ko) * 2014-09-22 2016-03-31 한국전자통신연구원 경로 계산 장치 및 사용자 네트워크 인터페이스 경로 설정 방법
CN106856446B (zh) * 2015-12-09 2019-12-10 中国电信股份有限公司 用于提高虚拟网络可靠性的方法和系统
CN114205312A (zh) * 2016-06-30 2022-03-18 华为技术有限公司 一种生成表项的方法和设备
CN107959610B (zh) * 2016-10-14 2021-06-22 华为技术有限公司 确定虚拟网络拓扑结构的方法和运营商边缘设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141330A (zh) * 2007-10-23 2008-03-12 华为技术有限公司 一种为lsp隧道建立bfd检测的方法、系统及设备
WO2011072448A1 (zh) * 2009-12-17 2011-06-23 上海贝尔股份有限公司 确定数据分组的转发规则的方法及装置
CN102404197A (zh) * 2010-09-15 2012-04-04 思科技术公司 分组的伪线层中包括的数据路径处理信息
WO2012079026A2 (en) * 2010-12-10 2012-06-14 Cisco Technology, Inc. System and method for providing improved failover performance for pseudowires
CN103457820A (zh) * 2013-08-27 2013-12-18 华为技术有限公司 分层虚拟专用局域网服务的实现方法及装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8923292B2 (en) * 2004-04-06 2014-12-30 Rockstar Consortium Us Lp Differential forwarding in address-based carrier networks
US20050220096A1 (en) * 2004-04-06 2005-10-06 Robert Friskney Traffic engineering in frame-based carrier networks
CN1697408B (zh) * 2004-05-14 2010-04-28 华为技术有限公司 一种基于IPv6的虚拟专用网管理路由的方法
US7843917B2 (en) * 2007-11-08 2010-11-30 Cisco Technology, Inc. Half-duplex multicast distribution tree construction
US7684316B2 (en) * 2008-02-12 2010-03-23 Cisco Technology, Inc. Multicast fast reroute for network topologies
US8743740B2 (en) * 2008-04-08 2014-06-03 At&T Intellectual Property I, L.P. Methods and apparatus to implement a partial mesh virtual private local area network service
CN101286922B (zh) * 2008-05-05 2011-02-09 华为技术有限公司 一种信令控制的方法、系统及设备
CN101459673B (zh) * 2008-12-08 2012-02-29 中兴通讯股份有限公司 一种虚拟专用局域网成员间的通信方法及设备
CN102546413A (zh) * 2010-11-05 2012-07-04 华为技术有限公司 一种l3vpn中实时恢复vpn报文转发的方法和设备
CN102143060B (zh) * 2010-12-23 2015-07-08 北京华为数字技术有限公司 一种建立主用伪线和备用伪线的方法和装置
CN102255785B (zh) * 2011-08-11 2014-05-07 杭州华三通信技术有限公司 一种vpls中的网络隔离方法及其装置
CN103188123B (zh) 2011-12-30 2017-04-19 华为技术有限公司 实现以太树业务的方法及运营商边缘设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141330A (zh) * 2007-10-23 2008-03-12 华为技术有限公司 一种为lsp隧道建立bfd检测的方法、系统及设备
WO2011072448A1 (zh) * 2009-12-17 2011-06-23 上海贝尔股份有限公司 确定数据分组的转发规则的方法及装置
CN102404197A (zh) * 2010-09-15 2012-04-04 思科技术公司 分组的伪线层中包括的数据路径处理信息
WO2012079026A2 (en) * 2010-12-10 2012-06-14 Cisco Technology, Inc. System and method for providing improved failover performance for pseudowires
CN103457820A (zh) * 2013-08-27 2013-12-18 华为技术有限公司 分层虚拟专用局域网服务的实现方法及装置

Also Published As

Publication number Publication date
US20160182253A1 (en) 2016-06-23
CN103457820B (zh) 2018-06-26
US9860080B2 (en) 2018-01-02
EP3029888B1 (en) 2019-01-30
EP3029888A4 (en) 2016-08-10
EP3029888A1 (en) 2016-06-08
CN103457820A (zh) 2013-12-18

Similar Documents

Publication Publication Date Title
US10003531B2 (en) Method for establishing tunnel, method for allocating label, device and network system
EP2847943B1 (en) 802.1aq support over ietf evpn
US9197583B2 (en) Signaling of attachment circuit status and automatic discovery of inter-chassis communication peers
JP5581441B2 (ja) Bgpmac−vpnのmplsラベル割振りのための方法および装置
EP1563644B1 (en) System and method for interconnecting heterogeneous layer 2 vpn applications
EP3223461B1 (en) Communicating network path and status information in multi-homed networks
US8488491B2 (en) Compressed virtual routing and forwarding in a communications network
US8953590B1 (en) Layer two virtual private network having control plane address learning supporting multi-homed customer networks
US8553581B2 (en) Method and apparatus for provisioning a network element
EP3846409A1 (en) Offset label for aggregating multicasts from multiple virtual private networks on a single multicast distribution tree
US20130272114A1 (en) Pseudo wire switching method and device
WO2014194749A1 (zh) 边缘设备的vpn实现处理方法及装置
WO2015027736A1 (zh) 分层虚拟专用局域网服务的实现方法及装置
EP2963867B1 (en) Method, system, and device for establishing pseudo wire
US8971190B2 (en) Methods and devices for implementing shortest path bridging MAC mode support over a virtual private LAN service network
WO2014169856A1 (zh) 一种组播通信方法和汇聚交换机
CN103095507B (zh) 基于以太网虚拟化互联网络的报文传输方法及边缘设备
WO2011127665A1 (zh) Bgp-ad的实现方法、系统及相应装置
WO2014026584A1 (zh) Trill网络互联方法、系统及设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14839614

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2014839614

Country of ref document: EP