WO2013097562A1 - 实现虚拟专用网业务转发的方法及装置 - Google Patents

实现虚拟专用网业务转发的方法及装置 Download PDF

Info

Publication number
WO2013097562A1
WO2013097562A1 PCT/CN2012/084986 CN2012084986W WO2013097562A1 WO 2013097562 A1 WO2013097562 A1 WO 2013097562A1 CN 2012084986 W CN2012084986 W CN 2012084986W WO 2013097562 A1 WO2013097562 A1 WO 2013097562A1
Authority
WO
WIPO (PCT)
Prior art keywords
attribute
user
vlan
access user
leaf
Prior art date
Application number
PCT/CN2012/084986
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 中兴通讯股份有限公司
Publication of WO2013097562A1 publication Critical patent/WO2013097562A1/zh

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]
    • H04L12/4645Details on frame tagging
    • H04L12/465Details on frame tagging wherein a single frame includes a plurality of VLAN tags
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for implementing virtual private LAN service (VPLS) forwarding.
  • VPLS virtual private LAN service
  • the Metro Ethernet Forum defines three network service models, including the E-Tree model, which provides a root-based multi-point service forwarding model.
  • E-Tree model For the E-Tree model, the following requirements are met. :
  • the traffic forwarding rule between the root user and the leaf user is as follows: The root user can forward traffic to all root users and leaf users. The leaf user can only forward traffic to the root user.
  • the existing VPLS network provides the E-Tree service model through hierarchical VPLS and Hub/Spoke type Pseudo Wire (PW), when a carrier edge device (Provider Edge, PE) device is used.
  • PW Packet Endpoint
  • PE carrier Edge
  • the present invention is directed to a method and apparatus for implementing virtual private network service forwarding, which solves the problem of the traffic isolation between a leaf user and a leaf user in the E-Tree model of the prior art.
  • the present invention provides a method for implementing VPLS forwarding, where the method includes:
  • Pre-configure the attributes of the access user In the service forwarding process, for the uplink traffic, the attributes of the access user are encapsulated in the user packet for forwarding; for the downlink traffic, the attributes of the local access user and the attributes of the access user encapsulated in the user packet are performed. The comparison judges that if both of them are the leaf user according to the attribute, the user is discarded, otherwise the forwarding process is performed.
  • the attribute of the pre-configured access user is:
  • the user attribute table is pre-created, and the user attribute table includes at least: a user type attribute and an attribute virtual local area network (VLAN), where the user type attribute is divided into: a root attribute (Root) And leaf attributes (Leaf); the attribute VLAN is divided into: root attribute VLAN (Root vlan) and leaf attribute VLAN ( Leaf vlan).
  • VLAN virtual local area network
  • the attribute of the access user is encapsulated in a user packet for forwarding, and: for the uplink traffic, querying the user attribute table of the access user;
  • the attribute VLAN of the access user is obtained by querying, and the attribute VLAN of the access user is encapsulated in a user packet for forwarding.
  • the downlink traffic is compared with the attribute of the access user encapsulated in the user packet, and if the two are the leaf user according to the attribute, the user is discarded. ⁇ , otherwise the forwarding process is:
  • For the downlink traffic obtain the attribute VLAN of the access user from the user packet;
  • the query further obtains the attribute VLAN of the local access user;
  • the attribute VLAN of the local access user is compared with the attribute VLAN of the access user. If the attribute VLANs of the two users are the same as the leaf-vlan, the user packet is discarded, otherwise the forwarding process is performed.
  • the attribute encapsulated in the user packet is stripped and then forwarded.
  • the present invention also provides an apparatus for implementing virtual private network service forwarding, and the apparatus includes: a pre-configuration unit, configured to pre-configure an attribute of the access user;
  • An encapsulation processing unit configured to encapsulate an attribute of an access user in a user message for uplink traffic
  • the determining processing unit is configured to compare, by using the attribute of the local access user, the attribute of the access user encapsulated in the user packet, for the downlink traffic, and if the two are the leaf user according to the attribute, discarding the The user swears, otherwise it performs forwarding processing.
  • the pre-configuration unit is specifically configured to pre-create a user attribute table in the service configuration process, where the user attribute table includes at least: a user type attribute and an attribute VLAN, that is, an attribute virtual local area network, where the user type attribute is divided into : Root and Leaf; The attribute VLAN is divided into: Root-vlan and Leaf- vlan.
  • the encapsulation processing unit is configured to query a configuration user attribute table of the access user for the uplink traffic, obtain an attribute VLAN of the access user by querying, and encapsulate the attribute VLAN of the access user in the user. Forward in the message.
  • the determining processing unit is specifically configured to: obtain, for the downlink traffic, the attribute VLAN of the access user from the user packet; and then query the user attribute table of the local access user, if the local access user If the user type attribute is a leaf attribute, the query further obtains the attribute VLAN of the local access user; and finally compares the attribute VLAN of the local access user with the attribute VLAN of the access user, if the attributes of the two are If the VLAN is the same as the leaf-vlan, the user packet is discarded. Otherwise, the attribute VLAN of the user packet is stripped and then forwarded.
  • the traffic isolation requirement between the leaf user and the leaf user in the E-Tree service model of the VPLS network is realized.
  • FIG. 2 is a schematic flowchart of an access user configuration in a method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an application scenario after an access user is configured in the method according to the embodiment of the present invention
  • FIG. 4 is a schematic flowchart of an uplink encapsulation process in a method according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a downlink determination process in a method according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of the device according to the present invention. detailed description
  • FIG. 1 is a schematic flowchart of a method according to the present invention, which may specifically include the following steps:
  • Step 101 Pre-configure the attributes of the access user
  • a user attribute table is pre-created, as shown in Table 1.
  • the user attribute table includes at least: a user type attribute and an attribute VLAN, where the user type attribute is divided into: a root attribute (Root) and a leaf attribute. (Leaf—);
  • the corresponding attribute VLANs are divided into: root attribute VLAN (Root vlan) and leaf attribute VLAN ( Leaf vlan );
  • Step 102 In the service forwarding process, for the uplink traffic, the attribute of the access user is encapsulated in the user packet for forwarding;
  • the uplink traffic query the user attribute table of the access user; obtain the attribute VLAN of the access user by querying, and encapsulate the attribute VLAN of the access user in the user message for forwarding;
  • Step 103 Compare, for the downlink traffic, the attribute of the access user encapsulated in the user packet with the attribute of the local access user, and if it is determined that the two are the leaf user according to the attribute, discard the user. ⁇ , otherwise forward processing;
  • the attribute VLAN of the access user is obtained from the user packet; and then the user attribute table of the local access user is queried, and if the user type attribute of the local access user is a leaf attribute, The query is performed to obtain the attribute VLAN of the local access user.
  • the attribute VLAN of the access user is compared with the attribute VLAN of the local access user. If the comparison result is equal, the attribute VLANs of the two are the same as the leaf. If the vlan is used, the user packet is discarded. Otherwise, the attribute VLAN encapsulated in the user packet is stripped and then forwarded.
  • FIG. 2 is a schematic flowchart of a process for accessing a user in a method according to an embodiment of the present disclosure, which may specifically include:
  • Step 201 Configure the PW working mode to be Tagged mode.
  • Step 202 Configure the user access mode to be QinQ stacking (Stacking) access, and QinQ is a secondary encapsulation VLAN technology.
  • Step 203 Configure a user type attribute (root attribute or leaf attribute) for the access user, and specify an attribute VLAN.
  • Step 204 For the access user of the root attribute, use Root-vlan as the stacking vlan; for the access user of the leaf attribute, use Leaf-vlan as the stacking vlan;
  • Step 205 Save the above-mentioned stacking vlan as an attribute VLAN to the user attribute table. After the configuration is complete, the configuration scenario is as shown in Figure 3.
  • FIG. 4 is a schematic flowchart of a process of performing an encapsulation process in a service forwarding process according to an embodiment of the present disclosure, which may specifically include:
  • Step 401 Query the user attribute table of the access user, and obtain the corresponding attribute VLAN.
  • Step 402 Encapsulate an attribute VLAN in the user packet.
  • Step 403 Find a next hop exit according to the VPLS forwarding rule.
  • the forwarding rule may adopt a method determined in the prior art as needed
  • Step 404 If the next hop is a public network side interface, the public network information, the PW label, and the like are encapsulated, and the user message is forwarded; if the next hop is the private network side interface, the user message is directly forwarded.
  • FIG. 5 is a schematic flowchart of a process of determining a process in a service forwarding process according to an embodiment of the present disclosure, which may specifically include:
  • Step 501 Find a private network side next hop exit according to the VPLS forwarding rule.
  • Step 502 If there is a public forwarding Instance (VFI), such as the public network information and the PW label, the VFI is removed from the public network and the PW label.
  • VFI public forwarding Instance
  • Step 503 Read the attribute VLAN stored in the user packet, that is, stacking vlan;
  • Step 504 Query the user attribute table of the local access user, and obtain the user type attribute and the attribute VLAN of the local access user;
  • Step 505 Determine whether the user type attribute is a leaf attribute, if yes, go to step 506, otherwise go to step 509;
  • Step 506 Compare the attribute VLAN obtained in step 503 with the attribute obtained in step 504. VLAN;
  • Step 507 judging whether the two are equal, that is, according to the attribute VLAN to determine whether the two are the same leaf user, if yes, go to step 508, otherwise go to step 509;
  • Step 508 Discard the user packet.
  • Step 509 Stripping the attribute VLAN encapsulated in the user packet, that is, stacking vlan; Step 510: Forwarding the user processed in step 509.
  • FIG. 6 is a schematic structural diagram of a device according to the present invention.
  • the device may be disposed in a PE, and may specifically include: a pre-configuration unit, a package processing unit, and a determination processing unit, where
  • a pre-configured unit that pre-configures attributes of the access user
  • the pre-configuration unit pre-creates a user attribute table, where the user attribute table includes at least: a user type attribute and an attribute VLAN, where the user type attribute is divided into: Root and Leaf; For: Root-vlan and Leaf-vlan.
  • the encapsulation processing unit is configured to encapsulate the attributes of the access user in the user packet for forwarding in the service forwarding process;
  • the encapsulation processing unit queries the configured user attribute table of the access user; obtains the attribute VLAN of the access user by querying, and encapsulates the attribute VLAN of the access user in the user packet. Forward.
  • the judging processing unit is configured to compare and compare the attributes of the user encapsulated in the user packet with the attributes of the local access user for the downlink traffic, and if the two are the same as the leaf user according to the attribute, Discarding the user packet, otherwise performing the forwarding process; specifically, for the downlink traffic, the determining processing unit acquires the attribute VLAN of the access user from the user packet; and then queries the user attribute table of the local access user. If the user type attribute of the local access user is a Leaf attribute, further query is performed to obtain the local access.
  • the embodiment of the present invention provides a method and a device for implementing a virtual private network service forwarding.
  • the VPLS network E is implemented by configuring an attribute of the access user and inserting an attribute VLAN identifying the user type in the user packet.
  • traffic isolation requirements between leaf users and leaf users In the -Tree business model, traffic isolation requirements between leaf users and leaf users.

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

本发明公开了一种实现虚拟专用网业务转发的方法及装置,其中,所述方法包括:预先配置接入用户的属性;在业务转发过程中,对于上行流量,将接入用户的属性封装在用户报文中进行转发;对于下行流量,将封装在用户报文中的接入用户的属性和本地接入用户的属性进行比较判断,如果根据属性确定二者同为叶子用户,则丢弃所述用户报文,否则进行转发处理;本发明通过配置接入用户的属性和在用户报文中插入标识用户类型的属性VLAN,实现了VPLS网络E-Tree业务模型中,叶子用户与叶子用户之间的流量隔离要求。

Description

实现虚拟专用网业务转发的方法及装置 技术领域
本发明涉及通信技术领域,尤其涉及一种实现虚拟专用网业务(Virtual Private LAN Service, VPLS )转发的方法及装置。 背景技术
城域以太网论坛(Metro Ethernet Forum, MEF )定义了三种网络业务 模型, 其中包括有 E-Tree模型, 是一种提供基于根的多点业务转发模型; 对于 E-Tree模型, 有如下要求:
1、 定义接入用户类型, 分为: 根用户和叶子用户;
2、 根用户与叶子用户之间的流量转发规则为: 根用户可以向所有的根 用户和叶子用户转发流量, 叶子用户只能向根用户转发流量。
而现有 VPLS网络对 E-Tree业务模型的提供是通过层次化的 VPLS和 Hub/Spoke类型的伪线 (Pseudo Wire, PW ) 来实现, 当一个运营商边缘设 备( Provider Edge , PE )设备上同时有根用户和叶子用户时, 这种方法无 法实现叶子用户与叶子用户之间的流量隔离要求。 发明内容
鉴于上述的分析, 本发明旨在提供一种实现虚拟专用网业务转发的方 法及装置, 用以解决现有技术的 E-Tree模型中, 无法实现叶子用户与叶子 用户的流量隔离的问题。
本发明的目的主要是通过以下技术方案实现的:
本发明提供了一种实现 VPLS转发的方法, 所述方法包括:
预先配置接入用户的属性; 在业务转发过程中, 对于上行流量, 将接入用户的属性封装在用户报 文中进行转发; 对于下行流量, 将本地接入用户的属性和封装在用户报文 中的接入用户的属性进行比较判断, 如果根据属性确定二者同为叶子用户, 则丟弃所述用户 ·^艮文, 否则进行转发处理。
进一步地, 所述预先配置接入用户的属性, 为:
在业务配置过程中, 预先创建用户属性表, 所述用户属性表至少包括: 用户类型属性和属性虚拟局域网 (Virtual Local Area Network, VLAN ), 其 中, 所述用户类型属性分为: 根属性(Root )和叶子属性(Leaf); 所述属 性 VLAN分为:根属性 VLAN ( Root vlan )和叶子属性 VLAN ( Leaf vlan )。
进一步地, 所述将接入用户的属性封装在用户报文中进行转发, 为: 对于上行流量, 查询接入用户的用户属性表;
通过查询获取所述接入用户的属性 VLAN, 将所述接入用户的属性 VLAN封装在用户报文中进行转发。
进一步地, 所述对于下行流量, 将本地接入用户的属性和封装在用户 报文中的接入用户的属性进行比较判断, 如果根据属性确定二者同为叶子 用户, 则丟弃所述用户 ·^艮文, 否则进行转发处理, 为:
对于下行流量, 从用户报文中获取接入用户的属性 VLAN;
查询本地接入用户的用户属性表, 如果所述本地接入用户的用户类型 属性为叶子属性, 则进一步查询获取所述本地接入用户的属性 VLAN;
将所述本地接入用户的属性 VLAN和所述接入用户的属性 VLAN进行 比较判断, 如果二者的属性 VLAN同为 Leaf— vlan, 则丟弃所述用户报文, 否则进行转发处理。
进一步地, 所述进行转发处理, 为:
剥离封装在所述用户报文中的属性后再进行转发。
本发明还提供了一种实现虚拟专用网业务转发的装置, 所述装置包括: 预配置单元, 用于预先配置接入用户的属性;
封装处理单元, 用于对于上行流量, 将接入用户的属性封装在用户报 文中进行转发;
判断处理单元, 用于对于下行流量, 将本地接入用户的属性和封装在 用户报文中的接入用户的属性进行比较判断, 如果根据属性确定二者同为 叶子用户, 则丟弃所述用户 艮文, 否则进行转发处理。
进一步地, 所述预配置单元, 具体用于在业务配置过程中, 预先创建 用户属性表, 所述用户属性表至少包括: 用户类型属性和属性 VLAN即属 性虚拟局域网, 其中, 用户类型属性分为: Root和 Leaf; 所述属性 VLAN 分为: Root-vlan和; Leaf- vlan。
进一步地, 所述封装处理单元, 具体用于对于上行流量, 查询接入用 户的配置用户属性表; 通过查询获取所述接入用户的属性 VLAN, 将所述 接入用户的属性 VLAN封装在用户报文中进行转发。
进一步地, 所述判断处理单元, 具体用于对于下行流量, 从用户报文 中获取所述接入用户的属性 VLAN; 然后查询本地接入用户的用户属性表, 如果所述本地接入用户的用户类型属性为叶子属性, 则进一步查询获取所 述本地接入用户的属性 VLAN; 最后将所述本地接入用户的属性 VLAN和 所述接入用户的属性 VLAN进行比较判断, 如果二者的属性 VLAN 同为 Leaf— vlan, 则丟弃所述用户报文, 否则剥离封装在所述用户报文中的属性 VLAN后再进行转发。
本发明有益效果如下:
通过配置接入用户的属性和在用户报文中插入标识用户类型的属性 VLAN, 实现了 VPLS网络 E-Tree业务模型中, 叶子用户与叶子用户之间 的流量隔离要求。
本发明的其他特征和优点将在随后的说明书中阐述, 并且, 部分的从 说明书中变得显而易见, 或者通过实施本发明而了解。 本发明的目的和其 他优点可通过在所写的说明书、 权利要求书、 以及附图中所特别指出的结 构来实现和获得。 附图说明
图 1为本发明所述方法的流程示意图;
图 2为本发明实施例所述方法中, 接入用户配置的流程示意图; 图 3 为本发明实施例所述方法中, 对接入用户配置后的应用场景示例 图;
图 4为本发明实施例所述方法中, 上行封装过程的流程示意图; 图 5为本发明实施例所述方法中, 下行判断处理的流程示意图; 图 6为本发明所述装置的结构示意图。 具体实施方式
下面结合附图来具体描述本发明的优选实施例, 其中, 附图构成本申 请一部分, 并与本发明的实施例一起用于阐释本发明的原理。
首先, 结合附图 1到图 3对本发明所述方法进行详细说明。
如图 1所示, 图 1为本发明所述方法的流程示意图, 具体可以包括如 下步驟:
步驟 101 : 预先配置接入用户的属性;
具体的说就是, 业务配置过程中, 预先创建用户属性表, 参见表 1 , 该 用户属性表至少包括: 用户类型属性和属性 VLAN, 其中, 用户类型属性 分为: 根属性(Root )和叶子属性(Leaf—); 对应的属性 VLAN分为: 根 属性 VLAN ( Root vlan )和叶子属性 VLAN ( Leaf vlan ); 用户类型属性 ( Root或 Leaf ) 属性 VLAN ( Root vlan或 Leaf vlan ) 表 1
步驟 102: 在业务转发过程中, 对于上行流量, 将接入用户的属性封装 在用户报文中进行转发;
具体的说就是, 对于上行流量, 查询接入用户的用户属性表; 通过查 询获取该接入用户的属性 VLAN, 将该接入用户的属性 VLAN封装在用户 报文中进行转发;
步驟 103: 对于下行流量, 将封装在用户报文中的接入用户的属性和本 地接入用户的属性进行比较判断, 如果根据属性确定二者同为叶子用户, 则丟弃所述用户 ·^艮文, 否则进行转发处理;
具体的就是, 下行流量转发过程中, 从用户报文中获取该接入用户的 属性 VLAN; 然后查询本地接入用户的用户属性表, 如果该本地接入用户 的用户类型属性为叶子属性, 则进一步查询获取该本地接入用户的属性 VLAN; 最后将该接入用户的属性 VLAN和该本地接入用户的属性 VLAN 进行比较判断,如果比较结果为相等,即二者的属性 VLAN同为 Leaf— vlan, 则丟弃该用户报文, 否则剥离封装在该用户报文中的属性 VLAN后再进行 转发。
为了便于理解本发明实施例, 以下将以一个具体的例子来进一步说明 本发明所述方法。
如图 2所示, 图 2为本发明实施例所述方法中, 接入用户配置的流程 示意图, 具体可以包括:
步驟 201: 配置 PW工作模式为标记( Tagged )模式;
步驟 202: 配置用户接入方式为 QinQ堆叠(Stacking )接入, QinQ是 二次封装 VLAN技术; 步驟 203: 给接入用户配置用户类型属性(根属性或叶子属性), 同时 指定属性 VLAN;
步驟 204: 对于根属性的接入用户, 使用 Root— vlan作为 stacking vlan; 对于叶子属性的接入用户, 使用 Leaf— vlan作为 stacking vlan;
步驟 205: 将上述 stacking vlan作为属性 VLAN保存到用户属性表中; 配置结束, 配置后的应用场景例如图 3所示。
如图 4所示, 图 4为本发明实施例所述方法中, 在业务转发过程中上 行封装过程的流程示意图, 具体可以包括:
步驟 401 : 查询接入用户的用户属性表, 获取对应的属性 VLAN;
步驟 402: 在用户报文中封装属性 VLAN;
步驟 403: 根据 VPLS转发规则找到下一跳出口;
所述转发规则可根据需要采用现有技术中已定的方法;
步驟 404: 如果下一跳是公网侧接口, 则封装公网信息、 PW标签等后 转发该用户报文; 如果下一跳是私网侧接口, 则直接转发该用户报文。
如图 5所示, 图 5为本发明实施例所述方法中, 在业务转发过程中下 行判断处理的流程示意图, 具体可以包括:
步驟 501 : 根据 VPLS转发规则找到私网侧下一跳出口;
步驟 502: 如果存在公网信息、 PW标签等接入虚拟转发实例 (Virtual forwarding Instance , VFI ), 则剥离公网信息和 PW标签等 VFI;
步驟 503: 读取保存在用户报文中的属性 VLAN, 即 stacking vlan; 步驟 504: 查询本地接入用户的用户属性表, 获取该本地接入用户的用 户类型属性和属性 VLAN;
步驟 505: 判断用户类型属性是否叶子属性, 如果是, 执行步驟 506, 否则转到步驟 509;
步驟 506: 比较步驟 503 获取的属性 VLAN和步驟 504获取的属性 VLAN;
步驟 507, 判断二者是否相等, 即根据属性 VLAN判断二者是否同为 叶子用户, 如果是, 执行步驟 508, 否则转到步驟 509;
步驟 508: 丟弃该用户报文;
步驟 509: 剥离封装在该用户报文里的属性 VLAN, 即 stacking vlan; 步驟 510: 对步驟 509处理后的用户 ·^艮文进行转发处理。
接下来, 结合附图 6对本发明所述装置进行详细说明。
如图 6所示, 图 6为本发明所述装置的结构示意图, 该装置可以设置 于 PE中, 具体可以包括: 预配置单元、 封装处理单元以及判断处理单元, 其中,
预配置单元, 预先配置接入用户的属性;
具体的说就是, 在业务配置过程中, 预配置单元预先创建用户属性表, 所述用户属性表至少包括: 用户类型属性和属性 VLAN, 其中, 用户类型 属性分为: Root和 Leaf; 属性 VLAN分为: Root-vlan和 Leaf-vlan。
封装处理单元, 负责在业务转发过程中, 对于上行流量, 将接入用户 的属性封装在用户报文中进行转发;
具体的说就是, 对于上行流量, 封装处理单元查询接入用户的配置用 户属性表; 通过查询获取所述接入用户的属性 VLAN, 将所述接入用户的 属性 VLAN封装在用户报文中进行转发。
判断处理单元, 负责在业务转发过程中, 对于下行流量, 将接入用户 封装在用户报文中的属性和本地接入用户的属性进行比较判断, 如果根据 属性确定二者同为叶子用户, 则丟弃所述用户报文, 否则进行转发处理; 具体的说就是, 对于下行流量, 判断处理单元从用户报文中获取所述 接入用户的属性 VLAN; 然后查询本地接入用户的用户属性表, 如果该本 地接入用户的用户类型属性为 Leaf属性, 则进一步查询获取该本地接入用 户的属性 VLAN; 最后将该接入用户的属性 VLAN和该本地接入用户的属 性 VLAN进行比较判断,如果二者的属性 VLAN同为 Leaf— vlan,则丟弃用 户报文, 否则剥离封装在用户报文中的属性 VLAN后再进行转发。
对于本发明所述装置的具体实施过程, 由于上述方法中已有详细说明, 故此处不再赘述。
综上所述, 本发明实施例提供了一种实现虚拟专用网业务转发的方法 及装置, 通过配置接入用户的属性和在用户报文中插入标识用户类型的属 性 VLAN, 实现了 VPLS网络 E-Tree业务模型中, 叶子用户与叶子用户之 间的流量隔离要求。
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并 不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本 发明的保护范围应该以权利要求书的保护范围为准。

Claims

权利要求书
1、 一种实现虚拟专用网业务(VPLS )转发的方法, 其特征在于, 所 述方法包括:
预先配置接入用户的属性;
在业务转发过程中, 对于上行流量, 将接入用户的属性封装在用户报 文中进行转发; 对于下行流量, 将本地接入用户的属性和封装在用户报文 中的接入用户的属性进行比较判断, 如果根据属性确定二者同为叶子用户, 则丟弃所述用户 ·^艮文, 否则进行转发处理。
2、 根据权利要求 1所述的方法, 其特征在于, 所述预先配置接入用户 的属性, 为:
在业务配置过程中, 预先创建用户属性表, 所述用户属性表至少包括: 用户类型属性和属性虚拟局域网(VLAN ), 其中, 所述用户类型属性分为: 根属性(Root )和叶子属性(Leaf); 所述属性 VLAN分为: 根属性 VLAN ( Root vlan )和叶子属性 VLAN ( Leaf— vlan )。
3、 根据权利要求 2所述的方法, 其特征在于, 所述将接入用户的属性 封装在用户报文中进行转发, 为:
对于上行流量, 查询接入用户的用户属性表;
通过查询获取所述接入用户的属性 VLAN, 将所述接入用户的属性 VLAN封装在用户报文中进行转发。
4、根据权利要求 2或 3所述的方法,其特征在于, 所述对于下行流量, 将本地接入用户的属性和封装在用户报文中的接入用户的属性进行比较判 断, 如果根据属性确定二者同为叶子用户, 则丟弃所述用户报文, 否则进 行转发处理, 为:
对于下行流量, 从用户报文中获取接入用户的属性 VLAN;
查询本地接入用户的用户属性表, 如果所述本地接入用户的用户类型 属性为叶子属性, 则进一步查询获取所述本地接入用户的属性 VLAN; 将所述本地接入用户的属性 VLAN和所述接入用户的属性 VLAN进行 比较判断, 如果二者的属性 VLAN同为 Leaf— vlan, 则丟弃所述用户报文, 否则进行转发处理。
5、根据权利要求 1所述的方法, 其特征在于, 所述进行转发处理, 为: 剥离封装在所述用户报文中的属性后再进行转发。
6、一种实现虚拟专用网业务转发的装置,其特征在于, 所述装置包括: 预配置单元, 用于预先配置接入用户的属性;
封装处理单元, 用于对于上行流量, 将接入用户的属性封装在用户报 文中进行转发;
判断处理单元, 用于对于下行流量, 将本地接入用户的属性和封装在 用户报文中的接入用户的属性进行比较判断, 如果根据属性确定二者同为 叶子用户, 则丟弃所述用户 艮文, 否则进行转发处理。
7、 根据权利要求 6所述的装置, 其特征在于,
所述预配置单元, 具体用于在业务配置过程中, 预先创建用户属性表, 所述用户属性表至少包括: 用户类型属性和属性虚拟局域网 (VLAN ), 其 中, 所述用户类型属性分为: 根属性(Root )和叶子属性(Leaf); 所述属 性 VLAN分为: 根属性 VLAN ( Root-vlan )和叶子属性 VLAN ( Leaf-vlan )。
8、 根据权利要求 7所述的装置, 其特征在于,
所述封装处理单元, 具体用于对于上行流量, 查询接入用户的配置用 户属性表; 通过查询获取所述接入用户的属性 VLAN, 将所述接入用户的 属性 VLAN封装在用户报文中进行转发。
9、 根据权利要求 7或 8所述的装置, 其特征在于,
所述判断处理单元, 具体用于对于下行流量, 从用户报文中获取所述 接入用户的属性 VLAN; 然后查询本地接入用户的用户属性表, 如果所述 本地接入用户的用户类型属性为叶子属性, 则进一步查询获取所述本地接 入用户的属性 VLAN; 最后将所述本地接入用户的属性 VLAN和所述接入 用户的属性 VLAN进行比较判断, 如果二者的属性 VLAN同为 Leaf— vlan, 则丟弃所述用户报文, 否则剥离封装在所述用户报文中的属性 VLAN后再 进行转发。
PCT/CN2012/084986 2011-12-30 2012-11-21 实现虚拟专用网业务转发的方法及装置 WO2013097562A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110454227.X 2011-12-30
CN201110454227XA CN102571521A (zh) 2011-12-30 2011-12-30 实现虚拟专用网业务转发的方法及装置

Publications (1)

Publication Number Publication Date
WO2013097562A1 true WO2013097562A1 (zh) 2013-07-04

Family

ID=46416040

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/084986 WO2013097562A1 (zh) 2011-12-30 2012-11-21 实现虚拟专用网业务转发的方法及装置

Country Status (2)

Country Link
CN (1) CN102571521A (zh)
WO (1) WO2013097562A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571521A (zh) * 2011-12-30 2012-07-11 中兴通讯股份有限公司 实现虚拟专用网业务转发的方法及装置
CN104639442A (zh) * 2015-02-16 2015-05-20 杭州华三通信技术有限公司 一种报文处理方法和装置
CN109861959B (zh) * 2018-11-22 2022-04-08 新华三技术有限公司 数据传输方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011084949A2 (en) * 2010-01-05 2011-07-14 Huawei Technologies Co., Ltd. Enhanced hierarchical virtual private local area network service (vpls) system and method for ethernet-tree (e-tree) services
CN102136981A (zh) * 2010-06-29 2011-07-27 华为技术有限公司 以太网中实现以太树业务的方法和相关装置
CN102238057A (zh) * 2011-05-10 2011-11-09 福建星网锐捷网络有限公司 以太网根基多点服务实现方法、系统、装置及网络设备
WO2011140921A1 (zh) * 2010-07-12 2011-11-17 华为技术有限公司 虚拟专用局域网业务vpls的数据帧的转发方法、设备和系统
CN102571521A (zh) * 2011-12-30 2012-07-11 中兴通讯股份有限公司 实现虚拟专用网业务转发的方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155130B (zh) * 2006-09-30 2011-07-06 华为技术有限公司 学习mac地址的方法及传送vpls客户数据的系统及设备
CN101883044A (zh) * 2009-05-08 2010-11-10 华为技术有限公司 一种双向点到多点标签交换路径的建立方法、装置及系统
CN102148745B (zh) * 2010-02-08 2014-03-12 中兴通讯股份有限公司 提高虚拟专用局域网业务网络转发效率的方法和系统
CN102170385B (zh) * 2010-02-27 2014-01-22 华为技术有限公司 一种以太树业务中以太网帧的发送方法和运营商边缘设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011084949A2 (en) * 2010-01-05 2011-07-14 Huawei Technologies Co., Ltd. Enhanced hierarchical virtual private local area network service (vpls) system and method for ethernet-tree (e-tree) services
CN102136981A (zh) * 2010-06-29 2011-07-27 华为技术有限公司 以太网中实现以太树业务的方法和相关装置
WO2011140921A1 (zh) * 2010-07-12 2011-11-17 华为技术有限公司 虚拟专用局域网业务vpls的数据帧的转发方法、设备和系统
CN102238057A (zh) * 2011-05-10 2011-11-09 福建星网锐捷网络有限公司 以太网根基多点服务实现方法、系统、装置及网络设备
CN102571521A (zh) * 2011-12-30 2012-07-11 中兴通讯股份有限公司 实现虚拟专用网业务转发的方法及装置

Also Published As

Publication number Publication date
CN102571521A (zh) 2012-07-11

Similar Documents

Publication Publication Date Title
WO2016082282A1 (zh) 一种支持802.1p的Openvswitch交换机实现方法与系统
WO2013155959A1 (en) Accessing ip network and edge devices
WO2006118714A3 (en) A comprehensive model for vpls
WO2017181757A1 (zh) 报文转发方法及装置
WO2012167697A1 (zh) 抑制网络风暴的方法及处理器
WO2013097459A1 (zh) 一种业务路径的探测方法及设备
WO2011116695A1 (zh) 一种实现多业务转发的方法和网络处理器
CN102932342B (zh) 实现隔离多用户虚拟局域网的方法及网络设备
WO2016041379A1 (zh) Nni ping的实现方法及装置
WO2014194711A1 (zh) 报文处理方法、设备标签处理方法及设备
WO2013086897A1 (zh) 生成表项的方法、接收报文的方法及相应装置和系统
WO2011035703A1 (zh) L2vpn网络接入ip/l3vpn网络的方法和装置
WO2011063678A1 (zh) 虚拟局域网堆叠接入虚拟专用线路业务的实现方法及装置
WO2014134919A1 (zh) 同一租户内服务器间的通信控制方法及网络设备
WO2012130049A1 (zh) 地址处理方法及装置
WO2015070614A1 (zh) 检测l2vpn网络用户侧接口连通性的方法及设备
WO2013097562A1 (zh) 实现虚拟专用网业务转发的方法及装置
WO2011057512A1 (zh) 以太网业务接入承载隧道的方法、运营商边缘设备和系统
WO2014040553A1 (zh) 一种建立通信链路的方法、系统及装置
WO2011120381A1 (zh) 一种对虚拟专用网流量进行服务质量处理的方法及装置
WO2011038646A1 (zh) 一种pw业务的二层转发方法及系统
CN102325087A (zh) 实现Vlan QinQ的方法及系统
WO2014169812A1 (zh) 报文的转发处理方法及装置
CN114422283A (zh) 一种租户隔离方法、网络虚拟交换系统及存储介质
US9654304B2 (en) Method and apparatus for sending transparent interconnection of lots of links data frame

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: 12862598

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12862598

Country of ref document: EP

Kind code of ref document: A1