技术领域technical field
本发明实施例涉及通信领域,具体涉及一种隧道建立的方法及路由器。The embodiment of the present invention relates to the communication field, and in particular relates to a method for establishing a tunnel and a router.
背景技术Background technique
多协议标签交换(Multi-Protocol Label Switching,MPLS)在广域网中的价值已经得到证实,并影响着众多服务提供商的广域网建设思路。MPLS简化了对数据包的处理,提高了数据包的转发效率;基于MPLS的流量工程(Traffic Engineering,TE)及快速路由保护等技术,提升了网络服务质量(Quality of Service,QoS);尤其是,MPLS将多个网络融合到一个以以太网(Ethernet)为架构的基础设施上,使得单一转发模式的优势得到充分体现,网络的成本效益也不言而喻。当MPLS功能逐步从网络核心层延伸到接入层时,即形成了端到端无缝MPLS(Seamless MPLS)体系。无缝MPLS将所有业务都在接入层进行MPLS封装,形成了由核心层到城域层、再到接入层的统一的MPLS控制平面,极大地降低了网络规划与运维的难度。无缝MPLS由控制层和业务层构成。控制层主要采用边界网关协议(Border GatewayProtocol,BGP)来进行不同区域之间的路由信息交互,每个区域内部则采用中间系统到中间系统(Intermediate System-Intermediate System,IS-IS)协议;业务层提供虚拟专用局域网服务(Virtual Private LAN Service,VPLS)等不同应用。The value of multi-protocol label switching (Multi-Protocol Label Switching, MPLS) in the wide area network has been confirmed, and it has influenced the construction ideas of the wide area network of many service providers. MPLS simplifies the processing of data packets and improves the forwarding efficiency of data packets; MPLS-based traffic engineering (Traffic Engineering, TE) and fast route protection technologies improve the quality of service (Quality of Service, QoS); especially , MPLS integrates multiple networks into an Ethernet (Ethernet)-based infrastructure, which fully demonstrates the advantages of a single forwarding mode, and the cost-effectiveness of the network is self-evident. When the MPLS function gradually extends from the network core layer to the access layer, an end-to-end seamless MPLS (Seamless MPLS) system is formed. Seamless MPLS encapsulates all services in MPLS at the access layer, forming a unified MPLS control plane from the core layer to the metro layer, and then to the access layer, which greatly reduces the difficulty of network planning and operation and maintenance. Seamless MPLS consists of a control layer and a business layer. The control layer mainly uses the Border Gateway Protocol (BGP) to exchange routing information between different regions, and each region uses the Intermediate System-Intermediate System (IS-IS) protocol; the business layer Provide different applications such as virtual private LAN service (Virtual Private LAN Service, VPLS).
无缝MPLS在核心层和城域层部署全连接的MPLS流量工程(MPLS TrafficEngineering,MPLS TE)隧道;区域之间采用BGP标签交换路径(BGP Label Switch Path,BGP LSP)粘连在一起。但是MPLS TE隧道一般采用静态手工的配置方法,并且典型的MPLSTE隧道需要10个命令左右。这样导致MPLS TE隧道配置的效率低,而且配置量大,容易出错且不易维护;当业务发放发生变化时,MPLS TE隧道不能随业务发展自动变化,缺乏灵活性。Seamless MPLS deploys fully-connected MPLS Traffic Engineering (MPLS Traffic Engineering, MPLS TE) tunnels at the core layer and the metro layer; areas are glued together using BGP Label Switch Paths (BGP LSP). However, MPLS TE tunnels generally use static manual configuration methods, and a typical MPLS TE tunnel requires about 10 commands. This leads to low efficiency of MPLS TE tunnel configuration, and a large amount of configuration, which is prone to errors and difficult to maintain. When service provisioning changes, MPLS TE tunnels cannot automatically change with service development and lack flexibility.
发明内容Contents of the invention
本发明实施例提供了一种隧道建立的方法及路由器,以解决MPLS TE隧道配置效率低的问题。The embodiment of the present invention provides a method for establishing a tunnel and a router to solve the problem of low configuration efficiency of the MPLS TE tunnel.
第一方面,提供了一种隧道建立的方法,包括:第一区域边界路由器(Area BorderRouter,ABR)接收第二ABR发布的第一BGP标签路由;所述第一ABR根据所述第一BGP标签路由建立所述第一ABR到所述第二ABR的第一BGP LSP;所述第一ABR根据所述第一BGP LSP创建所述第一ABR到所述第二ABR的第一MPLS TE隧道。In a first aspect, a method for establishing a tunnel is provided, including: a first area border router (Area BorderRouter, ABR) receives a first BGP label route published by a second ABR; Routing establishes a first BGP LSP from the first ABR to the second ABR; the first ABR creates a first MPLS TE tunnel from the first ABR to the second ABR according to the first BGP LSP.
结合所述第一方面,在所述第一方面的第一种可能的实现方式中,所述第一ABR向所述第二ABR发布第二BGP标签路由,以便所述第二ABR根据所述第二BGP标签路由建立所述第二ABR到所述第一ABR的第二BGPLSP,并进一步根据所述第二BGP LSP创建从所述第二ABR到所述第一ABR的第二MPLS TE隧道。With reference to the first aspect, in a first possible implementation manner of the first aspect, the first ABR advertises a second BGP label route to the second ABR, so that the second ABR The second BGP label routing establishes a second BGPLSP from the second ABR to the first ABR, and further creates a second MPLS TE tunnel from the second ABR to the first ABR according to the second BGP LSP .
结合所述第一方面,在所述第一方面的第二种可能的实现方式中,所述第一ABR向所述第二ABR发送隧道通告消息,所述隧道通告消息包括所述第一MPLS TE隧道的隧道信息,以便所述第二ABR根据所述第一MPLS TE隧道的隧道信息创建所述第二ABR到所述第一ABR的第三MPLS TE隧道,所述第三MPLS TE隧道和所述第一MPLS TE隧道为双向共路隧道。With reference to the first aspect, in a second possible implementation manner of the first aspect, the first ABR sends a tunnel notification message to the second ABR, and the tunnel notification message includes the first MPLS Tunnel information of the TE tunnel, so that the second ABR creates a third MPLS TE tunnel from the second ABR to the first ABR according to the tunnel information of the first MPLS TE tunnel, and the third MPLS TE tunnel and The first MPLS TE tunnel is a bidirectional co-channel tunnel.
结合所述第一方面或所述第一方面的上述任意一种可能的实现方式,还提供了所述第一方面的第三种可能的实现方式,在所述第一方面的第三种可能的实现方式中,所述第一ABR在创建了所述第一MPLS TE隧道之后,如果所述第一BGP LSP被撤销且所述第一BGPLSP是与所述第一MPLSTE隧道关联的唯一BGP LSP时,删除所述第一MPLS TE隧道。In combination with the first aspect or any of the above possible implementation manners of the first aspect, a third possible implementation manner of the first aspect is also provided, in the third possible implementation manner of the first aspect In the implementation manner of , after the first ABR creates the first MPLS TE tunnel, if the first BGP LSP is revoked and the first BGP LSP is the only BGP LSP associated with the first MPLS TE tunnel , delete the first MPLS TE tunnel.
结合所述第一方面的第二种可能的实现方式,在所述第一方面的第四种可能的实现方式中,所述第一ABR向所述第二ABR以BGP更新UPDATE消息或标签分发协议LDP映射Mapping消息的形式发送所述隧道通告消息。With reference to the second possible implementation of the first aspect, in a fourth possible implementation of the first aspect, the first ABR uses a BGP update UPDATE message or label distribution to the second ABR The tunnel advertisement message is sent in the form of a protocol LDP mapping message.
结合所述第一方面的第二种可能的实现方式或者所述第一方面的第四种可能的实现方式,还提供了所述第一方面的第五种可能的实现方式,在所述第一方面的第五种可能的实现方式中,所述隧道信息包括:扩展的隧道标识、隧道标识和隧道端点地址。In combination with the second possible implementation manner of the first aspect or the fourth possible implementation manner of the first aspect, a fifth possible implementation manner of the first aspect is also provided, in which In a fifth possible implementation manner of an aspect, the tunnel information includes: an extended tunnel identifier, a tunnel identifier, and a tunnel endpoint address.
第二方面,提供了一种隧道建立的方法,包括:第二ABR生成第一BGP标签路由;所述第二ABR向所述第一ABR发布所述第一BGP标签路由,以便所述第一ABR根据所述第一BGP标签路由建立所述第一ABR到所述第二ABR的第一BGP LSP,并进一步根据所述第一BGP LSP创建所述第一ABR到所述第二ABR的第一MPLS TE隧道。In a second aspect, a method for establishing a tunnel is provided, including: a second ABR generates a first BGP label route; the second ABR publishes the first BGP label route to the first ABR, so that the first The ABR establishes a first BGP LSP from the first ABR to the second ABR according to the first BGP label route, and further establishes a first BGP LSP from the first ABR to the second ABR according to the first BGP LSP One MPLS TE tunnel.
结合所述第二方面,在所述第二方面的第一种可能的实现方式中,所述第二ABR接收所述第一ABR发布的第二BGP标签路由;所述第二ABR根据所述第二BGP标签路由建立所述第二ABR到所述第一ABR的第二BGPLSP;所述第二ABR根据所述第二BGP LSP创建所述第二ABR到所述第一ABR的第二MPLS TE隧道。With reference to the second aspect, in a first possible implementation manner of the second aspect, the second ABR receives the second BGP label route advertised by the first ABR; The second BGP label routing establishes a second BGPLSP from the second ABR to the first ABR; the second ABR creates a second MPLS from the second ABR to the first ABR according to the second BGP LSP TE tunnel.
结合所述第二方面的第一种可能的实现方式,在所述第二方面的第二种可能的实现方式中,所述第二ABR在创建了所述第二MPLS TE隧道之后,如果所述第二BGP LSP被撤销且所述第二BGP LSP是与所述第二MPLS TE隧道关联的唯一BGP LSP时,删除所述第二MPLSTE隧道。With reference to the first possible implementation of the second aspect, in the second possible implementation of the second aspect, after the second ABR creates the second MPLS TE tunnel, if the When the second BGP LSP is revoked and the second BGP LSP is the only BGP LSP associated with the second MPLS TE tunnel, delete the second MPLS TE tunnel.
结合所述第二方面的第一种可能的实现方式,在所述第二方面的第三种可能的实现方式中,所述第二ABR接收所述第一ABR发送的隧道通告消息,所述隧道通告消息包括所述第一MPLS TE隧道的隧道信息;所述第二ABR根据所述第一MPLS TE隧道的隧道信息,获取所述第一MPLS TE隧道的路径信息;所述第二ABR根据所述第一MPLS TE隧道的路径信息,采用显式路径方式创建所述第二ABR到所述第一ABR的第三MPLS TE隧道,所述第三MPLS TE隧道和所述第一MPLS TE隧道为双向共路隧道。With reference to the first possible implementation of the second aspect, in a third possible implementation of the second aspect, the second ABR receives the tunnel advertisement message sent by the first ABR, and the The tunnel notification message includes the tunnel information of the first MPLS TE tunnel; the second ABR obtains the path information of the first MPLS TE tunnel according to the tunnel information of the first MPLS TE tunnel; the second ABR obtains the path information of the first MPLS TE tunnel according to the Path information of the first MPLS TE tunnel, using an explicit path to create a third MPLS TE tunnel from the second ABR to the first ABR, the third MPLS TE tunnel and the first MPLS TE tunnel It is a two-way shared road tunnel.
结合所述第二方面的第三种可能的实现方式,在所述第二方面的第四种可能的实现方式中,所述隧道信息包括:扩展的隧道标识、隧道标识和隧道端点地址。With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the tunnel information includes: an extended tunnel identifier, a tunnel identifier, and a tunnel endpoint address.
第三方面,提供了一种第一ABR,包括:接收单元,用于接收第二ABR发布的第一BGP标签路由;处理单元,用于根据所述第一BGP标签路由建立所述第一ABR到所述第二ABR的第一BGP LSP,并进一步根据所述第一BGP LSP创建所述第一ABR到所述第二ABR的第一MPLSTE隧道。In a third aspect, a first ABR is provided, including: a receiving unit, configured to receive a first BGP label route issued by a second ABR; a processing unit, configured to establish the first ABR according to the first BGP label route to the first BGP LSP of the second ABR, and further create a first MPLSTE tunnel from the first ABR to the second ABR according to the first BGP LSP.
结合所述第三方面,在所述第三方面的第一种可能的实现方式中,所述第一ABR还包括发送单元,用于向所述第二ABR发布第二BGP标签路由,以便所述第二ABR根据所述第二BGP标签路由建立所述第二ABR到所述第一ABR的第二BGP LSP,并进一步根据所述第二BGPLSP创建所述第二ABR到所述第一ABR的第二MPLS TE隧道。With reference to the third aspect, in a first possible implementation manner of the third aspect, the first ABR further includes a sending unit configured to advertise a second BGP label route to the second ABR, so that The second ABR establishes a second BGP LSP from the second ABR to the first ABR according to the second BGP label route, and further creates a second BGP LSP from the second ABR to the first ABR according to the second BGP LSP The second MPLS TE tunnel.
结合所述第三方面,在所述第三方面的第二种可能的实现方式中,所述第一ABR还包括发送单元,用于向所述第二ABR发送隧道通告消息,所述隧道通告消息包括所述第一MPLS TE隧道的隧道信息,以便所述第二ABR根据所述第一MPLS TE隧道的隧道信息创建所述第二ABR到所述第一ABR的第三MPLS TE隧道,所述第三MPLS TE隧道和所述第一MPLS TE隧道为双向共路隧道。With reference to the third aspect, in a second possible implementation manner of the third aspect, the first ABR further includes a sending unit configured to send a tunnel notification message to the second ABR, and the tunnel notification The message includes tunnel information of the first MPLS TE tunnel, so that the second ABR creates a third MPLS TE tunnel from the second ABR to the first ABR according to the tunnel information of the first MPLS TE tunnel, so that The third MPLS TE tunnel and the first MPLS TE tunnel are two-way co-channel tunnels.
结合所述第三方面或所述第三方面的上述任意一种可能的实现方式,还提供了所述第三方面的第三种可能的实现方式,在所述第三方面的第三种可能的实现方式中,所述处理单元,还用于在创建了所述第一MPLS TE隧道之后,如果所述第一BGP LSP被撤销且所述第一BGP LSP是与所述第一MPLS TE隧道关联的唯一BGP LSP时,删除所述第一MPLS TE隧道。In combination with the third aspect or any of the above possible implementation manners of the third aspect, a third possible implementation manner of the third aspect is also provided, in the third possible implementation manner of the third aspect In an implementation manner, the processing unit is further configured to, after the first MPLS TE tunnel is created, if the first BGP LSP is revoked and the first BGP LSP is connected to the first MPLS TE tunnel When the associated unique BGP LSP is used, delete the first MPLS TE tunnel.
第四方面,提供了一种第二ABR,包括:生成单元,用于生成第一BGP标签路由;发送单元,用于向所述第一ABR发布所述第一BGP标签路由,以便所述第一ABR根据所述第一BGP标签路由建立所述第一ABR到所述第二ABR的第一BGP LSP,并进一步根据所述第一BGP LSP创建所述第一ABR到所述第二ABR的第一MPLS TE隧道。In a fourth aspect, a second ABR is provided, including: a generation unit, configured to generate a first BGP label route; a sending unit, configured to issue the first BGP label route to the first ABR, so that the second An ABR establishes a first BGP LSP from the first ABR to the second ABR according to the first BGP label route, and further establishes a link from the first ABR to the second ABR according to the first BGP LSP The first MPLS TE tunnel.
结合所述第四方面,在第一种可能的实现方式中,所述第二ABR还包括:接收单元,用于接收所述第一ABR发布的第二BGP标签路由;处理单元,用于根据所述第二BGP标签路由建立所述第二ABR到所述第一ABR的第二BGP LSP,并进一步根据所述第二BGP LSP创建所述第二ABR到所述第一ABR的第二MPLS TE隧道。With reference to the fourth aspect, in a first possible implementation manner, the second ABR further includes: a receiving unit configured to receive the second BGP label route advertised by the first ABR; a processing unit configured to The second BGP label routing establishes a second BGP LSP from the second ABR to the first ABR, and further creates a second MPLS from the second ABR to the first ABR based on the second BGP LSP TE tunnel.
结合所述第四方面的第一种可能的实现方式,在所述第四方面的第二种可能的实现方式中,所述处理单元,还用于在创建了所述第二MPLS TE隧道之后,如果所述第二BGPLSP被撤销且所述第二BGP LSP是与所述第二MPLS TE隧道关联的唯一BGP LSP时,删除所述第二MPLS TE隧道。With reference to the first possible implementation of the fourth aspect, in a second possible implementation of the fourth aspect, the processing unit is further configured to, after creating the second MPLS TE tunnel , if the second BGP LSP is revoked and the second BGP LSP is the only BGP LSP associated with the second MPLS TE tunnel, delete the second MPLS TE tunnel.
结合所述第四方面,在所述第四方面的第三种可能的实现方式中,所述第二ABR还包括:接收单元,用于接收所述第一ABR发送的隧道通告消息,所述隧道通告消息包括所述第一MPLS TE隧道的隧道信息;处理单元,用于根据所述第一MPLS TE隧道的隧道信息,获取所述第一MPLS TE隧道的路径信息,并进一步根据所述第一MPLS TE隧道的路径信息,采用显式路径方式创建所述第二ABR到所述第一ABR的第三MPLS TE隧道,所述第三MPLS TE隧道和所述第一MPLS TE隧道为双向共路隧道。With reference to the fourth aspect, in a third possible implementation manner of the fourth aspect, the second ABR further includes: a receiving unit, configured to receive the tunnel notification message sent by the first ABR, the The tunnel notification message includes the tunnel information of the first MPLS TE tunnel; the processing unit is configured to obtain the path information of the first MPLS TE tunnel according to the tunnel information of the first MPLS TE tunnel, and further obtain the path information of the first MPLS TE tunnel according to the first MPLS TE tunnel Path information of an MPLS TE tunnel, using an explicit path to create a third MPLS TE tunnel from the second ABR to the first ABR, the third MPLS TE tunnel and the first MPLS TE tunnel are bidirectional shared road tunnel.
结合所述第四方面的第三种可能的实现方式,在所述第四方面的第四种可能的实现方式中,所述隧道信息包括:扩展的隧道标识、隧道标识和隧道端点地址。With reference to the third possible implementation manner of the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the tunnel information includes: an extended tunnel identifier, a tunnel identifier, and a tunnel endpoint address.
可见,通过本发明实施例提供的技术方案,当第一ABR到第二ABR需要使用MPLS TE隧道传送业务时,第二ABR可以向第一ABR发布BGP标签路由,第一ABR在接收到BGP标签路由后,建立BGP LSP,并进一步根据BGP LSP来触发创建该第一ABR到该第二ABR的MPLS TE隧道,能够使MPLS TE隧道随业务按需自动建立,并且提高了MPLS TE隧道的配置效率。It can be seen that through the technical solution provided by the embodiment of the present invention, when the first ABR needs to use the MPLS TE tunnel to transmit services from the first ABR to the second ABR, the second ABR can issue a BGP label route to the first ABR, and the first ABR receives the BGP label route. After routing, establish a BGP LSP, and further trigger the creation of the MPLS TE tunnel from the first ABR to the second ABR according to the BGP LSP, so that the MPLS TE tunnel can be automatically established as required by the service, and the configuration efficiency of the MPLS TE tunnel can be improved .
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings required in the embodiments of the present invention. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1是本发明一个实施例的隧道部署的方法的流程示意图。Fig. 1 is a schematic flowchart of a tunnel deployment method according to an embodiment of the present invention.
图2是本发明另一个实施例的隧道部署的方法的流程示意图。Fig. 2 is a schematic flowchart of a tunnel deployment method according to another embodiment of the present invention.
图3是本发明另一个实施例的隧道部署的过程的示意流程图。Fig. 3 is a schematic flowchart of a tunnel deployment process according to another embodiment of the present invention.
图4是本发明另一个实施例的隧道部署的过程的示意流程图。Fig. 4 is a schematic flowchart of a tunnel deployment process according to another embodiment of the present invention.
图5是本发明另一个实施例的隧道部署的过程的示意流程图。Fig. 5 is a schematic flowchart of a tunnel deployment process according to another embodiment of the present invention.
图6是本发明一个实施例的隧道封装属性的示意图。Fig. 6 is a schematic diagram of tunnel encapsulation attributes according to an embodiment of the present invention.
图7是本发明一个实施例的隧道信息的示意图。Fig. 7 is a schematic diagram of tunnel information according to an embodiment of the present invention.
图8是本发明另一个实施例的隧道部署的过程的示意流程图。Fig. 8 is a schematic flowchart of a tunnel deployment process according to another embodiment of the present invention.
图9是本发明一个实施例的第一区域边界路由器的结构示意图。Fig. 9 is a schematic structural diagram of a first area border router according to an embodiment of the present invention.
图10是本发明另一个实施例的第二区域边界路由器的结构示意图。Fig. 10 is a schematic structural diagram of a second area border router according to another embodiment of the present invention.
图11是本发明另一个实施例的第一区域边界路由器的结构示意图。Fig. 11 is a schematic structural diagram of a first area border router according to another embodiment of the present invention.
图12是本发明另一个实施例的第二区域边界路由器的结构示意图。Fig. 12 is a schematic structural diagram of a second area border router according to another embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
图1是本发明一个实施例的隧道建立的方法的流程示意图。图1所示的方法包括:Fig. 1 is a schematic flowchart of a method for establishing a tunnel according to an embodiment of the present invention. The methods shown in Figure 1 include:
101,第一ABR接收第二ABR发布的第一BGP标签路由。101. The first ABR receives the first BGP label route advertised by the second ABR.
102,该第一ABR根据该第一BGP标签路由建立该第一ABR到该第二ABR的第一BGPLSP。102. The first ABR establishes a first BGPLSP from the first ABR to the second ABR according to the first BGP label route.
103,该第一ABR根据该第一BGP LSP创建该第一ABR到该第二ABR的第一MPLS TE隧道。103. The first ABR creates a first MPLS TE tunnel from the first ABR to the second ABR according to the first BGP LSP.
可见,通过本发明实施例提供的技术方案,当第一ABR到第二ABR需要使用MPLS TE隧道传送业务时,第二ABR可以向第一ABR发布BGP标签路由,第一ABR在接收到BGP标签路由后,建立BGP LSP,并进一步根据BGP LSP来触发创建该第一ABR到该第二ABR的MPLS TE隧道,能够使MPLS TE隧道随业务按需自动建立,并且提高了MPLS TE隧道的配置效率。It can be seen that through the technical solution provided by the embodiment of the present invention, when the first ABR needs to use the MPLS TE tunnel to transmit services from the first ABR to the second ABR, the second ABR can issue a BGP label route to the first ABR, and the first ABR receives the BGP label route. After routing, establish a BGP LSP, and further trigger the creation of the MPLS TE tunnel from the first ABR to the second ABR according to the BGP LSP, so that the MPLS TE tunnel can be automatically established as required by the service, and the configuration efficiency of the MPLS TE tunnel can be improved .
本发明实施例中,该第一BGP LSP以该第一ABR为入口节点(Ingress),以该第二ABR为出口节点(Egress)。该第一MPLS TE隧道以该第一ABR为入口节点(Ingress),以该第二ABR为出口节点(Egress)。In the embodiment of the present invention, the first BGP LSP uses the first ABR as an ingress node (Ingress), and uses the second ABR as an egress node (Egress). The first MPLS TE tunnel uses the first ABR as an ingress node (Ingress), and uses the second ABR as an egress node (Egress).
可选地,作为一个实施例,图1所示的方法还包括:该第一ABR向该第二ABR发布第二BGP标签路由,以便该第二ABR根据该第二BGP标签路由建立该第二ABR到该第一ABR的第二BGP LSP,并进一步根据该第二BGP LSP创建该第二ABR到该第一ABR的第二MPLS TE隧道。从而能够实现所述第一ABR到所述第二ABR的反向MPLS TE隧道的建立,完成了该第一ABR和该第二ABR之间端到端的双向隧道的创建,进而可以用来承载该第一ABR和该第二ABR之间诸如伪线(Pseudo Wire,PW)等的业务。Optionally, as an embodiment, the method shown in FIG. 1 further includes: the first ABR advertises a second BGP label route to the second ABR, so that the second ABR establishes the second BGP label route according to the second BGP label route. A second BGP LSP from the ABR to the first ABR, and further create a second MPLS TE tunnel from the second ABR to the first ABR according to the second BGP LSP. Thereby, the establishment of the reverse MPLS TE tunnel from the first ABR to the second ABR can be realized, and the establishment of the end-to-end bidirectional tunnel between the first ABR and the second ABR can be completed, which can then be used to carry the A service such as a pseudo wire (Pseudo Wire, PW) between the first ABR and the second ABR.
本发明实施例中,该第二BGP LSP以该第二ABR为Ingress,以该第一ABR为Egress。该第二MPLS TE隧道以该第二ABR为Ingress,以该第一ABR为Egress。In the embodiment of the present invention, the second BGP LSP uses the second ABR as an Ingress, and uses the first ABR as an Egress. The second MPLS TE tunnel uses the second ABR as an Ingress, and uses the first ABR as an Egress.
可选地,作为另一个实施例,图1所示的方法还包括:该第一ABR向该第二ABR发送隧道通告消息,该隧道通告消息包括该第一MPLS TE隧道的隧道信息,以便该第二ABR根据该第一MPLS TE隧道的隧道信息创建该第二ABR到该第一ABR的第三MPLS TE隧道,该第三MPLS TE隧道和该第一MPLS TE隧道为双向共路隧道。具体地,在该第一ABR创建该第一MPLSTE隧道之后,没有检测到有与该第一MPLS TE隧道共路的该第二ABR到该第一ABR的MPLS TE隧道时,该第一ABR向该第二ABR发送该隧道通告消息,该隧道通告消息包括该第一MPLS TE隧道的隧道信息。其中,该第三MPLS TE隧道和该第一MPLS TE隧道为双向共路隧道具体为:该第三MPLS TE隧道和该第一MPLS TE隧道的方向是相反的,并且该第三MPLS TE隧道和该第一MPLS TE隧道的路径是一致的。也就是说,具有相同路径的两条方向相反的隧道即可称为是双向共路隧道。Optionally, as another embodiment, the method shown in FIG. 1 further includes: the first ABR sends a tunnel notification message to the second ABR, and the tunnel notification message includes tunnel information of the first MPLS TE tunnel, so that the The second ABR creates a third MPLS TE tunnel from the second ABR to the first ABR according to the tunnel information of the first MPLS TE tunnel, and the third MPLS TE tunnel and the first MPLS TE tunnel are two-way shared tunnels. Specifically, after the first ABR creates the first MPLS TE tunnel, when it is not detected that there is an MPLS TE tunnel from the second ABR to the first ABR sharing the same path with the first MPLS TE tunnel, the first ABR sends The second ABR sends the tunnel notification message, where the tunnel notification message includes tunnel information of the first MPLS TE tunnel. Wherein, the third MPLS TE tunnel and the first MPLS TE tunnel are two-way co-channel tunnels specifically: the directions of the third MPLS TE tunnel and the first MPLS TE tunnel are opposite, and the third MPLS TE tunnel and the first MPLS TE tunnel The paths of the first MPLS TE tunnel are consistent. That is to say, two tunnels in opposite directions with the same path can be called two-way common-path tunnels.
可选地,作为另一个实施例,图1所示的方法还包括:该第一ABR在创建了该第一MPLS TE隧道之后,如果该第一BGP LSP被撤销且该第一BGP LSP是与该第一MPLS TE隧道关联的唯一BGP LSP时,删除该第一MPLS TE隧道。这样便实现了MPLS TE隧道随业务按需自动删除,能够节省带宽资源。Optionally, as another embodiment, the method shown in FIG. 1 further includes: after the first ABR creates the first MPLS TE tunnel, if the first BGP LSP is revoked and the first BGP LSP is connected to When the unique BGP LSP associated with the first MPLS TE tunnel is deleted, the first MPLS TE tunnel is deleted. In this way, MPLS TE tunnels are automatically deleted as required by services, saving bandwidth resources.
可选地,作为另一个实施例,该隧道通告消息为BGP更新(UPDATE)消息或标签分发协议(Label Distribution Protocol,LDP)映射(Mapping)消息。Optionally, as another embodiment, the tunnel advertisement message is a BGP update (UPDATE) message or a Label Distribution Protocol (Label Distribution Protocol, LDP) mapping (Mapping) message.
可选地,作为另一个实施例,该第一ABR也可通过其他方式向该第二ABR发送该第一MPLS TE隧道的隧道信息,本发明对此不作限定。Optionally, as another embodiment, the first ABR may also send the tunnel information of the first MPLS TE tunnel to the second ABR in other ways, which is not limited in the present invention.
可选地,作为另一个实施例,该隧道信息包括扩展的隧道标识、隧道标识和隧道端点地址。Optionally, as another embodiment, the tunnel information includes an extended tunnel identifier, a tunnel identifier, and a tunnel endpoint address.
在无缝MPLS场景中,各个区域负责各自区域内的路由连通,不会预先部署MPLS TE隧道。当第一ABR到第二ABR需要使用MPLS TE隧道传送用于业务时,第二ABR可以向第一ABR发送BGP标签路由,第一ABR在接收到BGP标签路由后,建立BGP LSP,并进一步根据BGP LSP来触发创建第一ABR到第二ABR的MPLS TE隧道,能够使MPLS TE隧道随业务按需自动建立,并且提高了MPLS TE隧道的配置效率。In a seamless MPLS scenario, each area is responsible for routing connectivity within its own area, and MPLS TE tunnels are not pre-deployed. When the first ABR needs to use the MPLS TE tunnel to transmit services for the second ABR, the second ABR can send the BGP label route to the first ABR, and the first ABR will establish a BGP LSP after receiving the BGP label route, and further according to The BGP LSP triggers the establishment of the MPLS TE tunnel from the first ABR to the second ABR, which can automatically establish the MPLS TE tunnel as required by the service, and improves the configuration efficiency of the MPLS TE tunnel.
图2是本发明另一个实施例的隧道建立的方法的流程示意图。图2所示的方法包括:Fig. 2 is a schematic flowchart of a method for establishing a tunnel according to another embodiment of the present invention. The methods shown in Figure 2 include:
201,第二ABR生成第一BGP标签路由。201. The second ABR generates a first BGP label route.
202,该第二ABR向该第一ABR发布该第一BGP标签路由,以便该第一ABR根据该第一BGP标签路由建立该第一ABR到该第二ABR的第一BGP LSP,并进一步根据该第一BGP LSP创建该第一ABR到该第二ABR的第一MPLS TE隧道。202. The second ABR advertises the first BGP label route to the first ABR, so that the first ABR establishes the first BGP LSP from the first ABR to the second ABR according to the first BGP label route, and further according to The first BGP LSP creates a first MPLS TE tunnel from the first ABR to the second ABR.
可见,通过本发明实施例提供的技术方案,当第一ABR到第二ABR需要使用MPLS TE隧道传送业务时,第二ABR可以向第一ABR发布BGP标签路由,第一ABR在接收到BGP标签路由后,建立BGP LSP,并进一步根据BGP LSP来触发创建该第一ABR到该第二ABR的MPLS TE隧道,能够使MPLS TE隧道随业务按需自动建立,并且提高了MPLS TE隧道的配置效率。It can be seen that through the technical solution provided by the embodiment of the present invention, when the first ABR needs to use the MPLS TE tunnel to transmit services from the first ABR to the second ABR, the second ABR can issue a BGP label route to the first ABR, and the first ABR receives the BGP label route. After routing, establish a BGP LSP, and further trigger the creation of the MPLS TE tunnel from the first ABR to the second ABR according to the BGP LSP, so that the MPLS TE tunnel can be automatically established as required by the service, and the configuration efficiency of the MPLS TE tunnel can be improved .
可选地,作为一个实施例,该方法还包括:该第二ABR接收该第一ABR发布的第二BGP标签路由。该第二ABR根据该第二BGP标签路由建立该第二ABR到该第一ABR的第二BGPLSP。该第二ABR根据该第二BGP LSP创建该第二ABR到该第一ABR的第二MPLS TE隧道。Optionally, as an embodiment, the method further includes: the second ABR receiving the second BGP label route advertised by the first ABR. The second ABR establishes a second BGPLSP from the second ABR to the first ABR according to the second BGP label route. The second ABR creates a second MPLS TE tunnel from the second ABR to the first ABR according to the second BGP LSP.
可选地,作为另一个实施例,该方法还包括:该第二ABR在创建了该第二MPLS TE隧道之后,如果该第二BGP LSP被撤销且该第二BGP LSP是与该第二MPLS TE隧道关联的唯一BGP LSP时,删除该第二MPLS TE隧道。这样便实现了MPLS TE隧道随业务按需自动删除,能够节省带宽资源。Optionally, as another embodiment, the method further includes: after the second ABR creates the second MPLS TE tunnel, if the second BGP LSP is revoked and the second BGP LSP is connected to the second MPLS If the only BGP LSP associated with the TE tunnel is selected, delete the second MPLS TE tunnel. In this way, MPLS TE tunnels are automatically deleted as required by services, saving bandwidth resources.
可选地,作为一个实施例,该方法还包括:该第二ABR接收该第一ABR发送的隧道通告消息,该隧道通告消息包括该第一MPLS TE隧道的隧道信息。该第二ABR根据该第一MPLSTE隧道的隧道信息,获取该第一MPLSTE隧道的路径信息。该第二ABR根据该第一MPLS TE隧道的路径信息,采用显式路径方式创建该第二ABR到该第一ABR的第三MPLS TE隧道,该第三MPLS TE隧道和该第一MPLS TE隧道为双向共路隧道。其中,该第三MPLS TE隧道和该第一MPLS TE隧道为双向共路隧道是指,该第三MPLS TE隧道和该第一MPLS TE隧道的方向是相反的,并且该第三MPLSTE隧道和该第一MPLS TE隧道的路径是一致的。也就是说,具有相同路径的两条方向相反的隧道即可称为是双向共路隧道。Optionally, as an embodiment, the method further includes: the second ABR receiving a tunnel notification message sent by the first ABR, where the tunnel notification message includes tunnel information of the first MPLS TE tunnel. The second ABR acquires path information of the first MPLS TE tunnel according to the tunnel information of the first MPLS TE tunnel. The second ABR uses an explicit path to create a third MPLS TE tunnel from the second ABR to the first ABR according to the path information of the first MPLS TE tunnel, the third MPLS TE tunnel and the first MPLS TE tunnel It is a two-way shared road tunnel. Wherein, the third MPLS TE tunnel and the first MPLS TE tunnel are bidirectional co-channel tunnels means that the directions of the third MPLS TE tunnel and the first MPLS TE tunnel are opposite, and the third MPLS TE tunnel and the first MPLS TE tunnel The paths of the first MPLS TE tunnel are consistent. That is to say, two tunnels in opposite directions with the same path can be called two-way common-path tunnels.
可选地,作为另一个实施例,该隧道信息包括扩展的隧道标识、隧道标识和隧道端点地址。Optionally, as another embodiment, the tunnel information includes an extended tunnel identifier, a tunnel identifier, and a tunnel endpoint address.
图3是本发明另一个实施例的隧道建立的过程的示意流程图。Fig. 3 is a schematic flowchart of a tunnel establishment process according to another embodiment of the present invention.
303,第二ABR 302生成第一BGP标签路由。303. The second ABR 302 generates a first BGP label route.
可选地,作为一个实施例,当第一ABR 301到第二ABR 302需要使用MPLS TE隧道用于传送业务时,第二ABR 302会生成第一BGP标签路由,该第一BGP标签路由的前缀部分可以为该第二ABR的地址,也可以是该第二ABR所在域的其他路由地址,本发明对此不作限定。Optionally, as an embodiment, when the first ABR 301 to the second ABR 302 need to use the MPLS TE tunnel to transmit services, the second ABR 302 will generate the first BGP label route, the prefix of the first BGP label route The part may be the address of the second ABR, or other routing addresses of the domain where the second ABR is located, which is not limited in the present invention.
可选地,作为一个实施例,该业务可以是二层虚拟私有网络(Layer 2VirtualPrivate Network,L2VPN),可以是三层虚拟私有网络(Layer 3 Virtual PrivateNetwork,L3VPN),还可以是PW,本发明对此不作限定。并且该业务需要诸如LSP或者TE隧道的传输通道进行承载。Optionally, as an embodiment, the service may be a Layer 2 Virtual Private Network (Layer 2VirtualPrivate Network, L2VPN), a Layer 3 Virtual Private Network (Layer 3 Virtual Private Network, L3VPN), or a PW. This is not limited. And the service needs to be carried by a transmission channel such as an LSP or a TE tunnel.
304,第二ABR 302向第一ABR 301发布该第一BGP标签路由。304. The second ABR 302 advertises the first BGP label route to the first ABR 301.
305,第一ABR 301接收到该第一BGP标签路由之后,建立该第一ABR301到该第二ABR 302的第一BGP LSP。305. After receiving the first BGP label route, the first ABR 301 establishes a first BGP LSP from the first ABR 301 to the second ABR 302.
306,第一ABR 301根据该第一BGP LSP创建该第一ABR 301到该第二ABR 302的第一MPLS TE隧道。306. The first ABR 301 creates a first MPLS TE tunnel from the first ABR 301 to the second ABR 302 according to the first BGP LSP.
可见,通过本发明实施例提供的技术方案,当第一ABR到第二ABR需要使用MPLS TE隧道传送业务时,第二ABR可以向第一ABR发布BGP标签路由,第一ABR在接收到BGP标签路由后,建立BGP LSP,并进一步根据BGP LSP来触发创建该第一ABR到该第二ABR的MPLS TE隧道,能够使MPLS TE隧道随业务按需自动建立,并且提高了MPLS TE隧道的配置效率。It can be seen that through the technical solution provided by the embodiment of the present invention, when the first ABR needs to use the MPLS TE tunnel to transmit services from the first ABR to the second ABR, the second ABR can issue a BGP label route to the first ABR, and the first ABR receives the BGP label route. After routing, establish a BGP LSP, and further trigger the creation of the MPLS TE tunnel from the first ABR to the second ABR according to the BGP LSP, so that the MPLS TE tunnel can be automatically established as required by the service, and the configuration efficiency of the MPLS TE tunnel can be improved .
可选地,作为一个实施例,在步骤306中,第一ABR 301在建立该第一BGP LSP之后,第一ABR 301创建该第一ABR 301到该第二ABR 302的第一MPLS TE隧道。具体地,在步骤306中,该第一ABR 301在建立了该第一BGP LSP之后,向该第二ABR 302发送资源预留协议(Resource Reservation Protocol,RSVP)路径(PATH)消息。该第二ABR 302接收到该RSVPPATH消息后向该第一ABR 301返回RSVP保留(RESV)消息。该第一ABR 301在收到该RSVPRESV消息之后创建该第一ABR 301到该第二ABR 302的该第一MPLS TE隧道。Optionally, as an embodiment, in step 306, after the first ABR 301 establishes the first BGP LSP, the first ABR 301 creates a first MPLS TE tunnel from the first ABR 301 to the second ABR 302 . Specifically, in step 306, the first ABR 301 sends a Resource Reservation Protocol (Resource Reservation Protocol, RSVP) path (PATH) message to the second ABR 302 after establishing the first BGP LSP. After receiving the RSVPPATH message, the second ABR 302 returns an RSVP reservation (RESV) message to the first ABR 301 . The first ABR 301 creates the first MPLS TE tunnel from the first ABR 301 to the second ABR 302 after receiving the RSVPRESV message.
可选地,作为另一个实施例,第一ABR 301在步骤306创建了该第一MPLS TE隧道之后,如果该第一BGP LSP被撤销且该第一BGP LSP是与该第一MPLS TE隧道关联的唯一BGPLSP时,删除该第一MPLS TE隧道。具体地,该第一BGP标签路由会随业务变化不断刷新,也即该第一BGP LSP也会不断刷新。当第二ABR 302在预定的时间段内没有发布刷新的第一BGP标签路由,并且该第一BGP LSP是与该第一MPLS TE隧道关联的唯一BGP LSP时,第一ABR301删除已经创建的第一MPLS TE隧道。这样便实现了MPLS TE隧道随业务按需自动删除,能够节省带宽资源。Optionally, as another embodiment, after the first ABR 301 creates the first MPLS TE tunnel in step 306, if the first BGP LSP is revoked and the first BGP LSP is associated with the first MPLS TE tunnel If it is the only BGPLSP, delete the first MPLS TE tunnel. Specifically, the first BGP label route will be constantly refreshed as services change, that is, the first BGP LSP will also be constantly refreshed. When the second ABR 302 does not publish a refreshed first BGP label route within a predetermined period of time, and the first BGP LSP is the only BGP LSP associated with the first MPLS TE tunnel, the first ABR 301 deletes the created first BGP LSP One MPLS TE tunnel. In this way, MPLS TE tunnels are automatically deleted as required by services, saving bandwidth resources.
可选地,作为另一个实施例,在步骤306之后,如图4所示,该过程还可以包括:Optionally, as another embodiment, after step 306, as shown in FIG. 4, the process may further include:
407,第一ABR 301生成第二BGP标签路由。407. The first ABR 301 generates a second BGP label route.
可选地,作为一个实施例,当第二ABR 302到第一ABR 301需要使用MPLS TE隧道传送业务时,第一ABR 301会生成第二BGP标签路由。Optionally, as an embodiment, when the second ABR 302 to the first ABR 301 need to use the MPLS TE tunnel to transmit services, the first ABR 301 will generate the second BGP label route.
可选地,作为一个实施例,该业务可以是L2VPN,可以是L3VPN,还可以是PW,本发明对此不作限定。并且该业务需要诸如LSP或者TE隧道的传输通道进行承载。Optionally, as an embodiment, the service may be L2VPN, L3VPN, or PW, which is not limited in the present invention. And the service needs to be carried by a transmission channel such as an LSP or a TE tunnel.
408,第一ABR 301向第二ABR 302发布该第二BGP标签路由。408. The first ABR 301 advertises the second BGP label route to the second ABR 302.
409,第二ABR 302接收到该第二BGP标签路由之后,建立该第二ABR302到该第一ABR 301的第二BGP LSP。409. After receiving the second BGP label route, the second ABR 302 establishes a second BGP LSP from the second ABR 302 to the first ABR 301.
410,第二ABR 302根据该第二BGP LSP创建该第二ABR 302到该第一ABR 301的第二MPLS TE隧道。410. The second ABR 302 creates a second MPLS TE tunnel from the second ABR 302 to the first ABR 301 according to the second BGP LSP.
可选地,作为一个实施例,在步骤410中,第二ABR 302在建立该第二BGP LSP之后,第二ABR 302创建该第二ABR 302到该第一ABR 301的第二MPLS TE隧道。具体地,在步骤410中,该第二ABR 302在建立了该第二BGP LSP之后,向该第一ABR 301发送RSVP PATH消息。该第一ABR 301接收到该RSVP PATH消息后向该第二ABR 302返回RSVP RESV消息。该第二ABR302在收到该RSVP RESV消息之后创建该第二ABR 302到该第一ABR 301的该第二MPLS TE隧道。Optionally, as an embodiment, in step 410, after the second ABR 302 establishes the second BGP LSP, the second ABR 302 creates a second MPLS TE tunnel from the second ABR 302 to the first ABR 301 . Specifically, in step 410, the second ABR 302 sends an RSVP PATH message to the first ABR 301 after establishing the second BGP LSP. The first ABR 301 returns an RSVP RESV message to the second ABR 302 after receiving the RSVP PATH message. The second ABR 302 creates the second MPLS TE tunnel from the second ABR 302 to the first ABR 301 after receiving the RSVP RESV message.
可选地,作为另一个实施例,第二ABR 302在步骤410创建了该第二MPLS TE隧道之后,如果该第二BGP LSP被撤销且该第二BGP LSP是与该第二MPLS TE隧道关联的唯一BGPLSP时,删除该第二MPLS TE隧道。这样便实现了MPLS TE隧道随业务按需自动删除,能够节省带宽资源。Optionally, as another embodiment, after the second ABR 302 creates the second MPLS TE tunnel in step 410, if the second BGP LSP is revoked and the second BGP LSP is associated with the second MPLS TE tunnel If it is the only BGPLSP, delete the second MPLS TE tunnel. In this way, MPLS TE tunnels are automatically deleted as required by services, saving bandwidth resources.
应注意,本发明实施例中该第二MPLS TE隧道的创建和该第一MPLSTE隧道的创建时相互独立的,两者不相互依赖。这样,本发明实施例通过发布的BGP标签路由建立的BGPLSP来触发创建所需的MPLS TE隧道。当双向的BGP LSP分别建立之后,就触发创建了端到端的双向MPLS TE隧道。It should be noted that in this embodiment of the present invention, the creation of the second MPLS TE tunnel and the creation of the first MPLS TE tunnel are independent of each other, and the two do not depend on each other. In this way, the embodiment of the present invention triggers the establishment of the required MPLS TE tunnel through the BGPLSP established by the advertised BGP label route. After the bidirectional BGP LSPs are respectively established, the creation of an end-to-end bidirectional MPLS TE tunnel is triggered.
图5是本发明另一个实施例的隧道建立的过程的示意流程图。Fig. 5 is a schematic flowchart of a tunnel establishment process according to another embodiment of the present invention.
503,第二ABR 502生成第一BGP标签路由。503. The second ABR 502 generates the first BGP label route.
具体地,当第一ABR 501到第二ABR 502需要使用MPLS TE隧道用于传送业务时,第二ABR 502会生成第一BGP标签路由。本发明实施例中的业务可以是L2VPN,可以是L3VPN,还可以是PW,本发明对此不作限定。并且该业务需要诸如LSP或者TE隧道的传输通道进行承载。Specifically, when the first ABR 501 to the second ABR 502 need to use the MPLS TE tunnel to transmit services, the second ABR 502 will generate the first BGP label route. The service in the embodiment of the present invention may be L2VPN, L3VPN, or PW, which is not limited in the present invention. And the service needs to be carried by a transmission channel such as an LSP or a TE tunnel.
504,第二ABR 502向第一ABR 501发布该第一BGP标签路由。504. The second ABR 502 advertises the first BGP label route to the first ABR 501.
505,第一ABR 501接收到该第一BGP标签路由之后,建立该第一ABR501到该第二ABR 502的第一BGP LSP。505. After receiving the first BGP label route, the first ABR 501 establishes a first BGP LSP from the first ABR 501 to the second ABR 502.
506,第一ABR 501根据该第一BGP LSP创建该第一ABR 501到该第二ABR 502的第一MPLS TE隧道。506. The first ABR 501 creates a first MPLS TE tunnel from the first ABR 501 to the second ABR 502 according to the first BGP LSP.
可选地,作为一个实施例,如果在步骤506之前已经存在第一ABR 501到第二ABR502的现有MPLS TE隧道,那么该第一ABR 501在建立该BGP LSP之后,将该现有MPLS TE隧道替换为该第一MPLS TE隧道。Optionally, as an embodiment, if there is already an existing MPLS TE tunnel from the first ABR 501 to the second ABR 502 before step 506, then the first ABR 501, after establishing the BGP LSP, uses the existing MPLS TE tunnel The tunnel is replaced by the first MPLS TE tunnel.
507,在该第一MPLS TE隧道创建之后,如果没有检测到有与该第一MPLS TE隧道共路的该第二ABR 502到该第一ABR 501的MPLS TE隧道时,该第一ABR 501向该第二ABR 502发送隧道通告消息,该隧道通告消息包括该第一MPLS TE隧道的隧道信息。507. After the first MPLS TE tunnel is created, if it is not detected that there is an MPLS TE tunnel from the second ABR 502 to the first ABR 501 sharing the same path as the first MPLS TE tunnel, the first ABR 501 sends The second ABR 502 sends a tunnel advertisement message, where the tunnel advertisement message includes tunnel information of the first MPLS TE tunnel.
可选地,作为一个实施例,该隧道通告消息为BGP UPDATE消息或LDP Mapping消息。Optionally, as an embodiment, the tunnel advertisement message is a BGP UPDATE message or an LDP Mapping message.
可选地,作为另一个实施例,该第一ABR也可通过其他方式向该第二ABR发送该隧道通告消息,本发明对此不作限定。Optionally, as another embodiment, the first ABR may also send the tunnel notification message to the second ABR in other ways, which is not limited in the present invention.
可选地,作为一个实施例,该第一MPLS TE隧道的隧道信息包括扩展的隧道标识、隧道标识和隧道端点地址。该扩展的隧道标识包括隧道类型和隧道名称。Optionally, as an embodiment, the tunnel information of the first MPLS TE tunnel includes an extended tunnel identifier, a tunnel identifier, and a tunnel endpoint address. The extended tunnel identifier includes tunnel type and tunnel name.
可选地,作为一个实施例,该隧道通告信息通过协议中的“Tunnel EncapsulationAttribute(隧道封装属性)”携带进行传递,如图6所示,隧道封装属性包括一组类型-长度-值(Type-Length-Value,TLV)的编码值。其中隧道类型(Tunnel Type)字段为2个八位字节(Octets),长度(Length)字段为2个八位字节,值(Value)字段会携带该隧道信息的具体内容,如图7所示,其中:Optionally, as an embodiment, the tunnel notification information is carried and transmitted through the "Tunnel EncapsulationAttribute (tunnel encapsulation attribute)" in the protocol. As shown in FIG. 6, the tunnel encapsulation attribute includes a set of type-length-value (Type- Length-Value, TLV) encoded value. Among them, the tunnel type (Tunnel Type) field is 2 octets (Octets), the length (Length) field is 2 octets, and the value (Value) field will carry the specific content of the tunnel information, as shown in Figure 7 shown, where:
扩展的隧道标识(Extended Tunnel ID),用于携带所述第一ABR的标识;An extended tunnel identifier (Extended Tunnel ID), used to carry the identifier of the first ABR;
隧道标识(Tunnel ID),用于标识所述第一MPLS TE隧道;A tunnel identifier (Tunnel ID), used to identify the first MPLS TE tunnel;
隧道端点地址(Tunnel End Point Address),用于标识所述第一MPLS TE隧道的目的地址,即所述第二ABR的地址。Tunnel End Point Address (Tunnel End Point Address), used to identify the destination address of the first MPLS TE tunnel, that is, the address of the second ABR.
该Extended Tunnel ID、Tunnel ID和Tunnel End Point Address用于唯一标识所述第一MPLS TE隧道。The Extended Tunnel ID, Tunnel ID and Tunnel End Point Address are used to uniquely identify the first MPLS TE tunnel.
可选地,作为另一个实施例,该隧道类型为8,该隧道名称为RSVP-TELSP,见表1所示。应注意,本发明实施例中的隧道类型8仅是一个示意性的例子,该隧道类型值实际是由互联网编号分配机构(Internet Assigned Numbers Authority,IANA)分配的隧道类型编码值,可以是从8至65535中的任意一个值,本发明对此不作限定。Optionally, as another embodiment, the tunnel type is 8, and the tunnel name is RSVP-TELSP, as shown in Table 1. It should be noted that the tunnel type 8 in the embodiment of the present invention is only an illustrative example, and the tunnel type value is actually a tunnel type code value assigned by the Internet Assigned Numbers Authority (IANA), which can be from 8 to Any value from 65535 to 65535, which is not limited by the present invention.
表1Table 1
508,该第二ABR 502根据该第一MPLS TE隧道的隧道信息,获取该第一MPLS TE隧道的路径信息。508. The second ABR 502 acquires path information of the first MPLS TE tunnel according to the tunnel information of the first MPLS TE tunnel.
可选地,作为一个实施例,该第二ABR 502接收该隧道通告消息之后,识别隧道类型以确定该隧道信息是用于指示该MPLS TE隧道的。例如,如表1所示的一例,该第二ABR502识别出隧道类型为8,确定其隧道名称为RSVP-TE LSP,然后该第二ABR 502根据该第一MPLS TE隧道的隧道信息,具体地,该第二ABR 502查找该第一MPLS TE隧道的隧道信息中的隧道标识和流量工程数据库(Traffic Engineering DataBase,TEDB)以获取该第一MPLSTE隧道的路径信息。Optionally, as an embodiment, after receiving the tunnel advertisement message, the second ABR 502 identifies the tunnel type to determine that the tunnel information is used to indicate the MPLS TE tunnel. For example, as an example shown in Table 1, the second ABR 502 recognizes that the tunnel type is 8, determines that the tunnel name is RSVP-TE LSP, and then the second ABR 502, according to the tunnel information of the first MPLS TE tunnel, specifically , the second ABR 502 searches the tunnel identifier and the traffic engineering database (Traffic Engineering DataBase, TEDB) in the tunnel information of the first MPLS TE tunnel to obtain the path information of the first MPLS TE tunnel.
509,该第二ABR 502根据该第一MPLS TE隧道的路径信息,采用显式路径方式创建该第二ABR 502到该第一ABR401的第三MPLS TE隧道,该第三MPLS TE隧道和该第一MPLS TE隧道为双向共路隧道。其中,该第三MPLS TE隧道和该第一MPLS TE隧道为双向共路隧道是指,该第三MPLS TE隧道和该第一MPLS TE隧道的方向是相反的,并且该第三MPLS TE隧道和该第一MPLS TE隧道的路径是一致的。也就是说,具有相同路径的两条方向相反的隧道即可称为是双向共路隧道。509. The second ABR 502 uses an explicit path to create a third MPLS TE tunnel from the second ABR 502 to the first ABR 401 according to the path information of the first MPLS TE tunnel, and the third MPLS TE tunnel and the first MPLS TE tunnel An MPLS TE tunnel is a bidirectional co-channel tunnel. Wherein, the third MPLS TE tunnel and the first MPLS TE tunnel are two-way co-channel tunnels, which means that the directions of the third MPLS TE tunnel and the first MPLS TE tunnel are opposite, and the third MPLS TE tunnel and the The paths of the first MPLS TE tunnel are consistent. That is to say, two tunnels in opposite directions with the same path can be called two-way common-path tunnels.
可见,通过本发明实施例提供的技术方案,当第一ABR到第二ABR需要使用MPLS TE隧道传送业务时,第二ABR可以向第一ABR发布BGP标签路由,第一ABR在接收到BGP标签路由后,建立BGP LSP,并进一步根据BGP LSP来触发创建该第一ABR到该第二ABR的MPLS TE隧道,能够使MPLS TE隧道随业务按需自动建立,并且提高了MPLS TE隧道的配置效率。It can be seen that through the technical solution provided by the embodiment of the present invention, when the first ABR needs to use the MPLS TE tunnel to transmit services from the first ABR to the second ABR, the second ABR can issue a BGP label route to the first ABR, and the first ABR receives the BGP label route. After routing, establish a BGP LSP, and further trigger the creation of the MPLS TE tunnel from the first ABR to the second ABR according to the BGP LSP, so that the MPLS TE tunnel can be automatically established as required by the service, and the configuration efficiency of the MPLS TE tunnel can be improved .
可选地,作为一个实施例,第一ABR 501在步骤506创建了该第一MPLSTE隧道之后,如果该第一BGP LSP被撤销且该第一BGP LSP是与该第一MPLS TE隧道关联的唯一BGP LSP时,删除该第一MPLS TE隧道。具体地,该第一BGP标签路由会随业务变化不断刷新,也即该第一BGP LSP也会不断刷新。当第二ABR 502在预定的时间段内没有发布刷新的第一BGP标签路由,并且该第一BGP LSP是与该第一MPLS TE隧道关联的唯一BGP LSP时,第一ABR 501删除已经创建的第一MPLS TE隧道。这样,便实现了MPLS TE隧道的按需删除。Optionally, as an embodiment, after the first ABR 501 creates the first MPLS TE tunnel in step 506, if the first BGP LSP is revoked and the first BGP LSP is the only one associated with the first MPLS TE tunnel For BGP LSP, delete the first MPLS TE tunnel. Specifically, the first BGP label route will be constantly refreshed as services change, that is, the first BGP LSP will also be constantly refreshed. When the second ABR 502 does not publish a refreshed first BGP label route within a predetermined period of time, and the first BGP LSP is the only BGP LSP associated with the first MPLS TE tunnel, the first ABR 501 deletes the created The first MPLS TE tunnel. In this way, the on-demand deletion of the MPLS TE tunnel is realized.
这样,本发明实施例通过由与业务相关的BGP标签路由建立的BGP LSP来触发MPLSTE隧道的创建,实现了MPLS TE隧道的随业务按需自动建立,并且每一段MPLS TE隧道都有与之严格双向共路的反向MPLS TE隧道。In this way, the embodiment of the present invention triggers the establishment of the MPLS TE tunnel through the BGP LSP established by the BGP label route related to the service, and realizes the automatic establishment of the MPLS TE tunnel as required by the service, and each section of the MPLS TE tunnel has a strict Two-way co-channel reverse MPLS TE tunnel.
图8是本发明另一个实施例的隧道建立的过程的示意流程图。本发明实施例中的步骤803至806可参见前述图5中的步骤503至506,本发明实施例中的步骤813至815可参见前述图5中的步骤507至509,为避免重复,这里不再赘述。Fig. 8 is a schematic flowchart of a tunnel establishment process according to another embodiment of the present invention. For steps 803 to 806 in the embodiment of the present invention, refer to steps 503 to 506 in the aforementioned FIG. 5 . For steps 813 to 815 in the embodiment of the present invention, refer to steps 507 to 509 in the aforementioned FIG. 5 . Let me repeat.
803,第二ABR 802生成第一BGP标签路由。803. The second ABR 802 generates the first BGP label route.
具体地,当第一ABR 801到第二ABR 802需要使用MPLS TE隧道用于传送业务时,第二ABR 802会生成第一BGP标签路由。本发明实施例中的业务可以是L2VPN,可以是L3VPN,还可以是PW,本发明对此不作限定。并且该业务需要诸如LSP或者TE隧道的传输通道进行承载。Specifically, when the first ABR 801 to the second ABR 802 need to use the MPLS TE tunnel to transmit services, the second ABR 802 will generate the first BGP label route. The service in the embodiment of the present invention may be L2VPN, L3VPN, or PW, which is not limited in the present invention. And the service needs to be carried by a transmission channel such as an LSP or a TE tunnel.
804,第二ABR 802向第一ABR 801发布该第一BGP标签路由。804. The second ABR 802 advertises the first BGP labeled route to the first ABR 801.
805,第一ABR 801接收到该第一BGP标签路由之后,建立该第一ABR 801到该第二ABR 802的第一BGP LSP。805. After receiving the first BGP label route, the first ABR 801 establishes a first BGP LSP from the first ABR 801 to the second ABR 802.
806,第一ABR 801根据该第一BGP LSP创建该第一ABR 801到该第二ABR 802的第一MPLS TE隧道。806. The first ABR 801 creates a first MPLS TE tunnel from the first ABR 801 to the second ABR 802 according to the first BGP LSP.
可选地,作为一个实施例,如果在步骤806之前已经存在第一ABR 801到第二ABR802的现有MPLS TE隧道,那么该第一ABR 801在建立该BGP LSP之后,将该现有MPLS TE隧道替换为该第一MPLS TE隧道。Optionally, as an embodiment, if there is an existing MPLS TE tunnel from the first ABR 801 to the second ABR 802 before step 806, after the first ABR 801 establishes the BGP LSP, the existing MPLS TE tunnel The tunnel is replaced by the first MPLS TE tunnel.
807,在该第一MPLS TE隧道创建之后,如果检测到有与该第一MPLS TE隧道共路的该第二ABR 802到该第一ABR 801的现有MPLS TE隧道时,将该现有MPLS TE隧道确定为第三MPLS TE隧道。并且该第三MPLS TE隧道与该第一MPLS TE隧道双向共路。807. After the first MPLS TE tunnel is created, if it is detected that there is an existing MPLS TE tunnel from the second ABR 802 to the first ABR 801 that is on the same path as the first MPLS TE tunnel, send the existing MPLS TE tunnel to the first ABR 801. The TE tunnel is determined as the third MPLS TE tunnel. And the third MPLS TE tunnel is bidirectionally shared with the first MPLS TE tunnel.
808,该第一ABR 801在创建了该第一MPLS TE隧道之后,如果该第一BGP LSP被撤销且该第一BGP LSP是与该第一MPLS TE隧道关联的唯一BGP LSP时,删除该第一MPLS TE隧道。808. After the first ABR 801 creates the first MPLS TE tunnel, if the first BGP LSP is revoked and the first BGP LSP is the only BGP LSP associated with the first MPLS TE tunnel, delete the first BGP LSP One MPLS TE tunnel.
809,第一ABR 801生成第二BGP标签路由。809. The first ABR 801 generates a second BGP label route.
具体地,当第二ABR 802到第一ABR 801需要使用MPLS TE隧道用于传送业务时,向第一ABR 801申请标签,此时第一ABR 801生成第一BGP标签路由。本发明实施例中的业务可以是L2VPN,可以是L3VPN,还可以是PW,本发明对此不作限定。并且该业务需要诸如LSP或者TE隧道的传输通道进行承载。Specifically, when the second ABR 802 to the first ABR 801 need to use the MPLS TE tunnel to transmit services, they apply for a label from the first ABR 801, and at this time, the first ABR 801 generates a first BGP label route. The service in the embodiment of the present invention may be L2VPN, L3VPN, or PW, which is not limited in the present invention. And the service needs to be carried by a transmission channel such as an LSP or a TE tunnel.
810,第一ABR 801向第二ABR 802发布该第二BGP标签路由。810. The first ABR 801 advertises the second BGP labeled route to the second ABR 802.
811,第二ABR 802接收到该第二BGP标签路由之后,建立该第二ABR 802到该第一ABR 801的第二BGP LSP。811. After receiving the second BGP label route, the second ABR 802 establishes a second BGP LSP from the second ABR 802 to the first ABR 801.
812,第二ABR 802根据该第二BGP LSP将步骤807所创建的第三MPLS TE隧道替换为第四MPLS TE隧道。812. The second ABR 802 replaces the third MPLS TE tunnel created in step 807 with the fourth MPLS TE tunnel according to the second BGP LSP.
具体地,第二ABR 802建立该第二BGP LSP之后,检测到存在有该第二ABR 802到该第一ABR 801的第三MPLS TE隧道后,将该第三MPLS TE隧道替换为根据该第二BGP LSP创建的该第二ABR 802到该第一ABR 801的第四MPLS TE隧道。其中,该第四MPLS TE隧道以该第二ABR 802为Ingress,以该第一ABR 801为Egress。Specifically, after the second ABR 802 establishes the second BGP LSP, after detecting that there is a third MPLS TE tunnel from the second ABR 802 to the first ABR 801, the third MPLS TE tunnel is replaced by a A fourth MPLS TE tunnel from the second ABR 802 to the first ABR 801 created by the second BGP LSP. Wherein, the fourth MPLS TE tunnel uses the second ABR 802 as an Ingress, and uses the first ABR 801 as an Egress.
813,该第二ABR 802向该第一ABR 801发送隧道通告消息,该隧道通告消息包括该第四MPLS TE隧道的隧道信息。813. The second ABR 802 sends a tunnel notification message to the first ABR 801, where the tunnel notification message includes tunnel information of the fourth MPLS TE tunnel.
可选地,作为另一个实施例,该隧道通告消息为BGP UPDATE消息或LDP Mapping消息。Optionally, as another embodiment, the tunnel advertisement message is a BGP UPDATE message or an LDP Mapping message.
可选地,作为另一个实施例,该第二ABR 802也可通过其他方式向该第一ABR 801发送该第一MPLS TE隧道的隧道信息,本发明对此不作限定。Optionally, as another embodiment, the second ABR 802 may also send the tunnel information of the first MPLS TE tunnel to the first ABR 801 in other ways, which is not limited in the present invention.
可选地,作为一个实施例,该第四MPLS TE隧道的隧道信息包括扩展的隧道标识、隧道标识和隧道端点地址。其中该扩展的隧道标识包括隧道类型和隧道名称。Optionally, as an embodiment, the tunnel information of the fourth MPLS TE tunnel includes an extended tunnel identifier, a tunnel identifier, and a tunnel endpoint address. The extended tunnel identifier includes a tunnel type and a tunnel name.
可选地,作为另一个实施例,该扩展的隧道标识中的隧道类型为8,该隧道名称为RSVP-TE LSP,见表1所示。应注意,本发明实施例中的隧道类型8仅是一个示意性的例子,该隧道类型值实际是由IANA分配的隧道类型编码值,可以是从8至65535中的任意一个值,本发明对此不作限定。Optionally, as another embodiment, the tunnel type in the extended tunnel identifier is 8, and the tunnel name is RSVP-TE LSP, as shown in Table 1. It should be noted that the tunnel type 8 in the embodiment of the present invention is only an illustrative example, and the tunnel type value is actually a tunnel type code value assigned by IANA, which can be any value from 8 to 65535. This is not limited.
814,该第一ABR 801根据接收到的该隧道通告消息之后,根据其中的第四MPLS TE隧道的隧道信息,获取该第四MPLS TE隧道的路径信息。814. The first ABR 801 obtains the path information of the fourth MPLS TE tunnel according to the tunnel information of the fourth MPLS TE tunnel in the received tunnel advertisement message.
815,该第一ABR 801根据该第四MPLS TE隧道的路径信息,采用显式路径方式创建该第一ABR 801到该第二ABR 802的第五MPLS TE隧道,该第五MPLS TE隧道和该第四MPLSTE隧道为双向共路隧道。815. The first ABR 801 uses an explicit path to create a fifth MPLS TE tunnel from the first ABR 801 to the second ABR 802 according to the path information of the fourth MPLS TE tunnel, and the fifth MPLS TE tunnel and the The fourth MPLS TE tunnel is a bidirectional co-channel tunnel.
可见,通过本发明实施例提供的技术方案,当第一ABR到第二ABR需要使用MPLS TE隧道传送业务时,第二ABR可以向第一ABR发布BGP标签路由,第一ABR在接收到BGP标签路由后,建立BGP LSP,并进一步根据BGP LSP来触发创建该第一ABR到该第二ABR的MPLS TE隧道,能够使MPLS TE隧道随业务按需自动建立,并且提高了MPLS TE隧道的配置效率。It can be seen that through the technical solution provided by the embodiment of the present invention, when the first ABR needs to use the MPLS TE tunnel to transmit services from the first ABR to the second ABR, the second ABR can issue a BGP label route to the first ABR, and the first ABR receives the BGP label route. After routing, establish a BGP LSP, and further trigger the creation of the MPLS TE tunnel from the first ABR to the second ABR according to the BGP LSP, so that the MPLS TE tunnel can be automatically established as required by the service, and the configuration efficiency of the MPLS TE tunnel can be improved .
图9是本发明一个实施例的第一ABR 900的结构示意图。图9所示的第一ABR 900包括接收单元901和处理单元902。Fig. 9 is a schematic structural diagram of a first ABR 900 according to an embodiment of the present invention. The first ABR 900 shown in FIG. 9 includes a receiving unit 901 and a processing unit 902 .
接收单元901,用于接收第二ABR发布的第一BGP标签路由。处理单元902,用于根据该第一BGP标签路由建立该第一ABR到该第二ABR的第一BGP LSP,并进一步根据该第一BGPLSP创建该第一ABR到该第二ABR的第一MPLS TE隧道。The receiving unit 901 is configured to receive the first BGP label route advertised by the second ABR. A processing unit 902, configured to establish a first BGP LSP from the first ABR to the second ABR according to the first BGP label route, and further create a first MPLS from the first ABR to the second ABR according to the first BGP LSP TE tunnel.
可见,通过本发明实施例提供的技术方案,当第一ABR 900到第二ABR需要使用MPLS TE隧道传送业务时,第二ABR可以向第一ABR 900发布BGP标签路由,第一ABR 900在接收到BGP标签路由后,建立BGP LSP,并进一步根据BGP LSP来触发创建该第一ABR 900到该第二ABR的MPLS TE隧道,能够使MPLS TE隧道随业务按需自动建立,并且提高了MPLS TE隧道的配置效率。It can be seen that through the technical solution provided by the embodiment of the present invention, when the first ABR 900 needs to use the MPLS TE tunnel to transmit services to the second ABR, the second ABR can issue a BGP label route to the first ABR 900, and the first ABR 900 receives After reaching the BGP label route, establish a BGP LSP, and further trigger the creation of an MPLS TE tunnel from the first ABR 900 to the second ABR according to the BGP LSP, so that the MPLS TE tunnel can be automatically established as required by the service, and the MPLS TE tunnel can be improved. Tunnel configuration efficiency.
第一ABR 900能够实现图1至图6的实施例中由第一ABR执行的各个过程,为避免重复,这里不再赘述。The first ABR 900 can implement various processes performed by the first ABR in the embodiments of FIG. 1 to FIG. 6 , and details are not repeated here to avoid repetition.
可选地,作为一个实施例,该第一ABR 900还包括发送单元903,用于向该第二ABR发布第二BGP标签路由,以便该第二ABR根据该第二BGP标签路由建立该第二ABR到该第一ABR的第二BGP LSP,并进一步根据该第二BGP LSP创建该第二ABR到该第一ABR的第二MPLSTE隧道。Optionally, as an embodiment, the first ABR 900 further includes a sending unit 903, configured to advertise a second BGP label route to the second ABR, so that the second ABR can establish the second BGP label route according to the second BGP label route. A second BGP LSP from the ABR to the first ABR, and further creating a second MPLSTE tunnel from the second ABR to the first ABR according to the second BGP LSP.
可选地,作为另一个实施例,该发送单元903,还用于向该第二ABR发送隧道通告消息,该隧道通告消息包括该第一MPLS TE隧道的隧道信息,以便该第二ABR根据该第一MPLSTE隧道的隧道信息创建该第二ABR到该第一ABR的第三MPLS TE隧道,该第三MPLS TE隧道和该第一MPLS TE隧道为双向共路隧道。具体地,在该第一ABR创建该第一MPLS TE隧道之后,没有检测到有与该第一MPLS TE隧道共路的该第二ABR到该第一ABR的MPLS TE隧道时,向该第二ABR发送该隧道通告消息。Optionally, as another embodiment, the sending unit 903 is further configured to send a tunnel notification message to the second ABR, where the tunnel notification message includes tunnel information of the first MPLS TE tunnel, so that the second ABR can transmit the tunnel notification message according to the The tunnel information of the first MPLS TE tunnel creates a third MPLS TE tunnel from the second ABR to the first ABR, and the third MPLS TE tunnel and the first MPLS TE tunnel are two-way co-channel tunnels. Specifically, after the first ABR creates the first MPLS TE tunnel, if it is not detected that there is an MPLS TE tunnel from the second ABR that shares the path with the first MPLS TE tunnel to the first ABR, the second ABR The ABR sends the tunnel advertisement message.
可选地,作为另一个实施例,处理单元902还用于在创建了该第一MPLSTE隧道之后,如果该第一BGP LSP被撤销且该第一BGP LSP是与该第一MPLS TE隧道关联的唯一BGPLSP时,删除该第一MPLS TE隧道。Optionally, as another embodiment, the processing unit 902 is further configured to, after the first MPLS TE tunnel is created, if the first BGP LSP is revoked and the first BGP LSP is associated with the first MPLS TE tunnel When the only BGPLSP is used, delete the first MPLS TE tunnel.
图10是本发明一个实施例的第二ABR 1000的结构示意图。图10所示的第二ABR1000包括生成单元1001和发送单元1002。Fig. 10 is a schematic structural diagram of a second ABR 1000 according to an embodiment of the present invention. The second ABR 1000 shown in FIG. 10 includes a generating unit 1001 and a sending unit 1002 .
生成单元1001,用于生成第一BGP标签路由。发送单元1002,用于向第一ABR发布该第一BGP标签路由,以便该第一ABR根据该第一BGP标签路由建立该第一ABR到该第二ABR的第一BGP LSP,并进一步根据该第一BGP LSP创建该第一ABR到该第二ABR的第一MPLS TE隧道。The generating unit 1001 is configured to generate a first BGP label route. The sending unit 1002 is configured to advertise the first BGP label route to the first ABR, so that the first ABR establishes the first BGP LSP from the first ABR to the second ABR according to the first BGP label route, and further according to the The first BGP LSP creates a first MPLS TE tunnel from the first ABR to the second ABR.
可见,通过本发明实施例提供的技术方案,当第一ABR到第二ABR 1000需要使用MPLS TE隧道传送业务时,第二ABR 1000可以向第一ABR发布BGP标签路由,第一ABR在接收到BGP标签路由后,建立BGP LSP,并进一步根据BGP LSP来触发创建该第一ABR到该第二ABR1000的MPLS TE隧道,能够使MPLS TE隧道随业务按需自动建立,并且提高了MPLS TE隧道的配置效率。It can be seen that through the technical solution provided by the embodiment of the present invention, when the first ABR needs to use the MPLS TE tunnel to transmit services from the first ABR to the second ABR 1000, the second ABR 1000 can advertise BGP label routes to the first ABR, and the first ABR receives After BGP label routing, establish a BGP LSP, and further trigger the creation of an MPLS TE tunnel from the first ABR to the second ABR1000 according to the BGP LSP, so that the MPLS TE tunnel can be automatically established as required by the service, and the performance of the MPLS TE tunnel can be improved. Configuration efficiency.
第二ABR 1000能够实现图1至图6的实施例中由第二ABR实现的各个过程,为避免重复,这里不再赘述。The second ABR 1000 can implement various processes implemented by the second ABR in the embodiments of FIG. 1 to FIG. 6 , and details are not repeated here to avoid repetition.
可选地,作为一个实施例,该第二ABR 1000还包括接收单元1003和处理单元1004。Optionally, as an embodiment, the second ABR 1000 further includes a receiving unit 1003 and a processing unit 1004 .
接收单元1003,用于接收该第一ABR发布的第二BGP标签路由。处理单元1004,用于根据该第二BGP标签路由建立该第二ABR到该第一ABR的第二BGP LSP,并进一步根据该第二BGP LSP创建该第二ABR到该第一ABR的第二MPLS TE隧道。The receiving unit 1003 is configured to receive the second BGP label route advertised by the first ABR. The processing unit 1004 is configured to establish a second BGP LSP from the second ABR to the first ABR according to the second BGP label route, and further create a second BGP LSP from the second ABR to the first ABR according to the second BGP LSP. MPLS TE tunnel.
可选地,作为另一个实施例,该处理单元1004,还用于在创建了该第二MPLS TE隧道之后,如果该第二BGP LSP被撤销且该第二BGP LSP是与该第二MPLS TE隧道关联的唯一BGP LSP时,删除该第二MPLS TE隧道。Optionally, as another embodiment, the processing unit 1004 is further configured to, after the second MPLS TE tunnel is created, if the second BGP LSP is revoked and the second BGP LSP is connected to the second MPLS TE If the only BGP LSP associated with the tunnel is selected, delete the second MPLS TE tunnel.
可选地,作为另一个实施例,该接收单元1003,还用于接收该第一ABR发送的隧道通告消息,该隧道通告消息包括该第一MPLS TE隧道的隧道信息。处理单元1004根据该第一MPLS TE隧道的隧道信息,获取该第一MPLSTE隧道的路径信息,并进一步根据该第一MPLSTE隧道的路径信息,采用显式路径方式创建该第二ABR到该第一ABR的第三MPLS TE隧道,并且该第三MPLS TE隧道和该第一MPLS TE隧道为双向共路隧道。Optionally, as another embodiment, the receiving unit 1003 is further configured to receive a tunnel advertisement message sent by the first ABR, where the tunnel advertisement message includes tunnel information of the first MPLS TE tunnel. The processing unit 1004 obtains the path information of the first MPLS TE tunnel according to the tunnel information of the first MPLS TE tunnel, and further creates an explicit path from the second ABR to the first MPLS TE tunnel according to the path information of the first MPLS TE tunnel. The third MPLS TE tunnel of the ABR, and the third MPLS TE tunnel and the first MPLS TE tunnel are two-way co-channel tunnels.
可选地,作为另一个实施例,该隧道信息包括:扩展的隧道标识、隧道标识和隧道端点地址。Optionally, as another embodiment, the tunnel information includes: an extended tunnel identifier, a tunnel identifier, and a tunnel endpoint address.
图11是本发明一个实施例的第一ABR 1100的结构示意图。图11的第一ABR 1100包括处理器1101,存储器1102,接收电路1103和发送电路1104。Fig. 11 is a schematic structural diagram of a first ABR 1100 according to an embodiment of the present invention. The first ABR 1100 in FIG. 11 includes a processor 1101 , a memory 1102 , a receiving circuit 1103 and a sending circuit 1104 .
接收电路1103接收第二ABR发布的第一BGP标签路由。处理器1101根据该第一BGP标签路由建立该第一ABR到该第二ABR的第一BGP LSP,并进一步根据该第一BGP LSP创建该第一ABR到该第二ABR的第一MPLSTE隧道。The receiving circuit 1103 receives the first BGP label route advertised by the second ABR. The processor 1101 establishes a first BGP LSP from the first ABR to the second ABR according to the first BGP label route, and further creates a first MPLSTE tunnel from the first ABR to the second ABR according to the first BGP LSP.
可见,通过本发明实施例提供的技术方案,当第一ABR 1100到第二ABR需要使用MPLS TE隧道传送业务时,第二ABR可以向第一ABR 1100发布BGP标签路由,第一ABR 1100在接收到BGP标签路由后,建立BGP LSP,并进一步根据BGP LSP来触发创建该第一ABR 1100到该第二ABR的MPLS TE隧道,能够使MPLS TE隧道随业务按需自动建立,并且提高了MPLS TE隧道的配置效率。It can be seen that through the technical solution provided by the embodiment of the present invention, when the first ABR 1100 needs to use the MPLS TE tunnel to transmit services to the second ABR, the second ABR can advertise BGP label routes to the first ABR 1100, and the first ABR 1100 receives After reaching the BGP label route, establish a BGP LSP, and further trigger the creation of an MPLS TE tunnel from the first ABR 1100 to the second ABR according to the BGP LSP, so that the MPLS TE tunnel can be automatically established as required by the business, and the MPLS TE tunnel can be improved. Tunnel configuration efficiency.
第一ABR 1100中的各个组件通过总线系统1105耦合在一起,其中总线系统1105除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图11中将各种总线都标为总线系统1105。Various components in the first ABR 1100 are coupled together through a bus system 1105, wherein the bus system 1105 includes not only a data bus, but also a power bus, a control bus and a status signal bus. However, the various buses are labeled bus system 1105 in FIG. 11 for clarity of illustration.
上述本发明实施例揭示的方法可以应用于处理器1101中,或者由处理器1101实现。处理器1101可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1101中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1101可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1102,处理器1101读取存储器1102中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 1101 or implemented by the processor 1101 . The processor 1101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be implemented by an integrated logic circuit of hardware in the processor 1101 or instructions in the form of software. The above-mentioned processor 1101 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 1102, and the processor 1101 reads the information in the memory 1102, and completes the steps of the above method in combination with its hardware.
第一ABR 1100能够实现图1至图6的实施例中由第一ABR实现的各个过程,为避免重复,这里不再赘述。The first ABR 1100 can implement various processes implemented by the first ABR in the embodiments shown in FIG. 1 to FIG. 6 , and details are not repeated here to avoid repetition.
可选地,作为一个实施例,发送电路1104用于向该第二ABR发布第二BGP标签路由,以便该第二ABR根据该第二BGP标签路由建立该第二ABR到该第一ABR的第二BGP LSP,并进一步根据该第二BGP LSP创建该第二ABR到该第一ABR的第二MPLS TE隧道。Optionally, as an embodiment, the sending circuit 1104 is configured to advertise a second BGP label route to the second ABR, so that the second ABR establishes the second ABR to the first ABR according to the second BGP label route. second BGP LSP, and further create a second MPLS TE tunnel from the second ABR to the first ABR according to the second BGP LSP.
可选地,作为另一个实施例,发送电路1104用于在该第一ABR创建该第一MPLS TE隧道之后,没有检测到有与该第一MPLS TE隧道共路的该第二ABR到该第一ABR的MPLS TE隧道时,向该第二ABR发送隧道通告消息,该隧道通告消息包括该第一MPLS TE隧道的隧道信息,以便该第二ABR根据该第一MPLS TE隧道的隧道信息创建该第二ABR到该第一ABR的第三MPLS TE隧道,该第三MPLS TE隧道和该第一MPLS TE隧道为双向共路隧道。Optionally, as another embodiment, the sending circuit 1104 is configured to detect that after the first ABR creates the first MPLS TE tunnel, there is no connection between the second ABR and the first MPLS TE tunnel to the first MPLS TE tunnel. When an MPLS TE tunnel of an ABR is established, a tunnel notification message is sent to the second ABR, and the tunnel notification message includes the tunnel information of the first MPLS TE tunnel, so that the second ABR creates the tunnel information according to the tunnel information of the first MPLS TE tunnel The third MPLS TE tunnel from the second ABR to the first ABR, the third MPLS TE tunnel and the first MPLS TE tunnel are two-way co-channel tunnels.
可选地,作为另一个实施例,处理器1101还用于在创建了该第一MPLSTE隧道之后,如果该第一BGP LSP被撤销且该第一BGP LSP是与该第一MPLS TE隧道关联的唯一BGP LSP时,删除该第一MPLS TE隧道。Optionally, as another embodiment, the processor 1101 is further configured to, after the first MPLS TE tunnel is created, if the first BGP LSP is revoked and the first BGP LSP is associated with the first MPLS TE tunnel If there is only one BGP LSP, delete the first MPLS TE tunnel.
图12是本发明一个实施例的第二区域边界路由器的结构示意图。图9的第二ABR1200包括处理器1201,存储器1202,接收电路1203和发送电路1204。Fig. 12 is a schematic structural diagram of a second area border router according to an embodiment of the present invention. The second ABR 1200 in FIG. 9 includes a processor 1201 , a memory 1202 , a receiving circuit 1203 and a sending circuit 1204 .
处理器1201生成第一BGP标签路由。发送电路1204向第一ABR发布该第一BGP标签路由,以便该第一ABR根据该第一BGP标签路由建立该第一ABR到该第二ABR的第一BGP LSP,并进一步根据该第一BGP LSP创建该第一ABR到该第二ABR的第一MPLS TE隧道。Processor 1201 generates a first BGP label route. The sending circuit 1204 publishes the first BGP label route to the first ABR, so that the first ABR establishes the first BGP LSP from the first ABR to the second ABR according to the first BGP label route, and further according to the first BGP The LSP creates a first MPLS TE tunnel from the first ABR to the second ABR.
可见,通过本发明实施例提供的技术方案,当第一ABR到第二ABR 1200需要使用MPLS TE隧道传送业务时,第二ABR 1200可以向第一ABR发布BGP标签路由,第一ABR在接收到BGP标签路由后,建立BGP LSP,并进一步根据BGP LSP来触发创建该第一ABR到该第二ABR1200的MPLSTE隧道,能够使MPLS TE隧道随业务按需自动建立,并且提高了MPLS TE隧道的配置效率。It can be seen that through the technical solution provided by the embodiment of the present invention, when the first ABR needs to use the MPLS TE tunnel to transmit services from the first ABR to the second ABR 1200, the second ABR 1200 can advertise the BGP label route to the first ABR, and the first ABR receives After BGP label routing, establish a BGP LSP, and further trigger the creation of an MPLS TE tunnel from the first ABR to the second ABR1200 according to the BGP LSP, so that the MPLS TE tunnel can be automatically established according to the needs of the service, and the configuration of the MPLS TE tunnel can be improved. efficiency.
第二ABR 1200能够实现图1至图6的实施例中由第二ABR实现的各个过程,为避免重复,这里不再赘述。The second ABR 1200 can implement various processes implemented by the second ABR in the embodiments of FIG. 1 to FIG. 6 , and details are not repeated here to avoid repetition.
第二ABR 1200中的各个组件通过总线系统1205耦合在一起,其中总线系统1205除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图9中将各种总线都标为总线系统1205。Various components in the second ABR 1200 are coupled together through a bus system 1205, wherein the bus system 1205 includes not only a data bus, but also a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 1205 in FIG. 9 for clarity of illustration.
上述本发明实施例揭示的方法可以应用于处理器1201中,或者由处理器1201实现。处理器1201可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1201中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1201可以是通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1202,处理器1201读取存储器1202中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 1201 or implemented by the processor 1201 . The processor 1201 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be implemented by an integrated logic circuit of hardware in the processor 1201 or instructions in the form of software. The aforementioned processor 1201 may be a general processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 1202, and the processor 1201 reads the information in the memory 1202, and completes the steps of the above method in combination with its hardware.
可选地,作为一个实施例,接收电路1203接收该第一ABR发布的第二BGP标签路由。处理器1201根据该第二BGP标签路由建立该第二ABR到该第一ABR的第二BGP LSP,并进一步根据该第二BGP LSP创建该第二ABR到该第一ABR的第二MPLS TE隧道。Optionally, as an embodiment, the receiving circuit 1203 receives the second BGP label route advertised by the first ABR. Processor 1201 establishes a second BGP LSP from the second ABR to the first ABR according to the second BGP label route, and further creates a second MPLS TE tunnel from the second ABR to the first ABR according to the second BGP LSP .
可选地,作为另一个实施例,在创建了该第二MPLS TE隧道之后,如果该第二BGPLSP被撤销且该第二BGP LSP是与该第二MPLS TE隧道关联的唯一BGP LSP时,该处理器1201还用于删除该第二MPLS TE隧道。Optionally, as another embodiment, after the second MPLS TE tunnel is created, if the second BGPLSP is revoked and the second BGP LSP is the only BGP LSP associated with the second MPLS TE tunnel, the The processor 1201 is also configured to delete the second MPLS TE tunnel.
可选地,作为另一个实施例,接收电路1203接收该第一ABR发送的隧道通告消息,该隧道通告消息包括该第一MPLS TE隧道的隧道信息。处理器1201根据该第一MPLS TE隧道的隧道信息,获取该第一MPLS TE隧道的路径信息,并进一步根据该第一MPLS TE隧道的路径信息,采用显式路径方式创建该第二ABR到该第一ABR的第三MPLS TE隧道,该第三MPLSTE隧道和该第一MPLS TE隧道为双向共路隧道。Optionally, as another embodiment, the receiving circuit 1203 receives a tunnel advertisement message sent by the first ABR, where the tunnel advertisement message includes tunnel information of the first MPLS TE tunnel. The processor 1201 obtains the path information of the first MPLS TE tunnel according to the tunnel information of the first MPLS TE tunnel, and further creates an explicit path from the second ABR to the The third MPLS TE tunnel of the first ABR, the third MPLS TE tunnel and the first MPLS TE tunnel are two-way co-channel tunnels.
可选地,作为另一个实施例,该隧道信息包括:扩展的隧道标识、隧道标识和隧道端点地址。Optionally, as another embodiment, the tunnel information includes: an extended tunnel identifier, a tunnel identifier, and a tunnel endpoint address.
这样,通过本发明实施例提供的技术方案,当第一ABR到第二ABR需要使用MPLS TE隧道传送业务时,第二ABR可以向第一ABR发布BGP标签路由,第一ABR在接收到BGP标签路由后,建立BGP LSP,并进一步根据BGP LSP来触发创建该第一ABR到该第二ABR的MPLS TE隧道,能够使MPLS TE隧道随业务按需自动建立,并且提高了MPLS TE隧道的配置效率。In this way, through the technical solution provided by the embodiment of the present invention, when the first ABR needs to use the MPLS TE tunnel to transmit services to the second ABR, the second ABR can issue a BGP label route to the first ABR, and the first ABR receives the BGP label route After routing, establish a BGP LSP, and further trigger the creation of the MPLS TE tunnel from the first ABR to the second ABR according to the BGP LSP, so that the MPLS TE tunnel can be automatically established as required by the service, and the configuration efficiency of the MPLS TE tunnel can be improved .
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310399870.6ACN103475557B (en) | 2013-09-05 | 2013-09-05 | Tunnel setup method and router |
| PCT/CN2014/084768WO2015032275A1 (en) | 2013-09-05 | 2014-08-20 | Method and router for establishing tunnel |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310399870.6ACN103475557B (en) | 2013-09-05 | 2013-09-05 | Tunnel setup method and router |
| Publication Number | Publication Date |
|---|---|
| CN103475557A CN103475557A (en) | 2013-12-25 |
| CN103475557Btrue CN103475557B (en) | 2017-02-08 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310399870.6AActiveCN103475557B (en) | 2013-09-05 | 2013-09-05 | Tunnel setup method and router |
| Country | Link |
|---|---|
| CN (1) | CN103475557B (en) |
| WO (1) | WO2015032275A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103475557B (en)* | 2013-09-05 | 2017-02-08 | 华为技术有限公司 | Tunnel setup method and router |
| CN104980362B (en)* | 2014-04-04 | 2019-04-12 | 华为技术有限公司 | A kind of service tunnel method for building up and equipment |
| CN104980347B (en)* | 2014-04-04 | 2019-02-12 | 华为技术有限公司 | A method and device for establishing a tunnel |
| CN105991385B (en)* | 2015-01-27 | 2019-03-26 | 华为技术有限公司 | A kind of method that establishing BGP lsp tunnel and the network equipment |
| US10637775B2 (en)* | 2015-10-17 | 2020-04-28 | Cisco Technology, Inc. | Make-before-break mechanism for label switched paths |
| CN107995084B (en)* | 2017-11-09 | 2020-12-01 | 新华三技术有限公司 | Tunnel selection method and device |
| CN112422307B (en)* | 2019-08-22 | 2022-06-14 | 华为技术有限公司 | Method, equipment and system for EVPN and VPLS coexistence dual-activity |
| CN112751741B (en)* | 2019-10-31 | 2023-09-15 | 中兴通讯股份有限公司 | Message transmission method and device |
| CN111064670B (en)* | 2019-12-30 | 2021-05-11 | 联想(北京)有限公司 | Method and device for acquiring next hop routing information |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7751405B1 (en)* | 2007-09-26 | 2010-07-06 | Juniper Networks, Inc. | Automatic configuration of label switched path tunnels using BGP attributes |
| CN102123088B (en)* | 2011-02-21 | 2015-09-23 | 杭州华三通信技术有限公司 | Set up the method and apparatus of traffic engineering tunnel |
| CN102724117B (en)* | 2012-06-06 | 2015-09-30 | 华为技术有限公司 | Method and device for establishing multi-protocol label switching traffic engineering tunnel |
| CN103475557B (en)* | 2013-09-05 | 2017-02-08 | 华为技术有限公司 | Tunnel setup method and router |
| Publication number | Publication date |
|---|---|
| CN103475557A (en) | 2013-12-25 |
| WO2015032275A1 (en) | 2015-03-12 |
| Publication | Publication Date | Title |
|---|---|---|
| CN103475557B (en) | Tunnel setup method and router | |
| US11811595B2 (en) | Signaling IP path tunnels for traffic engineering | |
| CN111865796B (en) | Path Computation Element Central Controller (PCECC) for network traffic | |
| CN104253759B (en) | Message forwarding method, apparatus and system | |
| US9184935B2 (en) | Network communication method and network node device | |
| US20160006614A1 (en) | Source Routing Using Path Computation Elements | |
| WO2018188464A1 (en) | Methods and devices for realizing ioam, and storage medium | |
| CN113452610B (en) | Seamless end-to-end segmented routing method across metropolitan area network and area border router | |
| US9350605B2 (en) | Method and apparatus for multi-instance control plane for dynamic MPLS-TP tunnel management via in-band communication channel (G-ACH) | |
| CN101552711B (en) | Method and device for establishing pseudowire mapping | |
| WO2015000173A1 (en) | Tunnel establishment method, label allocation method, device, and network system | |
| WO2015192501A1 (en) | Address information publishing method and apparatus | |
| CN102130813B (en) | Pseudowire establishment method, system and equipment | |
| CN114500369A (en) | Method, equipment and system for controlling routing iteration | |
| CN107306222A (en) | The method and apparatus that traffic engineering tunnel on label switched path is set up | |
| US11425056B1 (en) | Dynamic computation of SR-TE policy for SR-enabled devices connected over non-SR-enabled devices | |
| US10291522B1 (en) | Applications-aware targeted LDP sessions | |
| WO2017211164A1 (en) | Method, apparatus, and system for determining inter-as label switched path tunnel | |
| CN102469010B (en) | A kind of method and network equipment distributing MPLS label | |
| CN103416029A (en) | Signaling extension for a label switched path over a composite link | |
| US8023518B2 (en) | Efficient path setup in a provider backbone bridge network | |
| CN106789705A (en) | The method and apparatus of transmission control message | |
| CN102904808B (en) | Across the method for building up and system of resource reservation protocol flow engineering label switched path | |
| CN102857386B (en) | It is a kind of to obtain the method and device for safeguarding end node identification | |
| George et al. | Gap analysis for operating IPv6-only MPLS networks |
| 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 |