WO2017036162A1 - Configuration method and device and router - Google Patents

Configuration method and device and router Download PDF

Info

Publication number
WO2017036162A1
WO2017036162A1 PCT/CN2016/081329 CN2016081329W WO2017036162A1 WO 2017036162 A1 WO2017036162 A1 WO 2017036162A1 CN 2016081329 W CN2016081329 W CN 2016081329W WO 2017036162 A1 WO2017036162 A1 WO 2017036162A1
Authority
WO
WIPO (PCT)
Prior art keywords
router
connection channel
virtual connection
configuration
virtual
Prior art date
Application number
PCT/CN2016/081329
Other languages
French (fr)
Chinese (zh)
Inventor
吴学智
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017036162A1 publication Critical patent/WO2017036162A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Definitions

  • This document relates to, but is not limited to, the field of communication technology, and relates to a configuration method, device and router.
  • Virtual Private LAN Service is a network protocol (IP, Internet Protocol)/Multi-Protocol Label Switching (MPLS) and Ethernet technology based on interconnection between networks.
  • Layered virtual private network service the core idea of which is to establish and maintain a virtual connection channel between the Provider Edge (PE) nodes in the VPLS instance by using the signaling protocol, and encapsulate the Layer 2 protocol frame in the virtual connection. Transmission and exchange on the channel enable multiple LANs in the wide area to be integrated into one network at the data link level to provide virtual Ethernet services to users.
  • PE Provider Edge
  • VPLS is deployed in the network, with a few bit-to-point connections (Martini) and point-to-multipoint connections ( Kompella).
  • the Martini solution is a peer-to-peer Layer 2 Virtual Private Network (L2VPN) solution. More operations need to be done manually.
  • the Kompella solution introduces the Border Gateway Protocol (BGP) as a virtual private network. (VPN) automatic discovery mechanism, with better scalability.
  • BGP Border Gateway Protocol
  • VPN automatic discovery mechanism, with better scalability.
  • the Kompella solution is configured based on the instance level. All virtual connection channels are dynamically generated, and fine-grained control at the virtual connection channel level, such as tunneling policy, performance statistics, Bidirectional Forwarding Detection (BFD), etc. The function is not covered in the relevant standards and drafts. Therefore, in the current router equipment, the VPLS of the Kompella scheme does not support fine-grained control based on the virtual connection channel level, including Pseudo Wire (PW). Tunneling strategy, performance statistics, BFD and other functions.
  • PW Pseudo Wire
  • Embodiments of the present invention provide a configuration method, device, and router, which solve the current router.
  • the VPLS for the Kompella scheme does not support the problem based on the control at the virtual connection channel level.
  • An embodiment of the present invention provides a configuration method, where the method includes:
  • the function parameters are configured for the virtual connection channel.
  • the configuration parameters include:
  • One or more of a route specifier RD, a route target RT, a virtual device identifier VE ID, and a virtual device set VE set parameter are included in a route specifier RD, a route target RT, a virtual device identifier VE ID, and a virtual device set VE set parameter.
  • the step of generating a virtual connection channel between the first router and the second router between the first router and the second router according to the configuration parameter includes:
  • a virtual connection channel between the first router and the second router is generated between the first router and the second router.
  • the step of configuring the virtual connection channel to perform the function parameter includes:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • Data forwarding is performed on the outer forwarding tunnel.
  • the embodiment of the invention further provides a configuration device, including:
  • Obtaining a module configured to obtain a configuration parameter of a virtual private local area network VPLS service on the first router;
  • a channel generating module configured to generate, according to the configuration parameter, a virtual connection channel between the first router and the second router between the first router and the second router, where the first router and the first router The second router is an adjacent router;
  • the configuration module is configured to configure the function parameters of the virtual connection channel.
  • An embodiment of the present invention further provides a router, including the foregoing configuration apparatus.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, the configuration method is implemented.
  • the configuration method, device, and router provided by the embodiment of the present invention automatically generate a virtual connection channel to a neighboring router by configuring parameters of the VPLS service on a router, and then the virtual connection.
  • the parameters of the channel are configured to implement the control of the VPLS of the Kompella solution based on the virtual link channel level.
  • the current router device does not support the control based on the virtual link channel level for the VPLS of the Kompella solution;
  • the configured virtual connection channel information is saved, and the original configuration continues to take effect after the device is restarted, which reduces the workload of the VPLS service deployment.
  • FIG. 1 is a flowchart of a configuration method according to Embodiment 1 of the present invention.
  • Figure 2 is a flow chart of step 102 of Figure 1;
  • FIG. 3 is a flowchart of a configuration method according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic structural diagram of a configuration apparatus according to Embodiment 4 of the present invention.
  • VPLS is deployed in the network, with a few bit-to-point connections (Martini) and point-to-multipoint connections (Kompella).
  • the Kompella solution introduces the Border Gateway Protocol (BGP) protocol as the automatic discovery mechanism of the VPN, which has better scalability.
  • BGP Border Gateway Protocol
  • the VPLS of the Kompella solution does not support the control based on the virtual connection channel level. problem.
  • the embodiment of the present invention improves the configuration method, the device, and the router in response to the above problem, so that the above problem can be solved.
  • a first embodiment of the present invention provides a configuration method, where the method includes:
  • Step 101 Obtain configuration parameters of a virtual private local area network (VPLS) service on the first router.
  • VPLS virtual private local area network
  • the configuration parameters include:
  • One or more of the route distinguisher (RD), route target (RT, route target), virtual device identifier VE ID, and virtual device set (VE set) parameters are configured to initiate a border gateway protocol. make.
  • Step 102 Generate a virtual connection channel between the first router and the second router between the first router and the second router according to the configuration parameter, where the first router and the second router are adjacent routers.
  • Step 103 Perform configuration of function parameters on the virtual connection channel.
  • the VPLS service configuration parameter on the first router automatically generates a virtual connection channel to the neighboring router, and then performs parameter configuration on the virtual connection channel to implement the VPLS of the Kompella solution based on the virtual connection channel level. Control on.
  • step 102 includes:
  • Step 201 Generate first address group signaling according to the configuration parameter, and send it to all routers adjacent to the first router; wherein the second router is any one of the other routers;
  • Step 202 Receive second address family signaling that is sent back by other routers according to signaling of the first address family.
  • Step 203 Select, from the second address family signaling, a second router corresponding to a second address family signaling that matches the first address family signaling.
  • Step 204 Generate a virtual connection channel between the first router and the second router between the first router and the second router.
  • the first address family signaling and the second address family signaling are generated according to the configuration parameter, and the second router generates the first address family signaling and the second address family signaling to match, and further A virtual connection channel is generated, so the virtual connection channel is generated through configuration parameter control.
  • step 103 includes:
  • the configuration of the function parameters including at least one of a tunneling policy, a performance statistics, and a bidirectional forwarding detection BFD is performed on the virtual connection channel. It should be noted that, in the embodiment of the present invention, when there are multiple virtual connection channels, parameter configuration needs to be performed on multiple virtual connection channels.
  • the method may further include: saving the information of the virtual connection channel that has been parameterized by using a remote virtual device identifier (Remote VE ID) as a key; when the VPLS is deployed again, You can directly invoke the virtual connection channel of the VPLS without re-generating and configuring the VPLS. If there is a new second router, you only need to configure the second router separately. You do not need to change the configured second router.
  • a remote virtual device identifier Remote identifier
  • a second embodiment of the present invention provides a configuration method, where the method includes
  • Step 301 Obtain configuration parameters of a virtual private local area network (VPLS) service on the first router.
  • VPLS virtual private local area network
  • Step 302 Generate a virtual connection channel between the first router and the second router between the first router and the second router according to the configuration parameter, where the first router and the second router are adjacent routers.
  • Step 303 Create a virtual connection channel entity according to information about a virtual connection channel between the first router and the second router.
  • Step 304 Perform configuration of function parameters on the virtual connection channel.
  • a virtual connection channel entity is created for service forwarding according to the information of the virtual connection channel.
  • the method further includes:
  • the next hop parameter includes the address information of the second router, thereby finding and obtaining the outer forwarding tunnel information of the first router to the second router.
  • the method further includes:
  • the outer forwarding tunnel information is recorded on the virtual connection channel entity, or the configuration of the virtual connection channel is applied to the virtual connection channel entity.
  • the party The method may further include: writing the outer forwarding tunnel information to the driver for saving, so that the original configuration still takes effect after the device is restarted.
  • the method further includes:
  • Data forwarding is performed in the outer forwarding tunnel.
  • the configuration of the VPLS in the Kompella mode is as follows:
  • Step 401 Configure a VPLS to be in the Kompella mode.
  • Step 402 Obtain configuration parameters of the VPLS on the first router.
  • step 403 the first Kompella address family signaling is configured and sent to all neighbors according to the configuration parameters of the VPLS, and the second Kompella address family signaling fed back by the neighbor is received.
  • Step 404 Select a second router corresponding to the second Kompella address family signaling that matches the first Kompella address family signaling, and generate a Kompella virtual connection channel entity.
  • Step 405 Acquire corresponding outer forwarding tunnel information according to a next hop parameter of the Kompella virtual connection channel.
  • the next hop parameter includes the address information of the second router, thereby finding and obtaining the outer forwarding tunnel information of the first router to the second router.
  • Step 406 Record the corresponding outer forwarding tunnel information on the Kompella virtual connection channel entity, and write the driver for forwarding.
  • Step 407 parameter configuration of the Kompella virtual connection channel entity.
  • step 407 includes:
  • an embodiment of the present invention further provides a configuration apparatus, including:
  • the obtaining module 111 is configured to acquire configuration parameters of a virtual private local area network (VPLS) service on the first router;
  • VPLS virtual private local area network
  • the channel generating module 112 is configured to generate a virtual connection channel between the first router and the second router between the first router and the second router according to the configuration parameter, where the first router and the second router are adjacent routers;
  • the configuration module 113 is configured to configure the function parameters of the virtual connection channel.
  • the configuration parameters include:
  • route specifier RD
  • route target RT
  • VE ID virtual device identifier
  • VE set virtual device set
  • the channel generation module 112 includes:
  • a sending submodule configured to generate first address family signaling according to the configuration parameter, and send to all routers adjacent to the first router; wherein the second router is any one of the other routers;
  • a receiving submodule configured to receive second address family signaling that is fed back by other routers according to signaling of the first address family
  • a screening submodule configured to select, from the second address family signaling, a second router corresponding to a second address family signaling that matches the first address family signaling
  • the configuration module 113 includes:
  • the parameter configuration sub-module is configured to configure, for the virtual connection channel, a function parameter of at least one of a tunnel policy, a performance statistics, and a bidirectional forwarding detection BFD.
  • the device further includes
  • An entity creation module configured to: after the channel generation module 112 generates a virtual connection channel between the first router and the second router between the first router and the second router, according to the first router and The virtual connection channel information between the second router creates a virtual connection channel entity.
  • the device further includes
  • the tunnel obtaining module is configured to: after the virtual connection channel entity is created according to the information about the virtual connection channel between the first router and the second router, obtain the virtual connection channel according to the next hop parameter of the virtual connection channel. Layer forwarding tunnel information.
  • the device further includes:
  • the application module is configured to record the outer forwarding tunnel information on the virtual connection channel entity after the tunnel acquisition module obtains the outer forwarding tunnel information of the virtual connection channel, or apply the configuration of the function parameter to the virtual connection channel. Connect the channel entity.
  • the device further includes
  • the forwarding module is configured to obtain an outer forwarding tunnel according to the outer forwarding tunnel information after the tunnel obtaining module obtains the outer forwarding tunnel information of the virtual connection channel, and forward the data in the outer forwarding tunnel.
  • An embodiment of the present invention further provides a router, including the foregoing configuration apparatus.
  • the configuration apparatus provided by the embodiment of the present invention is the apparatus applying the foregoing configuration method, that is, all the embodiments of the foregoing configuration method are applicable to the apparatus, and all of the same or similar beneficial effects can be achieved.
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, the configuration method is implemented.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • This application is not limited to any specific combination of hardware and software. Those skilled in the art should understand that the technical solution of the present application can be modified. Rather, the scope of the claims of the present application should be included in the scope of the claims.
  • the foregoing technical solution solves the shortcomings of the current router device that the VPLS of the Kompella solution does not support control based on the virtual connection channel level.

Landscapes

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

Abstract

A configuration method comprises: acquiring a configuration parameter of a virtual private LAN service (VPLS) on a first router; generating, according to the configuration parameter, a virtual connection channel between the first router and a second router, wherein the first router and the second router are neighboring routers; and configuring a functional parameter for the virtual connection channel. In the above technical solution, a configuration parameter of a VPLS on a router is used to automatically generate a virtual connection channel between neighboring routers, and then a parameter configuration is performed for the virtual connection channel, thereby realizing control over the VPLS in the Kompella solution on the basis of a layer of the virtual connection channel, and solving a problem in which existing router apparatuses do not support control over the VPLS in the Kompella solution on the basis of a layer of a virtual connection channel.

Description

一种配置方法、装置及路由器Configuration method, device and router 技术领域Technical field
本文涉及但不限于通信技术领域,涉及一种配置方法、装置及路由器。This document relates to, but is not limited to, the field of communication technology, and relates to a configuration method, device and router.
背景技术Background technique
虚拟专用局域网业务(Virtual Private LAN Service,VPLS)是一种基于网络之间互连的网络协议(IP,Internet Protocol)/多协议标签交换(Multi-Protocol Label Switching,MPLS)和以太网技术的二层虚拟专用网业务,其技术核心思想是利用信令协议在VPLS实例中的运营商边缘路由器(Provider Edge,PE)节点之间建立及维护虚拟连接通道,将二层协议帧封装后在虚拟连接通道上传输、交换,使广域范围内多个局域网在数据链路层面被整合为一张网络,向用户提供虚拟的以太网服务。Virtual Private LAN Service (VPLS) is a network protocol (IP, Internet Protocol)/Multi-Protocol Label Switching (MPLS) and Ethernet technology based on interconnection between networks. Layered virtual private network service, the core idea of which is to establish and maintain a virtual connection channel between the Provider Edge (PE) nodes in the VPLS instance by using the signaling protocol, and encapsulate the Layer 2 protocol frame in the virtual connection. Transmission and exchange on the channel enable multiple LANs in the wide area to be integrated into one network at the data link level to provide virtual Ethernet services to users.
目前,在网络中部署VPLS,有点到点连接(Martini)和点到多点连接(Kompella)两个主要的技术流派。Martini方案是一种点对点的二层虚拟专用网络(L2VPN,Layer2 Virtual Private Network)解决方案,更多的操作需要手工完成,而Kompella方案引入了边界网关协议(Border Gateway Protocol,BGP)作为虚拟专用网络(VPN)的自动发现机制,具有更好的拓展性。Currently, VPLS is deployed in the network, with a few bit-to-point connections (Martini) and point-to-multipoint connections (Kompella). The Martini solution is a peer-to-peer Layer 2 Virtual Private Network (L2VPN) solution. More operations need to be done manually. The Kompella solution introduces the Border Gateway Protocol (BGP) as a virtual private network. (VPN) automatic discovery mechanism, with better scalability.
然而,Kompella方案是基于实例级别来配置的,所有虚拟连接通道均动态生成,在虚拟连接通道级别上的精细化控制,例如隧道策略、性能统计、双向转发侦测(Bidirectional Forwarding Detection,BFD)等功能,在相关的标准和草案中并没有涉及,因此,目前的路由器设备中,对于Kompella方案的VPLS,并不支持基于虚拟连接通道级别上的精细化控制,包括伪线(Pseudo Wire,PW)的隧道策略、性能统计、BFD等功能。However, the Kompella solution is configured based on the instance level. All virtual connection channels are dynamically generated, and fine-grained control at the virtual connection channel level, such as tunneling policy, performance statistics, Bidirectional Forwarding Detection (BFD), etc. The function is not covered in the relevant standards and drafts. Therefore, in the current router equipment, the VPLS of the Kompella scheme does not support fine-grained control based on the virtual connection channel level, including Pseudo Wire (PW). Tunneling strategy, performance statistics, BFD and other functions.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种配置方法、装置及路由器,解决了目前的路由器 设备中,对于Kompella方案的VPLS不支持基于虚拟连接通道级别上的控制的问题。Embodiments of the present invention provide a configuration method, device, and router, which solve the current router. In the device, the VPLS for the Kompella scheme does not support the problem based on the control at the virtual connection channel level.
本发明实施例提供一种配置方法,该方法包括:An embodiment of the present invention provides a configuration method, where the method includes:
获取第一路由器上的虚拟专用局域网VPLS业务的配置参数;Obtaining configuration parameters of the virtual private local area network VPLS service on the first router;
根据所述配置参数,在所述第一路由器与第二路由器之间,生成所述第一路由器与所述第二路由器的虚拟连接通道;其中,所述第一路由器与所述第二路由器为相邻的路由器;And generating, according to the configuration parameter, a virtual connection channel between the first router and the second router, where the first router and the second router are Adjacent routers;
对所述虚拟连接通道进行功能参数的配置。The function parameters are configured for the virtual connection channel.
可选地,所述配置参数包括:Optionally, the configuration parameters include:
路由区分符RD、路由目标RT、虚拟设备标识VE ID、虚拟设备集VE set参数中的一个或者多个。One or more of a route specifier RD, a route target RT, a virtual device identifier VE ID, and a virtual device set VE set parameter.
可选地,根据所述配置参数,在所述第一路由器与第二路由器之间,生成所述第一路由器与所述第二路由器的虚拟连接通道的步骤包括:Optionally, the step of generating a virtual connection channel between the first router and the second router between the first router and the second router according to the configuration parameter includes:
根据所述配置参数,生成第一地址族信令并向所有与所述第一路由器相邻的其它路由器发送;其中,所述第二路由器是所述其它路由器中的任意一个;Generating, according to the configuration parameter, first address family signaling and sending to all other routers adjacent to the first router; wherein the second router is any one of the other routers;
接收其它路由器根据所述第一地址族信令反馈的第二地址族信令;Receiving, by the other router, the second address family signaling fed back according to the signaling of the first address family;
从所述第二地址族信令中,选中与所述第一地址族信令相匹配的一个所述第二地址族信令对应的第二路由器;Selecting, by the second address family signaling, a second router corresponding to the second address family signaling that matches the first address family signaling;
在所述第一路由器与所述第二路由器之间,生成所述第一路由器与所述第二路由器的虚拟连接通道。A virtual connection channel between the first router and the second router is generated between the first router and the second router.
可选地,所述对所述虚拟连接通道进行功能参数的配置的步骤包括:Optionally, the step of configuring the virtual connection channel to perform the function parameter includes:
对所述虚拟连接通道进行以下至少一种功能的功能参数的配置:隧道策略、性能统计和双向转发侦测BFD。Performing configuration on the virtual connection channel for at least one of the following functional parameters: tunnel policy, performance statistics, and bidirectional forwarding detection BFD.
可选地,所述在所述第一路由器与第二路由器之间,生成所述第一路由器与所述第二路由器的虚拟连接通道的步骤之后,所述方法还包括:Optionally, after the step of generating a virtual connection channel between the first router and the second router between the first router and the second router, the method further includes:
根据所述第一路由器与所述第二路由器之间的虚拟连接通道的信息,创 建虚拟连接通道实体。Generating information according to a virtual connection channel between the first router and the second router Create a virtual connection channel entity.
可选地,所述根据所述第一路由器与第二路由器之间的虚拟连接通道的信息,创建虚拟连接通道实体的步骤之后,所述方法还包括:Optionally, after the step of creating a virtual connection channel entity according to the information about the virtual connection channel between the first router and the second router, the method further includes:
根据所述虚拟连接通道的下一跳参数,获取所述虚拟连接通道的外层转发隧道信息。Obtaining the outer forwarding tunnel information of the virtual connection channel according to the next hop parameter of the virtual connection channel.
可选地,所述获取所述虚拟连接通道的外层转发隧道信息的步骤之后,所述方法还包括:Optionally, after the step of acquiring the outer forwarding tunnel information of the virtual connection channel, the method further includes:
将所述外层转发隧道信息记录在所述虚拟连通道实体上,或者将对所述虚拟连接通道进行功能参数的配置应用于所述虚拟连接通道实体。Recording the outer forwarding tunnel information on the virtual connection channel entity, or applying a configuration of the virtual connection channel to the virtual connection channel entity.
可选地,获取所述虚拟连接通道的外层转发隧道信息的步骤之后,所述方法还包括:Optionally, after the step of acquiring the outer forwarding tunnel information of the virtual connection channel, the method further includes:
根据所述外层转发隧道信息,得到外层转发隧道;Obtaining an outer forwarding tunnel according to the outer forwarding tunnel information;
在所述外层转发隧道进行数据转发。Data forwarding is performed on the outer forwarding tunnel.
本发明实施例还提供一种配置装置,包括:The embodiment of the invention further provides a configuration device, including:
获取模块,设置为获取第一路由器上的虚拟专用局域网VPLS业务的配置参数;Obtaining a module, configured to obtain a configuration parameter of a virtual private local area network VPLS service on the first router;
通道生成模块,设置为根据所述配置参数,在所述第一路由器与第二路由器之间,生成所述第一路由器与所述第二路由器的虚拟连接通道;其中,所述第一路由器与所述第二路由器为相邻的路由器;a channel generating module, configured to generate, according to the configuration parameter, a virtual connection channel between the first router and the second router between the first router and the second router, where the first router and the first router The second router is an adjacent router;
配置模块,设置为对所述虚拟连接通道进行功能参数的配置。The configuration module is configured to configure the function parameters of the virtual connection channel.
本发明实施例还提供一种路由器,包括上述配置装置。An embodiment of the present invention further provides a router, including the foregoing configuration apparatus.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现配置方法。The embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, the configuration method is implemented.
本发明实施例的上述方案至少包括以下有益效果:The above solution of the embodiment of the present invention at least includes the following beneficial effects:
本发明实施例提供的配置方法、装置及路由器,通过对一路由器上的VPLS业务配置参数,自动生成至相邻路由器的虚拟连接通道,再对该虚拟连 接通道进行参数配置,实现了Kompella方案的VPLS基于虚拟连接通道级别上的控制,解决了目前的路由器设备中,对于Kompella方案的VPLS,不支持基于虚拟连接通道级别上的控制的弊端;且本发明实施例将已配置的虚拟连接通道信息进行保存,设备重启后原有配置继续生效,减小了VPLS的业务部署的工作量。The configuration method, device, and router provided by the embodiment of the present invention automatically generate a virtual connection channel to a neighboring router by configuring parameters of the VPLS service on a router, and then the virtual connection. The parameters of the channel are configured to implement the control of the VPLS of the Kompella solution based on the virtual link channel level. The current router device does not support the control based on the virtual link channel level for the VPLS of the Kompella solution; In the embodiment of the invention, the configured virtual connection channel information is saved, and the original configuration continues to take effect after the device is restarted, which reduces the workload of the VPLS service deployment.
在阅读并理解了附图和详细描述后,可以明白其它方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图说明DRAWINGS
图1为本发明实施例一的配置方法的流程图;1 is a flowchart of a configuration method according to Embodiment 1 of the present invention;
图2为图1中步骤102的流程图;Figure 2 is a flow chart of step 102 of Figure 1;
图3为本发明实施例二的配置方法的流程图;3 is a flowchart of a configuration method according to Embodiment 2 of the present invention;
图4为本发明实施例三的配置方法的流程图;4 is a flowchart of a configuration method according to Embodiment 3 of the present invention;
图5为本发明实施例四的配置装置的组成结构示意图。FIG. 5 is a schematic structural diagram of a configuration apparatus according to Embodiment 4 of the present invention.
具体实施方式detailed description
下面将结合附图及具体实施例进行详细描述。The detailed description will be made below in conjunction with the accompanying drawings and specific embodiments.
目前,在网络中部署VPLS,有点到点连接(Martini)和点到多点连接(Kompella)两个主要的技术流派。Kompella方案引入了边界网关协议(BGP)协议作为VPN的自动发现机制,具有更好的拓展性,然而,目前的路由器设备中,对于Kompella方案的VPLS,不支持基于虚拟连接通道级别上的控制的问题。Currently, VPLS is deployed in the network, with a few bit-to-point connections (Martini) and point-to-multipoint connections (Kompella). The Kompella solution introduces the Border Gateway Protocol (BGP) protocol as the automatic discovery mechanism of the VPN, which has better scalability. However, in the current router equipment, the VPLS of the Kompella solution does not support the control based on the virtual connection channel level. problem.
本发明实施例针对上述问题,提高了一种配置方法、装置及路由器,从而可以解决上述问题。The embodiment of the present invention improves the configuration method, the device, and the router in response to the above problem, so that the above problem can be solved.
实施例一Embodiment 1
参见图1,本发明实施例一提供了一种配置方法,该方法包括:Referring to FIG. 1, a first embodiment of the present invention provides a configuration method, where the method includes:
步骤101,获取第一路由器上的虚拟专用局域网(VPLS)业务的配置参数; Step 101: Obtain configuration parameters of a virtual private local area network (VPLS) service on the first router.
在本实施例中,配置参数包括:In this embodiment, the configuration parameters include:
路由区分符(RD,Route Distinguisher)、路由目标(RT,Route Target)、虚拟设备标识VE ID、虚拟设备集(VE set)参数中的一个或者多个,配置上述参数用来发起边界网关协议信令。One or more of the route distinguisher (RD), route target (RT, route target), virtual device identifier VE ID, and virtual device set (VE set) parameters. The parameters are configured to initiate a border gateway protocol. make.
步骤102,根据配置参数,在第一路由器与第二路由器之间,生成第一路由器与第二路由器的虚拟连接通道;其中,第一路由器与第二路由器为相邻的路由器;Step 102: Generate a virtual connection channel between the first router and the second router between the first router and the second router according to the configuration parameter, where the first router and the second router are adjacent routers.
步骤103,对虚拟连接通道进行功能参数的配置。Step 103: Perform configuration of function parameters on the virtual connection channel.
本发明实施例中,通过对第一路由器上的VPLS业务配置参数,自动生成至相邻路由器的虚拟连接通道,再对该虚拟连接通道进行参数配置,实现了Kompella方案的VPLS基于虚拟连接通道级别上的控制。In the embodiment of the present invention, the VPLS service configuration parameter on the first router automatically generates a virtual connection channel to the neighboring router, and then performs parameter configuration on the virtual connection channel to implement the VPLS of the Kompella solution based on the virtual connection channel level. Control on.
参见图2,本发明实施例中,步骤102包括:Referring to FIG. 2, in the embodiment of the present invention, step 102 includes:
步骤201,根据配置参数,生成第一地址族信令并向所有与第一路由器相邻的其它路由器发送;其中,第二路由器是其它路由器中的任意一个;Step 201: Generate first address group signaling according to the configuration parameter, and send it to all routers adjacent to the first router; wherein the second router is any one of the other routers;
步骤202,接收其它路由器根据第一地址族信令反馈的第二地址族信令;Step 202: Receive second address family signaling that is sent back by other routers according to signaling of the first address family.
步骤203,从第二地址族信令中,选中与第一地址族信令相匹配的一个第二地址族信令对应的第二路由器;Step 203: Select, from the second address family signaling, a second router corresponding to a second address family signaling that matches the first address family signaling.
步骤204,在第一路由器与第二路由器之间,生成第一路由器与第二路由器的虚拟连接通道。Step 204: Generate a virtual connection channel between the first router and the second router between the first router and the second router.
本发明实施例中,第一地址族信令与第二地址族信令均是根据配置参数生成的,而第二路由器通过第一地址族信令与第二地址族信令相匹配生成,进而生成了虚拟连接通道,因此,该虚拟连接通道是通过配置参数控制生成的。In the embodiment of the present invention, the first address family signaling and the second address family signaling are generated according to the configuration parameter, and the second router generates the first address family signaling and the second address family signaling to match, and further A virtual connection channel is generated, so the virtual connection channel is generated through configuration parameter control.
本发明实施例中,步骤103包括:In the embodiment of the present invention, step 103 includes:
对虚拟连接通道进行包括隧道策略、性能统计和双向转发侦测BFD中的至少一种的功能参数的配置。需要说明的是,本发明实施例中,当存在多个虚拟连接通道时,需对多个虚拟连接通道分别进行参数配置。 The configuration of the function parameters including at least one of a tunneling policy, a performance statistics, and a bidirectional forwarding detection BFD is performed on the virtual connection channel. It should be noted that, in the embodiment of the present invention, when there are multiple virtual connection channels, parameter configuration needs to be performed on multiple virtual connection channels.
本发明实施例中,步骤103之后,该方法还可以包括:将已进行参数配置的虚拟连接通道的信息以远程虚拟设备标识(Remote VE ID)为关键字保存起来;当再次部署该VPLS时,直接调用即可,无需再次生成并配置该VPLS的虚拟连接通道;若有新增的第二路由器,只需对该第二路由器单独配置即可,无需更改已配置的第二路由器。In the embodiment of the present invention, after the step 103, the method may further include: saving the information of the virtual connection channel that has been parameterized by using a remote virtual device identifier (Remote VE ID) as a key; when the VPLS is deployed again, You can directly invoke the virtual connection channel of the VPLS without re-generating and configuring the VPLS. If there is a new second router, you only need to configure the second router separately. You do not need to change the configured second router.
实施例二Embodiment 2
参见图3,本发明实施例二提供了一种配置方法,该方法包括,Referring to FIG. 3, a second embodiment of the present invention provides a configuration method, where the method includes
步骤301,获取第一路由器上的虚拟专用局域网(VPLS)业务的配置参数;Step 301: Obtain configuration parameters of a virtual private local area network (VPLS) service on the first router.
步骤302,根据配置参数,在第一路由器与第二路由器之间,生成第一路由器与第二路由器的虚拟连接通道;其中,第一路由器与第二路由器为相邻的路由器;Step 302: Generate a virtual connection channel between the first router and the second router between the first router and the second router according to the configuration parameter, where the first router and the second router are adjacent routers.
步骤303,根据第一路由器与第二路由器之间的虚拟连接通道的信息,创建虚拟连接通道实体;Step 303: Create a virtual connection channel entity according to information about a virtual connection channel between the first router and the second router.
步骤304,对虚拟连接通道进行功能参数的配置。Step 304: Perform configuration of function parameters on the virtual connection channel.
本实施例中,根据虚拟连接通道的信息,创建虚拟连接通道实体用于业务转发。In this embodiment, a virtual connection channel entity is created for service forwarding according to the information of the virtual connection channel.
可选地,步骤303之后,该方法还包括:Optionally, after step 303, the method further includes:
根据虚拟连接通道的下一跳参数,获取虚拟连接通道的外层转发隧道信息。Obtain the outer forwarding tunnel information of the virtual connection channel according to the next hop parameter of the virtual connection channel.
其中,下一跳参数中包含第二路由器的地址信息,由此查找并获取第一路由器至第二路由器的外层转发隧道信息。The next hop parameter includes the address information of the second router, thereby finding and obtaining the outer forwarding tunnel information of the first router to the second router.
可选地,获取虚拟连接通道的外层转发隧道信息的步骤之后,该方法还包括:Optionally, after the step of obtaining the outer forwarding tunnel information of the virtual connection channel, the method further includes:
将外层转发隧道信息记录在虚拟连通道实体上,或者,将对虚拟连接通道进行功能参数的配置应用于虚拟连接通道实体。The outer forwarding tunnel information is recorded on the virtual connection channel entity, or the configuration of the virtual connection channel is applied to the virtual connection channel entity.
可选地,将外层转发隧道信息记录在虚拟连通道实体的步骤之后,该方 法还可以包括:将外层转发隧道信息写入驱动保存,以便设备重启之后原有的配置仍然生效。Optionally, after the step of recording the outer forwarding tunnel information in the virtual connecting channel entity, the party The method may further include: writing the outer forwarding tunnel information to the driver for saving, so that the original configuration still takes effect after the device is restarted.
可选地,获取虚拟连接通道的外层转发隧道信息的步骤之后,该方法还包括:Optionally, after the step of obtaining the outer forwarding tunnel information of the virtual connection channel, the method further includes:
根据外层转发隧道信息,得到外层转发隧道;Obtaining an outer forwarding tunnel according to the information of the outer forwarding tunnel;
在外层转发隧道进行数据转发。Data forwarding is performed in the outer forwarding tunnel.
实施例三Embodiment 3
参见图4,以配置Kompella方式的VPLS为例,本发明实施例的配置方法包括:As shown in Figure 4, the configuration of the VPLS in the Kompella mode is as follows:
步骤401,配置一VPLS为Kompella方式;Step 401: Configure a VPLS to be in the Kompella mode.
步骤402,获取第一路由器上的该VPLS的配置参数;Step 402: Obtain configuration parameters of the VPLS on the first router.
步骤403,根据该VPLS的配置参数,构造第一Kompella地址族信令并向所有邻居发送,并接收邻居反馈的第二Kompella地址族信令;In step 403, the first Kompella address family signaling is configured and sent to all neighbors according to the configuration parameters of the VPLS, and the second Kompella address family signaling fed back by the neighbor is received.
步骤404,选出与第一Kompella地址族信令相匹配的第二Kompella地址族信令对应的第二路由器,生成Kompella虚拟连接通道实体;Step 404: Select a second router corresponding to the second Kompella address family signaling that matches the first Kompella address family signaling, and generate a Kompella virtual connection channel entity.
步骤405,根据Kompella虚拟连接通道的下一跳参数,获取对应的外层转发隧道信息;Step 405: Acquire corresponding outer forwarding tunnel information according to a next hop parameter of the Kompella virtual connection channel.
其中,下一跳参数中包含第二路由器的地址信息,由此查找并获取第一路由器至第二路由器的外层转发隧道信息。The next hop parameter includes the address information of the second router, thereby finding and obtaining the outer forwarding tunnel information of the first router to the second router.
步骤406,将获取对应的外层转发隧道信息记录在Kompella虚拟连接通道实体上,并写入驱动,用于转发;Step 406: Record the corresponding outer forwarding tunnel information on the Kompella virtual connection channel entity, and write the driver for forwarding.
步骤407,对Kompella虚拟连接通道实体进行参数配置。 Step 407, parameter configuration of the Kompella virtual connection channel entity.
可选地,步骤407包括:Optionally, step 407 includes:
在该VPLS下,通过配置远端设备的VE ID,指定一个自动发现的Kompella虚拟连接通道实体,并进入该实体的配置模式;Configure the automatically discovered Kompella virtual connection channel entity and enter the configuration mode of the entity by configuring the VE ID of the remote device.
配置隧道策略、性能统计和BFD等功能中的至少一种;Configure at least one of tunneling policy, performance statistics, and BFD.
将配置的功能的参数应用于该Kompella虚拟连接通道实体。 Apply the parameters of the configured function to the Kompella virtual connection channel entity.
实施例四Embodiment 4
参见图5,本发明实施例还提供了一种配置装置,包括:Referring to FIG. 5, an embodiment of the present invention further provides a configuration apparatus, including:
获取模块111,设置为获取第一路由器上的虚拟专用局域网(VPLS)业务的配置参数;The obtaining module 111 is configured to acquire configuration parameters of a virtual private local area network (VPLS) service on the first router;
通道生成模块112,设置为根据配置参数,在第一路由器与第二路由器之间,生成第一路由器与第二路由器的虚拟连接通道;其中,第一路由器与第二路由器为相邻的路由器;The channel generating module 112 is configured to generate a virtual connection channel between the first router and the second router between the first router and the second router according to the configuration parameter, where the first router and the second router are adjacent routers;
配置模块113,设置为对虚拟连接通道进行功能参数的配置。The configuration module 113 is configured to configure the function parameters of the virtual connection channel.
可选地,配置参数包括:Optionally, the configuration parameters include:
路由区分符(RD)、路由目标(RT)、虚拟设备标识(VE ID)、虚拟设备集(VE set)参数中一个或者多个。One or more of route specifier (RD), route target (RT), virtual device identifier (VE ID), and virtual device set (VE set) parameters.
可选地,通道生成模块112包括:Optionally, the channel generation module 112 includes:
发送子模块,设置为根据配置参数,生成第一地址族信令并向所有与第一路由器相邻的其它路由器发送;其中,第二路由器是其它路由器中的任意一个;a sending submodule, configured to generate first address family signaling according to the configuration parameter, and send to all routers adjacent to the first router; wherein the second router is any one of the other routers;
接收子模块,设置为接收其它路由器根据第一地址族信令反馈的第二地址族信令;a receiving submodule, configured to receive second address family signaling that is fed back by other routers according to signaling of the first address family;
筛选子模块,设置为从第二地址族信令中,选中与第一地址族信令相匹配的一个第二地址族信令对应的第二路由器;a screening submodule, configured to select, from the second address family signaling, a second router corresponding to a second address family signaling that matches the first address family signaling;
生成子模块,设置为在第一路由器与第二路由器之间,生成第一路由器与第二路由器的虚拟连接通道。And generating a submodule, configured to generate a virtual connection channel between the first router and the second router between the first router and the second router.
可选地,配置模块113包括:Optionally, the configuration module 113 includes:
参数配置子模块,设置为对虚拟连接通道进行包括:隧道策略、性能统计和双向转发侦测BFD中的至少一种的功能参数的配置。The parameter configuration sub-module is configured to configure, for the virtual connection channel, a function parameter of at least one of a tunnel policy, a performance statistics, and a bidirectional forwarding detection BFD.
可选地,该装置还包括,Optionally, the device further includes
实体创建模块,设置为在通道生成模块112在第一路由器与第二路由器之间生成第一路由器与第二路由器的虚拟连接通道之后,根据第一路由器与 第二路由器之间的虚拟连接通道的信息,创建虚拟连接通道实体。An entity creation module, configured to: after the channel generation module 112 generates a virtual connection channel between the first router and the second router between the first router and the second router, according to the first router and The virtual connection channel information between the second router creates a virtual connection channel entity.
可选地,该装置还包括,Optionally, the device further includes
隧道获取模块,设置为在实体创建模块根据第一路由器与第二路由器之间的虚拟连接通道的信息,创建虚拟连接通道实体之后,根据虚拟连接通道的下一跳参数,获取虚拟连接通道的外层转发隧道信息。The tunnel obtaining module is configured to: after the virtual connection channel entity is created according to the information about the virtual connection channel between the first router and the second router, obtain the virtual connection channel according to the next hop parameter of the virtual connection channel. Layer forwarding tunnel information.
可选地,该装置还包括:Optionally, the device further includes:
应用模块,设置为在隧道获取模块获取虚拟连接通道的外层转发隧道信息之后,将外层转发隧道信息记录在虚拟连通道实体上,或者,将对虚拟连接通道进行功能参数的配置应用于虚拟连接通道实体。The application module is configured to record the outer forwarding tunnel information on the virtual connection channel entity after the tunnel acquisition module obtains the outer forwarding tunnel information of the virtual connection channel, or apply the configuration of the function parameter to the virtual connection channel. Connect the channel entity.
可选地,该装置还包括,Optionally, the device further includes
转发模块,设置为在隧道获取模块获取虚拟连接通道的外层转发隧道信息之后,根据外层转发隧道信息,得到外层转发隧道;在外层转发隧道进行数据转发。The forwarding module is configured to obtain an outer forwarding tunnel according to the outer forwarding tunnel information after the tunnel obtaining module obtains the outer forwarding tunnel information of the virtual connection channel, and forward the data in the outer forwarding tunnel.
本发明实施例还提供了一种路由器,包括上述配置装置。An embodiment of the present invention further provides a router, including the foregoing configuration apparatus.
需要说明的是,本发明实施例提供的配置装置是应用上述配置方法的装置,即上述配置方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。It should be noted that the configuration apparatus provided by the embodiment of the present invention is the apparatus applying the foregoing configuration method, that is, all the embodiments of the foregoing configuration method are applicable to the apparatus, and all of the same or similar beneficial effects can be achieved.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现配置方法。The embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed, the configuration method is implemented.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本申请不限制于任何特定形式的硬件和软件的结合。本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改 或者等同替换,而不脱离本申请技术方案的精神和范围,均应涵盖在本申请的权利要求范围当中。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. This application is not limited to any specific combination of hardware and software. Those skilled in the art should understand that the technical solution of the present application can be modified. Rather, the scope of the claims of the present application should be included in the scope of the claims.
工业实用性Industrial applicability
上述技术方案解决了目前的路由器设备中,对于Kompella方案的VPLS不支持基于虚拟连接通道级别上的控制的弊端。 The foregoing technical solution solves the shortcomings of the current router device that the VPLS of the Kompella solution does not support control based on the virtual connection channel level.

Claims (10)

  1. 一种配置方法,包括:A configuration method, including:
    获取第一路由器上的虚拟专用局域网VPLS业务的配置参数;Obtaining configuration parameters of the virtual private local area network VPLS service on the first router;
    根据所述配置参数,在所述第一路由器与第二路由器之间,生成所述第一路由器与所述第二路由器的虚拟连接通道;其中,所述第一路由器与所述第二路由器为相邻的路由器;And generating, according to the configuration parameter, a virtual connection channel between the first router and the second router, where the first router and the second router are Adjacent routers;
    对所述虚拟连接通道进行功能参数的配置。The function parameters are configured for the virtual connection channel.
  2. 如权利要求1所述的配置方法,其中,所述配置参数包括:The configuration method of claim 1, wherein the configuration parameters comprise:
    路由区分符RD、路由目标RT、虚拟设备标识VE ID、虚拟设备集VE set参数中的一个或者多个。One or more of a route specifier RD, a route target RT, a virtual device identifier VE ID, and a virtual device set VE set parameter.
  3. 如权利要求1所述的配置方法,其中,所述根据所述配置参数,在所述第一路由器与第二路由器之间,生成所述第一路由器与所述第二路由器的虚拟连接通道的步骤包括:The configuration method according to claim 1, wherein the generating, according to the configuration parameter, a virtual connection channel between the first router and the second router between the first router and the second router The steps include:
    根据所述配置参数,生成第一地址族信令并向所有与所述第一路由器相邻的其它路由器发送;其中,所述第二路由器是所述其它路由器中的任意一个;Generating, according to the configuration parameter, first address family signaling and sending to all other routers adjacent to the first router; wherein the second router is any one of the other routers;
    接收其它路由器根据所述第一地址族信令反馈的第二地址族信令;Receiving, by the other router, the second address family signaling fed back according to the signaling of the first address family;
    从所述第二地址族信令中,选中与所述第一地址族信令相匹配的一个所述第二地址族信令对应的第二路由器;Selecting, by the second address family signaling, a second router corresponding to the second address family signaling that matches the first address family signaling;
    在所述第一路由器与所述第二路由器之间,生成所述第一路由器与所述第二路由器的虚拟连接通道。A virtual connection channel between the first router and the second router is generated between the first router and the second router.
  4. 如权利要求1所述的配置方法,其中,所述对所述虚拟连接通道进行功能参数的配置的步骤包括:The configuration method according to claim 1, wherein the step of configuring the virtual connection channel to perform the function parameter comprises:
    对所述虚拟连接通道进行以下至少一种功能的功能参数的配置:隧道策略、性能统计和双向转发侦测BFD。Performing configuration on the virtual connection channel for at least one of the following functional parameters: tunnel policy, performance statistics, and bidirectional forwarding detection BFD.
  5. 如权利要求3或4所述的配置方法,所述在所述第一路由器与第二路由器之间,生成所述第一路由器与所述第二路由器的虚拟连接通道的步骤之 后,所述方法还包括:The configuration method according to claim 3 or 4, wherein the step of generating a virtual connection channel between the first router and the second router between the first router and the second router Thereafter, the method further includes:
    根据所述第一路由器与所述第二路由器之间的虚拟连接通道的信息,创建虚拟连接通道实体。And creating a virtual connection channel entity according to the information of the virtual connection channel between the first router and the second router.
  6. 如权利要求5所述的配置方法,所述根据所述第一路由器与第二路由器之间的虚拟连接通道的信息,创建虚拟连接通道实体的步骤之后,所述方法还包括:The method of claim 5, after the step of creating a virtual connection channel entity according to the information of the virtual connection channel between the first router and the second router, the method further includes:
    根据所述虚拟连接通道的下一跳参数,获取所述虚拟连接通道的外层转发隧道信息。Obtaining the outer forwarding tunnel information of the virtual connection channel according to the next hop parameter of the virtual connection channel.
  7. 如权利要求6所述的配置方法,所述获取所述虚拟连接通道的外层转发隧道信息的步骤之后,所述方法还包括:The method of claim 6, after the step of acquiring the outer forwarding tunnel information of the virtual connection channel, the method further includes:
    将所述外层转发隧道信息记录在所述虚拟连通道实体上,或者将对所述虚拟连接通道进行功能参数的配置应用于所述虚拟连接通道实体。Recording the outer forwarding tunnel information on the virtual connection channel entity, or applying a configuration of the virtual connection channel to the virtual connection channel entity.
  8. 如权利要求6所述的配置方法,所述获取所述虚拟连接通道的外层转发隧道信息的步骤之后,所述方法还包括:The method of claim 6, after the step of acquiring the outer forwarding tunnel information of the virtual connection channel, the method further includes:
    根据所述外层转发隧道信息,得到外层转发隧道;Obtaining an outer forwarding tunnel according to the outer forwarding tunnel information;
    在所述外层转发隧道进行数据转发。Data forwarding is performed on the outer forwarding tunnel.
  9. 一种配置装置,包括:A configuration device comprising:
    获取模块,设置为获取第一路由器上的虚拟专用局域网VPLS业务的配置参数;Obtaining a module, configured to obtain a configuration parameter of a virtual private local area network VPLS service on the first router;
    通道生成模块,设置为根据所述配置参数,在所述第一路由器与第二路由器之间,生成所述第一路由器与所述第二路由器的虚拟连接通道;其中,所述第一路由器与所述第二路由器为相邻的路由器;a channel generating module, configured to generate, according to the configuration parameter, a virtual connection channel between the first router and the second router between the first router and the second router, where the first router and the first router The second router is an adjacent router;
    配置模块,设置为对所述虚拟连接通道进行功能参数的配置。The configuration module is configured to configure the function parameters of the virtual connection channel.
  10. 一种路由器,包括如权利要求9所述的配置装置。 A router comprising the configuration device of claim 9.
PCT/CN2016/081329 2015-09-06 2016-05-06 Configuration method and device and router WO2017036162A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510559335.1A CN106506179A (en) 2015-09-06 2015-09-06 A kind of collocation method, device and router
CN201510559335.1 2015-09-06

Publications (1)

Publication Number Publication Date
WO2017036162A1 true WO2017036162A1 (en) 2017-03-09

Family

ID=58186582

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081329 WO2017036162A1 (en) 2015-09-06 2016-05-06 Configuration method and device and router

Country Status (2)

Country Link
CN (1) CN106506179A (en)
WO (1) WO2017036162A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108429677B (en) * 2018-02-26 2021-07-06 新华三技术有限公司 Route configuration method, device and implementation device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141330A (en) * 2007-10-23 2008-03-12 华为技术有限公司 Method, system and equipment to establish BFD detection for LSP tunnel
CN101645810A (en) * 2009-09-02 2010-02-10 杭州华三通信技术有限公司 Method and equipment for detecting pseudo wire (PW)
CN102332987A (en) * 2010-07-12 2012-01-25 中兴通讯股份有限公司 Method and system for configuration of OAM attribute of pseudowire
US20120177054A1 (en) * 2011-01-10 2012-07-12 Manas Pati Managing Active Edge Devices in VPLS Using BGP Signaling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141330A (en) * 2007-10-23 2008-03-12 华为技术有限公司 Method, system and equipment to establish BFD detection for LSP tunnel
CN101645810A (en) * 2009-09-02 2010-02-10 杭州华三通信技术有限公司 Method and equipment for detecting pseudo wire (PW)
CN102332987A (en) * 2010-07-12 2012-01-25 中兴通讯股份有限公司 Method and system for configuration of OAM attribute of pseudowire
US20120177054A1 (en) * 2011-01-10 2012-07-12 Manas Pati Managing Active Edge Devices in VPLS Using BGP Signaling

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KOMPELLA, KIREETI ET AL.: "Virtual Private LAN Service (VPLS) Using BGP for Auto-Discovery and Singaling", RFC4761: BGP AUTO-DISCOVERY AND SIGNALING FOR VPLS, 31 January 2007 (2007-01-31), XP015055050 *

Also Published As

Publication number Publication date
CN106506179A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
US10484203B2 (en) Method for implementing communication between NVO3 network and MPLS network, and apparatus
US11936552B2 (en) Method and device for implementing VPN cross-domain, and border node
US11206208B2 (en) Host routed overlay with deterministic host learning and localized integrated routing and bridging
US20210328835A1 (en) Method and system of overlay flow control
EP3595248B1 (en) Static route advertisement
US7733876B2 (en) Inter-autonomous-system virtual private network with autodiscovery and connection signaling
US9621378B2 (en) Methods and routers for connectivity setup between provider edge routers
JP2014532368A (en) Virtual private network execution method and system based on traffic engineering tunnel
US8385341B2 (en) Ethernet frame broadcast emulation
Monge et al. MPLS in the SDN Era: Interoperable Scenarios to Make Networks Scale to New Services
US20230155932A1 (en) Multicast traffic transmission method and apparatus, communication node, and storage medium
JP2018519763A (en) Network service path calculation element centralized controller (PCECC)
WO2015032275A1 (en) Method and router for establishing tunnel
EP2439888B1 (en) Apparatus and method for establishing pseudo wire
WO2013120418A1 (en) Policy-based customized routing method and device
WO2021017590A1 (en) Method, system, and first gw for achieving dci three-layer communication
WO2017036162A1 (en) Configuration method and device and router
Pepelnjak Mpls And Vpn Architectures (Volume Ii)
Edgeworth et al. Cisco Intelligent WAN (IWAN)
Singh BGP MPLS based EVPN And its implementation and use cases
WO2024036149A1 (en) Automated scaling of network topologies using unique identifiers
Jiang Ethernet VPN Prototyping on Next Generation NPU: Comparison of VPLS and Ethernet VPN Technologies

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16840591

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16840591

Country of ref document: EP

Kind code of ref document: A1