WO2011113340A1 - 一种多协议标签交换二层虚拟专用网的接入方法和装置 - Google Patents

一种多协议标签交换二层虚拟专用网的接入方法和装置 Download PDF

Info

Publication number
WO2011113340A1
WO2011113340A1 PCT/CN2011/071780 CN2011071780W WO2011113340A1 WO 2011113340 A1 WO2011113340 A1 WO 2011113340A1 CN 2011071780 W CN2011071780 W CN 2011071780W WO 2011113340 A1 WO2011113340 A1 WO 2011113340A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
port
user side
dvp
network side
Prior art date
Application number
PCT/CN2011/071780
Other languages
English (en)
French (fr)
Inventor
张君辉
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP11755657.1A priority Critical patent/EP2549688A4/en
Priority to US13/583,627 priority patent/US8958431B2/en
Publication of WO2011113340A1 publication Critical patent/WO2011113340A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • 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/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L2012/4629LAN interconnection over a backbone network, e.g. Internet, Frame Relay using multilayer switching, e.g. layer 3 switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Definitions

  • the present invention relates to the field of network interconnection, and more particularly to an access method and apparatus for an MPLS L2VPN (Multi-Protocol Label Switched Layer 2 Virtual Private Network). Background technique
  • Ethernet is widely used, but it is a LAN technology, but many large The branches of the enterprise are distributed in different locations, which requires a network technology to interconnect them and guarantee a certain degree of privacy.
  • MPLS L2VPN MPLS L2VPN
  • the user's Layer 2 Ethernet packet is connected to the PE1 (Provider Edge) and forwarded to the P (Provider, Carrier Router) device.
  • the MPLS (Multiprotocol Label Switching) packet passes through the intermediate P device. Forwarded to PE2.
  • MPLS packets are terminated on PE2 and forwarded to CE2.
  • the CE1 Ethernet packet accesses the forwarding process of PE1.
  • VSI Virtual Switching Instance
  • the user Customer, C for short accesses the VSI through the port, VLAN (Virtual Local Area Network) or QinQ, and learns the source MAC in the port and VLAN.
  • Address check the MAC address table according to the destination MAC address, check the outbound port and VLAN of the destination MAC address, and find the next hop exit, then encapsulate the VC (virtual circuit) label, tunnel label and Layer 3 link information, and forward To the P device;
  • Step 2 Forwarding of MPLS packets on the P device.
  • the P device only performs MPLS packets. Label switching, that is, only the outermost header and tunnel label are modified, and the VC label and the internal user packet information are unchanged; if the P device is a PHP (the penultimate hop pop) node, the outer tunnel label is popped;
  • Step 3 The MPLS packet is terminated on PE2 and forwarded to CE2. Assume that the tunnel label is ejected on the previous P device. On the PE2, the VC label is forwarded to the corresponding VSI, the VC label is stripped, and the source MAC address of the user packet is learned to the VC interface. The address finds the outgoing port and VLAN and forwards it to the corresponding CE2.
  • the port can be a port, a VLAN, or a QinQ, or a port and a VLAN, or a port and a QinQ. It can also be an MPLS access method. Due to the wide variety of access types of the L2VPN (Layer 2 Virtual Private Network), the MAC address learning and forwarding needs to find different interface types. As a result, the implementation of L2VPN is complicated on the PE, resulting in poor scalability of the access and reduced system performance. reliability. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a multi-protocol label switching layer 2 virtual private network access method and device, which can uniformly map multiple access types of user packets into virtual ports (Virtual Port Then, the MPLS L2 VPN is accessed through the virtual port, which solves the problem of poor scalability and complicated equipment of the existing direct access to the L2VPN.
  • a method for accessing a multi-protocol label switching layer 2 virtual private network includes: the user side and the network side respectively connect respective packets to the operator routing device, and set the access type of the packet to be a virtual port. Each of the accesses is assigned a respective source virtual port SVP and a destination virtual port DVP.
  • the user side and the network side establish a multi-protocol label switching layer 2 virtual private network MPLS L2VPN data by establishing a connection between the respective SVPs and the DVPs of the other party. Forwarding channel.
  • the user side and the network side establish a connection by establishing a respective SVP to the DVP of the other party.
  • the data forwarding channel of the MPLS L2 VPN includes: the user side and the network side determine that the MPLS L2VPN accessed through the virtual port is a virtual private line service VPWS network, and the user side and the network side establish a connection between the respective SVPs to the other DVP. Establish a data forwarding channel for the VPWS network.
  • the user side and the network side establish a data forwarding channel of the MPLS L2VPN by establishing a connection between the respective SVPs and the DVPs of the other party, where the user side and the network side determine that the MPLS L2VPN accessed through the virtual port is a virtual private local area network service.
  • a virtual switching instance VSI is created, and the virtual port on the user side and the network side is associated with the VSI.
  • the user side and the network side establish a data forwarding channel of the VPLS network by establishing a connection between the respective SVP and the DVP.
  • the access type of the packet on the user side refers to one of a plurality of types of port Port, or virtual local area network VLAN, or QinQ, or Port and VLAN, or Port and QinQ, or VLAN and QinQ;
  • the access type of the packet is Label or Port.
  • the SVP is configured to receive a packet
  • the DVP is configured to send a packet.
  • An access device for a multi-protocol label switching layer 2 virtual private network comprising: a control module and a connection establishment module, where
  • the control module is configured to respectively access the respective packets of the user side and the network side to the operator routing device, set the access type of the packet to be a virtual port, and allocate respective SVPs for each access. And the DVP, and sending the information of the allocated virtual port to the connection establishment module;
  • the connection establishing module is configured to establish a data forwarding channel of the MPLS L2VPN by establishing a connection between the SVP of the user side and the network side to the DVP of the other party according to the information of the allocated virtual port sent by the control module.
  • the connection establishment module is configured to establish a data forwarding channel of the MPLS L2VPN by establishing a connection between the SVP of the user side and the network side to the DVP of the other party, specifically: the connection establishment The module determines that the MPLS L2VPN accessed by the user side and the network side through the virtual port is a VPWS network, and the user side and the network side establish a data forwarding channel of the VPWS network by establishing a connection between the respective SVPs and the counterpart DVP.
  • the connection establishment module is configured to establish a data forwarding channel of the MPLS L2VPN by establishing a connection between the SVP of the user side and the network side to the DVP of the other party, where the connection establishment module determines that the user side and the network side pass the virtual
  • the MPLS L2VPN that is connected to the port is a VPLS network.
  • the VSI is created to associate the virtual port on the user side and the network side to the VSI.
  • the user side and the network side establish a data forwarding channel of the VPLS network by establishing a connection between the SVP and the DVP.
  • the access type of the user-side packet set by the control module refers to one of a plurality of types of Port, or VLAN, or QinQ, or Port and VLAN, or Port and QinQ, or VLAN and QinQ;
  • the access type of the packet on the network side set by the control module is Label or Port.
  • the SVP set by the control module is used to receive a packet, and the D VP set by the control module is used to send a packet.
  • the present invention applies the unified mapping of various access modes to virtual ports, and accesses the MPLS L2VPN, and forwards them based on the VSI and the virtual port.
  • the scalability of user packet access MPLS L2VPN is enhanced, the management complexity of L2VPN access and the difficulty of system development are reduced, and the reliability of the system is improved.
  • FIG. 1 is a schematic diagram of user access and networking of a MPLS L2VPN in the prior art
  • FIG. 2 is a schematic flowchart of accessing an MPLS L2VPN through a virtual port according to the present invention
  • FIG. 3 is a schematic structural diagram of an access device of an MPLS L2VPN according to the present invention
  • FIG. 4 is a schematic diagram of a forwarding process of accessing a VPWS network through a virtual port according to the present invention
  • FIG. 5 is a schematic diagram of a forwarding process of accessing a VPLS network through a virtual port according to the present invention.
  • the main idea of the present invention is that the user side and the network side respectively connect the respective packets to the operator routing device, set the access type of the packet to be a virtual port, and assign respective SVPs for each access. (Source virtual port) and DVP (destination virtual port); The user side and the network side establish a data forwarding channel of the MPLS L2VPN by establishing a connection between the respective SVPs to the DVP of the other party.
  • the flowchart of the present invention for accessing an MPLS L2VPN through a virtual port includes the following steps:
  • Step 210 The user side accesses the Layer 2 Ethernet packet to the PE, sets the access type of the packet to be a virtual port, and allocates the SVP of the user side and the DVP of the user side for each access.
  • the access type of the Layer 2 Ethernet packet on the user side may be Port, or VLAN, or QinQ, or Port and VLAN, or Port and QinQ, or one of VLAN and QinQ.
  • the SVP on the user side is used to receive packets, and the DVP on the user side is used to send packets.
  • Step 220 The network side connects the MPLS packet to the PE, sets the access type of the packet to be a virtual port, and allocates the S VP on the network side and the D VP on the network side for each access.
  • the access type of the MPLS packet on the network side can be Label or Port.
  • the SVP on the network side is used to receive the message, and the DVP on the network side is used to send the message.
  • the user side and the network side establish a data forwarding channel of the MPLS L2VPN by establishing a connection between the respective SVPs to the DVP of the other party.
  • the user side and the network side determine that the MPLS L2VPN accessed through the virtual port is
  • the user side and the network side establish a connection between the respective SVPs to the opposite DVPs, and establish a data forwarding channel of the VPWS network;
  • the user side and the network side determine that the MPLS L2VPN accessed through the virtual port is On the VPLS network, a VSI is created to associate the virtual port on the user side and the network side to the VSI.
  • the user side and the network side establish a connection between the SVP and the DVP of the other party to establish a data forwarding channel of the VPLS network.
  • an access device 301 of an MPLS L2VPN includes: a control module 302 and a connection establishing module 303, where
  • the control module 302 is configured to respectively connect the respective packets of the user side 10 and the network side 20 to the operator routing device, and set the access type of the packet to be a virtual port, and respectively assign each of the accesses to each of the accesses. SVP and DVP, and send the information of the allocated virtual port to the connection establishment module 303;
  • the access type of the packet of the user side 10 set by the control module 302 refers to one of a plurality of types, such as Port, or VLAN, or QinQ, or Port and VLAN, or Port and QinQ, or VLAN and QinQ.
  • the access type of the packet of the network side 20 set by the control module 302 is Label or
  • the SVP set by the control module 302 is used to receive a message, and the DVP set by the control module 302 is used to send a message.
  • the connection establishing module 303 is configured to establish a data forwarding of the MPLS L2VPN by establishing a connection between the SVP of the user side 10 and the network side 20 to the DVP of the other party according to the information of the allocated virtual port sent by the control module 302. aisle.
  • the connection establishment module 303 establishes a data forwarding channel of the MPLS L2VPN by establishing a connection between the SVP of the user side 10 and the network side 20 to the DVP of the other party, which may include: the connection establishment module 303 determines that the user side 10
  • the MPLS L2VPN connected to the network side 20 through the virtual port is a VPWS network, and the user side 10 and the network side 20 establish a data forwarding channel of the VPWS network by establishing a connection between the respective SVPs and the counterpart DVP.
  • the connection establishment module 303 establishes the respective SVPs of the user side 10 and the network side 20 to
  • the connection of the DVP of the other party and the establishment of the data forwarding channel of the MPLS L2VPN may include: the connection establishment module 303, if the MPLS L2VPN accessed by the user side 10 and the network side 20 through the virtual port is a VPLS network, create a VSI.
  • the virtual port of the user side 10 and the network side 20 is associated with the VSI, and the user side and the network side establish a data forwarding channel of the VPLS network by establishing a connection between the respective SVP and the DVP of the other party.
  • the invention accesses the VPWS network through the virtual port, and includes: the user side Layer 2 Ethernet packet is accessed and forwarded to the network side egress interface; the network side MPLS packet is terminated, and is forwarded to the user side egress interface; and the bidirectional forwarding channel is established.
  • the invention accesses the VPLS network through the virtual port, and includes: the user-side Layer 2 Ethernet packet accesses the VSI, completes the MAC address learning and searching, and forwards the packet to the network side egress interface; the network side MPLS packet is terminated, and the VSI is accessed. The MAC address is learned and searched and forwarded to the user-side egress interface.
  • the VPLS is split horizontally on the virtual port.
  • the processing steps of the present invention for accessing a VPWS network through a virtual port and forwarding based on the virtual port include:
  • Step 1 Establish a mapping relationship between the user-side access and the network-side access to the virtual port. First, establish a mapping relationship between the user-side Layer 2 Ethernet packets and the virtual port. Then, establish the network-side MPLS label to access the virtual port. The mapping relationship is connected to the virtual port on the user side and the network side, that is, the user side SVP points to the network side DVP, and the network side SVP points to the user side DVP.
  • Step 2 Packet processing from the user side to the network side.
  • the L2 information of the matching packet on the user side can be information such as Port, VLAN, and QinQ.
  • the corresponding SVP number is found according to the mapping relationship.
  • the SVP on the user side points to the DVP on the network side.
  • the DVP on the network side points to the outbound interface of the MPLS tunnel.
  • the information includes: the outbound interface number, the outbound interface source MAC address and destination MAC address, the outbound interface VLAN, the VC label, and the tunnel label.
  • the message encapsulates this information and is forwarded from the network side.
  • Step 3 The network side to the user side handles the MPLS entry label on the network side.
  • the outer tunnel label is popped up, and the corresponding VC label is searched according to the inner layer.
  • the SVP of the network side finds the corresponding user-side D VP according to the mapping relationship.
  • the DVP points to the outbound interface of the user side.
  • the processing steps of the present invention for accessing a VPLS network through a virtual port and forwarding based on the VSI and the virtual port include:
  • Step 1 Establish a VSI
  • Step 2 The user side and the network side access the VSI, and the user side establishes a mapping relationship between the Layer 2 Ethernet packet accessing the virtual port and the virtual port to the VSI.
  • the network side establishes the mapping relationship between the VC incoming label and the virtual port. And make the virtual port point to the VSI;
  • Step 3 Establish a broadcast group in the VSI.
  • the group members include all user-side virtual ports and network-side virtual ports.
  • Step 4 Packet processing from the user side to the network side.
  • the L2 information of the matching packet on the user side may be information such as Port, VLAN, and QinQ.
  • the corresponding virtual port number is found according to the mapping relationship.
  • the SVP of the user side points to the VSI; then the source MAC address of the packet learns the corresponding VSI and the user-side virtual port; and then finds the outgoing interface according to the VSI and the destination MAC address. If not found, the broadcast corresponding to the VSI The broadcast is performed in the group. Otherwise, if the packet is found, the packet is forwarded to the virtual port corresponding to the destination MAC address.
  • the packet is forwarded to the outbound interface of the MPLS tunnel.
  • the information contained in the packet is: Source MAC address and destination MAC address, outbound interface VLAN, VC label, and tunnel label. Packets are encapsulated and forwarded from the network side.
  • Step 5 The network side to the user side handles the MPLS entry label on the network side. If it is a two-layer label, the outer tunnel label is popped up, and the corresponding VC label is searched according to the inner layer.
  • Virtual port on the network side when the virtual port points to the virtual switch instance; The source MAC address learns the corresponding VSI and the network side virtual port; and then finds the outbound interface according to the VSI and the destination MAC address. If it is not found, it broadcasts in the broadcast group corresponding to the VSI. Otherwise, if found, then The virtual port corresponding to the destination MAC address is forwarded. If the user-side virtual port is used, the internal tunnel information is forwarded to the user-side egress interface.

Landscapes

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

Description

一种多协议标签交换二层虚拟专用网的接入方法和装置 技术领域
本发明涉及网络互联领域, 更具体涉及一种 MPLS L2VPN (多协议标 签交换二层虚拟专用网) 的接入方法和装置。 背景技术
随着因特网的高速发展, 为适应不同用户、 不同类型的业务流量接入 IP 网络的需求, 需要釆用不同的组网技术; 目前以太网应用广泛, 但它是 一种局域网技术, 然而很多大企业的分支机构分布在不同的地点, 这就需 要釆用一种网络技术把它们互联在一起, 并且保证一定的私密性。 目前普 遍釆用 MPLS L2VPN来完成, 如图 1所示。 下面以 CE1 ( Customer Edge, 用户边缘设备 )发送的报文在 MPLS L2VPN的通信过程为例来进行说明: 参考图 1 , 报文从 CE1传送到 CE2需要穿越 MPLS L2VPN, 报文传送 需要三个步骤: 1、 用户二层以太报文接入 PE1 ( Provider Edge, 运营商边 缘路由器), 并转发到 P ( Provider, 运营商路由器)设备; 2、 MPLS (多协 议标签交换)报文经过中间 P设备转发到 PE2; 3、 MPLS报文在 PE2终结, 并转发到 CE2。
步骤 1. CE1以太报文接入 PE1的转发过程。 首先, 需要在 PE1上创建 VSI (虚拟交换实例), 用户 (Customer, 简称为 C )报文通过端口、 VLAN (虚拟局域网)或 QinQ接入 VSI, 在端口和 VLAN内学习源 MAC (介质 访问控制 )地址, 再根据目的 MAC地址查 MAC地址表, 检查目的 MAC 地址的出端口和 VLAN,找到下一跳出口后, 则封装 VC (虚拟电路 )标签、 隧道标签和 3层链路信息, 并转发到 P设备;
步骤 2. MPLS报文在 P设备的转发过程。 P设备只对 MPLS报文进行 标签交换, 即只修改最外层的报头和隧道标签, VC标签和内部的用户报文 信息不变; 如果 P设备是 PHP (倒数第二跳弹出)节点, 则外层隧道标签 弹出;
步骤 3. MPLS报文在 PE2终结, 并转发到 CE2的转发过程。 假定隧道 标签在前面的 P设备弹出, 则在 PE2上, 根据 VC标签转发到对应的 VSI, 剥离 VC标签, 并学习用户报文的源 MAC地址到 VC接口, 再根据内部用 户报文的目的 MAC地址找到出端口和 VLAN, 并转发到对应的 CE2。
在上述 CE以太用户报文穿越 MPLS L2VPN的过程中, 其中用户报文 接入 VSI的方式较多, 可以是 Port (端口)、 或 VLAN、 或 QinQ、 或 Port 和 VLAN、或 Port和 QinQ等,也可以是 MPLS接入方式。 由于 L2VPN (二 层虚拟专用网)的接入类型种类繁多, MAC地址学习和转发需要查找不同 的接口类型, 导致在 PE上, L2VPN的实现复杂,造成接入的可扩展性差, 降低了系统的可靠性。 发明内容
有鉴于此, 本发明所要解决的技术问题是提供一种多协议标签交换二 层虚拟专用网的接入方法和装置, 通过将用户报文的多种接入类型统一映 射为虚拟端口 ( Virtual Port ), 再通过虚拟端口接入 MPLS L2 VPN, 解决了 当前直接接入 L2VPN的方式存在的接入的可扩展性差和设备复杂的问题。
为了解决上述技术问题, 本发明的技术方案是这样实现的:
一种多协议标签交换二层虚拟专用网的接入方法, 包括: 用户侧和网 络侧分别将各自的报文接入运营商路由设备, 设置所述报文的接入类型映 射为虚拟端口, 并分别为每个接入分配各自的源虚拟端口 SVP和目的虚拟 端口 DVP; 用户侧和网络侧通过建立各自 SVP到对方的 DVP的连接, 建 立多协议标签交换二层虚拟专用网 MPLS L2VPN的数据转发通道。
所述用户侧和网络侧通过建立各自 SVP到对方的 DVP的连接, 建立 MPLS L2 VPN的数据转发通道, 具体包括: 所述用户侧和网络侧判定通过 虚拟端口接入的 MPLS L2VPN为虚拟专用线路业务 VPWS网络,则用户侧 与网络侧通过建立各自 SVP到对方 DVP的连接, 建立 VPWS网络的数据 转发通道。
所述用户侧和网络侧通过建立各自 SVP到对方的 DVP的连接, 建立 MPLS L2VPN的数据转发通道, 具体包括: 所述用户侧和网络侧判定通过 虚拟端口接入的 MPLS L2VPN为虚拟专用局域网业务 VPLS网络, 则创建 虚拟交换实例 VSI, 将用户侧和网络侧的虚拟端口关联到 VSI, 用户侧与网 络侧通过建立各自 SVP到对方 DVP的连接,建立 VPLS网络的数据转发通 道。
所述用户侧的报文的接入类型是指端口 Port、 或虚拟局域网 VLAN、 或 QinQ、 或 Port和 VLAN、 或 Port和 QinQ、 或 VLAN和 QinQ中多种类 型之一; 所述网络侧的报文的接入类型是标签 Label或 Port。
所述 SVP用于接收报文, 所述 DVP用于发送报文。
一种多协议标签交换二层虚拟专用网的接入装置, 包括: 控制模块和 连接建立模块, 其中,
所述控制模块, 用于分别将用户侧和网络侧各自的报文接入运营商路 由设备, 设置所述报文的接入类型映射为虚拟端口, 并分别为每个接入分 配各自的 SVP和 DVP, 并将分配后的虚拟端口的信息发送给所述连接建立 模块;
所述连接建立模块, 用于根据所述控制模块发送的分配后的虚拟端口 的信息,通过建立用户侧和网络侧各自的 SVP到对方的 DVP的连接,建立 MPLS L2VPN的数据转发通道。
所述连接建立模块用于通过建立用户侧和网络侧各自的 SVP到对方的 DVP的连接, 建立 MPLS L2VPN的数据转发通道, 具体为: 所述连接建立 模块判定所述用户侧和网络侧通过虚拟端口接入的 MPLS L2VPN为 VPWS 网络,则用户侧与网络侧通过建立各自 SVP到对方 DVP的连接,建立 VPWS 网络的数据转发通道。
所述连接建立模块用于通过建立用户侧和网络侧各自的 SVP到对方的 DVP的连接, 建立 MPLS L2VPN的数据转发通道, 具体为: 所述连接建立 模块判定所述用户侧和网络侧通过虚拟端口接入的 MPLS L2VPN为 VPLS 网络, 则创建 VSI, 将用户侧和网络侧的虚拟端口关联到 VSI, 用户侧与网 络侧通过建立各自 SVP到对方 DVP的连接,建立 VPLS网络的数据转发通 道。
所述控制模块设置的所述用户侧的报文的接入类型是指 Port、 或 VLAN、 或 QinQ、 或 Port和 VLAN、 或 Port和 QinQ、 或 VLAN和 QinQ 中多种类型之一; 所述控制模块设置的所述网络侧的报文的接入类型是 Label或 Port。
所述控制模块设置的所述 SVP用于接收报文, 所述控制模块设置的所 述 D VP用于发送报文。
与现有技术相比, 应用本发明, 通过将各种接入方式统一映射为虚拟 端口, 并接入 MPLS L2VPN, 并基于 VSI和虚拟端口进行转发。 增强了用 户报文接入 MPLS L2VPN的可扩展性, 降低了 L2VPN接入的管理复杂性 和系统开发的难度, 并提高了系统的可靠性。 附图说明
图 1是现有技术的 MPLS L2VPN的用户接入及组网示意图;
图 2是本发明的通过虚拟端口接入 MPLS L2VPN的流程示意图; 图 3是本发明的 MPLS L2VPN的接入装置的结构示意图;
图 4是本发明的通过虚拟端口接入 VPWS网络的转发流程示意图; 图 5是本发明的通过虚拟端口接入 VPLS网络的转发流程示意图。 具体实施方式
下面结合附图和具体实施方式对本发明作进一步说明。
本发明的主要构思在于: 用户侧和网络侧分别将各自的报文接入运营 商路由设备, 设置所述报文的接入类型映射为虚拟端口, 并分别为每个接 入分配各自的 SVP (源虚拟端口)和 DVP (目的虚拟端口); 用户侧与网络 侧通过建立各自 SVP到对方的 DVP的连接, 建立 MPLS L2VPN的数据转 发通道。
如图 2所示, 本发明通过虚拟端口接入 MPLS L2VPN的流程图, 包括 以下步骤:
步骤 210. 用户侧将二层以太报文接入 PE, 设置报文的接入类型映射 为虚拟端口, 并为每个接入分配用户侧的 SVP和用户侧的 DVP;
其中, 用户侧的二层以太报文的接入类型可以是 Port、 或 VLAN、 或 QinQ、 或 Port和 VLAN、 或 Port和 QinQ、 或 VLAN和 QinQ等多种类型 之一„
其中, 用户侧的 SVP用来接收报文, 用户侧的 DVP用于发送报文。 步骤 220. 网络侧将 MPLS报文接入 PE, 设置报文的接入类型映射为 虚拟端口, 并为每个接入分配网络侧的 S VP和网络侧的 D VP;
其中, 网络侧的 MPLS报文的接入类型可以是 Label (标签 )或 Port。 其中, 网络侧的 SVP用来接收 ^艮文, 网络侧的 DVP用于发送 4艮文。 步骤 230. 用户侧与网络侧通过建立各自 SVP到对方的 DVP的连接, 建立 MPLS L2VPN的数据转发通道。
其中, 用户侧和网络侧若判定通过虚拟端口接入的 MPLS L2VPN 为
VPWS (虚拟专用线路业务) 网络, 则用户侧与网络侧建立各自 SVP到对 方 DVP的连接, 建立 VPWS网络的数据转发通道;
其中, 用户侧和网络侧若判定通过虚拟端口接入的 MPLS L2VPN 为 VPLS (虚拟专用 LAN业务)网络, 则创建 VSI, 将用户侧和网络侧的虚拟 端口关联到 VSI, 用户侧与网络侧建立各自 SVP到对方 DVP的连接, 建立 VPLS网络的数据转发通道。
如图 3所示, 一种 MPLS L2VPN的接入装置 301 , 包括: 控制模块 302 和连接建立模块 303 , 其中,
控制模块 302 ,用于分别将用户侧 10和网络侧 20各自的报文接入运营 商路由设备, 设置所述报文的接入类型映射为虚拟端口, 并分别为每个接 入分配各自的 SVP和 DVP, 并将分配后的虚拟端口的信息发送给所述连接 建立模块 303 ;
所述控制模块 302设置的所述用户侧 10的报文的接入类型是指 Port, 或 VLAN、或 QinQ、或 Port和 VLAN、 或 Port和 QinQ、或 VLAN和 QinQ 中多种类型之一。
所述控制模块 302设置的所述网络侧 20的报文的接入类型是 Label或
Port。
所述控制模块 302设置的所述 SVP用来接收报文, 所述控制模块 302 设置的所述 DVP用于发送报文。
所述连接建立模块 303 ,用于根据所述控制模块 302发送的分配后的虚 拟端口的信息 , 通过建立用户侧 10和网络侧 20各自的 SVP到对方的 DVP 的连接, 建立 MPLS L2VPN的数据转发通道。
所述连接建立模块 303通过建立用户侧 10和网络侧 20各自的 SVP到 对方的 DVP的连接, 建立 MPLS L2VPN的数据转发通道, 具体可以包括: 所述连接建立模块 303若判定所述用户侧 10和网络侧 20通过虚拟端 口接入的 MPLS L2VPN为 VPWS网络,则用户侧 10与网络侧 20通过建立 各自 SVP到对方 DVP的连接, 建立 VPWS网络的数据转发通道。
所述连接建立模块 303通过建立用户侧 10和网络侧 20各自的 SVP到 对方的 DVP的连接, 建立 MPLS L2VPN的数据转发通道, 具体可以包括: 所述连接建立模块 303若判定所述用户侧 10和网络侧 20通过虚拟端 口接入的 MPLS L2VPN为 VPLS网络, 则创建 VSI,将用户侧 10和网络侧 20的虚拟端口关联到 VSI,用户侧与网络侧通过建立各自 SVP到对方 DVP 的连接, 建立 VPLS网络的数据转发通道。
本发明通过虚拟端口接入 VPWS网络, 包括: 用户侧二层以太报文接 入, 并转发到网络侧出接口; 网络侧 MPLS报文终结, 并转发到用户侧出 接口; 建立双向转发通道。
本发明通过虚拟端口接入 VPLS 网络, 包括: 用户侧二层以太报文接 入 VSI,完成 MAC地址学习和查找 ,并转发到网络侧出接口;网络侧 MPLS 报文终结,接入 VSI, 完成 MAC地址学习和查找,并转发到用户侧出接口; 实现虚拟端口上 VPLS水平分割。
下面结合具体实例对本发明作进一步说明。
如图 4所示, 本发明的通过虚拟端口接入 VPWS网络, 并基于虚拟端 口进行转发的处理步骤包括:
步骤 1. 建立用户侧接入和网络侧接入到虚拟端口的映射关系; 首先, 建立用户侧二层以太报文接入到虚拟端口的映射关系; 然后建 立网络侧 MPLS标签接入到虚拟端口的映射关系, 并连接用户侧和网络侧 的虚拟端口,即用户侧 SVP指向网络侧 DVP,网络侧 SVP指向用户侧 DVP。
步骤 2. 用户侧到网络侧的报文处理, 在用户侧匹配报文的 L2信息, 可以是 Port、 VLAN和 QinQ等信息, 当匹配到配置条目后, 根据映射关系 找到对应的 SVP号, 这时用户侧的 SVP指向了网络侧的 DVP; 网络侧的 DVP指向 MPLS隧道出接口, 包含的信息有: 出端口号、 出接口源 MAC 地址和目的 MAC地址、 出接口 VLAN、 VC标签和隧道标签; 报文封装这 些信息后从网络侧转发出去。 步骤 3. 网络侧到用户侧的 ^艮文处理 ,在网络侧匹配 ^艮文的 MPLS入标 签, 如果是两层标签, 则弹出外层的隧道标签, 并根据内层的 VC标签查找 对应的网络侧的 S VP , 并根据映射关系找到对应的用户侧 D VP; DVP指向 用户侧出接口, 剥离报文的外层隧道信息后, 内部的用户报文转发到用户 侧出接口。
如图 5所示, 本发明的通过虚拟端口接入 VPLS网络, 并基于 VSI和 虚拟端口进行转发的处理步骤包括:
步骤 1. 建立 VSI;
步骤 2. 用户侧和网络侧接入到 VSI, 用户侧建立二层以太报文接入到 虚拟端口的映射关系, 并使虚拟端口指向 VSI; 网络侧建立 VC入标签到虚 拟端口的映射关系, 并使虚拟端口指向 VSI;
步骤 3. 在 VSI中建立一个广播组,组成员包括所有的用户侧虚拟端口 和网络侧虚拟端口;
步骤 4. 用户侧到网络侧的报文处理, 在用户侧匹配报文的 L2信息, 可以是 Port、 VLAN和 QinQ等信息, 当匹配到配置条目后, 根据映射关系 找到对应的虚拟端口号,这时用户侧的 SVP指向了 VSI;然后报文的源 MAC 地址学习到对应的 VSI和用户侧虚拟端口; 再根据 VSI和目的 MAC地址 查找出接口, 如果找不到, 则在 VSI对应的广播组内进行广播, 否则如果 找到, 则报文转发到目的 MAC地址对应的虚拟端口,如果是网络侧虚拟端 口, 则报文转发到 MPLS隧道出接口, 包含的信息有: 出端口号、 出接口 源 MAC地址和目的 MAC地址、 出接口 VLAN、 VC标签和隧道标签; 报 文封装这些信息后从网络侧转发出去;
步骤 5. 网络侧到用户侧的 ^艮文处理,在网络侧匹配 ^艮文的 MPLS入标 签, 如果是两层标签, 则弹出外层的隧道标签, 并根据内层的 VC标签查找 对应的网络侧的虚拟端口, 这时虚拟端口指向了虚拟交换实例; 然后 ^艮文 的源 MAC地址学习到对应的 VSI和网络侧虚拟端口; 再根据 VSI和目的 MAC地址查找出接口, 如果找不到, 则在 VSI对应的广播组内进行广播, 否则如果找到, 则 ^艮文转发到目的 MAC地址对应的虚拟端口,如果是用户 侧虚拟端口, 则剥离报文的外层隧道信息后, 内部的用户报文转发到用户 侧出接口。
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并 不局限于此, 任何熟悉该技术的人在本发明所揭露的技术范围内, 可轻易 想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的 保护范围应该以权利要求的保护范围为准。

Claims

权利要求书
1、 一种多协议标签交换二层虚拟专用网的接入方法, 其特征在于, 包 括:
用户侧和网络侧分别将各自的报文接入运营商路由设备, 设置所述报 文的接入类型映射为虚拟端口, 并分别为每个接入分配各自的源虚拟端口 SVP和目的虚拟端口 DVP;
用户侧和网络侧通过建立各自 S VP到对方的 D VP的连接 ,建立多协议 标签交换二层虚拟专用网 MPLS L2VPN的数据转发通道。
2、 如权利要求 1所述的接入方法, 其特征在于, 所述用户侧和网络侧 通过建立各自 SVP到对方的 DVP的连接, 建立 MPLS L2VPN的数据转发 通道, 具体包括:
所述用户侧和网络侧判定通过虚拟端口接入的 MPLS L2VPN为虚拟专 用线路业务 VPWS网络,则用户侧与网络侧通过建立各自 SVP到对方 DVP 的连接, 建立 VPWS网络的数据转发通道。
3、 如权利要求 1所述的接入方法, 其特征在于, 所述用户侧和网络侧 通过建立各自 SVP到对方的 DVP的连接, 建立 MPLS L2VPN的数据转发 通道, 具体包括:
所述用户侧和网络侧判定通过虚拟端口接入的 MPLS L2VPN为虚拟专 用局域网业务 VPLS网络, 则创建虚拟交换实例 VSI,将用户侧和网络侧的 虚拟端口关联到 VSI,用户侧与网络侧通过建立各自 SVP到对方 DVP的连 接, 建立 VPLS网络的数据转发通道。
4、 如权利要求 1所述的接入方法, 其特征在于,
所述用户侧的报文的接入类型是指端口 Port、 或虚拟局域网 VLAN、 或 QinQ、 或 Port和 VLAN、 或 Port和 QinQ、 或 VLAN和 QinQ中多种类 型之一; 所述网络侧的报文的接入类型是标签 Label或 Port。
5、 如权利要求 1至 4任一所述的接入方法, 其特征在于,
所述 SVP用于接收报文, 所述 DVP用于发送报文。
6、 一种多协议标签交换二层虚拟专用网的接入装置, 其特征在于, 包 括: 控制模块和连接建立模块, 其中,
所述控制模块, 用于分别将用户侧和网络侧各自的报文接入运营商路 由设备, 设置所述报文的接入类型映射为虚拟端口, 并分别为每个接入分 配各自的 SVP和 DVP, 并将分配后的虚拟端口的信息发送给所述连接建立 模块;
所述连接建立模块, 用于根据所述控制模块发送的分配后的虚拟端口 的信息,通过建立用户侧和网络侧各自的 SVP到对方的 DVP的连接,建立 MPLS L2VPN的数据转发通道。
7、 如权利要求 6所述的接入装置, 其特征在于, 所述连接建立模块用 于通过建立用户侧和网络侧各自的 SVP到对方的 DVP的连接,建立 MPLS L2 VPN的数据转发通道, 具体为:
所述连接建立模块判定所述用户侧和网络侧通过虚拟端口接入的 MPLS L2VPN为 VPWS网络,则用户侧与网络侧通过建立各自 SVP到对方 DVP的连接, 建立 VPWS网络的数据转发通道。
8、 如权利要求 6所述的接入装置, 其特征在于, 所述连接建立模块用 于通过建立用户侧和网络侧各自的 SVP到对方的 DVP的连接,建立 MPLS L2 VPN的数据转发通道, 具体为:
所述连接建立模块判定所述用户侧和网络侧通过虚拟端口接入的 MPLS L2VPN为 VPLS网络, 则创建 VSI , 将用户侧和网络侧的虚拟端口 关联到 VSI, 用户侧与网络侧通过建立各自 SVP到对方 DVP的连接, 建立 VPLS网络的数据转发通道。
9、 如权利要求 6所述的接入装置, 其特征在于,
所述控制模块设置的所述用户侧的报文的接入类型是指 Port、 或 VLAN、 或 QinQ、 或 Port和 VLAN、 或 Port和 QinQ、 或 VLAN和 QinQ 中多种类型之一;
所述控制模块设置的所述网络侧的报文的接入类型是 Label或 Port。
10、 如权利要求 6至 9任一所述的接入装置, 其特征在于,
所述控制模块设置的所述 SVP用于接收报文, 所述控制模块设置的所 述 D VP用于发送报文。
PCT/CN2011/071780 2010-03-16 2011-03-14 一种多协议标签交换二层虚拟专用网的接入方法和装置 WO2011113340A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP11755657.1A EP2549688A4 (en) 2010-03-16 2011-03-14 ACCESS PROCESS AND DEVICE FOR A VIRTUAL PRIVATE MULTI PROTOCOL LAYER 2 LABEL SWITCHING NETWORK
US13/583,627 US8958431B2 (en) 2010-03-16 2011-03-14 Access method and apparatus for multi-protocol label switching layer 2 virtual private network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010138528.7 2010-03-16
CN201010138528.7A CN101808042B (zh) 2010-03-16 2010-03-16 一种多协议标签交换二层虚拟专用网的接入方法和装置

Publications (1)

Publication Number Publication Date
WO2011113340A1 true WO2011113340A1 (zh) 2011-09-22

Family

ID=42609664

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071780 WO2011113340A1 (zh) 2010-03-16 2011-03-14 一种多协议标签交换二层虚拟专用网的接入方法和装置

Country Status (4)

Country Link
US (1) US8958431B2 (zh)
EP (1) EP2549688A4 (zh)
CN (1) CN101808042B (zh)
WO (1) WO2011113340A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103236950A (zh) * 2013-05-10 2013-08-07 烽火通信科技股份有限公司 用于l3vpn的业务管理装置

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808042B (zh) 2010-03-16 2014-11-05 中兴通讯股份有限公司 一种多协议标签交换二层虚拟专用网的接入方法和装置
CN102325073B (zh) * 2011-07-06 2016-06-29 杭州华三通信技术有限公司 一种基于vpls的报文处理方法及其装置
CN102355410B (zh) * 2011-08-17 2014-07-30 杭州依赛通信有限公司 一种用于mpls网络虚拟交换实例的伪线标签方法
CN102368726B (zh) * 2011-09-14 2014-09-10 杭州华三通信技术有限公司 一种应用于l2vpn的转发方法及装置
CN103428061B (zh) * 2012-05-14 2016-12-28 上海贝尔股份有限公司 接入底盘节点和利用接入底盘节点进行数据转发的方法
CN102891790B (zh) * 2012-09-21 2016-03-02 中国电信股份有限公司 一种访问虚拟私有云的vpn虚拟化方法和系统
CN103795631B (zh) 2012-10-30 2017-03-15 杭州华三通信技术有限公司 部署了以太网虚拟连接的网络中的流量转发方法及设备
CN103152267B (zh) 2013-02-04 2017-02-22 华为技术有限公司 路由管理方法及路由方法及网络控制器及路由器
CN104253751B (zh) * 2014-09-04 2018-04-06 新华三技术有限公司 一种基于多角色主机的报文传输方法和设备
CN108259339B (zh) * 2017-08-31 2020-12-25 新华三技术有限公司 报文发送方法及装置
CN107592260B (zh) * 2017-09-22 2020-07-07 烽火通信科技股份有限公司 基于快速重路由的vpws bypass保护倒换方法及系统
US10447499B2 (en) 2017-10-06 2019-10-15 At&T Intellectual Property I, L.P. Virtual private network interworking
CN114760165A (zh) * 2020-12-25 2022-07-15 华为技术有限公司 报文传输方法、设备及系统
CN114760243A (zh) * 2020-12-25 2022-07-15 华为技术有限公司 报文传输方法、设备及系统
CN116708288A (zh) * 2022-02-28 2023-09-05 中兴通讯股份有限公司 网络调度方法及网络设备、可读存储介质
CN115396336A (zh) * 2022-08-01 2022-11-25 南京网元通信技术有限公司 一种基于软件仿真的mpls vpn集客专线主动测试方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022392A (zh) * 2007-03-06 2007-08-22 华为技术有限公司 一种基于虚拟局域网的数据交换方法及设备
CN101447906A (zh) * 2008-12-23 2009-06-03 华为技术有限公司 QinQ接入用户的控制方法、装置及通信系统
CN101808042A (zh) * 2010-03-16 2010-08-18 中兴通讯股份有限公司 一种多协议标签交换二层虚拟专用网的接入方法和装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7260097B2 (en) * 2002-01-30 2007-08-21 Nortel Networks Limited Label control method and apparatus for virtual private LAN segment networks
AU2003266069A1 (en) * 2002-09-09 2004-03-29 Nortel Networks Limited Svc-l2 vpns: flexible on-demand switched mpls/ip layer-2 vpns for ethernet svc, atm and frame relay
CN100505746C (zh) 2004-02-07 2009-06-24 华为技术有限公司 实现虚拟租用线的方法
US7974223B2 (en) * 2004-11-19 2011-07-05 Corrigent Systems Ltd. Virtual private LAN service over ring networks
CN1816003A (zh) * 2005-02-06 2006-08-09 华为技术有限公司 一种异种链路协议的通信方法及其设备
US8175078B2 (en) * 2005-07-11 2012-05-08 Cisco Technology, Inc. Redundant pseudowires between Ethernet access domains
CN1870637A (zh) * 2005-10-28 2006-11-29 华为技术有限公司 实现虚拟专用局域网业务中虚电路状态一致性的方法
US7593400B2 (en) * 2006-05-19 2009-09-22 Corrigent Systems Ltd. MAC address learning in a distributed bridge
CN100471162C (zh) * 2007-04-28 2009-03-18 杭州华三通信技术有限公司 一种发布及处理虚线路信息的方法和供应商边缘设备
KR100995906B1 (ko) * 2008-12-22 2010-11-23 한국전자통신연구원 Mpls l3vpn에서 포워딩 테이블 구축 방법

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022392A (zh) * 2007-03-06 2007-08-22 华为技术有限公司 一种基于虚拟局域网的数据交换方法及设备
CN101447906A (zh) * 2008-12-23 2009-06-03 华为技术有限公司 QinQ接入用户的控制方法、装置及通信系统
CN101808042A (zh) * 2010-03-16 2010-08-18 中兴通讯股份有限公司 一种多协议标签交换二层虚拟专用网的接入方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2549688A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103236950A (zh) * 2013-05-10 2013-08-07 烽火通信科技股份有限公司 用于l3vpn的业务管理装置
CN103236950B (zh) * 2013-05-10 2015-12-02 烽火通信科技股份有限公司 用于l3vpn的业务管理装置

Also Published As

Publication number Publication date
CN101808042A (zh) 2010-08-18
EP2549688A4 (en) 2014-04-09
EP2549688A1 (en) 2013-01-23
US20120327944A1 (en) 2012-12-27
CN101808042B (zh) 2014-11-05
US8958431B2 (en) 2015-02-17

Similar Documents

Publication Publication Date Title
WO2011113340A1 (zh) 一种多协议标签交换二层虚拟专用网的接入方法和装置
US8121126B1 (en) Layer two (L2) network access node having data plane MPLS
JP5944988B2 (ja) 強化された学習方法及びシステムと共にエッジルータ間で2つの疑似ワイヤを用いるeツリー
US8085791B1 (en) Using layer two control protocol (L2CP) for data plane MPLS within an L2 network access node
EP1713197B1 (en) A method for implementing the virtual leased line
WO2009021458A1 (fr) Procédé, appareil et système de connexion d'un réseau de couche 2 à un réseau de couche 3
WO2008092357A1 (fr) Procédé et dispositif pour établir un tunnel pseudocâblé et transmettre un message à l'aide de celui-ci
WO2007147340A1 (fr) Procédé, système et dispositif de la technique ethernet d'échange et de transfert
WO2014194749A1 (zh) 边缘设备的vpn实现处理方法及装置
CN102739501B (zh) 二三层虚拟私有网络中的报文转发方法和系统
CN102413060B (zh) Vpls网络中用户专线通信方法及设备
JP2000286853A (ja) パケットをルーティングする方法および装置
JP2005341591A (ja) 仮想プライベートネットワーク、マルチサービスプロビジョニングプラットフォーム及び方法
US20090080438A1 (en) Method for accessing virtual private network, virtual private system, virtual private network and provider edge device thereof
WO2007076678A1 (fr) Procede de transfert de donnees et appareil de commutation
US8873431B1 (en) Communications system and method for maintaining topology in a VLAN environment
WO2008019614A1 (fr) Procédé et système pour le transfert de données entre plusieurs réseaux ethernet de fournisseurs
WO2007062592A1 (fr) Systeme, procede et routeur de l2vpn d'interconnexions point a multipoints, et multipoints a multipoints
WO2008011818A1 (fr) Procédé de fourniture d'un service réseau local privé virtuel à hiérarchie et système réseau
WO2013139159A1 (zh) 在网络中转发报文的方法和运营商边缘设备
WO2011160464A1 (zh) 一种报文的转发方法及交换芯片
WO2007031006A1 (en) A virtual switching method which could be routed
WO2014205792A1 (zh) 一种建立光旁路的方法、装置和系统
WO2007104201A1 (fr) Procédé d'acheminement de messages dans un tunnel de services
CN110199504B (zh) 用于中心局递送点内的交换结构的增强使用的方法和系统

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13583627

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2011755657

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE