WO2017036164A1 - Traffic forwarding control method and system - Google Patents

Traffic forwarding control method and system Download PDF

Info

Publication number
WO2017036164A1
WO2017036164A1 PCT/CN2016/081440 CN2016081440W WO2017036164A1 WO 2017036164 A1 WO2017036164 A1 WO 2017036164A1 CN 2016081440 W CN2016081440 W CN 2016081440W WO 2017036164 A1 WO2017036164 A1 WO 2017036164A1
Authority
WO
WIPO (PCT)
Prior art keywords
route
specified
routing
traffic forwarding
next hop
Prior art date
Application number
PCT/CN2016/081440
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 WO2017036164A1 publication Critical patent/WO2017036164A1/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • 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]

Definitions

  • This application relates to, but is not limited to, the field of communications.
  • FIG. 1 is a schematic diagram of the traffic forwarding direction in the related art. As shown in Figure 1, the traffic in Figure 1 is from the user edge device (Customer Edge). , referred to as CE) 2 forwarded to CE1, this relatively complex networking, the practice of the relevant technology is to require CE1/Edge Router (Provide Edge, PE) 1 / Route Reflector (RR) / The configurations of the devices such as the PE2/CE2 are modified to ensure that routes are routed to the traffic forwarding channel from CE2 to CE1. However, this configuration is not only complicated, but may affect the original route advertisement, which affects other device traffic. Forwarding.
  • CE Service Edge
  • RR Route Reflector
  • the traffic forwarding configuration process between CE devices causes the traffic forwarding efficiency of other devices in the network to be reduced.
  • no effective solution has been proposed.
  • This document provides a method and system for controlling traffic forwarding to solve the problem of traffic forwarding configuration between CE devices in related technologies, resulting in lower traffic forwarding efficiency of other devices in the network.
  • a method for controlling traffic forwarding including: a route reflector RR acquiring a first route and a second route; and the RR notifying the first edge router PE specified by the first route to the first Route, and advertise the second route only to the second edge router PE specified by the second route; wherein the first route and the second route are used to establish traffic forwarding between the first edge user equipment CE and the second edge user equipment CE Routing channel; the first CE is on the first PE The first routing neighbor is specified, and the second CE is the designated second routing neighbor on the second PE.
  • the first route and the second route are routes that are sent by the routing controller to the RR or locally configured in the RR.
  • the first route specifies the next hop of the first PE
  • the second route specifies the next hop of the RR.
  • the next hop of the first PE specified by the first route is a valid interface address of the RR
  • the next hop of the RR specified by the second route is a valid interface address of the second PE
  • the first route is a virtual private network version 4 VPNV4 route
  • the second route is an Internet Protocol version 4-virtual private network route forwarding instance IPV4-VRF route.
  • a traffic forwarding control system including: a route reflector RR, a first edge user equipment CE, a second edge user equipment CE, a first edge router PE, and a second edge.
  • the router PE wherein the first PE is an edge router specified by the first route; the second PE is an edge router specified by the second route; the first CE is the designated first route neighbor on the first PE, and the second CE is the second Specifying a second routing neighbor on the PE;
  • the RR is configured to: obtain the first route and the second route, and advertise only the first route to the first PE, and only the second route to the second PE; wherein, the first route and the first route The two routes are used to establish a traffic forwarding routing channel between the first CE and the second CE.
  • the first route and the second route are routes configured locally in the RR.
  • system further includes: a routing controller
  • the routing controller is configured to send the first route and the second route to the RR.
  • the first route specifies the next hop of the first PE
  • the second route specifies the next hop of the RR.
  • the next hop of the first PE specified by the first route is a valid interface address of the RR
  • the next hop of the RR specified by the second route is a valid interface address of the second PE
  • the first route is a virtual private network version 4 VPNV4 route
  • the second route is an Internet Protocol version 4-virtual private network route forwarding instance IPV4-VRF route.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above is provided.
  • the route reflector RR is used to obtain the first route and the second route, and the first route and the second route are respectively advertised to the first edge router and the second edge router respectively, thereby opening the first CE backup and
  • the traffic between the second CEs is forwarded to the routing channel without modifying the configuration of the first CE, the second CE, the first edge router, and the second edge router, so that the forwarding of traffic of other devices is not affected, and the solution is solved.
  • the traffic forwarding configuration process between CE devices reduces the traffic forwarding efficiency of other devices in the network and improves the speed of establishing traffic forwarding routing channels between CEs.
  • FIG. 1 is a schematic diagram of a traffic forwarding direction in the related art
  • FIG. 2 is a flowchart of a method for controlling traffic forwarding according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram 1 of a control system for traffic forwarding according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram 2 of a control system for traffic forwarding according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a method of controlling traffic forwarding according to an alternative embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for controlling traffic forwarding according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
  • Step S202 the route reflector RR acquires the first route and the second route.
  • Step S204 the RR advertises only the first route to the first edge router PE specified by the first route, and advertises the second route only to the second edge router PE specified by the second route, where the first route and the second route are used.
  • the route reflector RR is used to obtain the first route and the second route, and the first route and the second route are respectively advertised only to the first edge router and the second edge router respectively, thereby opening the first CE backup and the second route.
  • the traffic between the CEs is forwarded to the routing channel without modifying the configuration of the first CE, the second CE, the first edge router, the second edge router, etc., and thus does not affect the original route advertisement, and thus does not affect.
  • the forwarding of traffic to other devices solves the problem of traffic forwarding configuration between CEs, which reduces the traffic forwarding efficiency of other devices in the network, reduces the complexity of configuration, and improves the relationship between the first CE and the second CE.
  • the rate at which traffic is forwarded to the routing channel is used to obtain the first route and the second route, and the first route and the second route are respectively advertised only to the first edge router and the second edge router respectively, thereby opening the first CE backup and the second route.
  • the traffic between the CEs is forwarded to the routing channel without modifying the configuration of
  • the first route and the second route may be routes that are sent by the routing controller to the RR or locally configured in the RR.
  • the routing controller may be another centralized management device, or may be implemented by an operation command, an operation and maintenance (OAM) command, or a command sent by a gateway interface.
  • OAM operation and maintenance
  • the RR or the route is directly configured on the RR, so that the control of the traffic forwarding is managed by one device, which makes the operation simpler.
  • the route is configured on the RR compared to the configuration of each device in the related technology. Less affected.
  • the first route may specify a next hop of the first PE
  • the second route may specify a next hop of the RR.
  • the next hop of the first PE specified by the first route is a valid interface address of the RR
  • the next hop of the RR specified by the second route is a valid interface address of the second PE.
  • the next hop is specified, so that the destination address of the traffic forwarding can be obtained smoothly during the traffic forwarding process, thereby speeding up the traffic forwarding.
  • the next hop of the first PE specified by the first route is a valid interface address of the RR
  • the next hop of the RR specified by the second route is a valid interface address of the second PE
  • the first CE forwards the traffic.
  • the second CE can be quickly obtained after being forwarded by the first PE, the RR, and the second PE device. Arrived at the second CE.
  • the first route may be a virtual private network version 4 VPNV4 route
  • the second route may be an Internet Protocol version 4-virtual private network route forwarding instance IPV4-VRF route.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the method includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present invention.
  • a flow forwarding control system is also provided, which is used to implement the foregoing embodiments and implementation manners, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a structural block diagram of a control system for traffic forwarding according to an embodiment of the present invention. As shown in FIG. 3, the system includes: a route reflector RR32, a first edge user equipment CE34, and a second edge user equipment CE36. Edge router PE38 and second edge router PE310.
  • the first PE 38 is the edge router designated by the first route; the second PE 310 is the edge router designated by the second route; the first CE 34 is the designated first route neighbor on the first PE 38, and the second CE 36 is the designated first on the second PE 310. Two routing neighbors;
  • the RR32 is configured to: obtain the first route and the second route, and advertise only the first route to the first PE 38, and advertise the second route only to the second PE 310.
  • the first route and the second route are used to establish the first CE34 and The traffic between the second CE 36 forwards the routing channel.
  • the first route and the second route are obtained by using the route reflector RR32, and the first route and the second route are respectively advertised to the first PE 38 and the second PE 310 respectively, thereby opening a gap between the first CE 34 and the second CE 36.
  • Traffic forwarding routing channel without modifying the first CE34 The configuration of the CE36, the first PE38, and the second PE310 does not affect the original route advertisement, and thus does not affect the forwarding of traffic of other devices. This solves the traffic forwarding configuration process between CE devices.
  • the problem of reduced traffic forwarding efficiency of other devices in the network reduces the complexity of the configuration and improves the speed of establishing the traffic forwarding routing channel between CEs.
  • the first route and the second route may be routes configured locally in the RR.
  • FIG. 4 is a structural block diagram 2 of a control system for traffic forwarding according to an embodiment of the present invention. As shown in FIG. 4, the system further includes:
  • the routing controller 42 is configured to deliver the first route and the second route to the RR32.
  • the routing controller 42 may be another centralized management device, or may be implemented by the RR32 configuring the OAM command or the gateway interface, and the routing controller 42 sends a route to the RR32 to control the traffic forwarding through a device.
  • the operation is relatively simple, and the configuration of the route on the RR32 has less impact on the network than the configuration of modifying each device in the related art.
  • the first route may specify the next hop of the first PE 38
  • the second route may specify the next hop of the RR32.
  • the next hop of the first PE 38 specified by the first route is a valid interface address of the RR32
  • the next hop of the RR32 specified by the second route is a valid interface address of the second PE 310.
  • the next hop is specified, so that the destination address of the traffic forwarding can be obtained smoothly during the traffic forwarding process, thereby speeding up the traffic forwarding.
  • the next hop of the first PE 38 specified by the first route is a valid interface address of the RR32
  • the next hop of the RR32 specified by the second route is a valid interface address of the second PE 310
  • the first CE 34 forwards the traffic.
  • the second CE 36 can be quickly obtained after being forwarded by the first PE 38, the RR 32, and the second PE 310 to reach the second CE 36.
  • the first route may be a virtual private network version 4 VPNV4 route
  • the second route may be an Internet Protocol version 4-virtual private network route forwarding instance IPV4-VRF route.
  • the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the above modules are all located in the same processor; or, the above modules are respectively Located in multiple processors.
  • An alternative embodiment of the present invention provides a method for controlling traffic forwarding.
  • the method uses a routing controller to deliver a route, and the route is specified to be sent to a neighboring PEER of the BGP; the routes are respectively forwarded to the neighboring PEER by the RR device.
  • PE1/PE2 advertises that the traffic forwarding channel of CE2 (corresponding to the first CE in the foregoing embodiment) to CE1 (corresponding to the second CE in the foregoing embodiment) is opened;
  • the route is characterized in that: when advertising on the RR device, the next hop is specified; when advertising on the RR device, which PEER is routed to the RRER The transmission is specified, not in accordance with the provisions of ordinary BGP route advertisements;
  • the VPNV4 route is advertised to the PE2 (corresponding to the first PE in the foregoing embodiment), and the IPV4-VRF route is advertised to the PE1 (equivalent to the second PE in the foregoing embodiment), and the traffic is forwarded by CE2 to CE1. Routing channels, which in turn ensure traffic from CE2 to CE1.
  • the routing controller may be another centralized management device, or may be implemented by the device RR configuring an OAM command or a gateway interface.
  • This solution has the advantages of centralized management on one device, convenient operation, and small impact on configuration of the network.
  • FIG. 5 is a schematic diagram of a method for controlling traffic forwarding according to an alternative embodiment of the present invention.
  • a route is sent and sent on the device RR, and is respectively transmitted to other devices to open CE2. (corresponding to the first CE in the above embodiment) to CE1 (corresponding to the second CE in the above embodiment) to forward the routing channel of the traffic.
  • Methods include:
  • Step 1 the device RR (corresponding to the RR in the above embodiment) and the PE2 (corresponding to the first PE in the above embodiment) configure the neighbors of the VPNV4.
  • Step 2 The device RR and PE1 (corresponding to the second PE in the foregoing embodiment) configure a VRF neighbor.
  • step 3 the device RR is configured as a route reflector.
  • Step 4 A route is sent by the routing controller or a route is configured on the device RR.
  • the route is characterized by: a VPNV4 route; the next hop is specified, which is a valid interface address of the RR; The advertised to the specified VPNV4 neighbor, that is, the route is advertised only to the specified VPNV4 neighbor on PE2.
  • Step 5 A route is configured by the routing controller or configured on the device RR.
  • the route is characterized by: 1) an IPV4VRF route; the next hop is specified, which is a valid interface address of PE1; VRF neighbor advertisement, that is, the route is advertised only to the specified IPV4VRF neighbor on PE1.
  • Step 4 the traffic forwarding channel from CE2 to CE1 is cleared.
  • the optional embodiment of the present invention is easy to manage, relatively simple to operate, and reduces the impact of configuration changes on the network.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the route reflector RR acquires the first route and the second route.
  • the RR advertises the first route to the first edge router PE specified by the first route, and advertises the second route to the second edge router PE specified by the second route, where the first route and the second route are used to establish the first edge.
  • a traffic forwarding route between the user equipment CE and the second edge user equipment CE the first CE is the designated first routing neighbor on the first PE, and the second CE is the designated second routing neighbor on the second PE;
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • modules or steps of the embodiments of the present invention can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or They are separately fabricated into integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
  • the route reflector RR is used to obtain the first route and the second route, and the first route and the second route are respectively advertised to the first edge router and the second edge router respectively, thereby opening the first CE backup and
  • the traffic between the second CEs is forwarded to the routing channel without modifying the configuration of the first CE, the second CE, the first edge router, and the second edge router, so that the forwarding of traffic of other devices is not affected, and the solution is solved.
  • the traffic forwarding configuration process between CE devices reduces the traffic forwarding efficiency of other devices in the network and improves the speed of establishing traffic forwarding routing channels between CEs.

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

Disclosed are a traffic forwarding control method and system. A route reflector (RR) acquires a first route and a second route. The RR only informs a first provider edge (PE) specified by the first route of the first route, and only informs a second PE specified by the second route of the second route, the first route and the second route being used for establishing a traffic forwarding route channel between a first customer edge (CE) and a second CE, the first CE being a first route neighbor specified on the first PE, and the second CE being a second route neighbor specified on the second PE.

Description

流量转发的控制方法及系统Traffic forwarding control method and system 技术领域Technical field
本申请涉及但不限于通信领域。This application relates to, but is not limited to, the field of communications.
背景技术Background technique
RFC4271定义的边界网关协议(Border Gateway Protocol,简称BGP)是路由通告的基本方法;图1是相关技术中的流量转发方向示意图,如图1所示,图1中流量从用户边缘设备(Customer Edge,简称CE)2转发到CE1上,这种比较复杂的组网,相关技术中的做法是需要将CE1/边缘路由器(Provide Edge,简称PE)1/路由反射器(Route Reflector,简称RR)/PE2/CE2等设备的配置都进行修改,保证有路由打通CE2到CE1的流量转发通道,但这种配置不仅仅是比较复杂,而且可能会对原来的路由通告产生影响,进而影响到其他设备流量的转发。The Border Gateway Protocol (BGP) defined in RFC4271 is the basic method of route advertisement. Figure 1 is a schematic diagram of the traffic forwarding direction in the related art. As shown in Figure 1, the traffic in Figure 1 is from the user edge device (Customer Edge). , referred to as CE) 2 forwarded to CE1, this relatively complex networking, the practice of the relevant technology is to require CE1/Edge Router (Provide Edge, PE) 1 / Route Reflector (RR) / The configurations of the devices such as the PE2/CE2 are modified to ensure that routes are routed to the traffic forwarding channel from CE2 to CE1. However, this configuration is not only complicated, but may affect the original route advertisement, which affects other device traffic. Forwarding.
针对相关技术,CE设备之间的流量转发配置过程,导致网络内其他设备的流量转发效率降低问题,目前尚未提出有效的解决方案。For the related technologies, the traffic forwarding configuration process between CE devices causes the traffic forwarding efficiency of other devices in the network to be reduced. Currently, no effective solution has been proposed.
发明内容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.
本文提供了一种流量转发的控制方法及系统,以至少解决相关技术中CE设备之间的流量转发配置过程,导致网络内其他设备的流量转发效率降低问题。This document provides a method and system for controlling traffic forwarding to solve the problem of traffic forwarding configuration between CE devices in related technologies, resulting in lower traffic forwarding efficiency of other devices in the network.
根据本发明实施例的一个方面,提供了一种流量转发的控制方法,包括:路由反射器RR获取第一路由和第二路由;RR只向第一路由指定的第一边缘路由器PE通告第一路由,以及只向第二路由指定的第二边缘路由器PE通告第二路由;其中,第一路由和第二路由用于建立第一边缘用户设备CE和第二边缘用户设备CE之间的流量转发路由通道;第一CE为第一PE上的 指定第一路由邻居,第二CE为第二PE上的指定第二路由邻居。According to an aspect of the present invention, a method for controlling traffic forwarding is provided, including: a route reflector RR acquiring a first route and a second route; and the RR notifying the first edge router PE specified by the first route to the first Route, and advertise the second route only to the second edge router PE specified by the second route; wherein the first route and the second route are used to establish traffic forwarding between the first edge user equipment CE and the second edge user equipment CE Routing channel; the first CE is on the first PE The first routing neighbor is specified, and the second CE is the designated second routing neighbor on the second PE.
在本发明实施例中,第一路由和第二路由为路由控制器下发给RR的或者在RR本地配置的路由。In the embodiment of the present invention, the first route and the second route are routes that are sent by the routing controller to the RR or locally configured in the RR.
在本发明实施例中,第一路由指定第一PE的下一跳,第二路由指定RR的下一跳。In the embodiment of the present invention, the first route specifies the next hop of the first PE, and the second route specifies the next hop of the RR.
在本发明实施例中,第一路由指定的第一PE的下一跳为RR的一个有效接口地址,第二路由指定的RR的下一跳为第二PE的一个有效接口地址。In the embodiment of the present invention, the next hop of the first PE specified by the first route is a valid interface address of the RR, and the next hop of the RR specified by the second route is a valid interface address of the second PE.
在本发明实施例中,第一路由为虚拟专用网络第四版VPNV4路由,第二路由为互联网协议第四版-虚拟专用网络路由转发实例IPV4-VRF路由。In the embodiment of the present invention, the first route is a virtual private network version 4 VPNV4 route, and the second route is an Internet Protocol version 4-virtual private network route forwarding instance IPV4-VRF route.
根据本发明实施例的另一方面,提供了一种流量转发的控制系统,包括:路由反射器RR,第一边缘用户设备CE,第二边缘用户设备CE,第一边缘路由器PE和第二边缘路由器PE;其中,第一PE为第一路由指定的边缘路由器;第二PE为第二路由指定的边缘路由器;第一CE为第一PE上的指定第一路由邻居,第二CE为第二PE上的指定第二路由邻居;RR设置为:获取第一路由和第二路由,只向第一PE通告第一路由,以及只向第二PE通告第二路由;其中,第一路由和第二路由用于建立第一CE与第二CE之间的流量转发路由通道。According to another aspect of the present invention, a traffic forwarding control system is provided, including: a route reflector RR, a first edge user equipment CE, a second edge user equipment CE, a first edge router PE, and a second edge. The router PE; wherein the first PE is an edge router specified by the first route; the second PE is an edge router specified by the second route; the first CE is the designated first route neighbor on the first PE, and the second CE is the second Specifying a second routing neighbor on the PE; the RR is configured to: obtain the first route and the second route, and advertise only the first route to the first PE, and only the second route to the second PE; wherein, the first route and the first route The two routes are used to establish a traffic forwarding routing channel between the first CE and the second CE.
在本发明实施例中,第一路由和第二路由为在RR本地配置的路由。In the embodiment of the present invention, the first route and the second route are routes configured locally in the RR.
在本发明实施例中,系统还包括:路由控制器;In the embodiment of the present invention, the system further includes: a routing controller;
路由控制器,设置为:将第一路由和第二路由下发给RR。The routing controller is configured to send the first route and the second route to the RR.
在本发明实施例中,第一路由指定第一PE的下一跳,第二路由指定RR的下一跳。In the embodiment of the present invention, the first route specifies the next hop of the first PE, and the second route specifies the next hop of the RR.
在本发明实施例中,第一路由指定的第一PE的下一跳为RR的一个有效接口地址,第二路由指定的RR的下一跳为第二PE的一个有效接口地址。In the embodiment of the present invention, the next hop of the first PE specified by the first route is a valid interface address of the RR, and the next hop of the RR specified by the second route is a valid interface address of the second PE.
在本发明实施例中,第一路由为虚拟专用网络第四版VPNV4路由,第二路由为互联网协议第四版-虚拟专用网络路由转发实例IPV4-VRF路由。In the embodiment of the present invention, the first route is a virtual private network version 4 VPNV4 route, and the second route is an Internet Protocol version 4-virtual private network route forwarding instance IPV4-VRF route.
根据本发明实施例的另一方面,提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。 According to another aspect of an embodiment of the present invention, a computer readable storage medium storing computer executable instructions for performing the method of any of the above is provided.
通过本发明实施例,采用路由反射器RR获取第一路由和第二路由,以及将第一路由和第二路由分别只通告给第一边缘路由器和第二边缘路由器,进而打通第一CE备和第二CE之间的流量转发路由通道,而不需要修改第一CE、第二CE,第一边缘路由器、第二边缘路由器等设备的配置,进而不会影响到其他设备流量的转发,解决了CE设备之间的流量转发配置过程,导致网络内其他设备的流量转发效率降低的问题,提高了CE间的流量转发路由通道建立的速度。In the embodiment of the present invention, the route reflector RR is used to obtain the first route and the second route, and the first route and the second route are respectively advertised to the first edge router and the second edge router respectively, thereby opening the first CE backup and The traffic between the second CEs is forwarded to the routing channel without modifying the configuration of the first CE, the second CE, the first edge router, and the second edge router, so that the forwarding of traffic of other devices is not affected, and the solution is solved. The traffic forwarding configuration process between CE devices reduces the traffic forwarding efficiency of other devices in the network and improves the speed of establishing traffic forwarding routing channels between CEs.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是相关技术中的流量转发方向示意图;1 is a schematic diagram of a traffic forwarding direction in the related art;
图2是根据本发明实施例的流量转发的控制方法的流程图;2 is a flowchart of a method for controlling traffic forwarding according to an embodiment of the present invention;
图3是根据本发明实施例的流量转发的控制系统的结构框图一;3 is a structural block diagram 1 of a control system for traffic forwarding according to an embodiment of the present invention;
图4是根据本发明实施例的流量转发的控制系统的结构框图二;4 is a structural block diagram 2 of a control system for traffic forwarding according to an embodiment of the present invention;
图5是根据本发明可选实施例的流量转发的控制方法的示意图。FIG. 5 is a schematic diagram of a method of controlling traffic forwarding according to an alternative embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将参考附图并结合实施例来说明本发明的实施方式。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Embodiments of the present invention will be hereinafter described with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本文的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the specification and claims of the present specification and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order.
在本实施例中提供了一种流量转发的控制方法,图2是根据本发明实施例的流量转发的控制方法的流程图,如图2所示,该流程包括如下步骤:In this embodiment, a method for controlling traffic forwarding is provided. FIG. 2 is a flowchart of a method for controlling traffic forwarding according to an embodiment of the present invention. As shown in FIG. 2, the process includes the following steps:
步骤S202,路由反射器RR获取第一路由和第二路由; Step S202, the route reflector RR acquires the first route and the second route.
步骤S204,RR只向第一路由指定的第一边缘路由器PE通告第一路由,以及只向第二路由指定的第二边缘路由器PE通告第二路由,其中,第一路由和第二路由用于建立第一边缘用户设备CE和第二边缘用户设备CE之间的流量转发路由通道;第一CE为第一PE上的指定第一路由邻居,第二CE为第二PE上的指定第二路由邻居。Step S204, the RR advertises only the first route to the first edge router PE specified by the first route, and advertises the second route only to the second edge router PE specified by the second route, where the first route and the second route are used. Establishing a traffic forwarding routing channel between the first edge user equipment CE and the second edge user equipment CE; the first CE is the designated first routing neighbor on the first PE, and the second CE is the designated second routing on the second PE neighbor.
通过上述步骤,采用路由反射器RR获取第一路由和第二路由,以及将第一路由和第二路由分别只通告给第一边缘路由器和第二边缘路由器,进而打通第一CE备和第二CE之间的流量转发路由通道,而不需要修改第一CE、第二CE,第一边缘路由器、第二边缘路由器等设备的配置,进而不会对原来的路由通告产生影响,进而不会影响到其他设备流量的转发,解决了CE设备之间的流量转发配置过程,导致网络内其他设备的流量转发效率降低的问题,减少了配置的复杂度,提高了第一CE和第二CE之间的流量转发路由通道建立的速度。Through the above steps, the route reflector RR is used to obtain the first route and the second route, and the first route and the second route are respectively advertised only to the first edge router and the second edge router respectively, thereby opening the first CE backup and the second route. The traffic between the CEs is forwarded to the routing channel without modifying the configuration of the first CE, the second CE, the first edge router, the second edge router, etc., and thus does not affect the original route advertisement, and thus does not affect. The forwarding of traffic to other devices solves the problem of traffic forwarding configuration between CEs, which reduces the traffic forwarding efficiency of other devices in the network, reduces the complexity of configuration, and improves the relationship between the first CE and the second CE. The rate at which traffic is forwarded to the routing channel.
在本发明实施例中,上述第一路由和上述第二路由可以是路由控制器下发给RR的或者在RR本地配置的路由。In the embodiment of the present invention, the first route and the second route may be routes that are sent by the routing controller to the RR or locally configured in the RR.
上述路由控制器可以是另一个集中管理设备,也可以是RR配置运行、管理和维护(Operation Administration and Maintenance,简称为OAM)命令或者网关界面下发命令实现,通过在路由控制器下发路由给RR或者直接在RR上配置路由,使得流量转发的控制通过一个设备进行管理,使得操作比较简单,同时在该RR上配置路由相比于相关技术中修改每个设备的配置相比,对网络的影响较小。The routing controller may be another centralized management device, or may be implemented by an operation command, an operation and maintenance (OAM) command, or a command sent by a gateway interface. The RR or the route is directly configured on the RR, so that the control of the traffic forwarding is managed by one device, which makes the operation simpler. At the same time, the route is configured on the RR compared to the configuration of each device in the related technology. Less affected.
在本发明实施例中,上述第一路由可以指定第一PE的下一跳,第二路由可以指定RR的下一跳。在一个可选的实施例中,第一路由指定的第一PE的下一跳为RR的一个有效接口地址,第二路由指定的RR的下一跳为第二PE的一个有效接口地址。通过下一跳为指定的,使得在流量转发过程中可以很顺利的获取到流量转发的目的地址,进而加快了流量转发的速度。比如:通过第一路由指定的第一PE的下一跳为RR的一个有效接口地址,第二路由指定的RR的下一跳为第二PE的一个有效接口地址后,第一CE将流量转发给第二CE,则能够很快地获取经过第一PE、RR、第二PE设备转发后 到达第二CE。In the embodiment of the present invention, the first route may specify a next hop of the first PE, and the second route may specify a next hop of the RR. In an optional embodiment, the next hop of the first PE specified by the first route is a valid interface address of the RR, and the next hop of the RR specified by the second route is a valid interface address of the second PE. The next hop is specified, so that the destination address of the traffic forwarding can be obtained smoothly during the traffic forwarding process, thereby speeding up the traffic forwarding. For example, the next hop of the first PE specified by the first route is a valid interface address of the RR, and the next hop of the RR specified by the second route is a valid interface address of the second PE, and the first CE forwards the traffic. The second CE can be quickly obtained after being forwarded by the first PE, the RR, and the second PE device. Arrived at the second CE.
在本发明一个可选实施例中,第一路由可以为虚拟专用网络第四版VPNV4路由,第二路由可以为互联网协议第四版-虚拟专用网络路由转发实例IPV4-VRF路由。In an optional embodiment of the present invention, the first route may be a virtual private network version 4 VPNV4 route, and the second route may be an Internet Protocol version 4-virtual private network route forwarding instance IPV4-VRF route.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括多个指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The method includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present invention.
在本实施例中还提供了一种流量转发的控制系统,该装置用于实现上述实施例及实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a flow forwarding control system is also provided, which is used to implement the foregoing embodiments and implementation manners, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图3是根据本发明实施例的流量转发的控制系统的结构框图一,如图3所示,该系统包括:路由反射器RR32,第一边缘用户设备CE34,第二边缘用户设备CE36,第一边缘路由器PE38和第二边缘路由器PE310。FIG. 3 is a structural block diagram of a control system for traffic forwarding according to an embodiment of the present invention. As shown in FIG. 3, the system includes: a route reflector RR32, a first edge user equipment CE34, and a second edge user equipment CE36. Edge router PE38 and second edge router PE310.
第一PE38为第一路由指定的边缘路由器;第二PE310为第二路由指定的边缘路由器;第一CE34为第一PE38上的指定第一路由邻居,第二CE36为第二PE310上的指定第二路由邻居;The first PE 38 is the edge router designated by the first route; the second PE 310 is the edge router designated by the second route; the first CE 34 is the designated first route neighbor on the first PE 38, and the second CE 36 is the designated first on the second PE 310. Two routing neighbors;
RR32设置为:获取第一路由和第二路由,只向第一PE38通告第一路由,以及只向第二PE310通告第二路由;其中,第一路由和第二路由用于建立第一CE34与第二CE36之间的流量转发路由通道。The RR32 is configured to: obtain the first route and the second route, and advertise only the first route to the first PE 38, and advertise the second route only to the second PE 310. The first route and the second route are used to establish the first CE34 and The traffic between the second CE 36 forwards the routing channel.
通过上述系统,采用路由反射器RR32获取第一路由和第二路由,以及将第一路由和第二路由分别只通告给第一PE38和第二PE310,进而打通第一CE34和第二CE36之间的流量转发路由通道,而不需要修改第一CE34、第 二CE36,第一PE38、第二PE310等设备的配置,进而不会对原来的路由通告产生影响,进而不会影响到其他设备流量的转发,解决了CE设备之间的流量转发配置过程,导致网络内其他设备的流量转发效率降低的问题,减少了配置的复杂度,提高了CE间的流量转发路由通道建立的速度。The first route and the second route are obtained by using the route reflector RR32, and the first route and the second route are respectively advertised to the first PE 38 and the second PE 310 respectively, thereby opening a gap between the first CE 34 and the second CE 36. Traffic forwarding routing channel without modifying the first CE34, The configuration of the CE36, the first PE38, and the second PE310 does not affect the original route advertisement, and thus does not affect the forwarding of traffic of other devices. This solves the traffic forwarding configuration process between CE devices. The problem of reduced traffic forwarding efficiency of other devices in the network reduces the complexity of the configuration and improves the speed of establishing the traffic forwarding routing channel between CEs.
在本发明实施例中,第一路由和第二路由可以为在RR本地配置的路由。In the embodiment of the present invention, the first route and the second route may be routes configured locally in the RR.
图4是根据本发明实施例的流量转发的控制系统的结构框图二,如图4所示,系统还包括:4 is a structural block diagram 2 of a control system for traffic forwarding according to an embodiment of the present invention. As shown in FIG. 4, the system further includes:
路由控制器42,设置为:将第一路由和第二路由下发给RR32。The routing controller 42 is configured to deliver the first route and the second route to the RR32.
上述路由控制器42可以是另一个集中管理设备,也可以是RR32配置OAM命令或者网关界面下发命令实现,通过在路由控制器42下发路由给RR32使得流量转发的控制通过一个设备进行管理,使得操作比较简单,同时在该RR32上配置路由相比于相关技术中修改每个设备的配置相比,对网络的影响较小。The routing controller 42 may be another centralized management device, or may be implemented by the RR32 configuring the OAM command or the gateway interface, and the routing controller 42 sends a route to the RR32 to control the traffic forwarding through a device. The operation is relatively simple, and the configuration of the route on the RR32 has less impact on the network than the configuration of modifying each device in the related art.
在本发明实施例中,上述第一路由可以指定第一PE38的下一跳,第二路由可以指定RR32的下一跳。在一个可选的实施例中,第一路由指定的第一PE38的下一跳为RR32的一个有效接口地址,第二路由指定的RR32的下一跳为第二PE310的一个有效接口地址。通过下一跳为指定的,使得在流量转发过程中可以很顺利的获取到流量转发的目的地址,进而加快了流量转发的速度。比如:通过第一路由指定的第一PE38的下一跳为RR32的一个有效接口地址,第二路由指定的RR32的下一跳为第二PE310的一个有效接口地址后,第一CE34将流量转发给第二CE36,则能够很快地获取经过第一PE38、RR32、第二PE310设备转发后到达第二CE36。In the embodiment of the present invention, the first route may specify the next hop of the first PE 38, and the second route may specify the next hop of the RR32. In an optional embodiment, the next hop of the first PE 38 specified by the first route is a valid interface address of the RR32, and the next hop of the RR32 specified by the second route is a valid interface address of the second PE 310. The next hop is specified, so that the destination address of the traffic forwarding can be obtained smoothly during the traffic forwarding process, thereby speeding up the traffic forwarding. For example, the next hop of the first PE 38 specified by the first route is a valid interface address of the RR32, and the next hop of the RR32 specified by the second route is a valid interface address of the second PE 310, and the first CE 34 forwards the traffic. The second CE 36 can be quickly obtained after being forwarded by the first PE 38, the RR 32, and the second PE 310 to reach the second CE 36.
在本发明一个可选实施例中,第一路由可以为虚拟专用网络第四版VPNV4路由,第二路由可以为互联网协议第四版-虚拟专用网络路由转发实例IPV4-VRF路由。In an optional embodiment of the present invention, the first route may be a virtual private network version 4 VPNV4 route, and the second route may be an Internet Protocol version 4-virtual private network route forwarding instance IPV4-VRF route.
上述模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别 位于多个处理器中。The above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the above modules are all located in the same processor; or, the above modules are respectively Located in multiple processors.
为了更好的理解本申请,以下结合可选的实施例对本申请做进一步地解释。For a better understanding of the present application, the present application is further explained below in conjunction with alternative embodiments.
本发明可选实施例提供了一种流量转发的控制方法,该方法使用路由控制器下发路由,该路由指定向BGP的某个邻居PEER发送;这些路由按照规定的邻居PEER经RR设备分别向PE1/PE2通告,打通CE2(相当于上述实施例中的第一CE)到CE1(相当于上述实施例中的第二CE)的流量转发通道;An alternative embodiment of the present invention provides a method for controlling traffic forwarding. The method uses a routing controller to deliver a route, and the route is specified to be sent to a neighboring PEER of the BGP; the routes are respectively forwarded to the neighboring PEER by the RR device. PE1/PE2 advertises that the traffic forwarding channel of CE2 (corresponding to the first CE in the foregoing embodiment) to CE1 (corresponding to the second CE in the foregoing embodiment) is opened;
在设备RR(相当于上述实施例中的RR)上配置路由,这些路由的特点是:在RR设备上通告时,下一跳是指定的;在RR设备上通告时,某条路由向哪个PEER发送是指定的,而不是按照普通BGP路由通告的规定处理的;Configure a route on the device RR (equivalent to the RR in the above-mentioned embodiment). The route is characterized in that: when advertising on the RR device, the next hop is specified; when advertising on the RR device, which PEER is routed to the RRER The transmission is specified, not in accordance with the provisions of ordinary BGP route advertisements;
如图1所示:向PE2(相当于上述实施例中的第一PE)通告VPNV4路由,向PE1(相当于上述实施例中的第二PE)通告IPV4-VRF路由,打通CE2到CE1转发流量的路由通道,进而保证流量从CE2到CE1的转发通道。As shown in FIG. 1, the VPNV4 route is advertised to the PE2 (corresponding to the first PE in the foregoing embodiment), and the IPV4-VRF route is advertised to the PE1 (equivalent to the second PE in the foregoing embodiment), and the traffic is forwarded by CE2 to CE1. Routing channels, which in turn ensure traffic from CE2 to CE1.
这里路由控制器可以是另一个集中管理设备,也可以是设备RR配置OAM命令或者网关界面下发命令实现。这种方案具有集中在一个设备上管理,操作方便,配置变化对网络影响较小的优点。Here, the routing controller may be another centralized management device, or may be implemented by the device RR configuring an OAM command or a gateway interface. This solution has the advantages of centralized management on one device, convenient operation, and small impact on configuration of the network.
在一个可选的实施例中,图5是根据本发明可选实施例的流量转发的控制方法的示意图,如图5所示,在设备RR上下发路由,分别传递给其他的设备,打通CE2(相当于上述实施例中的第一CE)到CE1(相当于上述实施例中的第二CE)转发流量的路由通道。方法包括:In an optional embodiment, FIG. 5 is a schematic diagram of a method for controlling traffic forwarding according to an alternative embodiment of the present invention. As shown in FIG. 5, a route is sent and sent on the device RR, and is respectively transmitted to other devices to open CE2. (corresponding to the first CE in the above embodiment) to CE1 (corresponding to the second CE in the above embodiment) to forward the routing channel of the traffic. Methods include:
步骤1,设备RR(相当于上述实施例中的RR)和PE2(相当于上述实施例中的第一PE)配置VPNV4的邻居。Step 1, the device RR (corresponding to the RR in the above embodiment) and the PE2 (corresponding to the first PE in the above embodiment) configure the neighbors of the VPNV4.
步骤2,设备RR和PE1(相当于上述实施例中的第二PE)配置VRF邻居。Step 2: The device RR and PE1 (corresponding to the second PE in the foregoing embodiment) configure a VRF neighbor.
步骤3,设备RR配置成路由反射器。In step 3, the device RR is configured as a route reflector.
步骤4,由路由控制器下发或者设备RR上配置一种路由,该路由的特点为:是VPNV4路由;下一跳是指定的,其是RR的一个有效接口地址;只 向指定的VPNV4邻居通告,即该路由只向PE2上的指定VPNV4邻居通告。Step 4: A route is sent by the routing controller or a route is configured on the device RR. The route is characterized by: a VPNV4 route; the next hop is specified, which is a valid interface address of the RR; The advertised to the specified VPNV4 neighbor, that is, the route is advertised only to the specified VPNV4 neighbor on PE2.
步骤5,由路由控制器下发或者设备RR上配置一种路由,该路由的特点为:1)是IPV4VRF路由;下一跳是指定的,其是PE1的一个有效接口地址;只向指定的VRF邻居通告,即该路由只向PE1上的指定IPV4VRF邻居通告。Step 5: A route is configured by the routing controller or configured on the device RR. The route is characterized by: 1) an IPV4VRF route; the next hop is specified, which is a valid interface address of PE1; VRF neighbor advertisement, that is, the route is advertised only to the specified IPV4VRF neighbor on PE1.
步骤4和步骤5路由通告完成后,即CE2到CE1的流量转发通道被打通。After the route advertisement is completed in Step 4 and Step 5, the traffic forwarding channel from CE2 to CE1 is cleared.
本发明的可选实施例便于管理,操作比较简单,同时减小了配置变化对网络的影响。The optional embodiment of the present invention is easy to manage, relatively simple to operate, and reduces the impact of configuration changes on the network.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,路由反射器RR获取第一路由和第二路由;S1. The route reflector RR acquires the first route and the second route.
S2,RR向第一路由指定的第一边缘路由器PE通告第一路由,向第二路由指定的第二边缘路由器PE通告第二路由,其中,第一路由和第二路由用于建立第一边缘用户设备CE和第二边缘用户设备CE之间的流量转发路由通道;第一CE为第一PE上的指定第一路由邻居,第二CE为第二PE上的指定第二路由邻居;S2, the RR advertises the first route to the first edge router PE specified by the first route, and advertises the second route to the second edge router PE specified by the second route, where the first route and the second route are used to establish the first edge. a traffic forwarding route between the user equipment CE and the second edge user equipment CE; the first CE is the designated first routing neighbor on the first PE, and the second CE is the designated second routing neighbor on the second PE;
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等多种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明实施例的模块或步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或 者将它们分别制作成集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。It will be apparent to those skilled in the art that the above-described modules or steps of the embodiments of the present invention can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or They are separately fabricated into integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
以上所述仅为本发明的实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有多种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above is only the embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
通过本发明实施例,采用路由反射器RR获取第一路由和第二路由,以及将第一路由和第二路由分别只通告给第一边缘路由器和第二边缘路由器,进而打通第一CE备和第二CE之间的流量转发路由通道,而不需要修改第一CE、第二CE,第一边缘路由器、第二边缘路由器等设备的配置,进而不会影响到其他设备流量的转发,解决了CE设备之间的流量转发配置过程,导致网络内其他设备的流量转发效率降低的问题,提高了CE间的流量转发路由通道建立的速度。 In the embodiment of the present invention, the route reflector RR is used to obtain the first route and the second route, and the first route and the second route are respectively advertised to the first edge router and the second edge router respectively, thereby opening the first CE backup and The traffic between the second CEs is forwarded to the routing channel without modifying the configuration of the first CE, the second CE, the first edge router, and the second edge router, so that the forwarding of traffic of other devices is not affected, and the solution is solved. The traffic forwarding configuration process between CE devices reduces the traffic forwarding efficiency of other devices in the network and improves the speed of establishing traffic forwarding routing channels between CEs.

Claims (11)

  1. 一种流量转发的控制方法,包括:A method for controlling traffic forwarding includes:
    路由反射器RR获取第一路由和第二路由;The route reflector RR acquires the first route and the second route.
    所述RR只向所述第一路由指定的第一边缘路由器PE通告所述第一路由,以及只向所述第二路由指定的第二边缘路由器PE通告所述第二路由,其中,所述第一路由和所述第二路由用于建立第一边缘用户设备CE和第二边缘用户设备CE之间的流量转发路由通道;所述第一CE为所述第一PE上的指定第一路由邻居,所述第二CE为所述第二PE上的指定第二路由邻居。The RR advertises the first route only to the first edge router PE specified by the first route, and advertises the second route only to the second edge router PE specified by the second route, where the The first route and the second route are used to establish a traffic forwarding routing channel between the first edge user equipment CE and the second edge user equipment CE; the first CE is a designated first route on the first PE The second CE is a designated second routing neighbor on the second PE.
  2. 根据权利要求1所述的方法,其中,所述第一路由和所述第二路由为路由控制器下发给所述RR的或者在所述RR本地配置的路由。The method according to claim 1, wherein the first route and the second route are routes that are sent by the routing controller to the RR or locally configured in the RR.
  3. 根据权利要求1所述的方法,其中,所述第一路由指定所述第一PE的下一跳,所述第二路由指定所述RR的下一跳。The method of claim 1 wherein the first route specifies a next hop of the first PE and the second route specifies a next hop of the RR.
  4. 根据权利要求2所述的方法,其中,所述第一路由指定的所述第一PE的下一跳为所述RR的一个有效接口地址,所述第二路由指定的所述RR的下一跳为所述第二PE的一个有效接口地址。The method according to claim 2, wherein the next hop of the first PE specified by the first route is a valid interface address of the RR, and the next route of the RR specified by the second route Jumps to a valid interface address of the second PE.
  5. 根据权利要求1至4中任一项所述的方法,其中,所述第一路由为虚拟专用网络第四版VPNV4路由,所述第二路由为互联网协议第四版-虚拟专用网络路由转发实例IPV4-VRF路由。The method according to any one of claims 1 to 4, wherein the first route is a virtual private network version 4 VPNV4 route, and the second route is an Internet Protocol version 4 - virtual private network route forwarding instance IPV4-VRF routing.
  6. 一种流量转发的控制系统,包括:路由反射器RR,第一边缘用户设备CE,第二边缘用户设备CE,第一边缘路由器PE和第二边缘路由器PE;其中,所述第一PE为第一路由指定的边缘路由器;所述第二PE为第二路由指定的边缘路由器;所述第一CE为所述第一PE上的指定第一路由邻居,所述第二CE为所述第二PE上的指定第二路由邻居;A traffic forwarding control system includes: a route reflector RR, a first edge user equipment CE, a second edge user equipment CE, a first edge router PE, and a second edge router PE; wherein the first PE is the first a route-designated edge router; the second PE is an edge router specified by the second route; the first CE is a designated first route neighbor on the first PE, and the second CE is the second Specify the second routing neighbor on the PE;
    所述RR设置为:获取第一路由和第二路由,只向所述第一PE通告所述第一路由,以及只向所述第二PE通告所述第二路由;其中,所述第一路由和所述第二路由用于建立所述第一CE与所述第二CE之间的流量转发路由通道。The RR is configured to: obtain the first route and the second route, advertise only the first route to the first PE, and advertise the second route only to the second PE; where the first The route and the second route are used to establish a traffic forwarding routing channel between the first CE and the second CE.
  7. 根据权利要求6所述的系统,其中,所述第一路由和所述第二路由为 在所述RR本地配置的路由。The system of claim 6 wherein said first route and said second route are A route configured locally on the RR.
  8. 根据权利要求6所述的系统,所述系统还包括:路由控制器;The system of claim 6 further comprising: a routing controller;
    所述路由控制器,设置为:将所述第一路由和所述第二路由下发给所述RR。The routing controller is configured to deliver the first route and the second route to the RR.
  9. 根据权利要求6所述的系统,其中,所述第一路由指定所述第一PE的下一跳,所述第二路由指定所述RR的下一跳。The system of claim 6 wherein the first route specifies a next hop of the first PE and the second route specifies a next hop of the RR.
  10. 根据权利要求9所述的系统,其中,所述第一路由指定的所述第一PE的下一跳为所述RR的一个有效接口地址,所述第二路由指定的所述RR的下一跳为所述第二PE的一个有效接口地址。The system according to claim 9, wherein the next hop of the first PE specified by the first route is a valid interface address of the RR, and the next route of the RR specified by the second route Jumps to a valid interface address of the second PE.
  11. 根据权利要求6至10中任一项所述的系统,其中,所述第一路由为虚拟专用网络第四版VPNV4路由,所述第二路由为互联网协议第四版-虚拟专用网络路由转发实例IPV4-VRF路由。 The system according to any one of claims 6 to 10, wherein the first route is a virtual private network version 4 VPNV4 route, and the second route is an Internet Protocol version 4 - virtual private network route forwarding instance IPV4-VRF routing.
PCT/CN2016/081440 2015-09-06 2016-05-09 Traffic forwarding control method and system WO2017036164A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510560925.6 2015-09-06
CN201510560925.6A CN106506358A (en) 2015-09-06 2015-09-06 Control method and system that flow is forwarded

Publications (1)

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

Family

ID=58186515

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081440 WO2017036164A1 (en) 2015-09-06 2016-05-09 Traffic forwarding control method and system

Country Status (2)

Country Link
CN (1) CN106506358A (en)
WO (1) WO2017036164A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494614A (en) * 2009-03-09 2009-07-29 华为技术有限公司 Method, apparatus and system for rapid rerouting
US20100008361A1 (en) * 2008-07-08 2010-01-14 Cisco Technology, Inc. Carrier's carrier without customer-edge-to-customer-edge border gateway protocol
CN101977150A (en) * 2010-11-05 2011-02-16 华为技术有限公司 Method and equipment for real-time recovery of virtual private network (VPN) message forwarding in L3VPN
CN103650433A (en) * 2013-07-31 2014-03-19 华为技术有限公司 Route distributing method, system and controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100008361A1 (en) * 2008-07-08 2010-01-14 Cisco Technology, Inc. Carrier's carrier without customer-edge-to-customer-edge border gateway protocol
CN101494614A (en) * 2009-03-09 2009-07-29 华为技术有限公司 Method, apparatus and system for rapid rerouting
CN101977150A (en) * 2010-11-05 2011-02-16 华为技术有限公司 Method and equipment for real-time recovery of virtual private network (VPN) message forwarding in L3VPN
CN103650433A (en) * 2013-07-31 2014-03-19 华为技术有限公司 Route distributing method, system and controller

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BREITBART, YURI ET AL.: "On Configuring BGP Route Reflectors", 2007 2ND INTERNATIONAL CONFERENCE ON COMMUNICATION SYSTEMS SOFTWARE AND MIDDLEWARE, 12 January 2007 (2007-01-12), XP031113939 *
RSSEN, E ET AL.: "RFC 4364: BGP/MPLS IP Virtual Private Networks (VPNs);", NETWORK WORKING GROUP, 28 February 2006 (2006-02-28), XP055367465, Retrieved from the Internet <URL:http://www.ietf.org/rfc/rfc4364.txt> *

Also Published As

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

Similar Documents

Publication Publication Date Title
US11804988B2 (en) Method and system of overlay flow control
US11863427B2 (en) Multicast performance routing and policy control in software defined wide area networks
US10270843B2 (en) Chaining service zones by way of route re-origination
JP7290732B2 (en) Data transfer method and related equipment
EP3151509B1 (en) Enhanced evpn mac route advertisement having mac (l2) level authentication, security and policy control
CN106572017B (en) Sending method, receiving method and device of BIER information
EP3151510B1 (en) Mac (l2) level authentication, security and policy control
US9306838B2 (en) Method for avoiding a loop in a network
US20160014016A1 (en) Encoding Inter-Domain Shared Service Paths
CN110430076B (en) Route management method and device
CN102195871B (en) Method for controlling service traffic forwarding path in multi-protocol label switch (MPLS) virtual private network (VPN)
US9288686B2 (en) Topology discovery based on SCTP/X2 snooping
WO2018033060A1 (en) Message switching method and device
US20220329459A1 (en) Automated connectivity to cloud resources
EP3151477B1 (en) Fast path content delivery over metro access networks
EP3627775B1 (en) Route synchronization
US20240223403A1 (en) Automated connectivity to cloud resources
WO2017177794A1 (en) Service path establishment method, apparatus and system
WO2018059290A1 (en) Parameter notification and obtaining methods and devices, and storage medium
JP7507308B2 (en) Network service access and data routing based on assigned context
WO2015090087A1 (en) Routing diffusion method and device
WO2017036164A1 (en) Traffic forwarding control method and system
CN112910771B (en) Connection establishment method, device, equipment and storage medium
WO2016127567A1 (en) Transmission processing method and apparatus for end-to-end service

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

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

Country of ref document: EP

Kind code of ref document: A1