CN109787894A - A kind of route control method and device - Google Patents

A kind of route control method and device Download PDF

Info

Publication number
CN109787894A
CN109787894A CN201910238898.9A CN201910238898A CN109787894A CN 109787894 A CN109787894 A CN 109787894A CN 201910238898 A CN201910238898 A CN 201910238898A CN 109787894 A CN109787894 A CN 109787894A
Authority
CN
China
Prior art keywords
priority
path
configuration information
routing
edge equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910238898.9A
Other languages
Chinese (zh)
Inventor
于燕敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201910238898.9A priority Critical patent/CN109787894A/en
Publication of CN109787894A publication Critical patent/CN109787894A/en
Pending legal-status Critical Current

Links

Abstract

The application provides a kind of route control method and device, this method comprises: first path is labeled as standby path, is main path by the second path tag if meeting the switching condition of main path;The priority of first path is adjusted to the first priority, the priority in the second path is adjusted to the second priority, the first priority is lower than the second priority;The first configuration information is sent to first edge equipment, first configuration information is used to the priority that the first kind routes being adjusted to first priority;The second configuration information is sent to second edge equipment, second configuration information is used to the priority that the second class routes being adjusted to second priority.By the technical solution of the application, business interruption time is controllable, can quickly carry out service switching.

Description

A kind of route control method and device
Technical field
This application involves fields of communication technology, more particularly, to a kind of route control method and device.
Background technique
In the network Overlay (i.e. virtual network), tenant can be in IDC (Internet Data Center, internet Data center) network internal administration tenant's server, it can be deployed in publicly-owned cloud network by core architecture and using data, for example, Application server is disposed in public cloud network, by the application data of application server for storage tenant.Tenant's server passes through access Application server in publicly-owned cloud network obtains and applies data.
It, can be between tenant's server and application server in order to realize the intercommunication of tenant's server and application server Transmission path is created, this transmission paths is properly termed as business special line.Wherein, the biography between tenant's server and application server Defeated path may include: tenant's server-fringe node-couple in router-application server, i.e., real by this transmission paths The intercommunication of existing tenant's server and application server.
It in summary it can be seen, the transmission path of tenant's server and application server will include fringe node, once the side The bandwidth availability ratio of edge node reaches the upper limit or the fringe node breaks down, then the biography of tenant's server and application server There is exception in defeated path, causes the two can not normal communication.
Summary of the invention
The application provides a kind of route control method, and the first access device is connect with first edge equipment, and the second access is set Standby to connect with second edge equipment, the first access device and the second access device are connected to the network with public cloud, and the first access is set The standby first path between first edge equipment is main path, the second tunnel between the second access device and second edge equipment Diameter is standby path, and the method is applied to controller, comprising:
If meeting the switching condition of main path, the first path is labeled as standby path, second path is marked It is denoted as main path;The priority of the first path is adjusted to the first priority, the priority in second path is adjusted For the second priority, first priority is lower than second priority;
The first configuration information is sent to the first edge equipment, what first configuration information was used to route the first kind Priority is adjusted to first priority, and the first kind routing is sent to described first including the first edge equipment and connects Enter the routing of equipment, alternatively, the routing that the first edge equipment learns from first access device;
The second configuration information is sent to the second edge equipment, what second configuration information was used to route the second class Priority is adjusted to second priority, and the second class routing is sent to described second including the second edge equipment and connects Enter the routing of equipment, alternatively, the routing that the second edge equipment learns from second access device.
The application provides a kind of route control method, and the first access device is connect with first edge equipment, and the second access is set Standby to connect with second edge equipment, the first access device and the second access device are connected to the network with public cloud, work as the method When applied to the first edge equipment, which comprises
The first configuration information that controller is sent is received, first configuration information is used for the priority for routing the first kind It is adjusted to the first priority;Wherein, first configuration information is that the controller determines the first access device and first edge What the first path between equipment was sent when being changed to standby path from main path;
Send the first route messages for carrying first kind routing according to first configuration information, the first via by Message includes first priority;Wherein, the first kind routing includes that the first edge equipment is sent to described first The routing of access device, alternatively, the routing that the first edge equipment learns from first access device;
When the method is applied to the second edge equipment, which comprises
The second configuration information that controller is sent is received, second configuration information is used for the priority for routing the second class It is adjusted to the second priority;Wherein, second configuration information is that the controller determines the second access device and second edge What the second path between equipment was sent when main path from standby route diversion;
The secondary route message for carrying the second class routing, the secondary route are sent according to second configuration information Message includes second priority;Wherein, the second class routing includes that the second edge equipment is sent to described second The routing of access device, alternatively, the routing that the second edge equipment learns from second access device;Wherein, described First priority is lower than second priority.
The application provides a kind of route control device, and the first access device is connect with first edge equipment, and the second access is set Standby to connect with second edge equipment, the first access device and the second access device are connected to the network with public cloud, and the first access is set The standby first path between first edge equipment is main path, the second tunnel between the second access device and second edge equipment Diameter is standby path, and described device is applied to controller, comprising:
Module is adjusted, if the switching condition for meeting main path, first path is labeled as standby path, by the second tunnel Diameter is labeled as main path;The priority of the first path is adjusted to the first priority, by the priority in second path It is adjusted to the second priority, first priority is lower than second priority;
Sending module, for sending the first configuration information to the first edge equipment, first configuration information is used for The priority that the first kind routes is adjusted to first priority, the first kind routing includes that the first edge equipment is sent out The routing of first access device is given, alternatively, the first edge equipment is from the road that first access device learns By;And Xiang Suoshu second edge equipment sends the second configuration information, what second configuration information was used to route the second class Priority is adjusted to second priority, and the second class routing is sent to described second including the second edge equipment and connects Enter the routing of equipment, alternatively, the routing that the second edge equipment learns from second access device.
The application provides a kind of route control device, and the first access device is connect with first edge equipment, and the second access is set Standby to connect with second edge equipment, the first access device and the second access device are connected to the network with public cloud, the routing control Device processed includes receiving module and sending module;Wherein:
When described device is applied to the first edge equipment, the receiving module, for receiving controller transmission First configuration information, first configuration information are used to the priority that the first kind routes being adjusted to the first priority;Wherein, institute Stating the first configuration information is that the controller determines first path between the first access device and first edge equipment from main road What diameter was sent when being changed to for path;
The sending module, for sent according to first configuration information carry the first via of first kind routing by Message, the first via include first priority by message;Wherein, the first kind routing includes that the first edge is set Preparation gives the routing of first access device, alternatively, the first edge equipment from first access device learn to Routing;
When described device is applied to the second edge equipment, the receiving module, for receiving controller transmission Second configuration information, second configuration information are used to the priority that the second class routes being adjusted to the second priority;Wherein, institute Stating the second configuration information is that the controller determines the second path between the second access device and second edge equipment from standby road What diameter was changed to send when main path;
The sending module, for sending the secondary route for carrying the second class routing according to second configuration information Message, the secondary route message include second priority;Wherein, the second class routing includes that the second edge is set Preparation gives the routing of second access device, alternatively, the second edge equipment from second access device learn to Routing;
Wherein, first priority is lower than second priority.
Based on the above-mentioned technical proposal, in the embodiment of the present application, exist between the first access device and first edge equipment First path, there are the second paths between the second access device and second edge equipment, and first path and the second path are each other Backup.When first path is main path, the second path is standby path, when switching condition (such as bandwidth usage for meeting main path Rate reaches the upper limit or first edge nodes break down etc.) when, first path can be switched to standby path, and by the second tunnel Diameter is switched to main path, in this way, the flow between tenant's server and application server can be drained into from first path Two paths mitigate the influence to business so that tenant's server and application server normal communication, avoid packet drop.It is above-mentioned Handoff procedure can be completed in a short time, and business interruption time is controllable, can be rapidly performed by service switching.
Detailed description of the invention
In order to clearly illustrate the embodiment of the present application or technical solution in the prior art, below will be to this Shen Please embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, be described below Attached drawing be only some embodiments as described in this application, for those of ordinary skill in the art, can also according to this Apply for that these attached drawings of embodiment obtain other attached drawings.
Fig. 1 is the application scenarios schematic diagram in a kind of embodiment of the application;
Fig. 2 is the flow chart of the route control method in a kind of embodiment of the application;
Fig. 3 is the flow chart of the route control method in the application another embodiment;
Fig. 4 is the structure chart of the route control device in a kind of embodiment of the application;
Fig. 5 is the hardware structure diagram of the controller in a kind of embodiment of the application;
Fig. 6 is the structure chart of the route control device in a kind of embodiment of the application;
Fig. 7 is the hardware structure diagram of the edge device in a kind of embodiment of the application.
Specific embodiment
In the term that the embodiment of the present application uses merely for the sake of for the purpose of describing particular embodiments, rather than limit this Shen Please.The "an" of singular used in the application and claims, " described " and "the" are also intended to including most shapes Formula, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to comprising one A or multiple associated any or all of project listed may combine.
It will be appreciated that though various letters may be described using term first, second, third, etc. in the embodiment of the present application Breath, but these information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, In the case where not departing from the application range, the first information can also be referred to as the second information, and similarly, the second information can also be with The referred to as first information.Depending on context, in addition, used word " if " can be construed to " ... when " or " when ... " or " in response to determination ".
A kind of route control method is proposed in the embodiment of the present application, this method can be applied to include tenant's server, net Close equipment, the first access device, first edge equipment, the second access device, second edge equipment, controller, publicly-owned cloud network System in, and publicly-owned cloud network may include application server.Wherein, first access device and the first edge equipment connect Connect, which connect with the second edge equipment, and first access device and public cloud are connected to the network, and this second Access device and public cloud are connected to the network.
It is shown in Figure 1, it is the application scenarios schematic diagram of the embodiment of the present application, tenant A is in IDC network internal administration tenant's clothes Business device 101, and application server 110 is affixed one's name in public cloud network internal, the application data of tenant A are stored by application server 110, Tenant's server 101 obtains by access application server 110 and applies data.In order to realize that tenant's server 101 and application take The intercommunication of business device 110, can create transmission path between tenant's server 101 and application server 110, this transmission paths Referred to as business special line.
There are two transmission paths between tenant's server 101 and application server 110, a transmission paths include: to rent Family server 101- gateway 102- core forwarding device 103- edge device 104- access device 106- outlet device 109- Application server 110;Another transmission paths include: the side tenant server 101- gateway 102- core forwarding device 103- Edge equipment 105- access device 107- outlet device 109- application server 110.Certainly, an above-mentioned only example, for not Same application scenarios, the quantity of transmission path can be more, as long as tenant's server 101 and application server 110 exist at least Two transmission paths.
Shown in Figure 1, tenant's server 101 can be the virtual machine of physical server deployment, be also possible to physics clothes Business device, can also be other types of host, such as personal computer, laptop.
The network equipment 102 can be VTEP (VXLAN Tunnel End Point, expansible Virtual Local Area Network tunnel end Point) equipment, it is also possible to other types of equipment, such as interchanger.Edge device 104 can be VTEP equipment, be also possible to it The edge device of its type, such as border (boundary) equipment.Edge device 105 can be VTEP equipment, be also possible to other classes The edge device of type, such as border equipment.In Fig. 1, the network equipment 102, edge device 104 and edge device 105, Ke Yizuo For distributed network gate.
Core forwarding device 103 can be used as VXLAN, and (Virtual Extensible Local Area Network, can Extend virtual LAN) RR (Route Reflector, Router Reflector), be responsible for reflecting route messages between each equipment, Such as BGP (Border Gateway Protocol, Border Gateway Protocol) route messages.In addition, core forwarding device 103 is also used In realizing forwarding capability, for realizing the transmission of message.
Access device 106 is the equipment with public cloud network connection, can be AR (Access Router, access routing Device), it is also possible to other types of equipment, such as access switch.Access device 107 is the equipment with public cloud network connection, It can be AR, be also possible to other types of equipment, such as access switch.
Controller 108 can be SDN (Software Defined Network, software defined network) controller, can also With integrated SDN controller and NFV (Network Function Virtualization, network function virtualization) controller Function can also be other types of controller, without limitation.
It is shown in Figure 1, it may include application server 110 and outlet device 109, using clothes in publicly-owned cloud network Business device 110 is used to store the application data of tenant A, and outlet device 109 is responsible for the message of tenant's server 101 carrying out three layers turns Hair, is sent to application server 110 for message, the message of application server 110 is sent to tenant's server 101, and Access device as publicly-owned cloud network.
In the present embodiment, using the first access device as access device 106, first edge equipment be edge device 104, second Access device is access device 107, and second edge equipment is for edge device 105.
In addition, for the convenience of description, the path between access device 106 and edge device 104 can be known as the first via Path between access device 107 and edge device 105 is known as the second path by diameter.Obviously, tenant's server 101 with answer In message transmission procedure with server 110, if first path no exceptions, access device 106 and edge can be passed through First path transmitting message between equipment 104 then can be with if first path is abnormal, and the second path no exceptions By the second path transmission message between access device 107 and edge device 105, i.e. the second path can be used as first path Backup path.
Under above-mentioned application scenarios, in the embodiment of the present application, controller 108 can determine main path and standby path, and will Main path and standby path are associated.Specifically, first path is determined as main path, for example, in the attribute of first path It adds principal mark to know, to indicate first path as main path.Second path is determined as standby path, for example, the category in the second path Property in the standby mark of addition, to indicate that the second path is for path.Main path and standby path are associated, for example, in the first via The mark in the second path is added in the attribute of diameter, with indicate the second path be with the associated standby path of first path, alternatively, The mark of first path is added in the attribute in two paths, to indicate that first path is and the associated main path in the second path.Certainly, First path can also be determined as to standby path, the second path is determined as main path, with no restrictions to this method of determination.
A kind of route control method is proposed under above-mentioned application scenarios, in the embodiment of the present application, it is shown in Figure 2, be The flow diagram of the route control method, the route control method may include:
Step 201, when first path is main path, and the second path is standby path, controller 108 is by the excellent of first path First grade is adjusted to the second priority, and the priority in the second path is adjusted to the first priority.
Wherein, the second priority can be higher than the first priority, the numerical value of the numerical value of the second priority and the first priority It can rule of thumb configure, with no restrictions to the numerical value of this priority.For example, the second priority can be 6, the first priority It can be 4, indicate that priority is higher when the numerical value of priority is bigger.
Step 202, controller 108 is (subsequent by the configuration in order to distinguish conveniently to the transmission of edge device 104 configuration information Information is known as third configuration information), third configuration information is used to the priority that the first kind routes being adjusted to the second priority, should First kind routing may include the routing that edge device 104 is sent to access device 106, alternatively, edge device 104 is set from access Standby 106 routings learnt.
Step 203, edge device 104 receives the third configuration information that controller 108 is sent, and is sent out according to third configuration information The third route messages for carrying first kind routing are sent, which includes the second priority.
For example, after the priority of first path is adjusted to the second priority by controller 108, it can be corresponding to first path Edge device 104 send third configuration information, which acts on the routing of access device 106.That is, being directed to side Edge equipment 104 is sent to the routing of access device 106, can be handled based on the third configuration information;For edge device 104 routings learnt from access device 106 can also be handled based on the third configuration information.
After receiving third configuration information the third configuration information can be locally stored in edge device 104.Edge is set Standby 104 when sending third route messages (such as BGP route messages) for first kind routing, can match confidence according to third Breath sends the third route messages for carrying first kind routing.The priority tune for being used to route the first kind due to third configuration information Whole is the second priority, and therefore, third route messages may include the second priority, it is assumed that the second priority is 6, then third road It may include priority 6 by message.
For example, with reference to shown in table 1, edge device 104 can learn from access device 106 to for application server 110 Route table items (first route table items i.e. in table 1, in order to distinguish conveniently, it is subsequent this route table items to be known as road By list item 1).Ginseng is shown in Table 1, and edge device 104 can learn from gateway 102 to the road for being directed to tenant's server 101 By list item (the Article 2 route table items i.e. in table 1, in order to distinguish conveniently, it is subsequent this route table items to be known as routing table 2), with no restrictions to the learning process of this route table items 1 and route table items 2, it may refer to conventional implementation.
Ginseng is shown in Table 1, and for route table items 1 and route table items 2, may each comprise priority, can not also include excellent First grade.If the priority can be default priority, and default priority can be more than or equal to second including priority Priority, for example, the numerical value of default priority can be 8.
Table 1
Purpose IP address Outgoing interface Priority
The IP address of application server 110 1041 8
The IP address of tenant's server 101 The tunnel A of edge device 104 and gateway 102 8
Situation one, route table items 1 are the routings that edge device 104 learns from access device 106, therefore, this routing It is first kind routing, that is to say, that third route messages, third can be sent to gateway 102 according to third configuration information Route messages may include the IP address for the routing publisher for including in publicly-owned cloud network (with application server in the present embodiment Be illustrated for 110 IP address) and third configuration information in the second priority 6 for indicating.
Gateway 102 learns route table items after receiving third route messages, according to third route messages, referring to table Shown in 2, it is an example of route table items, may include the second priority 6 in the route table items.
Table 2
Purpose IP address Outgoing interface Priority
The IP address of application server 110 The tunnel B of gateway 102 and edge device 104 6
Situation two, route table items 2 are the routings that edge device 104 learns from gateway 102, and edge device 104 It needs this routing being sent to access device 106, due to needing this routing being sent to access device 106, this Routing is first kind routing, that is to say, that third route messages can be sent to access device 106 according to third configuration information, Third route messages may include that the IP address for the routing publisher for including (is taken in the present embodiment with tenant in tenant side (IDC) Be illustrated for the IP address of device 101 of being engaged in) and third configuration information in the second priority 6 for indicating.
Access device 106 learns route table items after receiving third route messages, according to third route messages.Access is set Standby 106 after learning route table items, can also send route messages to outlet device 109, which may include tenant The IP address of server 101, the second priority 6.Based on this, outlet device 109 can receive the route messages, and according to this Route messages learn route table items, and ginseng is shown in Table 3, can wrap in the route table items for an example of the route table items Include the second priority 6.
Table 3
Purpose IP address Outgoing interface Priority
The IP address of tenant's server 101 1091 6
Step 204, controller 108 is (subsequent by the configuration in order to distinguish conveniently to the transmission of edge device 105 configuration information Information is known as the 4th configuration information), the 4th configuration information is used to the priority that the second class routes being adjusted to the first priority, should The routing of second class may include the routing that edge device 105 is sent to access device 107, alternatively, edge device 105 is set from access Standby 107 routings learnt.
Step 205, edge device 105 receives the 4th configuration information that controller 108 is sent, and is sent out according to the 4th configuration information The 4th route messages for carrying the routing of the second class are sent, the 4th route messages include the first priority.
For example, after the priority in the second path is adjusted to the first priority by controller 108, it can be corresponding to the second path Edge device 105 send the 4th configuration information, the 4th configuration information acts on the routing of access device 107.That is, being directed to side Edge equipment 105 is sent to the routing of access device 107, can be handled based on the 4th configuration information;For edge device 105 routings learnt from access device 107 can also be handled based on the 4th configuration information.
After receiving the 4th configuration information the 4th configuration information can be locally stored in edge device 105.Edge is set Standby 105 when sending the 4th route messages (such as BGP route messages) for the routing of the second class, can match confidence according to the 4th Breath sends the 4th route messages for carrying the routing of the second class.The priority tune for being used to route the second class due to the 4th configuration information Whole is the first priority, and therefore, the 4th route messages may include the first priority, it is assumed that the first priority is 4, then the 4th tunnel It may include priority 4 by message.
For example, with reference to shown in table 4, edge device 105 can learn from access device 107 to for application server 110 Route table items (first route table items i.e. in table 4, in order to distinguish conveniently, it is subsequent this route table items to be known as road By list item 3).Ginseng is shown in Table 4, and edge device 105 can learn from gateway 102 to the road for being directed to tenant's server 101 By list item (the Article 2 route table items i.e. in table 4, in order to distinguish conveniently, it is subsequent this route table items to be known as routing table Item is 4).Ginseng is shown in Table 4, and route table items 3 and route table items 4 may each comprise default priority 8.
Table 4
Purpose IP address Outgoing interface Priority
The IP address of application server 110 1051 8
The IP address of tenant's server 101 The tunnel C of edge device 105 and gateway 102 8
Situation one, the corresponding routing of route table items 3 are the routings of the second class, and therefore, edge device 105 matches confidence according to the 4th It ceases to gateway 102 and sends the 4th route messages, the 4th route messages may include the IP address of application server 110, the The first priority 4 indicated in four configuration informations.Gateway 102 can learn according to the 4th route messages to routing table , ginseng is shown in Table 5.
Table 5
The corresponding routing of situation two, route table items 4 is the routing of the second class, and therefore, edge device 105 matches confidence according to the 4th It ceases to access device 107 and sends the 4th route messages, the 4th route messages may include the IP address of tenant's server 101, the The first priority 4 indicated in four configuration informations.
Access device 107 can send route messages, the road to outlet device 109 after receiving the 4th route messages It may include IP address, the first priority 4 of tenant's server 101 by message.Based on this, outlet device 109 can be according to this To route table items, ginseng is shown in Table 6 for route messages study.
Table 6
In the above-described embodiments, each tunnel (such as tunnel A, tunnel B, tunnel C and tunnel D) can be the tunnel VXLAN, It can be other types of tunnel, with no restrictions to this tunnel type.
Under above-mentioned application scenarios, an example of the transmission flow of message be may comprise steps of:
Tenant's server 101 sends message 1, and purpose IP address is the IP address of application server 110.
Gateway 102 passes through purpose IP address, i.e. the IP address inquiry of application server 110 after receiving message 1 Route table items shown in table 5, outgoing interface are tunnel B and tunnel D.Since the priority of tunnel B is higher than the priority of tunnel D, because This, is sent to edge device 104 for message 1 by tunnel B.
After edge device 104 receives message 1, routing table shown in the IP address inquiry table 1 by application server 110 , message 1 is sent to access device 106 by outgoing interface 1041 by outgoing interface 1041.
After access device 106 receives message 1, message 1 is sent to outlet device 109, outlet device 109 is by message 1 It is sent to application server 110, so far, completes the transmission process of message 1.
Under above-mentioned application scenarios, another example of the transmission flow of message be may comprise steps of:
Application server 110 sends message 2, and purpose IP address is the IP address of tenant's server 101.
Outlet device 109 routes shown in the IP address inquiry table 6 by tenant's server 101 after receiving message 2 List item, outgoing interface are 1091 and 1092.Since 1091 priority is higher than 1092 priority, outlet device 109 passes through Message 2 is sent to access device 106 by outgoing interface 1091.
Access device 106 is sent to edge device 104 after receiving message 2, by message 2.
Edge device 104 routes shown in the IP address inquiry table 1 by tenant's server 101 after receiving message 2 List item, outgoing interface are tunnel A, and message 2 is sent to gateway 102 by tunnel A.
Gateway 102 is sent to tenant's server 101 after receiving message 2, by message 2.
In conclusion can be transmitted by main path (first path i.e. between edge device 104 and access device 106) Message, thus realize the normal transmission of message, and standby path (the second tunnel i.e. between edge device 105 and access device 107 Diameter) it is currently at Status of Backups, it is not used to transmitting message.
Further, if controller 108 knows switching condition (such as edge device 104- access device for meeting main path Bandwidth availability ratio between 106- outlet device 109 reaches threshold value, alternatively, edge device 104 and/or access device 106 occur Failure etc.), then main path is switched over, with no restrictions to the switching condition of the active-standby path of required satisfaction.Moreover, control Device 108 knows the mode for meeting switching condition, in the present embodiment also with no restrictions, meets switching condition i.e. as long as can know It can.
On this basis, another route control method is proposed in the embodiment of the present application, it is shown in Figure 3, for the road By the flow diagram of control method, which may include:
Step 301, if meeting the switching condition of main path, first path is labeled as standby path by controller 108, by the Two path tags are main path, and the priority of first path is adjusted to the first priority, by the priority tune in the second path Whole is the second priority.Second priority can be higher than the first priority.
Step 302, controller 108 is (subsequent by the configuration in order to distinguish conveniently to the transmission of edge device 104 configuration information Information is known as the first configuration information), the first configuration information is used to the priority that the first kind routes being adjusted to the first priority, should First kind routing may include the routing that edge device 104 is sent to access device 106, alternatively, edge device 104 is set from access Standby 106 routings learnt.
Step 303, edge device 104 receives the first configuration information that controller 108 is sent, and is sent out according to the first configuration information The first route messages for carrying first kind routing are sent, which includes the first priority by message.
For example, after the priority of first path is adjusted to the first priority by controller 108, it can be corresponding to first path Edge device 104 send the first configuration information, which acts on the routing of access device 106.That is, being directed to side Edge equipment 104 is sent to the routing of access device 106, can be handled based on first configuration information;For edge device 104 routings learnt from access device 106 can also be handled based on first configuration information.
After receiving the first configuration information first configuration information can be locally stored in edge device 104.Edge is set Standby 104 when sending the first route messages (such as BGP route messages) for first kind routing, can match confidence according to first Breath sends the first route messages for carrying first kind routing.The priority tune for being used to route the first kind due to the first configuration information Whole is the first priority, and therefore, the first route messages may include the first priority, it is assumed that the first priority is 4, then the first via It may include priority 4 by message.
Shown in table 1 for example, with reference to above-described embodiment, edge device 104 can be set according to the first configuration information to gateway Standby 102 send the first route messages, which may include the IP address of application server 110, first with confidence The first priority 4 indicated in breath.Gateway 102 can learn route table items according to first route messages, referring to 7 institute of table Show.
Table 7
In addition, edge device 104 can send the first route messages to access device 106 according to the first configuration information, the The first priority 4 that one route messages may include the IP address of tenant's server 101, indicate in the first configuration information.Access Equipment 106 can send route messages to outlet device 109, which can wrap after receiving the first route messages Include IP address, the first priority 4 of tenant's server 101.Based on this, outlet device 109 can learn according to the route messages To route table items, ginseng is shown in Table 8.
Table 8
Step 304, controller 108 is (subsequent by the configuration in order to distinguish conveniently to the transmission of edge device 105 configuration information Information is known as the second configuration information), the second configuration information is used to the priority that the second class routes being adjusted to the second priority, should The routing of second class may include the routing that edge device 105 is sent to access device 107, alternatively, edge device 105 is set from access Standby 107 routings learnt.
Step 305, edge device 105 receives the second configuration information that controller 108 is sent, and is sent out according to the second configuration information The secondary route message for carrying the routing of the second class is sent, which includes the second priority.
For example, after the priority in the second path is adjusted to the second priority by controller 108, it can be corresponding to the second path Edge device 105 send the second configuration information, which acts on the routing of access device 107.That is, being directed to side Edge equipment 105 is sent to the routing of access device 107, can be handled based on second configuration information;For edge device 105 routings learnt from access device 107 can also be handled based on second configuration information.
After receiving the second configuration information the second configuration information can be locally stored in edge device 105.Edge device 105 when sending secondary route message (such as BGP route messages) for the routing of the second class, can be according to the second configuration information Send the secondary route message for carrying the routing of the second class.Since the priority that the second configuration information is used to route the second class adjusts For the second priority, therefore, secondary route message may include the second priority, it is assumed that the second priority is 6, then secondary route Message may include priority 6.
Shown in table 4 for example, with reference to above-described embodiment, edge device 105 can be set according to the second configuration information to gateway Standby 102 send secondary route message, and secondary route message may include the IP address of application server 110, the second configuration information Second priority 6 of middle instruction.Gateway 102 can learn according to the secondary route message to route table items, referring to 9 institute of table Show.
Table 9
In addition, edge device 105 can send secondary route message to access device 107 according to the second configuration information, the The second priority 6 that two route messages may include the IP address of tenant's server 101, indicate in the second configuration information.Access Equipment 107 can send route messages to outlet device 109, which can wrap after receiving secondary route message Include IP address, the second priority 6 of tenant's server 101.Based on this, outlet device 109 can learn according to the route messages To route table items, ginseng is shown in Table 10.
Table 10
Under above-mentioned application scenarios, an example of the transmission flow of message be may comprise steps of:
Tenant's server 101 sends message 1, and purpose IP address is the IP address of application server 110.
Gateway 102 routes shown in the IP address inquiry table 9 by application server 110 after receiving message 1 List item, outgoing interface are tunnel B and tunnel D.Since the priority of tunnel D is higher than the priority of tunnel B, gateway 102 Message 1 is sent to edge device 105 by tunnel D.
After edge device 105 receives message 1, message 1 is sent to access device 107.
After access device 107 receives message 1, message 1 is sent to outlet device 109.
After outlet device 109 receives message 1, message 1 is sent to application server 110.
Under above-mentioned application scenarios, another example of the transmission flow of message be may comprise steps of:
Application server 110 sends message 2, and purpose IP address is the IP address of tenant's server 101.
Outlet device 109 is after receiving message 2, road shown in the IP address inquiry table 10 by tenant's server 101 By list item, outgoing interface is 1091 and 1092.Since 1092 priority is higher than 1091 priority, outlet device 109 is logical It crosses outgoing interface 1092 and message 2 is sent to access device 107.
Access device 107 is sent to edge device 105 after receiving message 2, by message 2.
Edge device 105 is sent to gateway 102 after receiving message 2, by message 2.
Gateway 102 is sent to tenant's server 101 after receiving message 2, by message 2.
In conclusion after main path switches, can by main path after switching (i.e. edge device 105 with connect Enter the second path between equipment 107) transmitting message, to realize the normal transmission of message.
It based on the above-mentioned technical proposal,, can be by the first via when meeting the switching condition of main path in the embodiment of the present application Diameter is switched to standby path, and the second path is switched to main path, the i.e. role exchange of first path and the second path, in this way, Flow between tenant's server and application server can be drained into the second path from first path, so that tenant services Device and application server normal communication avoid packet drop, mitigate the influence to business.Above-mentioned handoff procedure can be in the short time Interior completion, business interruption time is controllable, can be rapidly performed by service switching, by failure business migration to standby path, reaches mutual For the ability of backup.Controller is constructed active-standby path and is come into force and cut by more newly arriving for the adjustment of routing policy and device configuration It changes.
Optionally, in one example, first path is switched to standby path, by the second path be switched to main path it Afterwards, if controller 108 knows switching condition (such as edge device 105- access device 107- outlet device 109 for meeting main path Between bandwidth availability ratio reach threshold value, alternatively, edge device 105 and/or access device 107 break down), then to main road Diameter switches over, and first path is such as switched to main path, the second path is switched to standby path, specific implementation is referring to upper Embodiment is stated, it is no longer repeated.
In the above-described embodiments, ginseng is shown in Table 7, and sometime, tunnel B and the corresponding priority of tunnel D are 4, Ginseng is shown in Table 8, and sometime, interface 1091 and the corresponding priority of interface 1092 are 4, in order to avoid such case Occur, in one example, the priority of first path is adjusted to the first priority, the priority in the second path is adjusted to Second priority may include:
The priority in the second path is adjusted to third priority (being adjusted to third priority from the first priority);It will The priority of first path is adjusted to the first priority (being adjusted to the first priority from the second priority);By the second path Priority is adjusted to the second priority from third priority.
In one example, third priority can be lower than the first priority.
For example, first path is that (priority of first path is priority higher second to main path before the switching of path Priority 6), the second path is standby path (priority in the second path is lower first priority 4 of priority), if this time control The first path of local record is labeled as standby path by device 108 processed, and the second path tag after main path, can be adjusted to be switched Two paths priority.
Specifically, the priority in the second path is adjusted to third priority 2 from the first priority 4.Controller 108 is to The corresponding edge device 105 in two paths sends configuration information, and the configuration information is for the priority that the second class routes to be adjusted to Third priority 2.Further, referring to above-described embodiment, edge device 105 is sent to gateway 102 or access device 107 When route messages, route messages include third priority 2.
Based on this, the route table items ginseng that gateway 102 learns is shown in Table 11, i.e., is updated to table 11 from table 5.Outlet The route table items ginseng that equipment 109 learns is shown in Table 12, i.e., is updated to table 12 from table 6.
Table 11
Table 12
After the priority in the second path is adjusted to third priority 2 from the first priority 4, by the preferential of first path Grade is adjusted to the first priority 4 from the second priority 6.Controller 108 sends configuration to the corresponding edge device 104 of first path Information, the configuration information are used to the priority that the first kind routes being adjusted to the first priority 4.Further, referring to above-mentioned reality Example is applied, when edge device 104 sends route messages to gateway 102 or access device 106, route messages include first excellent First grade 4.
Based on this, the route table items ginseng that gateway 102 learns is shown in Table 13, and is updated to table 13 from table 11.Outlet The route table items ginseng that equipment 109 learns is shown in Table 14, and is updated to table 14 from table 12.
Table 13
Table 14
After the priority of first path is adjusted to the first priority 4 from the second priority 6, by the preferential of the second path Grade is adjusted to the second priority 6 from third priority 2.Controller 108 sends configuration to the corresponding edge device 105 in the second path Information, the configuration information are used to the priority that the second class routes being adjusted to the second priority 6.Further, referring to above-mentioned reality Example is applied, when edge device 105 sends route messages to gateway 102 or access device 107, route messages include second excellent First grade 6.
Based on this, the route table items ginseng that gateway 102 learns is shown in Table 9, and is updated to table 9 from table 13.Outlet is set The standby 109 route table items ginsengs learnt are shown in Table 10, and are updated to table 10 from table 14.
Optionally, in one example, the priority of routing can be controlled by the quantity of As-Path value.
Controller 108 to the first configuration information that edge device 104 is sent may include M As-Path value, M As- Path value is used to the priority that the first kind routes being adjusted to the first priority.Based on this, edge device 104 can be according to M As-Path value determines that the priority of first kind routing is the first priority.
Controller 108 to the second configuration information that edge device 105 is sent may include N number of As-Path value, N number of As- Path value is used to the priority that the second class routes being adjusted to the second priority.Based on this, edge device 105 can be according to N number of As-Path value determines that the priority of the second class routing is the second priority.
Controller 108 to the third configuration information that edge device 104 is sent may include N number of As-Path value, N number of As- Path value is used to the priority that the first kind routes being adjusted to the second priority.Based on this, edge device 104 can be according to N number of As-Path value determines that the priority of first kind routing is the second priority.
Controller 108 to the 4th configuration information that edge device 105 is sent may include M As-Path value, M As- Path value is used to the priority that the second class routes being adjusted to the first priority.Based on this, edge device 105 can be according to M As-Path value determines that the priority of the second class routing is the first priority.
In the above-described embodiments, M is positive integer, and N is positive integer, and M is greater than N.
Certainly, aforesaid way is an example of " controlling routing priority by configuration information ", to this priority Control mode with no restrictions, for example, configuration information may include the numerical value of priority.
In one example, it is assumed that As-Path value is that 500, As-Path value has no effect on the value of priority, can be with It is subsequent for 500 for other numerical value.Referring to shown in table 1 and table 4, it is assumed that default priority 8, in order to control first path Or second path priority be the second priority 6, then may include 2 As-Path500 in configuration information, in this way, edge Equipment 104 or edge device 105 are after obtaining the configuration information, since configuration information includes 2 As-Path500, 2 are subtracted on the basis of default priority 8, obtains the second priority 6.In order to control the preferential of first path or the second path Grade is the first priority 4, then may include 4 As-Path500 in configuration information, in this way, edge device 104 or edge are set Standby 105 after obtaining the configuration information, since configuration information includes 4 As-Path500, in the base of default priority 8 4 are subtracted on plinth, obtain the first priority 4.
Based on similarly applying conceiving with the above method, a kind of route control device is also proposed in the embodiment of the present application, the One access device is connect with first edge equipment, and the second access device is connect with second edge equipment, the first access device and Two access devices are connected to the network with public cloud, and the first path between the first access device and first edge equipment is main road Diameter, the second path between the second access device and second edge equipment are standby path, and described device is applied to controller, such as schemes It is the structure chart of described device shown in 4, comprising:
Module 41 is adjusted, if the switching condition for meeting main path, first path is labeled as standby path, by second Path tag is main path;The priority of the first path is adjusted to the first priority, by the preferential of second path Grade is adjusted to the second priority, and first priority is lower than second priority;
Sending module 42, for sending the first configuration information to the first edge equipment, first configuration information is used It is adjusted to first priority in the priority for routing the first kind, the first kind routing includes the first edge equipment It is sent to the routing of first access device, alternatively, what the first edge equipment learnt from first access device Routing;And Xiang Suoshu second edge equipment sends the second configuration information, second configuration information is used to route the second class Priority be adjusted to second priority, the second class routing includes that the second edge equipment is sent to described second The routing of access device, alternatively, the routing that the second edge equipment learns from second access device.
The adjustment module 41 is also used to be main path in the first path, will when second path is standby path The priority of the first path is adjusted to the second priority, and the priority in second path is adjusted to first preferentially Grade;The sending module 42 is also used to send third configuration information to the first edge equipment, and the third configuration information is used Second priority is adjusted in the priority for routing the first kind;The 4th configuration is sent to the second edge equipment Information, the 4th configuration information are used to the priority that second class routes being adjusted to first priority.
The priority of the first path is adjusted to the first priority by the adjustment module 41, by second path Priority is adjusted to be specifically used for when the second priority: the priority in second path is adjusted to third priority;By institute The priority for stating first path is adjusted to the first priority;The priority in second path is adjusted from the third priority For the second priority;Third priority is lower than the first priority.
A kind of controller is provided in the embodiment of the present application, for hardware view, the hardware structure of the controller is illustrated Figure may refer to shown in Fig. 5.It include: machine readable storage medium and processor, in which: the machine readable storage medium: deposit The enough machine-executable instructions executed by the processor of energy storage.The processor: communicating with machine readable storage medium, reads With the machine-executable instruction stored in execution machine readable storage medium, route test disclosed in the application above-mentioned example is realized Operation.
Here, machine readable storage medium can be any electronics, magnetism, optics or other physical storage devices, can be with Include or store information, such as executable instruction, data, etc..For example, machine readable storage medium may is that RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, memory driver is (as hard Disk drive), solid state hard disk, any kind of storage dish (such as CD, dvd) perhaps similar storage medium or they Combination.
Based on similarly applying conceiving with the above method, a kind of route control device is also proposed in the embodiment of the present application, the One access device is connect with first edge equipment, and the second access device is connect with second edge equipment, the first access device and Two access devices are connected to the network with public cloud, and shown in Figure 6, the route control device may include 61 He of receiving module Sending module 62;Wherein:
When described device is applied to the first edge equipment, the receiving module 61 is sent for receiving controller The first configuration information, first configuration information is used to the priority that the first kind routes being adjusted to the first priority;Wherein, First configuration information is that the controller determines first path between the first access device and first edge equipment from master It is sent when route diversion is for path;
The sending module 62, for sending the first via for carrying the first kind routing according to first configuration information By message, the first via includes first priority by message;Wherein, the first kind routing includes the first edge Equipment is sent to the routing of first access device, alternatively, the first edge equipment learns from first access device The routing arrived;
When described device is applied to the second edge equipment, the receiving module 61 is sent for receiving controller The second configuration information, second configuration information is used to the priority that the second class routes being adjusted to the second priority;Wherein, Second configuration information is that the controller determines the second path between the second access device and second edge equipment from standby What route diversion was sent when being main path;The sending module 62, for according to second configuration information transmission carrying The secondary route message of second class routing, the secondary route message includes second priority;Wherein, second class road The second edge equipment is sent to the routing of second access device by including, alternatively, the second edge equipment is from institute State the routing that the second access device learns;Wherein, first priority is lower than second priority.
When described device is applied to the first edge equipment, the receiving module 61 is also used to receive controller hair The third configuration information sent, the third configuration information are used to for the priority that the first kind routes to be adjusted to second preferential Grade;Wherein, the third configuration information be the first path be main path when sent by the controller;The transmission mould Block 62 is also used to send the third route messages for carrying the first kind routing, the third according to the third configuration information Route messages include second priority;
When described device is applied to the second edge equipment, the receiving module 61 is also sent with reception controller The 4th configuration information, the 4th configuration information is used to the priority that second class routes being adjusted to the first priority; Wherein, the 4th configuration information, which is second path, is sent by the controller when being standby path;The sending module 62, it is also used to send the 4th route messages for carrying the second class routing, the 4th tunnel according to the 4th configuration information It include first priority by message.
A kind of edge device is provided in the embodiment of the present application, for hardware view, the hardware structure of the edge device Schematic diagram specifically may refer to shown in Fig. 7.It include: machine readable storage medium and processor, in which: the machine readable storage Medium: the machine-executable instruction that storage can be executed by the processor.The processor: logical with machine readable storage medium Letter reads and executees the machine-executable instruction stored in machine readable storage medium, realizes disclosed in the application above-mentioned example Route test operation.
Here, machine readable storage medium can be any electronics, magnetism, optics or other physical storage devices, can be with Include or store information, such as executable instruction, data, etc..For example, machine readable storage medium may is that RAM (Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, memory driver is (as hard Disk drive), solid state hard disk, any kind of storage dish (such as CD, dvd) perhaps similar storage medium or they Combination.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes computer usable program code that the embodiment of the present application, which can be used in one or more, The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of program product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It is generally understood that being realized by computer program instructions each in flowchart and/or the block diagram The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computer journeys Sequence instruct to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with A machine is generated, so that the instruction generation executed by computer or the processor of other programmable data processing devices is used for Realize the dress for the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
Moreover, these computer program instructions also can store be able to guide computer or other programmable datas processing set In standby computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates Manufacture including command device, the command device are realized in one process of flow chart or multiple processes and/or block diagram one The function of being specified in a box or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing devices, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer Or the instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram The step of function of being specified in one box or multiple boxes.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (10)

1. a kind of route control method, which is characterized in that the first access device is connect with first edge equipment, the second access device It is connect with second edge equipment, the first access device and the second access device are connected to the network with public cloud, the first access device First path between first edge equipment is main path, the second path between the second access device and second edge equipment For standby path, the method is applied to controller, comprising:
If meeting the switching condition of main path, the first path is labeled as standby path, is by second path tag Main path;The priority of the first path is adjusted to the first priority, the priority in second path is adjusted to Two priority, first priority are lower than second priority;
The first configuration information is sent to the first edge equipment, first configuration information is preferential for routing the first kind Grade is adjusted to first priority, and the first kind routing is sent to first access including the first edge equipment and sets Standby routing, alternatively, the routing that the first edge equipment learns from first access device;
The second configuration information is sent to the second edge equipment, second configuration information is preferential for routing the second class Grade is adjusted to second priority, and the second class routing is sent to second access including the second edge equipment and sets Standby routing, alternatively, the routing that the second edge equipment learns from second access device.
2. the method according to claim 1, wherein the method also includes:
When the first path is main path, and second path is standby path, the priority of the first path is adjusted For the second priority, and the priority in second path is adjusted to the first priority;
Third configuration information is sent to the first edge equipment, what the third configuration information was used to route the first kind Priority is adjusted to second priority;
The 4th configuration information is sent to the second edge equipment, what the 4th configuration information was used to route second class Priority is adjusted to first priority.
3. the method according to claim 1, wherein the priority by the first path is adjusted to first The priority in second path is adjusted to the second priority by priority, comprising:
The priority in second path is adjusted to third priority;
The priority of the first path is adjusted to the first priority;
The priority in second path is adjusted to the second priority from the third priority;
Wherein, the third priority is lower than first priority.
4. a kind of route control method, which is characterized in that the first access device is connect with first edge equipment, the second access device It is connect with second edge equipment, the first access device and the second access device are connected to the network with public cloud, when the method is answered When for the first edge equipment, which comprises
The first configuration information that controller is sent is received, the priority that first configuration information is used to route the first kind adjusts For the first priority;Wherein, first configuration information is that the controller determines the first access device and first edge equipment Between first path send when being changed to standby path from main path;
The first route messages for carrying the first kind routing, first route messages are sent according to first configuration information Including first priority;Wherein, the first kind routing includes that the first edge equipment is sent to first access The routing of equipment, alternatively, the routing that the first edge equipment learns from first access device;
When the method is applied to the second edge equipment, which comprises
The second configuration information that controller is sent is received, the priority that second configuration information is used to route the second class adjusts For the second priority;Wherein, second configuration information is that the controller determines the second access device and second edge equipment Between the second path send when from standby route diversion being main path;
The secondary route message for carrying the second class routing, the secondary route message are sent according to second configuration information Including second priority;Wherein, the second class routing includes that the second edge equipment is sent to second access The routing of equipment, alternatively, the routing that the second edge equipment learns from second access device;
Wherein, first priority is lower than second priority.
5. according to the method described in claim 4, it is characterized in that,
When the method is applied to the first edge equipment, the method also includes:
The third configuration information that controller is sent is received, the third configuration information is used for the priority for routing the first kind It is adjusted to the second priority;Wherein, the third configuration information be the first path be main path when sent out by the controller It send;The third route messages for carrying the first kind routing are sent according to the third configuration information, the third routing disappears Breath includes second priority;
When the method is applied to the second edge equipment, the method also includes:
The 4th configuration information that controller is sent is received, the 4th configuration information is used for the priority for routing second class It is adjusted to the first priority;Wherein, the 4th configuration information, which is second path, is sent out by the controller when being standby path It send;The 4th route messages for carrying the second class routing are sent according to the 4th configuration information, the 4th routing disappears Breath includes first priority.
6. a kind of route control device, which is characterized in that the first access device is connect with first edge equipment, the second access device It is connect with second edge equipment, the first access device and the second access device are connected to the network with public cloud, the first access device First path between first edge equipment is main path, the second path between the second access device and second edge equipment For standby path, described device is applied to controller, comprising:
Module is adjusted, if the switching condition for meeting main path, first path is labeled as standby path, the second path is marked It is denoted as main path;The priority of the first path is adjusted to the first priority, the priority in second path is adjusted For the second priority, first priority is lower than second priority;
Sending module, for sending the first configuration information to the first edge equipment, first configuration information is used for the The priority of one kind routing is adjusted to first priority, and the first kind routing includes that the first edge equipment is sent to The routing of first access device, alternatively, the routing that the first edge equipment learns from first access device;With And Xiang Suoshu second edge equipment sends the second configuration information, second configuration information is preferential for routing the second class Grade is adjusted to second priority, and the second class routing is sent to second access including the second edge equipment and sets Standby routing, alternatively, the routing that the second edge equipment learns from second access device.
7. device according to claim 6, which is characterized in that the adjustment module, be also used to be in the first path The priority of the first path when second path is standby path, is adjusted to the second priority, and will be described by main path The priority in the second path is adjusted to the first priority;
The sending module is also used to send third configuration information to the first edge equipment, and the third configuration information is used Second priority is adjusted in the priority for routing the first kind;
The 4th configuration information is sent to the second edge equipment, what the 4th configuration information was used to route second class Priority is adjusted to first priority.
8. device according to claim 6, which is characterized in that the adjustment module is by the priority tune of the first path Whole is the first priority, is specifically used for when the priority in second path is adjusted to the second priority: by second tunnel The priority of diameter is adjusted to third priority;The priority of the first path is adjusted to the first priority;By described second The priority in path is adjusted to the second priority from the third priority;Wherein, the third priority is lower than described first Priority.
9. a kind of route control device, which is characterized in that the first access device is connect with first edge equipment, the second access device It is connect with second edge equipment, the first access device and the second access device are connected to the network with public cloud, the route test Device includes receiving module and sending module;Wherein:
When described device is applied to the first edge equipment, the receiving module, for receiving the first of controller transmission Configuration information, first configuration information are used to the priority that the first kind routes being adjusted to the first priority;Wherein, described One configuration information is that the controller determines that the first path between the first access device and first edge equipment becomes from main path It is sent when more for path;
The sending module, for sending the first via for carrying the first kind routing according to first configuration information by disappearing Breath, the first via includes first priority by message;Wherein, the first kind routing includes the first edge equipment It is sent to the routing of first access device, alternatively, what the first edge equipment learnt from first access device Routing;
When described device is applied to the second edge equipment, the receiving module, for receiving the second of controller transmission Configuration information, second configuration information are used to the priority that the second class routes being adjusted to the second priority;Wherein, described Two configuration informations are that the controller determines that the second path between the second access device and second edge equipment becomes from standby path More main path when send;
The sending module, the secondary route for sending carrying the second class routing according to second configuration information disappear Breath, the secondary route message includes second priority;Wherein, the second class routing includes the second edge equipment It is sent to the routing of second access device, alternatively, what the second edge equipment learnt from second access device Routing;
Wherein, first priority is lower than second priority.
10. device according to claim 9, which is characterized in that
When described device is applied to the first edge equipment, the receiving module is also used to receive the of controller transmission Three configuration informations, the third configuration information are used to the priority that the first kind routes being adjusted to the second priority;Wherein, The third configuration information be the first path be main path when sent by the controller;The sending module, is also used In the third route messages for sending the carrying first kind routing according to the third configuration information, the third route messages packet Include second priority;
When described device is applied to the second edge equipment, the receiving module, the 4th also sent with reception controller Configuration information, the 4th configuration information are used to the priority that second class routes being adjusted to the first priority;Wherein, institute To state the 4th configuration information, which be second path, is sent by the controller when being standby path;The sending module, is also used to The 4th route messages for carrying the second class routing are sent according to the 4th configuration information, the 4th route messages include First priority.
CN201910238898.9A 2019-03-27 2019-03-27 A kind of route control method and device Pending CN109787894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910238898.9A CN109787894A (en) 2019-03-27 2019-03-27 A kind of route control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910238898.9A CN109787894A (en) 2019-03-27 2019-03-27 A kind of route control method and device

Publications (1)

Publication Number Publication Date
CN109787894A true CN109787894A (en) 2019-05-21

Family

ID=66490970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910238898.9A Pending CN109787894A (en) 2019-03-27 2019-03-27 A kind of route control method and device

Country Status (1)

Country Link
CN (1) CN109787894A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430076A (en) * 2019-07-31 2019-11-08 新华三技术有限公司合肥分公司 A kind of route management method and device
CN110519076A (en) * 2019-07-25 2019-11-29 新华三大数据技术有限公司 It is connect with bgp neighbor equipment and disconnects method, apparatus and interactive system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270298A (en) * 2014-09-30 2015-01-07 杭州华三通信技术有限公司 Method and device for forwarding message in VXLAN
WO2015000173A1 (en) * 2013-07-05 2015-01-08 华为技术有限公司 Tunnel establishment method, label allocation method, device, and network system
CN105577417A (en) * 2014-11-06 2016-05-11 杭州华三通信技术有限公司 VXLAN (virtual extensible local area network)-based massage forwarding method and device
CN207665011U (en) * 2017-12-28 2018-07-27 贵阳忆联网络有限公司 A kind of disaster recovery system towards cloud computing
CN109039943A (en) * 2018-09-14 2018-12-18 迈普通信技术股份有限公司 Flow allocating method, apparatus, network system and SDN controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015000173A1 (en) * 2013-07-05 2015-01-08 华为技术有限公司 Tunnel establishment method, label allocation method, device, and network system
CN104270298A (en) * 2014-09-30 2015-01-07 杭州华三通信技术有限公司 Method and device for forwarding message in VXLAN
CN105577417A (en) * 2014-11-06 2016-05-11 杭州华三通信技术有限公司 VXLAN (virtual extensible local area network)-based massage forwarding method and device
CN207665011U (en) * 2017-12-28 2018-07-27 贵阳忆联网络有限公司 A kind of disaster recovery system towards cloud computing
CN109039943A (en) * 2018-09-14 2018-12-18 迈普通信技术股份有限公司 Flow allocating method, apparatus, network system and SDN controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519076A (en) * 2019-07-25 2019-11-29 新华三大数据技术有限公司 It is connect with bgp neighbor equipment and disconnects method, apparatus and interactive system
CN110430076A (en) * 2019-07-31 2019-11-08 新华三技术有限公司合肥分公司 A kind of route management method and device
CN110430076B (en) * 2019-07-31 2022-05-31 新华三技术有限公司合肥分公司 Route management method and device

Similar Documents

Publication Publication Date Title
EP2974166B1 (en) Method and apparatus for ip/mpls fast reroute
CN104301251A (en) QoS processing method, system and device
WO2019085975A1 (en) Network topology display method and network management device
CN108600109A (en) A kind of message forwarding method and device
CN107547391A (en) A kind of message transmitting method and device
CN109660441A (en) The method and device of multicast replication in Overlay network
CN108259346A (en) A kind of equivalent route item establishing method and device
CN105282003A (en) Tunnel establishing method and system, tunnel controller and virtual switch
CN108259218A (en) A kind of IP address distribution method and device
CN109412949A (en) A kind of data message transmission method and device
CN109167700B (en) Detection method and device for Segment Routing (SR) tunnel
CN109412926A (en) A kind of tunnel establishing method and device
CN109787894A (en) A kind of route control method and device
CN108718276A (en) A kind of message forwarding method and device
CN109873766B (en) Message transmission method and device
CN113489640B (en) Message forwarding method, device and gateway system
US9258254B2 (en) Virtual router and switch
CN106254282B (en) The implementation method and device of link aggregation
EP3996334A1 (en) Method and device for packet forwarding
EP3461079A1 (en) Path establishment method and device, and network node
CN106209634B (en) Learning method and device of address mapping relation
US10574481B2 (en) Heterogeneous capabilities in an overlay fabric
CN108632125A (en) A kind of multicast list management method, device, equipment and machine readable storage medium
CN117319343A (en) Policy routing implementation method, device and storage medium
CN108156066A (en) Message forwarding method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190521

RJ01 Rejection of invention patent application after publication