+

CN102340446B - Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment - Google Patents

Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment Download PDF

Info

Publication number
CN102340446B
CN102340446B CN201010239606.2A CN201010239606A CN102340446B CN 102340446 B CN102340446 B CN 102340446B CN 201010239606 A CN201010239606 A CN 201010239606A CN 102340446 B CN102340446 B CN 102340446B
Authority
CN
China
Prior art keywords
data packet
label
leaf
root
sent
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
CN201010239606.2A
Other languages
Chinese (zh)
Other versions
CN102340446A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201010239606.2A priority Critical patent/CN102340446B/en
Publication of CN102340446A publication Critical patent/CN102340446A/en
Application granted granted Critical
Publication of CN102340446B publication Critical patent/CN102340446B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method for realizing an Ethernet-tree (E-tree) service in a virtual private local area network service (VPLS) network and provider edge (PE) equipment. The method comprises the following steps of: receiving a data packet from customer edge (CE) equipment; judging whether the CE equipment transmitting the data packet is a root node or a leaf node; if the data packet is transmitted by the root node, adding a root tag into the data packet, and if the data packet is transmitted by the leaf node, adding a leaf tag into the data packet; performing pseudo wire (PW) packaging on the data packet; and transmitting the data packet by using a PW. By the method and the equipment provided by the embodiment of the invention, the E-tree service in the VPLS network is realized and can be well compatible with the conventional PE equipment; moreover, only one PW is required and more PWs and virtual switch instances are not required between two pieces of PE equipment.

Description

VPLS网络中E-tree业务的实现方法及PE设备Implementation method and PE equipment of E-tree service in VPLS network

技术领域 technical field

本发明实施例涉及通信技术领域,尤其涉及一种虚拟专用局域网业务(Virtual Private LAN Service,简称VPLS)网络中以太树(E-tree)业务的实现方法及运营商边缘(Provider Edge,简称PE)设备。The embodiment of the present invention relates to the field of communication technologies, and in particular to a method for realizing an Ethernet tree (E-tree) service in a Virtual Private LAN Service (VPLS) network and a Provider Edge (PE for short) equipment.

背景技术 Background technique

E-tree是城域以太网论坛(Metro Ethernet Forum,简称MEF)定义的一种业务,E-tree具有如下的特性:根节点与叶子节点之间为一对多的关系,可以存在多个根节点;根节点可以发送数据包到任意的根节点和叶子节点,叶子节点也可以发送数据包到任意的根节点。E-tree is a service defined by the Metro Ethernet Forum (MEF for short). E-tree has the following characteristics: the relationship between the root node and the leaf nodes is one-to-many, and there can be multiple root nodes. Node; the root node can send data packets to any root node and leaf node, and the leaf node can also send data packets to any root node.

VPLS是一种利用广域网架构来虚拟以太局域网的技术,它能够在多协议标签交换(Multi-Protocol Label Switching,简称MPLS)网络上提供类似于局域网(Local Area Network,简称LAN)的多点到多点连接,便于用户从多个地理位置分散的点同时接入MPLS网络,并相互访问,就像这些点直接接入到LAN上一样。由于目前核心网主要采用IP/MPLS技术,所以通过VPLS来提供虚拟以太网业务的需求越来越多。VPLS is a technology that utilizes a wide area network architecture to virtualize an Ethernet LAN. Point connection, which is convenient for users to simultaneously access the MPLS network from multiple geographically dispersed points and access each other, just like these points are directly connected to the LAN. Since the core network mainly adopts IP/MPLS technology at present, there are more and more demands for providing virtual Ethernet services through VPLS.

由于越来越多的网络中用到VPLS技术,那么如何在VPLS网络中实现E-tree业务就是个亟待解决的问题。Since VPLS technology is used in more and more networks, how to realize E-tree service in VPLS network is an urgent problem to be solved.

现有技术中的一种VPLS网络中的E-tree业务实现方法包括:在两个PE设备之间通过两根PW来实现E-tree业务,即根节点发出的数据包通过一根PW传输,从叶子节点发出的数据包通过另一根PW传输,出口PE设备接收到数据包之后,根据PW即可以确定数据包是由根节点发送过来的,还是由叶子节点发送过来的。A method for implementing an E-tree service in a VPLS network in the prior art includes: implementing the E-tree service between two PE devices through two PWs, that is, the data packet sent by the root node is transmitted through one PW, The data packet sent from the leaf node is transmitted through another PW. After the egress PE device receives the data packet, it can determine whether the data packet is sent from the root node or the leaf node according to the PW.

这种方法存在的问题是:由于每对PE设备之间需要两根PW,同时需要占用两个虚拟交换实例(Virtual Switch Instance,简称VSI),而PW和VSI都是非常宝贵的资源,因此当E-tree业务数量众多时,可能会导致PW和VSI不够用,而且如果E-tree业务占用太多PW和VSI资源,会导致其他的业务(例如透明以太网(E-LAN)业务)所需的PW和VSI资源不够用。The problem with this method is that two PWs are needed between each pair of PE devices, and two Virtual Switch Instances (VSI for short) are required at the same time, and both PWs and VSIs are very precious resources. When there are a large number of E-tree services, the PW and VSI may not be sufficient, and if the E-tree service occupies too many PW and VSI resources, other services (such as transparent Ethernet (E-LAN) services) will be required The PW and VSI resources are not enough.

发明内容 Contents of the invention

本发明实施例提供一种VPLS网络中E-tree业务的实现方法及PE设备,能够在VPLS网络中实现E-tree业务,不需要占用较多的PW和VSI。Embodiments of the present invention provide a method for implementing an E-tree service in a VPLS network and a PE device, which can implement the E-tree service in the VPLS network without occupying many PWs and VSIs.

本发明实施例提供了一种VPLS网络中E-tree业务的实现方法,包括:The embodiment of the present invention provides a method for realizing the E-tree service in a VPLS network, including:

接收CE设备发送的数据包,所述CE设备是根节点或叶子节点;receiving a data packet sent by a CE device, where the CE device is a root node or a leaf node;

判断所述CE设备是根节点还是叶子节点;judging whether the CE device is a root node or a leaf node;

如果所述数据包是由根节点发送过来的,则在所述数据包中加入根标签,如果所述数据包是叶子节点发送过来的,则在所述数据包中加入叶子标签;If the data packet is sent by the root node, a root label is added to the data packet, and if the data packet is sent by a leaf node, a leaf label is added to the data packet;

将所述数据包进行PW封装,将封装后的数据包通过PW发送出去。Perform PW encapsulation on the data packet, and send the encapsulated data packet through the PW.

本发明实施例还提供了一种VPLS网络中E-tree业务的实现方法,包括:The embodiment of the present invention also provides a method for realizing the E-tree service in the VPLS network, including:

通过PW接收入口PE设备数据包;Receive ingress PE device data packets through PW;

解析所述数据包;parsing the data packet;

如果所述数据包中包括根标签,则将所述数据包发送给连接到自身的根节点以及叶子节点;If the data packet includes a root label, then send the data packet to the root node and the leaf node connected to itself;

如果所述数据包中包括叶子标签,则将所述数据包发送给连接到自身的根节点。If the data packet includes a leaf label, then send the data packet to the root node connected to itself.

本发明实施例还提供了一种PE设备,包括:The embodiment of the present invention also provides a PE device, including:

第一处理模块,用于接收CE设备发送的数据包,并判断所述CE设备是根节点还是叶子节点;A first processing module, configured to receive a data packet sent by a CE device, and determine whether the CE device is a root node or a leaf node;

第二处理模块,用于在所述第一处理模块接收到的所述数据包是由根节点发送过来的情况下,在所述数据包中加入根标签;在所述第一处理模块接收到的数据包是叶子节点发送过来的情况下,在所述数据包中加入叶子标签,并将所述数据包进行PW封装后通过PW发送出去。The second processing module is configured to add a root label to the data packet when the data packet received by the first processing module is sent by the root node; If the data packet is sent from a leaf node, a leaf label is added to the data packet, and the data packet is encapsulated by the PW and then sent out through the PW.

本发明实施例还提供了一种PE设备,包括:The embodiment of the present invention also provides a PE device, including:

与各个PW对应的PW出口模块,用于通过PW接收入口PE设备的数据包,并解析所述数据包;The PW egress module corresponding to each PW is used to receive the data packet of the ingress PE device through the PW, and parse the data packet;

第三处理模块,用于在PW出口模块接收到的数据包中包括根标签的情况下,将所述数据包发送给连接到自身的根节点以及叶子节点;在所述PW出口模块接收到的数据包中包括叶子标签的情况下,将所述数据包发送给连接到自身的根节点。The third processing module is used to send the data packet to the root node and the leaf node connected to itself when the data packet received by the PW egress module includes a root label; When the data packet includes the leaf label, the data packet is sent to the root node connected to itself.

本发明实施例提供的VPLS网络中E-tree业务的实现方法及PE设备,在接收到的数据包中加入根标签或叶子标签,标识该数据包是由根节点或叶子节点发送的。这样,通过PW接收到数据包的PE设备,可以根据数据包中的根标签或叶子标签相应地转发或过滤数据包。具体地,如果该数据包中包括根标签,则可以将该数据包发送给连接到自身的所有根节点以及叶子节点,如果该数据包中包括叶子标签,则可以将数据包发送给与自身通信的所有根节点,实现了数据包的转发和过滤,从而实现了E-tree业务。The implementation method and PE equipment of the E-tree service in the VPLS network provided by the embodiment of the present invention add a root label or a leaf label to the received data packet to identify that the data packet is sent by the root node or the leaf node. In this way, the PE device receiving the data packet through the PW can forward or filter the data packet accordingly according to the root label or leaf label in the data packet. Specifically, if the data packet includes the root label, the data packet can be sent to all root nodes and leaf nodes connected to itself, and if the data packet includes the leaf label, the data packet can be sent to communicate with itself All the root nodes realize the forwarding and filtering of data packets, thereby realizing the E-tree service.

本发明实施例中通过根标签、叶子标签来区分根节点和叶子节点发送来的数据包,两个PE设备之间只需要一个PW即可,实现E-tree业务不需要占用较多的PW和VSI,因此当E-tree业务中的业务种类数量众多时,也不会导致E-tree业务所需的PW和VSI不够用,也不会导致其他的业务所需的PW和VSI资源不够用。In the embodiment of the present invention, the root label and the leaf label are used to distinguish the data packets sent by the root node and the leaf node. Only one PW is needed between the two PE devices, and the realization of the E-tree service does not need to occupy more PW and VSI, therefore, when there are many types of services in the E-tree service, the PW and VSI required by the E-tree service will not be insufficient, nor will the PW and VSI resources required by other services be insufficient.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1所示为本发明VPLS网络中E-tree业务的实现方法实施例一的流程图;Fig. 1 shows the flowchart of the implementation method embodiment one of the E-tree service in the VPLS network of the present invention;

图2所示为本发明VPLS网络中E-tree业务的实现方法实施例二的流程图;Fig. 2 shows the flowchart of the implementation method embodiment two of the E-tree service in the VPLS network of the present invention;

图3所示为本发明VPLS网络中E-tree业务的实现方法的一种示意图;Fig. 3 shows a kind of schematic diagram of the realization method of E-tree service in the VPLS network of the present invention;

图4所示为本发明中各实施例涉及到的数据包的封装形式示意图;FIG. 4 is a schematic diagram of the encapsulation form of data packets involved in various embodiments of the present invention;

图5所示为PE设备之间协商示意图;FIG. 5 is a schematic diagram of negotiation between PE devices;

图6所示为本发明VPLS网络中E-tree业务的实现方法的另一种示意图;Fig. 6 shows another schematic diagram of the realization method of E-tree service in the VPLS network of the present invention;

图7所示为本发明PE设备实施例一的结构示意图;FIG. 7 is a schematic structural diagram of Embodiment 1 of the PE equipment of the present invention;

图8所示为本发明PE设备实施例二的结构示意图;FIG. 8 is a schematic structural diagram of Embodiment 2 of the PE equipment of the present invention;

图9所示为本发明PE设备实施例三的结构示意图;FIG. 9 is a schematic structural view of Embodiment 3 of the PE equipment of the present invention;

图10所示为本发明PE设备实施例四的结构示意图;FIG. 10 is a schematic structural diagram of Embodiment 4 of the PE equipment of the present invention;

图11所示为本发明PE设备实施例五的结构示意图。FIG. 11 is a schematic structural diagram of Embodiment 5 of the PE equipment of the present invention.

具体实施方式 Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分优选实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of preferred embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

如图1所示为本发明VPLS网络中E-tree业务的实现方法实施例一的流程图,包括:As shown in Figure 1, it is the flow chart of the implementation method embodiment one of the E-tree service in the VPLS network of the present invention, including:

步骤101、接收客户端边缘(Customer Edge,简称CE)设备发送的数据包。在VPLS网络提供E-Tree业务时,各个CE设备可以是叶子节点或者根节点。Step 101, receiving a data packet sent by a customer edge (Customer Edge, CE for short) device. When the VPLS network provides E-Tree services, each CE device can be a leaf node or a root node.

VPLS网络中,PE设备与CE设备连接,当数据包从CE设备发送到一个PE设备时,接收到该数据包的PE设备称作入口PE设备。入口PE设备通过PW将数据包发送给其他的PE设备,其他PE设备将数据包发送给目的CE设备。通过PW接收入口PE设备发送的数据包的PE设备称为出口PE设备。本发明各实施例中的根节点和叶子节点是VPLS网络中的各个CE设备。In a VPLS network, a PE device is connected to a CE device. When a data packet is sent from a CE device to a PE device, the PE device that receives the data packet is called an ingress PE device. The ingress PE device sends the data packet to other PE devices through the PW, and the other PE devices send the data packet to the destination CE device. A PE that receives data packets sent by an ingress PE through a PW is called an egress PE. The root node and the leaf node in each embodiment of the present invention are each CE device in the VPLS network.

步骤102、判断发送数据包的CE设备是根节点还是叶子节点。Step 102, judging whether the CE device sending the data packet is a root node or a leaf node.

具体地,接收到CE设备发送的以太数据包时,PE设备可以从接收数据包的端口识别出该数据包是由根节点发送过来的,还是由叶子节点发送过来的。PE设备还可以在数据包中进一步添加虚拟局域网(Virtual Local AreaNetwork,简称VLAN)标签,通过VLAN标签来标识该数据包是由根节点发送的还是由叶子节点发送的。Specifically, when receiving the Ethernet data packet sent by the CE device, the PE device can identify from the port where the data packet is received whether the data packet is sent by the root node or by the leaf node. The PE device can further add a virtual local area network (Virtual Local Area Network, referred to as VLAN) tag in the data packet, and use the VLAN tag to identify whether the data packet is sent by the root node or by the leaf node.

步骤103、如果数据包是由根节点发送过来的,则在数据包中加入根标签(Root Label),如果数据包是由叶子节点发送过来的,则在数据包中加入叶子标签(Leaf Label)。Step 103, if the data packet is sent by the root node, then add the root label (Root Label) in the data packet, if the data packet is sent by the leaf node, then add the leaf label (Leaf Label) in the data packet .

该步骤中,PE设备可以根据接收分组的端口属性或者根据VLAN标签来判断该数据包是由根节点发送过来的还是叶子节点发送过来的。如果数据包中的VLAN标签标识数据包是由根节点发送过来的,则在数据包中加入根标签,并删除VLAN标签;如果VLAN标签标识数据包是由叶子节点发送过来的,则在数据包中加入叶子标签,并删除VLAN标签。In this step, the PE device can judge whether the data packet is sent from the root node or the leaf node according to the port attribute of the received packet or according to the VLAN tag. If the VLAN label in the data packet identifies that the data packet is sent by the root node, then add the root label in the data packet and delete the VLAN label; if the VLAN label identifies that the data packet is sent by the leaf node, then in the data packet Add a leaf label to and delete the VLAN label.

步骤104、将数据包进行PW封装,将经过PW封装之后的数据包通过PW发送出去。Step 104, PW-encapsulates the data packet, and sends the PW-encapsulated data packet through the PW.

如图2所示为本发明VPLS网络中E-tree业务的实现方法实施例二的流程图,包括:As shown in Figure 2, it is the flow chart of the implementation method embodiment two of the E-tree service in the VPLS network of the present invention, including:

步骤201、通过PW接收入口PE设备发送过来的数据包。Step 201: Receive the data packet sent by the ingress PE device through the PW.

步骤202、解析数据包。Step 202, analyzing the data packet.

具体地,可以对数据包进行解封装,解析出数据包中的根标签或叶子标签;然后根据数据包中的根标签或叶子标签在数据包中添加VLAN标签,其中所述VLAN标签用于标识该数据包在解封装之前包括的是根标签还是叶子标签。Specifically, the data packet can be decapsulated, and the root label or leaf label in the data packet can be parsed out; then a VLAN tag can be added to the data packet according to the root label or leaf label in the data packet, wherein the VLAN tag is used to identify Whether the packet includes a root label or a leaf label before decapsulation.

可以用一个VLAN标签标识该数据包在解封装之前包括的是根标签,用另一个VLAN标签标识该数据包在解封装之前包括的是叶子标签。A VLAN tag may be used to identify that the data packet includes a root tag before decapsulation, and another VLAN tag may be used to identify that the data packet includes a leaf tag before decapsulation.

步骤203、如果数据包中包括根标签,则将数据包发送给连接到自身的所有根节点以及叶子节点;如果数据包中包括叶子标签,则将数据包发送给连接到自身的所有根节点。Step 203, if the data packet includes a root label, send the data packet to all root nodes and leaf nodes connected to itself; if the data packet includes a leaf label, send the data packet to all root nodes connected to itself.

具体地,可以根据数据包中的VLAN标签来标识该数据包解封装之前包括的是根标签还是叶子标签。如果数据包中的VLAN标签标识数据包解封装之前包括的是根标签,则删除VLAN标签,并将删除VLAN标签之后的数据包发送给连接到自身的根节点以及叶子节点;如果数据包中的VLAN标签标识数据包解封装之前包括的是叶子标签,则删除VLAN标签,并将删除VLAN标签之后的数据包发送给连接到自身的根节点,并将发送给连接到自身的叶子节点的数据包过滤掉。Specifically, it may be identified according to the VLAN tag in the data packet whether the data packet includes a root tag or a leaf tag before decapsulation. If the VLAN label in the data packet includes the root label before decapsulating the packet, delete the VLAN label, and send the data packet after deleting the VLAN label to the root node and the leaf node connected to itself; The VLAN label identifies the leaf label before the packet is decapsulated, delete the VLAN label, and send the data packet after deleting the VLAN label to the root node connected to itself, and send the data packet to the leaf node connected to itself Filtered.

在E-tree业务中,根节点发送的数据包可以发送给其他的根节点和叶子节点,叶子节点发送的数据包可以发送给根节点,但不能发送给其它叶子节点。In the E-tree service, the data packet sent by the root node can be sent to other root nodes and leaf nodes, and the data packet sent by the leaf node can be sent to the root node, but cannot be sent to other leaf nodes.

下面结合具体的网络结构来说明本发明实施例一和实施例二的实现过程。The implementation process of Embodiment 1 and Embodiment 2 of the present invention will be described below in conjunction with a specific network structure.

如图3所示为本发明VPLS网络中E-tree业务的实现方法的一种示意图,该VPLS网络中包括PE1、PE2和PE3这三个PE设备,PE1与根节点R1和叶子节点L1连接,PE2与根节点R2和叶子节点L2连接,PE3与根节点R3和叶子节点L3连接,PE1和PE2之间通过伪线PW1通信,PE1和PE3之间通过伪线PW2通信,PE2和PE3之间通过伪线PW3通信。As shown in Fig. 3, it is a kind of schematic diagram of the implementation method of E-tree service in the VPLS network of the present invention, comprises three PE equipments of PE1, PE2 and PE3 in this VPLS network, PE1 is connected with root node R1 and leaf node L1, PE2 is connected to root node R2 and leaf node L2, and PE3 is connected to root node R3 and leaf node L3. PE1 and PE2 communicate through pseudowire PW1, PE1 and PE3 communicate through pseudowire PW2, and PE2 and PE3 communicate through pseudowire PW1. Pseudowire PW3 communication.

例如,根节点R1发送数据包(例如,以太数据包)给PE1,PE1中接收到数据包的模块根据接收数据包的端口可以确定数据包是由叶子节点发送过来的还是根节点发送过来的,然后接收到数据包的模块可以在该数据包中进一步添加VLAN标签。For example, the root node R1 sends a data packet (for example, an Ethernet data packet) to PE1, and the module receiving the data packet in PE1 can determine whether the data packet is sent by the leaf node or the root node according to the port of the received data packet. Then the module receiving the data packet can further add a VLAN tag to the data packet.

该数据包中的目的地址可以是组播地址,也可以是单播地址。PE1中接收到数据包的模块,添加VLAN标签之后,可以将数据包发送到相应的VSI。不同的VPLS业务对应不同的VSI。The destination address in the data packet may be a multicast address or a unicast address. The module in PE1 that receives the data packet can send the data packet to the corresponding VSI after adding the VLAN tag. Different VPLS services correspond to different VSIs.

VSI查找媒体接入控制(Media Access Control,简称MAC)地址转发表,若发现该数据包的目的地址是组播地址,则将数据包发送给与各个PW对应的PW入口模块。The VSI searches the Media Access Control (MAC) address forwarding table, and if it finds that the destination address of the data packet is a multicast address, it sends the data packet to the PW entry module corresponding to each PW.

若发现该数据包的目的地址是单播地址,则根据MAC地址转发表查找数据包的目的地址对应的PW,并把数据包发送到与该PW对应的PW入口模块。If the destination address of the data packet is found to be a unicast address, the PW corresponding to the destination address of the data packet is searched according to the MAC address forwarding table, and the data packet is sent to the PW entry module corresponding to the PW.

由于该数据包是由根节点发送的(可以根据数据包中的VLAN标签确定),PW入口模块在通过PW发送数据包之前,在数据包中加入根标签,并删除VLAN标签,然后将该数据包进行PW封装,还可以进一步经过隧道封装,最后将数据包通过PW发送给对端PE设备。例如,将目的地址为组播地址的数据包通过PW2和PW3发送给PE2和PE3。Since the data packet is sent by the root node (can be determined according to the VLAN tag in the data packet), the PW entry module adds the root tag to the data packet and deletes the VLAN tag before sending the data packet through the PW, and then sends the data The packet is encapsulated by the PW, and can be further encapsulated by the tunnel, and finally the data packet is sent to the peer PE device through the PW. For example, a data packet whose destination address is a multicast address is sent to PE2 and PE3 through PW2 and PW3.

例如,叶子节点L1发送数据包(例如,以太数据包)给PE1,PE1中接收到数据包的模块根据接收数据包的端口可以确定数据包是由叶子节点发送过来的还是根节点发送过来的,然后接收到数据包的模块可以在该数据包中进一步添加VLAN标签。For example, the leaf node L1 sends a data packet (for example, an Ethernet data packet) to PE1, and the module receiving the data packet in PE1 can determine whether the data packet is sent by the leaf node or the root node according to the port of the received data packet. Then the module receiving the data packet can further add a VLAN tag to the data packet.

该数据包中的目的地址可以是组播地址,也可以是单播地址。PE1中接收到数据包的模块,添加VLAN标签之后,可以将数据包发送到相应的VSI。。The destination address in the data packet may be a multicast address or a unicast address. The module in PE1 that receives the data packet can send the data packet to the corresponding VSI after adding the VLAN tag. .

VSI通过MAC地址转发表,若发现该数据包的目的地址是组播地址,则将数据包发送给与各个PW对应的PW入口模块。Through the MAC address forwarding table, if the VSI finds that the destination address of the data packet is a multicast address, it sends the data packet to the PW entry module corresponding to each PW.

若发现该数据包的目的地址是单播地址,则根据MAC地址转发表查找数据包的目的地址对应的PW,并把数据包发送到与该PW对应的PW入口模块。If the destination address of the data packet is found to be a unicast address, the PW corresponding to the destination address of the data packet is searched according to the MAC address forwarding table, and the data packet is sent to the PW entry module corresponding to the PW.

由于该数据包是由叶子节点发送的(可以根据数据包中的VLAN标签确定),PW入口模块在通过PW发送数据包之前,在数据包中加入叶子标签,并删除VLAN标签,然后将该数据包进行PW封装,还可以进一步经过隧道封装,之后将数据包通过PW发送给对端PE设备,例如,将目的地址为组播地址的数据包通过PW2和PW3发送给PE2和PE3。Since the data packet is sent by the leaf node (can be determined according to the VLAN tag in the data packet), the PW entry module adds the leaf tag to the data packet and deletes the VLAN tag before sending the data packet through the PW, and then sends the data packet The packet is encapsulated by PW, and can be further encapsulated by tunnel, and then the data packet is sent to the peer PE device through the PW. For example, the data packet whose destination address is the multicast address is sent to PE2 and PE3 through PW2 and PW3.

PE2中的PW出口模块接收到数据包之后,解析数据包。如果数据包中包括根标签,则PE2中的处理模块将数据包发送给连接到PE2的所有根节点以及叶子节点,如果数据包中包括叶子标签,则将数据包发送给连接到PE2的所有根节点。After receiving the data packet, the PW egress module in PE2 parses the data packet. If the data packet includes a root label, the processing module in PE2 sends the data packet to all root nodes and leaf nodes connected to PE2, and if the data packet includes a leaf label, then sends the data packet to all root nodes connected to PE2 node.

具体地,PE2可以在收到数据包之后,对数据包进行解封装,弹出其中的根标签或叶子标签,还可以在数据包中添加VLAN标签,标识该数据包在解析之前包括根标签还是叶子标签。添加VLAN标签之后的数据包可以发送到VSI,由VSI根据数据包发送给与各个CE设备对应的发送模块。如果VLAN标签标识该数据包在解析之前包括根标签,则PE2中的发送模块删除VLAN标签,并将数据包发送给连接到自身的根节点以及叶子节点。如果VLAN标签标识该数据包在解析之前包括根标签,则PE2中的发送模块删除VLAN标签,并将数据包发送给连接到自身的根节点。Specifically, after receiving the data packet, PE2 can decapsulate the data packet, pop out the root label or leaf label, and can also add a VLAN tag to the data packet to identify whether the data packet includes the root label or the leaf label before parsing. Label. The data packet after adding the VLAN tag can be sent to the VSI, and the VSI sends it to the sending module corresponding to each CE device according to the data packet. If the VLAN tag indicates that the data packet includes a root tag before parsing, the sending module in PE2 deletes the VLAN tag, and sends the data packet to the root node and the leaf node connected to itself. If the VLAN tag identifies that the data packet includes a root tag before parsing, the sending module in PE2 deletes the VLAN tag and sends the data packet to the root node connected to itself.

图3中,PE3也会接收到数据包,PE3接收到数据包之后的处理方法与PE2相同。In FIG. 3 , PE3 also receives the data packet, and the processing method of PE3 after receiving the data packet is the same as that of PE2.

如图1所示的实施例中,步骤101-104可以由入口PE设备执行,例如PE1。如图2所示的实施例中,步骤201和202可以由出口PE设备执行,例如PE2或PE3。In the embodiment shown in FIG. 1, steps 101-104 may be performed by an ingress PE device, such as PE1. In the embodiment shown in FIG. 2, steps 201 and 202 may be performed by an egress PE device, such as PE2 or PE3.

本发明实施例提供的VPLS网络中E-tree业务的实现方法,入口PE设备在接收到的数据包中加入根标签或叶子标签,标识该数据包是由根节点或叶子节点发送的。这样,出口PE设备从一条PW接收到数据包之后,根据数据包中的根标签或叶子标签就可以相应地转发或过滤数据包。具体地,如果该数据包中包括根标签,则出口PE设备可以将该数据包发送给连接到自身的所有根节点以及叶子节点,如果该数据包中包括叶子标签,则出口PE设备可以将数据包发送给连接到自身的所有根节点,从而实现E-tree业务数据包的转发和过滤。In the implementation method of the E-tree service in the VPLS network provided by the embodiment of the present invention, the ingress PE device adds a root label or a leaf label to the received data packet to identify that the data packet is sent by the root node or the leaf node. In this way, after the egress PE device receives a data packet from a PW, it can forward or filter the data packet accordingly according to the root label or leaf label in the data packet. Specifically, if the data packet includes a root label, the egress PE device can send the data packet to all root nodes and leaf nodes connected to itself; if the data packet includes a leaf label, the egress PE device can send the data The packet is sent to all root nodes connected to itself, so as to realize the forwarding and filtering of E-tree service data packets.

本发明实施例提供的方法中,由于在数据包中添加了根标签或叶子标签,这样可以在以太网转发层面转发或过滤数据包,而对于VSI无需做改变,可以很好地与现有的设备兼容。In the method provided by the embodiment of the present invention, since a root label or a leaf label is added to the data packet, the data packet can be forwarded or filtered at the Ethernet forwarding level, and there is no need to change the VSI, which can be well integrated with the existing The device is compatible.

本发明实施例中通过根标签或叶子标签来区分根节点和叶子节点发送来的数据包,两个PE设备之间只需要一个PW即可,无需设置两个PW,也就无需使用两个VSI,降低了对于PW和VSI资源的要求。因此当E-tree业务中的业务种类数量众多时,不会导致E-tree业务所需的PW和VSI不够用,不会导致其他的业务所需的PW和VSI资源不够用。In the embodiment of the present invention, the root label or leaf label is used to distinguish the data packets sent by the root node and the leaf node. Only one PW is needed between the two PE devices, and there is no need to set two PWs, and there is no need to use two VSIs. , reducing the requirements for PW and VSI resources. Therefore, when there are many types of services in the E-tree service, the PW and VSI required by the E-tree service will not be insufficient, and the PW and VSI resources required by other services will not be insufficient.

本发明各实施例中,根标签或叶子标签可以添加在数据包的多协议标签交换(Multi-Protocol Label Switching,简称MPLS)标签栈的栈底。如图4所示为本发明中各实施例涉及到的数据包的封装形式示意图,本发明实施例中包括E-tree标签(E-tree Label)这一项,通常与分组净荷(Ethernet Payload)最接近的标签称为MPLS标签栈的栈底,图4中,控制字(Control Word)是可选的项,因此E-tree标签即是MPLS标签栈的栈底。图中,MPLS标签栈和PW标签中的栈底标识字段S都取值为0,而E-tree标签的字段S取值为1。图4中,在以太网净荷与可选的控制字之间是以太网头(Ethernet Header)。In each embodiment of the present invention, the root label or the leaf label may be added at the bottom of the multi-protocol label switching (Multi-Protocol Label Switching, MPLS for short) label stack of the data packet. As shown in Figure 4, it is a schematic diagram of the encapsulation form of the data packets involved in each embodiment of the present invention, the embodiment of the present invention includes this item of E-tree label (E-tree Label), which is usually related to packet payload (Ethernet Payload) ) is called the bottom of the MPLS label stack. In Figure 4, the control word (Control Word) is an optional item, so the E-tree label is the bottom of the MPLS label stack. In the figure, the value of the bottom identification field S in the MPLS label stack and the PW label is 0, and the value of the field S in the E-tree label is 1. In Figure 4, between the Ethernet payload and the optional control word is an Ethernet header (Ethernet Header).

E-tree取不同的值,即可以分别表示根标签或叶子标签。例如,可以将E-tree根标签取值为100,表示该E-tree业务下的标签100为根标签,将E-tree叶子标签取值为200,表示该E-tree业务下的标签200为叶子标签。E-tree takes different values, that is, it can represent root labels or leaf labels respectively. For example, you can set the value of the E-tree root label to 100, indicating that the label 100 under the E-tree service is the root label, and set the value of the E-tree leaf label to 200, indicating that the label 200 under the E-tree service is leaf label.

由于MPLS系统中包含一些保留标签,例如0-15,本发明的实施例中,叶子标签和根标签的取值应该是除了这些值以外的其他数值,以避免与MPLS系统的保留标签相混淆。Since the MPLS system contains some reserved labels, such as 0-15, in the embodiment of the present invention, the values of the leaf label and the root label should be other values other than these values, so as to avoid confusion with the reserved labels of the MPLS system.

与采用控制字等方式来标识数据包是由根节点还是叶子节点发送的方法相比,本发明实施例中在数据包中添加E-tree标签,来标识数据包是由根节点还是叶子节点发送的,这样,就无需设计新的转发引擎,该数据包可以在以太网转发层面转发或过滤数据包,而对于VSI无需做改变,可以很好地与现有的设备兼容。Compared with the method of using control words and other methods to identify whether the data packet is sent by the root node or the leaf node, in the embodiment of the present invention, an E-tree tag is added to the data packet to identify whether the data packet is sent by the root node or the leaf node In this way, there is no need to design a new forwarding engine, the data packet can be forwarded or filtered at the Ethernet forwarding level, and there is no need to change the VSI, which can be well compatible with existing equipment.

VPLS网络可以是全网型的网络(full mesh),网络中的各个PE设备可以预先协商根标签或叶子标签的属性信息。根标签和叶子标签的属性信息,例如可以是用于指示根标签和叶子标签的数值。The VPLS network can be a full mesh network (full mesh), and each PE device in the network can pre-negotiate the attribute information of the root label or the leaf label. The attribute information of the root label and the leaf label may be, for example, a numerical value used to indicate the root label and the leaf label.

在VPLS网络中,各个PE设备之间可以基于标签分发(Label DistributeProtocol,简称LDP)协议建立PW。各个PE设备协商根标签或叶子标签的属性信息的步骤具体可以包括:各个PE设备相互交换LDP协商消息,该LDP协商消息中携带一个类型-长度-值(Type-Length-Value,简称TLV)字段,该TLV字段中包括根标签和叶子标签的属性信息。如图5所示为PE设备之间协商示意图,两个PE设备之间互相发送一个带有TLV字段的LDP协商消息,该TLV字段中包括根标签和叶子标签的属性信息,例如可以包括叶子标签取值为200、根标签取值为100的属性信息。In a VPLS network, PWs can be established between each PE device based on a Label Distribute Protocol (LDP for short) protocol. The steps for each PE device to negotiate the attribute information of the root label or the leaf label may specifically include: each PE device exchanges LDP negotiation messages with each other, and the LDP negotiation message carries a Type-Length-Value (TLV for short) field , the TLV field includes the attribute information of the root label and the leaf label. Figure 5 is a schematic diagram of the negotiation between PE devices. Two PE devices send each other an LDP negotiation message with a TLV field. The TLV field includes the attribute information of the root label and the leaf label, for example, it may include the leaf label. Attribute information with a value of 200 and a root tag with a value of 100.

当然,PE设备之间还可以基于边界网关(Broder Gateway Protocol,简称BGP)协议进行通信,可以通过BGP协议中的消息来携带根标签和叶子标签的属性信息。Of course, PE devices can also communicate based on the Border Gateway Protocol (BGP) protocol, and the message in the BGP protocol can carry the attribute information of the root label and the leaf label.

或者,可以由一个PE设备向其他各个PE设备发送一个消息,该消息中包括根标签和叶子标签的属性信息。Alternatively, one PE device may send a message to each other PE device, and the message includes the attribute information of the root label and the leaf label.

在步骤102中,入口PE设备具体可以根据预先协商好的的根标签或叶子标签的属性信息,向数据包中加入根标签或叶子标签。In step 102, the ingress PE device may specifically add a root label or a leaf label to the data packet according to the pre-negotiated attribute information of the root label or the leaf label.

在E-tree业务中,有的PE设备只与叶子节点相连接,而不与根节点连接,本发明的实施例中,把这样的PE设备称为叶子节点类型的PE设备。这样,叶子节点类型的PE设备可以给其他PE设备发送一个通告消息,该通告消息包括与叶子节点连接而不与根节点连接的PE设备的信息,即包括叶子节点类型的PE设备的信息。其他的PE设备接收到通告消息之后即可以获知哪些PE设备是叶子节点类型的PE设备。In the E-tree service, some PE devices are only connected to the leaf nodes, but not to the root node. In the embodiment of the present invention, such PE devices are called leaf node type PE devices. In this way, the PE device of the leaf node type can send a notification message to other PE devices, and the notification message includes the information of the PE device connected to the leaf node but not to the root node, that is, includes the information of the PE device of the leaf node type. After receiving the notification message, other PE devices can know which PE devices are leaf node type PE devices.

在这种情况下,其他PE设备接收到其连接的叶子节点发送的数据后,可以不转发该数据包给叶子节点类型的PE设备。也就是说,若某条PW的对端PE设备连接的都是叶子节点时,入口PE设备可以对所接收到的来自叶子节点的数据包在PW入口模块进行过滤,即,对于叶子节点发送过来的数据包,入口PE设备就不会通过与叶子节点类型的PE设备对应的PW发送数据包,从而避免了这部分数据包对于通信资源的占用。In this case, after other PE devices receive the data sent by the leaf node to which they are connected, they may not forward the data packet to the PE device of the leaf node type. That is to say, if the peer PE devices of a certain PW are all connected to leaf nodes, the ingress PE device can filter the data packets received from the leaf nodes in the PW ingress module, that is, for the The ingress PE device will not send the data packet through the PW corresponding to the PE device of the leaf node type, thus avoiding the occupation of communication resources by these data packets.

如图6所示为本发明VPLS网络中E-tree业务的实现方法的另一种示意图,该实施例中PE3只和叶子节点L3连接,而不与根节点连接,是一个叶子节点类型的PE设备。在这种情况下,PE3可以向PE1和PE2发送通告消息宣告自己是叶子节点类型的PE设备,从而PE1和PE2可以获知PE3是叶子节点类型PE设备。如果L1发送数据包给PE1,由于PE3是叶子节点类型的PE设备,那么PE1可以不发送数据包给PE3,这样就避免了PE1发送给PE3的数据包占用网络资源。实质上,即使PE1发送数据包给PE3,由于该数据包中携带有叶子标签,PE3也会将该数据包过滤掉,而不会将该数据包发送给L3。As shown in Figure 6, it is another schematic diagram of the implementation method of the E-tree service in the VPLS network of the present invention. In this embodiment, PE3 is only connected to the leaf node L3, but not connected to the root node, and is a leaf node type PE equipment. In this case, PE3 can send a notification message to PE1 and PE2 to declare that it is a leaf node type PE device, so that PE1 and PE2 can learn that PE3 is a leaf node type PE device. If L1 sends data packets to PE1, since PE3 is a leaf node type PE device, PE1 does not need to send data packets to PE3, thus preventing the data packets sent from PE1 to PE3 from occupying network resources. In essence, even if PE1 sends a data packet to PE3, because the data packet carries a leaf label, PE3 will filter the data packet instead of sending the data packet to L3.

对于如图1所示的实施例,若入口PE设备在数据包中加入的标签为叶子标签,并且PW的对端对应的PE设备为叶子节点类型的PE设备,则在PW入口模块过滤掉数据包。For the embodiment shown in Figure 1, if the label added by the ingress PE device in the data packet is a leaf label, and the PE device corresponding to the opposite end of the PW is a leaf node type PE device, then the data is filtered out at the PW ingress module Bag.

该实施例还可以包括接收通告消息的步骤,若该通告消息包括叶子节点类型的PE设备的信息,则入口PE设备将该通告信息关联到与叶子节点类型的PE设备对应的PW。This embodiment may further include a step of receiving a notification message. If the notification message includes information of a leaf node type PE device, the ingress PE device associates the notification information with a PW corresponding to the leaf node type PE device.

入口PE设备接收到通告消息后,入口PE设备可以获知哪个PW的对端是叶子节点类型的PE设备。在步骤104中,如果入口PE设备接收到的数据包是由叶子节点发送的,并且PW的对端对应的PE设备为叶子节点类型的PE设备,则在PW入口模块过滤掉数据包。如果入口设备接收到的数据包是由根节点发送的,则PW入口模块可以对该数据包进行PW封装后通过PW发送出去,无需进行过滤。After the ingress PE device receives the notification message, the ingress PE device can learn which PW's opposite end is a PE device of the leaf node type. In step 104, if the data packet received by the ingress PE device is sent by a leaf node, and the PE device corresponding to the opposite end of the PW is a leaf node type PE device, then the PW ingress module filters out the data packet. If the data packet received by the ingress device is sent by the root node, the PW ingress module can perform PW encapsulation on the data packet and send it out through the PW without filtering.

如图7所示为本发明PE设备实施例一的结构示意图,该PE设备包括第一处理模块11和第二处理模块12。第一处理模块11用于接收CE设备发送的数据包,并判断发送数据包的CE设备是根节点还是叶子节点。第二处理模块与第一处理模块11连接,用于在第一处理模块11接收到的所述数据包是由根节点发送过来的情况下,在数据包中加入根标签,在第一处理模块11接收到的数据包是叶子节点发送过来的情况下,在数据包中加入叶子标签,并将数据包进行PW封装后通过PW发送出去。FIG. 7 is a schematic structural diagram of Embodiment 1 of a PE device according to the present invention. The PE device includes a first processing module 11 and a second processing module 12 . The first processing module 11 is configured to receive a data packet sent by a CE device, and determine whether the CE device sending the data packet is a root node or a leaf node. The second processing module is connected with the first processing module 11, and is used for adding the root label in the data packet when the data packet received by the first processing module 11 is sent by the root node, and in the first processing module 11 If the received data packet is sent by a leaf node, add a leaf label to the data packet, and then send the data packet through the PW after PW encapsulation.

如图8所示为本发明PE设备实施例二的结构示意图,该PE设备中,第二处理模块12包括第一VSI模块121以及与各个PW对应的PW入口模块122。VSI模块121用于将第一处理模块11接收到的数据包发送给与数据包中的目的地址对应的PW入口模块122。PW入口模块122包括:第一处理子模块122a、封装子模块122b和发送子模块122c。第一处理子模块122a用于在第一处理模块11接收到的数据包是由根节点发送过来的情况下,在数据包中加入根标签,在第一处理模块11接收到的数据包是由叶子节点发送过来的情况下,在数据包中加入叶子标签。封装子模块122b用于将第一处理子模块122a处理过的数据包进行PW封装。发送子模块122c用于将经过封装子模块122b封装后的数据包通过PW发送出去。FIG. 8 is a schematic structural diagram of Embodiment 2 of the PE device of the present invention. In the PE device, the second processing module 12 includes a first VSI module 121 and a PW entry module 122 corresponding to each PW. The VSI module 121 is configured to send the data packet received by the first processing module 11 to the PW entry module 122 corresponding to the destination address in the data packet. The PW entry module 122 includes: a first processing submodule 122a, an encapsulation submodule 122b, and a sending submodule 122c. The first processing sub-module 122a is used to add a root label to the data packet when the data packet received by the first processing module 11 is sent by the root node, and the data packet received by the first processing module 11 is When the leaf node sends it, the leaf label is added to the data packet. The encapsulation submodule 122b is configured to perform PW encapsulation on the data packet processed by the first processing submodule 122a. The sending sub-module 122c is configured to send the data packet encapsulated by the encapsulating sub-module 122b through the PW.

其中,第一处理模块11具体可以用于接收CE设备发送的数据包,判断发送数据包的CE设备是根节点还是叶子节点,并可以在数据包中进一步加入VLAN标签,标识所述数据包是由根节点发送的还是有叶子节点发送的。第一处理模块11具体可以根据端口属性来判断发送数据包的CE设备是根节点还是叶子节点。第一处理子模块122a具体可以用于在第一处理模块11接收到的数据包是由根节点发送过来的情况下,在数据包中加入根标签,具体可以在数据包的MPLS标签栈的栈底加入根标签;在第一处理模块11接收到的数据包是由叶子节点发送过来的情况下,在数据包中加入叶子标签,具体可以在数据包的MPLS标签栈的栈底加入叶子标签。第一处理子模块122a具体还可以用于在数据包中的VLAN标签标识所述数据包是由根节点发送过来的情况下,则在数据包中加入根标签,并删除VLAN标签;在VLAN标签标识所述数据包是由叶子节点发送过来的情况下,则在数据包中加入叶子标签,并删除VLAN标签。Wherein, the first processing module 11 can specifically be used to receive the data packet sent by the CE device, determine whether the CE device sending the data packet is a root node or a leaf node, and can further add a VLAN tag to the data packet to identify whether the data packet is What is sent by the root node is still sent by the leaf node. Specifically, the first processing module 11 may determine whether the CE device sending the data packet is a root node or a leaf node according to the port attribute. Specifically, the first processing sub-module 122a can be used to add a root label to the data packet when the data packet received by the first processing module 11 is sent by the root node. Add the root label at the bottom; when the data packet received by the first processing module 11 is sent by the leaf node, add the leaf label in the data packet, specifically the leaf label can be added at the bottom of the MPLS label stack of the data packet. The first processing submodule 122a can also be specifically used to add the root tag in the data packet and delete the VLAN tag when the VLAN tag in the data packet identifies that the data packet is sent by the root node; If it is identified that the data packet is sent by a leaf node, a leaf label is added to the data packet, and the VLAN label is deleted.

如图9所示为本发明PE设备实施例三的结构示意图,该PE设备在如图9所示的实施例的基础上还包括协商模块13,该协商模块13与第一处理子模块122a连接,用于和对端PE设备协商根标签和叶子标签的属性信息。第一处理模块12可以根据该根标签和叶子标签的属性信息在数据包中添加根标签或叶子标签。FIG. 9 is a schematic structural diagram of Embodiment 3 of the PE device of the present invention. The PE device further includes a negotiation module 13 on the basis of the embodiment shown in FIG. 9, and the negotiation module 13 is connected to the first processing sub-module 122a. , which is used to negotiate the attribute information of the root label and leaf label with the peer PE device. The first processing module 12 may add a root label or a leaf label to the data packet according to the attribute information of the root label and the leaf label.

具体地,第一处理子模块122a用于在第一处理模块11接收到的数据包是由根节点发送过来的情况下,根据根标签或叶子标签的属性信息,在数据包中加入根标签,在第一处理模块11接收到的数据包是由叶子节点发送过来的情况下,根据叶子标签的属性信息,在数据包中加入叶子标签。Specifically, the first processing sub-module 122a is used to add a root tag to the data packet according to the attribute information of the root tag or the leaf tag when the data packet received by the first processing module 11 is sent by the root node, In the case that the data packet received by the first processing module 11 is sent by the leaf node, a leaf label is added to the data packet according to the attribute information of the leaf label.

还可以包括消息处理模块14,该消息处理模块14与第一处理子模块122a连接,用于接收其他PE设备发送的通告消息,在所述通告消息包括叶子节点类型的PE设备的信息的情况下,将通告消息关联到与叶子节点类型的PE设备对应的PW。It may also include a message processing module 14, which is connected to the first processing sub-module 122a, and is used to receive notification messages sent by other PE devices, and in the case where the notification messages include leaf node type PE device information , associating the notification message with the PW corresponding to the PE device of the leaf node type.

具体的,该消息处理模块14可以包括消息接收子模块141、处理子模块142和关联子模块143。消息接收子模块141用于接收子模块141,用于接收其他PE设备发送的通告消息。处理子模块142与消息接收子模块141连接,用于确定通告消息中是否包括叶子节点类型的PE设备的信息。关联子模块143与PW入口处理模块122连接,用于将通告消息关联到与所述叶子节点类型的PE设备对应的PW。如果第一处理子模块122a在接收到的数据包中添加的是叶子标签,并且其PW与叶子节点类型的PE设备关联,那么可以把该数据包过滤掉。Specifically, the message processing module 14 may include a message receiving submodule 141 , a processing submodule 142 and an associating submodule 143 . The message receiving sub-module 141 is configured to receive the notification message sent by other PE devices. The processing sub-module 142 is connected with the message receiving sub-module 141, and is used to determine whether the notification message includes the information of the PE device of the leaf node type. The associating sub-module 143 is connected to the PW entry processing module 122, and is used for associating the notification message with the PW corresponding to the PE device of the leaf node type. If the first processing submodule 122a adds a leaf label to the received data packet, and its PW is associated with a PE device of the leaf node type, then the data packet may be filtered out.

如图10所示为本发明PE设备实施例四的结构示意图,该PE设备包括与各个PW对应的PW出口模块21和第三处理模块22。与各个PW对应的PW出口模块21用于通过PW接收数据包,并解析数据包。第三处理模块22与各个PW出口模块21连接,用于在PW出口模块21接收到的数据包中包括根标签的情况下,将数据包发送给连接到自身的根节点以及叶子节点;在PW出口模块21接收到的数据包中包括叶子标签的情况下,将数据包发送给连接到自身的根节点。FIG. 10 is a schematic structural diagram of Embodiment 4 of a PE device according to the present invention. The PE device includes a PW egress module 21 and a third processing module 22 corresponding to each PW. The PW egress module 21 corresponding to each PW is used to receive data packets through the PW and analyze the data packets. The third processing module 22 is connected to each PW egress module 21, and is used to send the data packet to the root node and the leaf node connected to itself when the data packet received by the PW egress module 21 includes a root label; If the data packet received by the egress module 21 includes a leaf label, it sends the data packet to the root node connected to itself.

如图11所示为本发明PE设备实施例五的结构示意图,该实施例中,与各个PW对应的PW出口模块21分别包括接收子模块211、解封装子模块212和第二处理子模块213。接收子模块211用于通过PW接收数据包。解封装子模块212与接收子模块211连接,用于对接收子模块211接收到的数据包进行解封装,弹出数据包中的根标签或叶子标签。第二处理子模块213与解封装子模块212连接,用于经过解封装子模块212处理后的数据包中添加VLAN标签,该VLAN标签标识数据包在解封装之前包括的是根标签还是叶子标签。FIG. 11 is a schematic structural diagram of Embodiment 5 of the PE device of the present invention. In this embodiment, the PW egress module 21 corresponding to each PW includes a receiving submodule 211, a decapsulating submodule 212, and a second processing submodule 213. . The receiving sub-module 211 is used for receiving data packets through the PW. The decapsulation sub-module 212 is connected to the receiving sub-module 211, and is used for decapsulating the data packet received by the receiving sub-module 211, and popping the root label or leaf label in the data packet. The second processing submodule 213 is connected with the decapsulation submodule 212, and is used to add a VLAN tag to the data packet processed by the decapsulation submodule 212. The VLAN tag identifies whether the data packet includes a root label or a leaf label before decapsulation. .

该实施例中,解封装子模块212具体可以从接收子模块接收到的数据包的MPLS标签栈的栈底弹出出E-tree标签,E-tree标签是叶子标签或根标签。In this embodiment, the decapsulation submodule 212 may specifically pop out the E-tree label from the bottom of the MPLS label stack of the data packet received by the receiving submodule, and the E-tree label is a leaf label or a root label.

第三处理模块22可以包括第二VSI模块221和与各个CE设备对应的发送模块222。The third processing module 22 may include a second VSI module 221 and a sending module 222 corresponding to each CE device.

第二VSI模块221与第二处理子模块213连接,用于将PW入口模块接收到的数据包发送给与各个CE设备对应的发送模块。The second VSI module 221 is connected to the second processing sub-module 213, and is configured to send the data packet received by the PW entry module to the sending module corresponding to each CE device.

与各个CE设备对应的发送模块222用于接收到数据包后,如果数据包中的VLAN标签标识数据包在解封装之前包括根标签,并且与该发送模块对应的CE设备是根节点或叶子节点,则删除数据包中的VLAN标签,将删除VLAN标签之后的数据包发送给与该发送模块对应的CE设备;如果数据包中的VLAN标签标识所述数据包在解封装之前包括叶子标签,并且与该发送模块对应的CE设备是根节点,则删除所述数据包中的VLAN标签,将删除VLAN标签之后的数据包发送给与该发送模块对应的CE设备;如果数据包中的VLAN标签标识数据包在解封装之前包括叶子标签,并且与该发送模块对应的CE设备是叶子节点,则将发送给与该发送模块对应的CE设备的数据包过滤掉。The sending module 222 corresponding to each CE device is used to receive the data packet, if the VLAN tag in the data packet identifies that the data packet includes a root tag before decapsulation, and the CE device corresponding to the sending module is a root node or a leaf node , then delete the VLAN label in the data packet, and send the data packet after deleting the VLAN label to the CE device corresponding to the sending module; if the VLAN label in the data packet indicates that the data packet includes a leaf label before decapsulating, and The CE equipment corresponding to the sending module is a root node, then delete the VLAN label in the data packet, and send the data packet after deleting the VLAN label to the CE equipment corresponding to the sending module; if the VLAN label in the data packet identifies The data packet includes a leaf label before decapsulation, and the CE device corresponding to the sending module is a leaf node, then the data packet sent to the CE device corresponding to the sending module is filtered out.

本发明实施例提供的VPLS网络中E-tree业务的实现方法及PE设备,在接收到的数据包中加入根标签或叶子标签,标识该数据包是由根节点或叶子节点发送的。这样,通过PW接收到数据包的PE设备,可以根据数据包中的根标签或叶子标签相应地转发或过滤数据包。具体地,如果该数据包中包括根标签,则可以将该数据包发送给连接到自身的所有根节点以及叶子节点,如果该数据包中包括叶子标签,则可以将数据包发送给与自身通信的所有根节点,实现了数据包的转发和过滤,从而实现了E-tree业务。The implementation method and PE equipment of the E-tree service in the VPLS network provided by the embodiment of the present invention add a root label or a leaf label to the received data packet to identify that the data packet is sent by the root node or the leaf node. In this way, the PE device receiving the data packet through the PW can forward or filter the data packet accordingly according to the root label or leaf label in the data packet. Specifically, if the data packet includes the root label, the data packet can be sent to all root nodes and leaf nodes connected to itself, and if the data packet includes the leaf label, the data packet can be sent to communicate with itself All the root nodes realize the forwarding and filtering of data packets, thus realizing the E-tree service.

本发明实施例中通过第一处理模块在数据包中添加根标签或叶子标签来区分根节点和叶子节点发送来的数据包,两个PE设备之间只需要一个PW即可,实现E-tree业务不需要占用较多的PW和VSI,因此当E-tree业务中的业务种类数量众多时,也不会导致E-tree业务所需的PW和VSI不够用,不会导致其他的业务所需的PW和VSI资源不够用。In the embodiment of the present invention, the first processing module adds a root label or a leaf label to the data packet to distinguish the data packet sent by the root node and the leaf node. Only one PW is needed between two PE devices to realize the E-tree Services do not need to occupy a large number of PWs and VSIs. Therefore, when there are many types of services in the E-tree service, the PWs and VSIs required by the E-tree service will not be insufficient, and will not cause other services. The PW and VSI resources are not enough.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (8)

1.一种虚拟专用局域网业务网络中以太树业务的实现方法,其特征在于,包括:1. an implementation method of Ethernet tree service in a virtual private local area network service network, is characterized in that, comprising: 接收客户端边缘设备发送的数据包,所述客户端边缘设备是根节点或叶子节点;receiving a data packet sent by a client edge device, where the client edge device is a root node or a leaf node; 在所述数据包中加入虚拟局域网标签,所述虚拟局域网标签用于标识所述数据包是由根节点发送的还是由叶子节点发送过来的;Adding a virtual local area network label to the data packet, the virtual local area network label is used to identify whether the data packet is sent by the root node or by the leaf node; 判断所述客户端边缘设备是根节点还是叶子节点;judging whether the client edge device is a root node or a leaf node; 如果所述数据包是由根节点发送过来的,则在所述数据包中加入根标签,如果所述数据包是叶子节点发送过来的,则在所述数据包中加入叶子标签,所述根标签或者叶子标签设置在所述数据包的多协议标签交换标签栈的栈底;If the data packet is sent by the root node, a root label is added to the data packet, and if the data packet is sent by a leaf node, a leaf label is added to the data packet, and the root The label or the leaf label is set at the bottom of the MPLS label stack of the data packet; 将所述数据包进行伪线封装,将所述封装后的数据包通过伪线发送出去;Encapsulating the data packet with a pseudowire, and sending the encapsulated data packet through a pseudowire; 所述如果所述数据包是由根节点发送过来的,则在所述数据包中加入根标签,具体包括:如果所述数据包中的虚拟局域网标签标识所述数据包是由根节点发送过来的,则在所述数据包中加入根标签,并删除所述虚拟局域网标签;If the data packet is sent by the root node, adding a root label to the data packet specifically includes: if the virtual local area network label in the data packet identifies that the data packet is sent by the root node , then add a root label in the data packet, and delete the virtual local area network label; 如果所述数据包是叶子节点发送过来的,则在所述数据包中加入叶子标签,具体包括:如果所述虚拟局域网标签标识所述数据包是由叶子节点发送过来的,则在所述数据包中加入叶子标签,并删除所述虚拟局域网标签。If the data packet is sent from a leaf node, adding a leaf label to the data packet specifically includes: if the virtual local area network label identifies that the data packet is sent from a leaf node, then adding a leaf label to the data packet Add the leaf label to the package, and delete the vlan label. 2.根据权利要求1所述的方法,其特征在于,在接收客户端边缘设备发送的数据包之前还包括:与对端运营商边缘设备协商根标签或叶子标签的属性信息。2. The method according to claim 1, further comprising: negotiating with the peer operator edge device on the attribute information of the root label or the leaf label before receiving the data packet sent by the client edge device. 3.根据权利要求1所述的方法,其特征在于,还包括:若所述数据包是由叶子节点发送过来的,并且对端运营商边缘设备为叶子节点类型的运营商边缘设备,则过滤掉所述数据包。3. The method according to claim 1, further comprising: if the data packet is sent by a leaf node, and the opposite carrier edge device is a leaf node type carrier edge device, filtering drop the packet. 4.一种虚拟专用局域网业务网络中以太树业务的实现方法,其特征在于,包括:4. an implementation method of ether tree service in a virtual private area network service network, characterized in that, comprising: 通过伪线接收入口运营商边缘设备的数据包;Receive data packets from the edge device of the ingress operator through the pseudowire; 解析所述数据包;parsing the data packet; 如果所述数据包中包括根标签,则将所述数据包发送给连接到自身的根节点以及叶子节点;If the data packet includes a root label, then send the data packet to the root node and the leaf node connected to itself; 如果所述数据包中包括叶子标签,则将所述数据包发送给连接到自身的根节点,所述根标签或叶子标签设置在所述数据包的多协议标签交换标签栈的栈底;If the data packet includes a leaf label, the data packet is sent to the root node connected to itself, and the root label or the leaf label is set at the bottom of the multi-protocol label switching label stack of the data packet; 所述解析所述数据包,包括:对所述数据包进行解封装,弹出所述数据包中的根标签或叶子标签;在所述数据包中添加虚拟局域网标签,所述虚拟局域网标签用于标识所述数据包中解封装之前包括的是根标签还是叶子标签。The parsing of the data packet includes: decapsulating the data packet, and popping the root label or leaf label in the data packet; adding a virtual local area network label to the data packet, and the virtual local area network label is used for Identify whether the data packet includes a root label or a leaf label before decapsulation. 5.根据权利要求4所述的方法,其特征在于,如果所述数据包中包括根标签,则将所述数据包发送给连接到自身的根节点以及叶子节点,包括:5. The method according to claim 4, wherein if the data packet includes a root label, sending the data packet to the root node and the leaf node connected to itself, comprising: 如果所述数据包中的虚拟局域网标签标识所述数据包解封装之前包括的是根标签,则删除所述虚拟局域网标签,并将删除虚拟局域网标签之后的所述数据包发送给连接到自身的根节点以及叶子节点;If the virtual local area network label in the data packet identifies that the data packet includes a root label before decapsulating, then delete the virtual local area network label, and send the data packet after deleting the virtual local area network label to the server connected to itself root node and leaf node; 如果所述数据包中包括叶子标签,则将所述数据包发送给连接到自身的根节点,包括:If the data packet includes a leaf label, the data packet is sent to the root node connected to itself, including: 如果所述数据包中的虚拟局域网标签标识所述数据包解封装之前包括的是叶子标签,则删除所述虚拟局域网标签;如果与自身连接的是根节点,则将删除了所述虚拟局域网标签的数据包发送给所述根节点;If the virtual local area network label in the data packet identifies that the data packet includes a leaf label before decapsulating, then delete the virtual local area network label; if it is the root node connected with itself, then delete the virtual local area network label The data packet sent to the root node; 如果所述数据包中的虚拟局域网标签标识所述数据包解封装之前包括的是叶子标签,则删除所述虚拟局域网标签;如果与自身连接的是叶子节点,则将删除了所述虚拟局域网标签的数据包过滤掉。If the virtual local area network label in the data packet identifies that the data packet includes a leaf label before decapsulating, then delete the virtual local area network label; if it is a leaf node connected to itself, then delete the virtual local area network label packets are filtered out. 6.一种运营商边缘设备,其特征在于,包括:6. A carrier edge device, characterized in that it comprises: 第一处理模块,用于接收客户端边缘设备发送的数据包,并判断所述客户端边缘设备是根节点还是叶子节点;A first processing module, configured to receive a data packet sent by a client edge device, and determine whether the client edge device is a root node or a leaf node; 第二处理模块,用于在所述第一处理模块接收到的所述数据包是由根节点发送过来的情况下,在所述数据包的多协议标签交换标签栈的栈底加入根标签加入根标签;在所述第一处理模块接收到的数据包是叶子节点发送过来的情况下,在所述数据包的多协议标签交换标签栈的栈底加入叶子标签,并将所述数据包进行伪线封装后通过伪线发送出去;The second processing module is configured to add a root label at the bottom of the multi-protocol label switching label stack of the data packet when the data packet received by the first processing module is sent by the root node. root label; when the data packet received by the first processing module is sent by a leaf node, a leaf label is added to the bottom of the MPLS label stack of the data packet, and the data packet is After the pseudowire is encapsulated, it is sent out through the pseudowire; 所述第一处理模块具体用于,接收客户端边缘设备发送的数据包,判断所述客户端边缘设备是根节点还是叶子节点,并在所述数据包中加入虚拟局域网标签,标识所述数据包是由根节点发送的还是有叶子节点发送的;The first processing module is specifically configured to receive a data packet sent by a client edge device, determine whether the client edge device is a root node or a leaf node, and add a virtual local area network tag to the data packet to identify the data packet Whether the packet is sent by the root node or by a leaf node; 所述第二处理模块包括第一虚拟交换实例模块以及与各个伪线对应的伪线入口模块;The second processing module includes a first virtual switching instance module and a pseudowire entry module corresponding to each pseudowire; 所述第一虚拟交换实例模块,用于将所述第一处理模块接收到的数据包发送给与数据包中的目的地址对应的伪线入口模块;The first virtual switching instance module is configured to send the data packet received by the first processing module to the pseudowire entry module corresponding to the destination address in the data packet; 所述伪线入口模块包括:The pseudowire entry module includes: 第一处理子模块,用于在所述第一处理模块接收到的数据包是由根节点发送过来的情况下,在所述数据包中加入根标签;在所述第一处理模块接收到的数据包是由叶子节点发送过来的情况下,在所述数据包中加入叶子标签;The first processing sub-module is used to add a root label to the data packet when the data packet received by the first processing module is sent by the root node; When the data packet is sent by a leaf node, a leaf label is added to the data packet; 所述第一处理子模块具体用于,在虚拟局域网标签标识所述数据包是由根节点发送过来的情况下,则在所述数据包中加入根标签,并删除所述虚拟局域网标签;在所述虚拟局域网标签标识所述数据包是由叶子节点发送过来的情况下,则在所述数据包中加入叶子标签,并删除所述虚拟局域网标签;The first processing sub-module is specifically configured to add a root label to the data packet and delete the virtual local area network label when the virtual local area network label identifies that the data packet is sent by the root node; If the virtual local area network label identifies that the data packet is sent by a leaf node, then add a leaf label to the data packet, and delete the virtual local area network label; 封装子模块,用于将所述第一处理子模块处理过的数据包进行伪线封装;An encapsulation submodule, configured to perform pseudowire encapsulation on the data packet processed by the first processing submodule; 发送子模块,用于将经过所述封装子模块封装后的数据包通过伪线发送出去。The sending sub-module is configured to send out the data packet encapsulated by the encapsulating sub-module through the pseudowire. 7.根据权利要求6所述的运营商边缘设备,其特征在于,还包括协商模块,用于与对端运营商边缘设备协商根标签或叶子标签的属性信息。7. The operator edge device according to claim 6, further comprising a negotiation module, configured to negotiate with the opposite operator edge device on the attribute information of the root label or the leaf label. 8.一种运营商边缘设备,其特征在于,包括:8. A carrier edge device, characterized in that it comprises: 与各个伪线对应的伪线出口模块,用于通过伪线接收入口运营商边缘设备的数据包,并解析所述数据包;The pseudowire egress module corresponding to each pseudowire is used to receive the data packet of the edge device of the ingress operator through the pseudowire, and analyze the data packet; 第三处理模块,用于在伪线出口模块接收到的数据包中包括根标签的情况下,将所述数据包发送给连接到自身的根节点以及叶子节点;在所述伪线出口模块接收到的数据包中包括叶子标签的情况下,将所述数据包发送给连接到自身的根节点;The third processing module is used to send the data packet to the root node and the leaf node connected to itself when the data packet received by the pseudowire egress module includes a root label; when the pseudowire egress module receives In the case that the received data packet includes a leaf label, the data packet is sent to the root node connected to itself; 与各个伪线对应的伪线出口模块分别包括:The pseudowire export modules corresponding to each pseudowire include: 接收子模块,用于通过伪线接收数据包;The receiving submodule is used to receive data packets through pseudowires; 解封装子模块,用于对所述接收子模块接收到的数据包进行解封装,弹出所述数据包中的根标签或叶子标签;The decapsulation submodule is used to decapsulate the data packet received by the receiving submodule, and pop up the root label or leaf label in the data packet; 第二处理子模块,用于在所述数据包中添加虚拟局域网标签,所述虚拟局域网标签用于标识所述数据包在解封装之前包括的是根标签还是叶子标签。The second processing submodule is configured to add a virtual local area network label to the data packet, and the virtual local area network label is used to identify whether the data packet includes a root label or a leaf label before decapsulation.
CN201010239606.2A 2010-07-20 2010-07-20 Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment Expired - Fee Related CN102340446B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010239606.2A CN102340446B (en) 2010-07-20 2010-07-20 Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010239606.2A CN102340446B (en) 2010-07-20 2010-07-20 Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment

Publications (2)

Publication Number Publication Date
CN102340446A CN102340446A (en) 2012-02-01
CN102340446B true CN102340446B (en) 2015-06-03

Family

ID=45515952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010239606.2A Expired - Fee Related CN102340446B (en) 2010-07-20 2010-07-20 Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment

Country Status (1)

Country Link
CN (1) CN102340446B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248548B (en) * 2012-02-08 2018-05-04 中兴通讯股份有限公司 The method and node of the E-tree business based on VPLS of realization
CN102594647B (en) * 2012-03-15 2014-08-27 福建星网锐捷网络有限公司 Method, system, device and network device for realizing E-TREE service
CN102724126A (en) * 2012-06-27 2012-10-10 福建星网锐捷网络有限公司 Method, device and equipment for forwarding Ethernet tree (E-tree) service message
US9742678B2 (en) * 2014-04-01 2017-08-22 Cisco Technology, Inc. E-tree service with optimal forwarding in EVPN
CN111447131B (en) * 2019-01-16 2022-11-08 中兴通讯股份有限公司 Message de-encapsulation method and device and message encapsulation method and device
CN111711555B (en) * 2020-05-29 2022-10-21 新华三信息安全技术有限公司 Message processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829213A (en) * 2005-02-28 2006-09-06 西门子(中国)有限公司 Method for putting user mark structure in communication network
CN101155130A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Method for learning MAC address and system and equipment for transmitting VPLS customer data
EP1953956A1 (en) * 2005-11-11 2008-08-06 Huawei Technologies Co., Ltd. Communication network system and leaf-node network element of the multicasting tree signal transmission method and node network element thereof
CN101360062A (en) * 2008-09-17 2009-02-04 中兴通讯股份有限公司 Method and system implementing service of multi-point to multi-point Ethernet with root node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829213A (en) * 2005-02-28 2006-09-06 西门子(中国)有限公司 Method for putting user mark structure in communication network
EP1953956A1 (en) * 2005-11-11 2008-08-06 Huawei Technologies Co., Ltd. Communication network system and leaf-node network element of the multicasting tree signal transmission method and node network element thereof
CN101155130A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Method for learning MAC address and system and equipment for transmitting VPLS customer data
CN101360062A (en) * 2008-09-17 2009-02-04 中兴通讯股份有限公司 Method and system implementing service of multi-point to multi-point Ethernet with root node

Also Published As

Publication number Publication date
CN102340446A (en) 2012-02-01

Similar Documents

Publication Publication Date Title
US11979322B2 (en) Method and apparatus for providing service for traffic flow
US8830998B2 (en) Separation of edge and routing/control information for multicast over shortest path bridging
CN102025586B (en) Intercommunicating method, device and system for multiple protocol label switching network and Ethernet
US9246801B1 (en) Transmitting packet label contexts within computer networks
CN101631069B (en) Method, system and equipment for pseudo wire parameter negotiation
EP1780960A2 (en) Ring LSP topology for supporting VPNs over MPLS-based networks
CN102170385A (en) Method for transmitting Ethernet frame in Ethernet tree business and provider edge device
CN102340446B (en) Method for realizing Ethernet-tree (E-tree) service in virtual private local area network service (VPLS) network and provider edge (PE) equipment
CN102932342B (en) Realize method and the network equipment of isolation multi-user virtual local area network (LAN)
US9680769B2 (en) Method for implementing E-tree service and provider edge device
CN105743780A (en) Message transmission method and device
US9282006B2 (en) Method and system of enhancing multiple MAC registration protocol (MMRP) for protocol internetworking
CN102474451B (en) Connecting inner and outer MPLS labels
WO2017193732A1 (en) Method for encapsulating and decapsulating pseudo-wire data message, and relevant apparatus
EP1766876B1 (en) Technique for transferring data over a packet switched network
CN102136981A (en) Method for realizing E-Tree (Ethernet tree) service in Ethernet and related device
CN102843282B (en) A kind of message processing method and system
CN103825794B (en) Transparent interconnection of lots of links internet data frame sending method and device
CN101262424B (en) Method, device and MPLS communication system for forwarding MPLS message
CN105790984A (en) Operation, administration and maintenance function configuration and realization method and forwarder
CN102594644B (en) Select a method for the network equipment, device and system
CN115460139B (en) Network intercommunication method and device
CN111182016B (en) PPPoE dialing message transmission method and device
WO2008119289A1 (en) Method and device for sending mac
TWI400912B (en) Data packet orientation method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150603

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载