CN106453086A - Label message control plane integration method based on MPLS L2VPN service - Google Patents

Label message control plane integration method based on MPLS L2VPN service Download PDF

Info

Publication number
CN106453086A
CN106453086A CN201610903811.1A CN201610903811A CN106453086A CN 106453086 A CN106453086 A CN 106453086A CN 201610903811 A CN201610903811 A CN 201610903811A CN 106453086 A CN106453086 A CN 106453086A
Authority
CN
China
Prior art keywords
label
forwarding
mpls
control plane
mpls l2vpn
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.)
Granted
Application number
CN201610903811.1A
Other languages
Chinese (zh)
Other versions
CN106453086B (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.)
Shanghai Certusnet Information Technology Co Ltd
Original Assignee
Shanghai Certusnet Information Technology 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 Shanghai Certusnet Information Technology Co Ltd filed Critical Shanghai Certusnet Information Technology Co Ltd
Priority to CN201610903811.1A priority Critical patent/CN106453086B/en
Publication of CN106453086A publication Critical patent/CN106453086A/en
Application granted granted Critical
Publication of CN106453086B publication Critical patent/CN106453086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Landscapes

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

Abstract

本发明涉及一种基于MPLS L2VPN业务的标签报文控制面整合方法,包括如下步骤:(1)MPLS L2VPN业务的标签报文控制面生成公网隧道的表项;(2)所述的控制面将所述的公网隧道的表项进行整合;(3)所述的控制面生成标签栈;(4)转发面通过所述的标签栈的信息进行MPLS L2VPN业务的报文转发。采用该种结构的基于MPLS L2VPN业务的标签报文控制面整合方法,对MPLS二层虚拟私有网络业务的MPLS标签报文转发在控制面即由软件完成一次性迭代整合,直接下发转发面使用的标签栈信息,不需要转发面在FTN,VC FTN,NHLFE,ILM等转发表项中进行迭代整合逻辑,从而大幅度提升转发效率。

The present invention relates to a method for integrating a labeled message control plane based on MPLS L2VPN services, comprising the following steps: (1) the label message control plane of the MPLS L2VPN service generates an entry of a public network tunnel; (2) the control plane Integrating the entries of the public network tunnel; (3) the control plane generates a label stack; (4) the forwarding plane forwards the MPLS L2VPN service message through the information of the label stack. With the MPLS L2VPN service-based label packet control plane integration method using this structure, the MPLS label packet forwarding of the MPLS layer 2 virtual private network service is completed by software on the control plane for one-time iterative integration, and is directly sent to the forwarding plane for use. The label stack information does not require the forwarding plane to perform iterative integration logic in forwarding entries such as FTN, VC FTN, NHLFE, and ILM, thereby greatly improving forwarding efficiency.

Description

基于MPLS L2VPN业务的标签报文控制面整合方法Control plane integration method of labeled packets based on MPLS L2VPN service

技术领域technical field

本发明涉及NFV网络功能虚拟化技术领域,尤其涉及NFV的MPLS L2VPN标签报文转发技术领域,具体是指一种基于MPLS L2VPN业务的标签报文控制面整合方法。The present invention relates to the technical field of NFV network function virtualization, in particular to the technical field of NFV MPLS L2VPN label message forwarding, and specifically refers to a label message control plane integration method based on MPLS L2VPN services.

背景技术Background technique

在目前主流的传统网络设备中,例如路由器,交换机,其MPLS(Multi-ProtocolLabel Switching,多协议标签交换)二层虚拟私有网络业务,如图1所示,即MPLS L2VPN(Virtual Private Network,虚拟专用网络)业务的MPLS标签报文的转发,其转发依据的信息由控制面生成,再下发到转发面,从而指导转发面进行转发使用,由于传统网络设备的转发面受限于诸如转发芯片之类硬件的要求,从而普遍采用多次迭代,多次查找的方式,控制面下发的转发信息并不能直接完成L2VPN标签报文标签栈信息的整合,而是下发诸如FTN(FEC to NHLFE,FEC到NHLFE),VC(Virtual Ciecuit,虚电路)FTN,ILM(Incoming LableMap,入标签映射),NHLFE(Next Hop Lable Forwarding Entry,下一跳标签转发表项)的转发表项,如图2所示,转发面需要在这些表项中进行迭代和整合完成转发逻辑。Among the current mainstream traditional network devices, such as routers and switches, their MPLS (Multi-Protocol Label Switching, Multi-Protocol Label Switching, Multi-Protocol Label Switching) Layer 2 virtual private network services, as shown in Figure 1, are MPLS L2VPN (Virtual Private Network, virtual private network For forwarding of MPLS labeled packets of network) services, the information based on the forwarding is generated by the control plane and then delivered to the forwarding plane, so as to guide the forwarding plane to use forwarding. Because the forwarding plane of traditional network equipment is limited by the Therefore, multiple iterations and multiple searches are commonly used. The forwarding information issued by the control plane cannot directly complete the integration of the label stack information of L2VPN labeled packets, but issues such as FTN (FEC to NHLFE, FEC to NHLFE), VC (Virtual Ciecuit, virtual circuit) FTN, ILM (Incoming LableMap, incoming label mapping), NHLFE (Next Hop Lable Forwarding Entry, next hop label forwarding entry), as shown in Figure 2 shows that the forwarding plane needs to iterate and integrate these entries to complete the forwarding logic.

发明内容Contents of the invention

本发明的目的是克服了上述现有技术的缺点,提供了一种能够实现一次性迭代整合并直接下发转发面使用的标签栈信息的基于MPLS L2VPN业务的标签报文控制面整合方法。The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art, and provide a method for integrating label message control plane based on MPLS L2VPN service, which can realize one-time iterative integration and directly deliver the label stack information used by the forwarding plane.

为了实现上述目的,本发明的具有如下构成:In order to achieve the above object, the present invention has the following constitutions:

该基于MPLS L2VPN业务的标签报文控制面整合方法,包括如下步骤:The label message control plane integration method based on the MPLS L2VPN service includes the following steps:

(1)MPLS L2VPN业务的标签报文控制面生成公网隧道的表项;(1) The label message control plane of the MPLS L2VPN service generates the table entry of the public network tunnel;

(2)所述的控制面将所述的公网隧道的表项进行整合;(2) The control plane integrates the entries of the public network tunnel;

(3)所述的控制面生成标签栈;(3) The control plane generates a label stack;

(4)转发面通过所述的标签栈的信息进行MPLS L2VPN业务的报文转发。(4) The forwarding plane performs packet forwarding of the MPLS L2VPN service through the information of the label stack.

较佳地,所述的表项包括FTN、VC FTN、NHLFE和ILM。Preferably, the entries include FTN, VC FTN, NHLFE and ILM.

较佳地,所述的将所述的公网隧道的表项进行整合,具体为:Preferably, the integration of the entries of the public network tunnel is specifically:

通过FTN将FEC(Forwarding Equivalence Class,转发等价类)映射到NHLFE,通过ILM将MPLS映射到NHLFE。FEC (Forwarding Equivalence Class, forwarding equivalence class) is mapped to NHLFE through FTN, and MPLS is mapped to NHLFE through ILM.

较佳地,所述的生成转发直接使用的标签栈,具体为:Preferably, the label stack directly used for generating and forwarding is specifically:

通过opcode(Operation Code,操作码)操作码将NHLFE映射到标签,将所述的标签整合为标签栈。The NHLFE is mapped to labels through an opcode (Operation Code, operation code), and the labels are integrated into a label stack.

较佳地,所述的步骤(3)和步骤(4)之间还包括如下步骤:Preferably, the following steps are also included between said step (3) and step (4):

(3-1)所述的控制面下发所述的标签栈到转发面。(3-1) The control plane delivers the label stack to the forwarding plane.

采用了该发明中的基于MPLS L2VPN业务的标签报文控制面整合方法,对MPLS二层虚拟私有网络业务的MPLS标签报文转发在控制面即由软件完成一次性迭代整合,直接下发转发面使用的标签栈信息,不需要转发面在FTN,VC FTN,NHLFE,ILM等转发表项中进行迭代整合逻辑,从而大幅度提升转发效率。Adopting the MPLS L2VPN service-based label message control plane integration method in this invention, the MPLS label message forwarding of the MPLS layer 2 virtual private network service is completed by software on the control plane for one-time iterative integration and directly delivered to the forwarding plane The label stack information used does not require the forwarding plane to perform iterative integration logic in forwarding entries such as FTN, VC FTN, NHLFE, and ILM, thereby greatly improving forwarding efficiency.

附图说明Description of drawings

图1为现有技术的MPLS L2VPN标签报文转发逻辑的流程图。FIG. 1 is a flow chart of MPLS L2VPN labeled packet forwarding logic in the prior art.

图2为现有技术的MPLS L2VPN标签报文控制面转发表项的逻辑框图。FIG. 2 is a logical block diagram of control plane forwarding entries of MPLS L2VPN labeled messages in the prior art.

图3为本发明的MPLS L2VPN标签报文控制面整合过程的逻辑框图。Fig. 3 is a logical block diagram of the MPLS L2VPN label message control plane integration process of the present invention.

具体实施方式detailed description

为了能够更清楚地描述本发明的技术内容,下面结合具体实施例来进行进一步的描述。In order to describe the technical content of the present invention more clearly, further description will be given below in conjunction with specific embodiments.

在一种实施方式中,该基于MPLS L2VPN业务的标签报文控制面整合方法,包括如下步骤:In one embodiment, the label message control plane integration method based on the MPLS L2VPN service includes the following steps:

(1)MPLS L2VPN业务的标签报文控制面生成公网隧道的表项;(1) The label message control plane of the MPLS L2VPN service generates the table entry of the public network tunnel;

(2)所述的控制面将所述的公网隧道的表项进行整合;(2) The control plane integrates the entries of the public network tunnel;

(3)所述的控制面生成标签栈;(3) The control plane generates a label stack;

(4)转发面通过所述的标签栈的信息进行MPLS L2VPN业务的报文转发。(4) The forwarding plane performs packet forwarding of the MPLS L2VPN service through the information of the label stack.

在一种较佳的实施方式中,所述的表项包括FTN、VC FTN、NHLFE和ILM。In a preferred implementation manner, the entries include FTN, VC FTN, NHLFE and ILM.

在一种较佳的实施方式中,所述的将所述的公网隧道的表项进行整合,具体为:In a preferred implementation manner, the integration of the entries of the public network tunnel is specifically:

通过FTN将FEC映射到NHLFE,通过ILM将MPLS映射到NHLFE。FEC is mapped to NHLFE through FTN, and MPLS is mapped to NHLFE through ILM.

在一种较佳的实施方式中,所述的生成转发直接使用的标签栈,具体为:In a preferred implementation manner, the label stack directly used for generating and forwarding is specifically:

通过opcode操作码将NHLFE映射到标签,将所述的标签整合为标签栈。The NHLFE is mapped to labels through the opcode operation code, and the labels are integrated into a label stack.

在一种较佳的实施方式中,所述的步骤(3)和步骤(4)之间还包括如下步骤:In a preferred embodiment, the following steps are also included between said step (3) and step (4):

(3-1)所述的控制面下发所述的标签栈到转发面。(3-1) The control plane delivers the label stack to the forwarding plane.

在一种具体的实施方式中,如图3所示,包括以下步骤:In a specific implementation manner, as shown in Figure 3, the following steps are included:

S1:控制面生成公网隧道FTN、VC FTN、NHLFE以及ILM表项;S1: The control plane generates public network tunnel FTN, VC FTN, NHLFE and ILM entries;

S2:控制面完成公网隧道FTN、VC FTN、NHLFE以及ILM表项的整合,生成转发直接使用的标签栈;S2: The control plane completes the integration of public network tunnel FTN, VC FTN, NHLFE, and ILM entries, and generates a label stack directly used for forwarding;

S3:控制面下发生成的标签栈到转发面;S3: The generated label stack is sent from the control plane to the forwarding plane;

S4:转发面直接使用标签栈信息进行MPLS L2VPN业务的报文转发;S4: The forwarding plane directly uses the label stack information to forward packets of MPLS L2VPN services;

采用了该发明中的基于MPLS L2VPN业务的标签报文控制面整合方法,对MPLS二层虚拟私有网络业务的MPLS标签报文转发在控制面即由软件完成一次性迭代整合,直接下发转发面使用的标签栈信息,不需要转发面在FTN,VC FTN,NHLFE,ILM等转发表项中进行迭代整合逻辑,从而大幅度提升转发效率。Adopting the MPLS L2VPN service-based label message control plane integration method in this invention, the MPLS label message forwarding of the MPLS layer 2 virtual private network service is completed by software on the control plane for one-time iterative integration and directly delivered to the forwarding plane The label stack information used does not require the forwarding plane to perform iterative integration logic in forwarding entries such as FTN, VC FTN, NHLFE, and ILM, thereby greatly improving forwarding efficiency.

在此说明书中,本发明已参照其特定的实施例作了描述。但是,很显然仍可以作出各种修改和变换而不背离本发明的精神和范围。因此,说明书和附图应被认为是说明性的而非限制性的。In this specification, the invention has been described with reference to specific embodiments thereof. However, it is obvious that various modifications and changes can be made without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are to be regarded as illustrative rather than restrictive.

Claims (5)

1. the label packet chain of command integration method based on MPLS L2VPN business, it is characterised in that described method bag Include following steps:
(1) the label packet chain of command of MPLS L2VPN business generates the list item in public network tunnel;
(2) list item in described public network tunnel is integrated by the chain of command described in;
(3) chain of command described in generates label stack;
(4) message that forwarding face carries out MPLS L2VPN business by the information of described label stack forwards.
2. MPLS L2VPN label packet chain of command integration method according to claim 1, it is characterised in that described table Item includes FTN, VC FTN, NHLFE and ILM.
3. MPLS L2VPN label packet chain of command integration method according to claim 1, it is characterised in that described general The list item in described public network tunnel is integrated, and is specially:
By FTN, FEC is mapped to NHLFE, by ILM, MPLS is mapped to NHLFE.
4. MPLS L2VPN label packet chain of command integration method according to claim 1, it is characterised in that described life Become to forward the label stack directly using, be specially:
By opcode command code, NHLFE is mapped to label, described label is integrated into label stack.
5. MPLS L2VPN label packet chain of command integration method according to claim 1, it is characterised in that described step Suddenly also comprise the steps between (3) and step (4):
(3-1) chain of command described in issues described label stack to forwarding face.
CN201610903811.1A 2016-10-17 2016-10-17 Label packet control plane integration method based on MPLS L2VPN business Active CN106453086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610903811.1A CN106453086B (en) 2016-10-17 2016-10-17 Label packet control plane integration method based on MPLS L2VPN business

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610903811.1A CN106453086B (en) 2016-10-17 2016-10-17 Label packet control plane integration method based on MPLS L2VPN business

Publications (2)

Publication Number Publication Date
CN106453086A true CN106453086A (en) 2017-02-22
CN106453086B CN106453086B (en) 2019-07-09

Family

ID=58176728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610903811.1A Active CN106453086B (en) 2016-10-17 2016-10-17 Label packet control plane integration method based on MPLS L2VPN business

Country Status (1)

Country Link
CN (1) CN106453086B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574633A (en) * 2017-03-08 2018-09-25 瞻博网络公司 The devices, systems, and methods of label are shared for the label switched path in across a network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106522A (en) * 2006-07-11 2008-01-16 北京邮电大学 A Multipath Routing Technology Based on Label Switching in Ad Hoc Networks
CN101150587A (en) * 2007-10-24 2008-03-26 华为技术有限公司 A method, device and system for traffic switching of multi-protocol label switching traffic engineering
US20130054761A1 (en) * 2011-08-29 2013-02-28 Telefonaktiebolaget L M Ericsson (Publ) Implementing a 3G Packet Core in a Cloud Computer with Openflow Data and Control Planes
CN103124236A (en) * 2013-02-27 2013-05-29 迈普通信技术股份有限公司 Method and device for managing routes and tags

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106522A (en) * 2006-07-11 2008-01-16 北京邮电大学 A Multipath Routing Technology Based on Label Switching in Ad Hoc Networks
CN101150587A (en) * 2007-10-24 2008-03-26 华为技术有限公司 A method, device and system for traffic switching of multi-protocol label switching traffic engineering
US20130054761A1 (en) * 2011-08-29 2013-02-28 Telefonaktiebolaget L M Ericsson (Publ) Implementing a 3G Packet Core in a Cloud Computer with Openflow Data and Control Planes
CN103124236A (en) * 2013-02-27 2013-05-29 迈普通信技术股份有限公司 Method and device for managing routes and tags

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张坤赤: "《基于Linux的MPLS协议转发研究与实现》", 《信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574633A (en) * 2017-03-08 2018-09-25 瞻博网络公司 The devices, systems, and methods of label are shared for the label switched path in across a network
CN108574633B (en) * 2017-03-08 2021-08-17 瞻博网络公司 Apparatus, system, and method for sharing labels across label switched paths within a network

Also Published As

Publication number Publication date
CN106453086B (en) 2019-07-09

Similar Documents

Publication Publication Date Title
US11303470B2 (en) Bridging of non-capable subnetworks in bit indexed explicit replication
US10069723B2 (en) Method and system for encapsulating flow identifier
US10320664B2 (en) Cloud overlay for operations administration and management
CN107204867B (en) Information transmission method, device and system
US8023506B2 (en) Method and provider edge device for advertising and processing pseudo-wire information
CN104158745B (en) A kind of method and system for realizing data packet forwarding
US9344350B2 (en) Virtual service topologies in virtual private networks
CN101631072A (en) Method, device and system for establishing pseudowire
CN105450525B (en) The method and apparatus used for route exchange device
CN109936516A (en) System and method for promoting transparent service mapping across multiple network transmission options
CN112769738B (en) DetNet data packet processing method and device
WO2016101770A1 (en) Method and device for multicasting and forwarding multiple protocol label switching intermediate node, and node
CN105450529A (en) Method, equipment and system for transmitting multicast message in manner of crossing two-layer virtual network
KR20220098152A (en) Communication method and device
CN104243299A (en) Tunnel processing method and system, control surface equipment and forwarding surface equipment
CN106506315B (en) A kind of transparent configuration method of message forwarding
CN102143043B (en) Method and device for establishing label switching path
CN103795630A (en) Message transmitting method and device of label switching network
CN103841026B (en) VPN route managing system and method of router IP protocol stack
WO2015117377A1 (en) Network connectivity verification method and device, and computer-readable storage medium
CN101834804B (en) Method and device for realizing speed limit for traffic of virtual private networks (VPN)
CN106453086B (en) Label packet control plane integration method based on MPLS L2VPN business
CN114448886A (en) Method and device for processing flow table
US20160149714A1 (en) Shortest Path Bridging (SPB) - Protocol-Independent Multicast (PIM) Interactions On A Backbone Edge Bridge (BEB) Acting As A Multicast Boundary Router Interfacing With A PIM Network
US9225664B2 (en) System and method for aggregating pseudowires

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20250109

Granted publication date: 20190709