WO2008031334A1 - Route updating method, system and router - Google Patents

Route updating method, system and router Download PDF

Info

Publication number
WO2008031334A1
WO2008031334A1 PCT/CN2007/070183 CN2007070183W WO2008031334A1 WO 2008031334 A1 WO2008031334 A1 WO 2008031334A1 CN 2007070183 W CN2007070183 W CN 2007070183W WO 2008031334 A1 WO2008031334 A1 WO 2008031334A1
Authority
WO
WIPO (PCT)
Prior art keywords
router
route
neighbor relationship
information
revoked
Prior art date
Application number
PCT/CN2007/070183
Other languages
French (fr)
Chinese (zh)
Inventor
Renhai Zhang
Original Assignee
Huawei 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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008031334A1 publication Critical patent/WO2008031334A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/033Topology update or discovery by updating distance vector protocols

Definitions

  • the present invention relates to the field of data communication technologies, and in particular, to a route update method, system, and router.
  • Border Gateway Protocol is a dynamic route discovery protocol between ASs (Autonomous Systems). Its basic function is to automatically exchange loop-free routing information between autonomous systems.
  • ASs Autonomous Systems
  • BGP is an external gateway protocol (EGP).
  • EGP Exterior Gateway Protocol
  • OSPF and RIP are the Interior Gateway Protocol (IGP).
  • IBGP Intemal BGP, Internal Border Gateway Protocol
  • EBGP External BGP, External Border Gateway Protocol
  • IBGP External Border Gateway Protocol
  • a BGP router running in the same AS autonomous system requires full connectivity because of the protocol function and mechanism constraints, that is, any two routers running BGP must have an IBGP connection.
  • the two routers that establish an IBGP connection are neighbors.
  • the IBGP connection is a TCP connection, not a physical connection. The requirement is high and the complexity is N square. For example, if there are N routers in an autonomous system, if the connection is full (that is, a BGP connection is established between each two routers) , you need to establish N ( N-1 ) /2 IBGP connections.
  • the application of the RR (Router Reflector) effectively reduces the number of IBGP neighbors established.
  • FIG. 1 is a topology diagram of a route reflector network in the prior art.
  • the concept of route reflector networking is to divide the router running BGP protocol in an autonomous system into RR101, client 102 and non-client 103. According to the reflector protocol, the non-client 103 and the route reflector 101 in the autonomous system remain fully connected, and the IBGP-based neighbor relationship must be established between the client 102 and the reflector 101.
  • the route advertisement policy is: the route reflector 101 sends the client 102 The routing information is sent to the other client 102 and the non-client 103, and the routing information sent by the non-client 103 is sent to all the clients 101.
  • FIG. 2 is a schematic diagram of a network using a border gateway protocol in the prior art.
  • the user On the access side, for the robustness of the network, the user usually establishes two paths with the backbone network and accesses different routers in the backbone network to provide redundant backup.
  • the CE (Customer Edge) router 205 is connected to the carrier backbone network through the PE (Provider Edge) 1 router 202 and the PE2 router 203. To reduce the number of BGP neighbors, one router in the backbone network is configured as a route reflection.
  • the PE1 router 202, the PE2 router 203, and the PE3 router 204 are all clients of the route reflector 201.
  • the route reflector 201 and the three clients are configured with a BGP connection-based neighbor relationship; however, no configuration is required between the clients, such as the PE1 router 202 and the PE3 router 204, the PE2 router 203, and the PE3 router 204. Neighbor relationship based on BGP connection. After receiving the routing information of the client from the PE1 router 202 and the PE2 router 203, the route reflector 201 selects one of the optimal routing information and sends it to the PE3 router 204 according to the BGP routing rule.
  • the traffic sent from the PE3 router 204 to the user autonomous system AS65535 can only go to one of the two routes PE3 router 204 - PE1 router 202 - CE router 205 or PE3 router 204 - PE2 router 203 - CE router 205, so it cannot Implement load sharing.
  • the route reflector 201 needs to resend another route information to the PE3 router 204, thereby implementing route convergence, and then the service can be restored, so that fast handover when the route failure cannot be implemented.
  • the embodiments of the present invention provide a route update method, system, and router, which provide implementations for load balancing or fast handover of routes, thereby improving network operation quality.
  • the embodiment of the present invention provides a route update method, in which the first router sends multiple routing information to the second router to the same destination address, and the second router receives the multiple routing information according to the received routing information. Adding a route, the first router and the second router have a neighbor relationship; when the route is revoked, the first router sends the revoked next hop information to the second router, and the second router receives the The revocation route next hop information is revoked.
  • the embodiment of the present invention further provides a router, including: a neighbor relationship establishing unit, configured to establish a neighboring relationship with the other routers, where the other routers include at least a second router, and a route update information sending unit, configured to: when the route advertisements, the second relationship that has been established by the neighbor relationship establishing unit The router sends multiple routing information to the same destination address; and when the route is revoked, sends the revoked next hop information to the second router.
  • a neighbor relationship establishing unit configured to establish a neighboring relationship with the other routers, where the other routers include at least a second router
  • a route update information sending unit configured to: when the route advertisements, the second relationship that has been established by the neighbor relationship establishing unit The router sends multiple routing information to the same destination address; and when the route is revoked, sends the revoked next hop information to the second router.
  • the embodiment of the present invention further provides a routing update system, which includes at least a first router and a second router that have a neighbor relationship with each other, and the first router sends the same to the second router when the route advertisement is performed. a plurality of routing information of the destination address, where the second router adds a route according to the received multiple routing information; when the first router performs routing revocation, sends the second hop information of the revoked route to the second router. The second router revokes the route according to the received revocation route next hop information.
  • the first router sends multiple routing information to the second destination router that has the neighbor relationship with the same destination address, so that the second router can maintain the same destination address.
  • the first router may send the revoked next hop information to the second router, so that the second router can quickly switch traffic to other unfailed routes.
  • the technical solution provided by the embodiment of the present invention can improve the network operation quality by providing load balancing or fast handover for routing.
  • FIG. 1 is a topology diagram of a route reflector network in the prior art
  • FIG. 2 is a schematic diagram of a network using a border gateway protocol in the prior art
  • FIG. 3 is a schematic flowchart of an embodiment of a route update method according to the present invention.
  • FIG. 4 is a schematic structural diagram of an embodiment of a router in the present invention.
  • FIG. 5 is a schematic diagram of an embodiment of a route update system according to the present invention.
  • the routers before the route advertisement, perform capability negotiation to establish a neighbor relationship.
  • the router sends at least the neighboring routers (the neighbor routers) to the same destination address.
  • Two routing information ie, multiple routing information
  • the router sends the revoked next hop information to the neighboring router, and the neighboring router performs routing update according to the received information.
  • FIG. 3 is a schematic flowchart of a route update method according to the present invention.
  • Step 301 Before the route advertisement, the routers can advertise the capability of processing the multi-route information to the same destination address, perform capability negotiation, and establish a BGP-based neighbor relationship.
  • the ability to process the multi-route information specifically includes the ability to advertise, identify, and revoke the ability to revoke the next hop information of the route.
  • the router that supports the capability advertisement carries the capability parameter in the OPEN (open) packet when the connection is established with the peer router.
  • the peer router determines whether the capability supported by the peer router is related to the local end according to the received parameters. The router matches. If the inconsistency, that is, the local router does not support some of the capabilities, the NOTIFICATION message is sent to the peer router to notify the peer router that the local router does not support the capability. After receiving the information, the peer router resends the OPEN. A packet carrying only the capability parameters supported by the peer router.
  • the OPEN packet is mainly used to establish a neighbor relationship, and is an initial handshake information between routers running BGP. Before sending any other advertisement information, the OPEN packet can be used to exchange the BGP version and the AS number (AS number).
  • the BGP capability parameters can also be negotiated through the OPEN packet by the information such as the hold time of the adjacency relationship, the local router ID, the BGP identifier, and the capability advertisement. After receiving the OPEN message, the router at the receiving end responds with the KEEPALIVE message. Once the handshake is successful, the routers that are neighbors will perform UPDATE (update).
  • the KEEPA LIVE message is mainly used to implement the connection reliability confirmation between the neighboring routers. Since it is only used to confirm the neighbor relationship, it does not have a packet body only the packet header. After the router establishes a neighbor relationship, it sends the KEEPALIVE packet to the neighboring router periodically according to the set time. The interval is 60 seconds by default.
  • the NOTIFICATION packet is used to perform an error notification when detecting an error in the BGP connection relationship.
  • This error may be artificial or systemic, including connection interruption and OPEN message negotiation error.
  • the router finds that the BGP connection relationship is in error, it sends a NOTIFICATION message to the neighbor router.
  • Capability Code Information, the specific content of the Capability Code field needs to be applied to an official agency, such as IANA, with a Capability Length of 4 bytes.
  • the contents of Capability Value are defined as follows:
  • AFI Address family information, which identifies which protocol address family supports this feature
  • SAFI Subaddress family information.
  • Capability Length The length of the capability parameter value field
  • Capability Value The value of the capability, which is parsed according to the Capability Code information.
  • Each capability negotiation may be carried by the OPEN message to carry one or more of the foregoing capability parameter related information, and each capability parameter represents a capability.
  • different "Capability Code" represents different types of capability parameters.
  • the embodiment of the present invention augments the type of the existing capability parameter, and adds a new type of capability parameter, that is, applies for a new "Capability Code", which is used to indicate a negotiation process for multiple routes.
  • the ability parameter of the information Specifically, when a connection is established, the router that needs to establish a neighbor relationship uses the new type of capability parameter in the OPEN packet, and notifies the other party of the capability of processing the multi-route information to the same destination address, thereby performing the type capability.
  • Step 302 When the route is advertised, the router sends at least two pieces of routing information to the neighboring router to the same destination address, and the neighboring router adds a route according to the information.
  • the sending router uses the UPDATE message to send the learned routing information to the neighboring router. Compared with the routing information sent in the prior art, the routing information sent in the embodiment of the present invention does not need to add a new attribute.
  • the UPDATE message is used to advertise routing information between routers that are neighbor relationships. It includes three parts: unreachable (unreachable) and path attributes (path attributes). NLRI (network layer reachability information)may advertise a route and can also revoke multiple unreachable routes.
  • the router selects one route from each next hop, and then sends the neighboring router to the same destination address. Multiple routing information.
  • Step 303 When the route is revoked, the router sends the next hop information of the revoked route to the neighboring router, and the neighboring router revokes the route according to the next hop information of the revoked route carried by the information.
  • the sender router notifies the receiver router of the next hop information of the revoked route (that is, the route that needs to be revoked), so as to specify the route to be revoked.
  • a field is newly added in the UPDATE message to carry the next hop information of the route to be revoked.
  • the second line in the UPDATE message content (the next hop of the revocation route) is the newly added content.
  • the UPDATE message may not carry the last three lines of information.
  • the receiving router can find the route in the routing table according to the revocation route destination address and the revocation route next hop information, and perform the revocation operation. It should be noted that, in the case that the router itself fails, and all the routes through the faulty router are invalid, the sending router may not send the revoked routing destination address to the receiving router, and only send the retracing next hop information. Further, the receiving end router revokes all routes passing through the faulty router (ie, the router represented by the revoked next hop information) according to the revoked next hop information.
  • a route reflector 201 is included, as well as a PE1 router 202, a PE2 router 203, and a PE3 router 204 as clients of the route reflector 201.
  • the route reflector 201 establishes a connection with the PE1 router 202, the PE2 router 203, and the PE3 router 204, and negotiates the multi-route processing capability to the same destination address and the ability to process the next hop information carrying the revoked route, thereby establishing a BGP-based Neighbor relationship.
  • the route reflector 201 sends the two routing information that it knows to reach the same destination address to the PE3 router 204, and the two routing information are: PE 1 router 202 - CE router 205; and PE3 Router 204 - PE2 router.
  • PE3 router 204 will know that there are two routes to AS65535: (1) PE3 router 204 - PE 1 router 202 - CE router 205; (2) PE3 router 204 - PE2 router 203 - CE router 205.
  • the traffic of the PE3 router 204 to the AS65535 may be partially routed (1), that is, the PE3 router 204 sends the part of the traffic from the outbound interface connected to the PE1 router 202; the other part takes the route (2), that is, the PE3 router 204.
  • This part of the traffic is sent out from the outbound interface connected to the PE2 router 203.
  • the route reflector 201 sends two routing information to the PE3 router 204 to the same destination address, so that the PE3 router 204 can send traffic to the destination address through two routes, thus implementing load balancing of the traffic.
  • a person skilled in the art can understand that after the PE3 router 204 receives two routing information from the route reflector 201 to the same destination address, and adds a route according to the information, the two routing information can be sent to the same destination address through the two routing information.
  • Traffic is used to implement load balancing. It is also possible to perform load balancing without just performing load balancing. Therefore, you can implement fast switching in the event of a fault.
  • the reflector 201 sends two routing information to the PE3 router 204 during the previous route advertisement. Therefore, the PE3 router 204 and the PE3 router 204 - PE2 router 203 - CE router 205 remain in communication.
  • the route reflector 201 sends the route revocation next hop information (which may also include the revocation route destination address) to the PE3 router 204, and the revocation route next hop information refers to the PE 1 router 202, and then all passes through the PE1 router 202. The route will be invalid.
  • the PE3 router 204 can send all the traffic that is sent through the PE3 router 204 - PE 1 router 202 - CE router 205. Switch to PE3 router 204 - PE2 router 203 - CE router 205 to send this route, so that traffic will not be interrupted, protect user services from being affected, implement route backup, and improve network operation quality.
  • the technical solution provided by the embodiment of the present invention provides multiple routing information to the neighboring router to reach the same destination address, and provides load sharing and fast handover for the network system using BGP.
  • Implement ⁇ 5 out Further, by introducing a new optional capability advertisement to identify such processing capability of the router and negotiating through the existing capability negotiation mechanism of BGP, seamless backward compatibility can be achieved for existing devices.
  • FIG. 2 is described by taking a network including a route reflector as an example, those skilled in the art should understand that the technical solutions provided by the embodiments of the present invention can also be applied to Set up the route reflector in the network.
  • FIG. 4 is a schematic structural diagram of a router embodiment using a border gateway protocol according to the present invention.
  • the router 400 in this embodiment includes a neighbor relationship establishing unit 401, a route update information sending unit 402, and a routing table unit 403. The units are described in detail below.
  • the neighbor relationship establishing unit 401 is configured to establish a neighbor relationship with other routers based on BGP before the route advertisement. For convenience of description, it is assumed that the other routers include at least a second router.
  • the multi-route capability negotiation unit may be configured in the router 400, and the capability for negotiating and processing multiple routing information to the same destination address in the process of establishing the neighbor relationship by the neighbor relationship establishing unit 401 . It can be understood by those skilled in the art that if the BGP existing capability negotiation mechanism is not compatible, the multi-routing capability negotiation unit may not be set. For example, in the case that all routers have multi-route related processing capability, between routers It is also possible not to negotiate this capability.
  • the routing update information sending unit 402 is configured to: when the route advertisement is used, to the second router that has established the neighbor relationship by the neighbor relationship establishing unit 401 (since the router 400 has established a neighbor relationship with the second router, the two Sending multiple routing information to the same destination address for the neighboring router; and sending the next hop information of the revoked route to the second router when the route is revoked (eg, If necessary, you can also send the revocation route destination address information).
  • the routing table unit 403 is configured to: when receiving, by the other routers that have established the neighbor relationship by the neighbor relationship establishing unit 401, specifically the routing update information sending unit of the other router, multiple routing information that arrives at the same destination address Adding a route according to the information; and when receiving the revoked next hop information sent by another router (specifically, the route update information sending unit of the other router) that has established the neighbor relationship by the neighbor relationship establishing unit 401, The route is revoked according to the revocation route next hop information carried by the information.
  • the router 400 in the foregoing embodiment may include only the neighbor relationship establishing unit 401 and the route update information sending unit 402; if the router is considered to be placed in a specific application environment, it may not be If the router is to be used as a route reflector or a normal router (such as the role of the PE3 router 204 in FIG. 2), the neighbor relationship establishing unit 401 and the route update information sending unit 402 may be set in the router 400 at the time of production. A routing table unit 403 is set. In this way, the router 400 can be configured as a route reflector or as a normal router.
  • FIG. 5 is a schematic diagram of a route update system disclosed by the present invention.
  • the routing update system in this embodiment includes at least a first router and a second router that have a neighbor relationship based on each other.
  • the first router sends multiple routes to the second router to the same destination address when performing route advertisement. Routing information, the second router adds a route according to the received multiple routing information; the first router sends the revoked next hop information to the second router when the route is revoked, the second The router revokes the route according to the received next hop information of the revoked route.
  • the routing update system shown in this embodiment corresponds to the specific application environment shown in FIG. 2
  • the first router in the embodiment of the system corresponds to the route reflector 201 in FIG. 2
  • the second router corresponds to FIG. 2.
  • the PE3 router 204 corresponds to the PE3 router 204.
  • the first router includes a first neighbor relationship establishing unit 501, a route update information sending unit 502, and a first multi-routing capability negotiating unit 503;
  • the second router includes a second neighbor relationship establishing unit 504, and a routing table.
  • Unit 505 and second multi-routing capability negotiation unit 506. The internal structure and connection relationship of the system are further introduced below in conjunction with the working principle of the system.
  • the first router establishes a neighbor relationship with other routers based on the BGP by the first neighbor relationship establishing unit 501, and the other routers at least include the second router.
  • the establishment of the neighbor relationship is mutual. Therefore, the establishment of the neighbor relationship between the first and second routers is mainly performed by the first neighbor relationship establishing unit 501 and the second neighbor relationship establishing unit 504.
  • a first multi-routing capability negotiation unit 503 may be set in the first router, and a second multi-routing capability negotiation unit 506 may be set in the second router.
  • the two multi-routing capability negotiation units are configured to: when the first neighbor relationship establishing unit 501 and the second neighbor relationship establishing unit 504 establish a neighbor relationship between the first and second routers, the negotiation process reaches the same destination address. The ability to multi-route information.
  • the first router when the first router has established the neighbor relationship with the second router by the first neighbor relationship establishing unit 501, the first router sends the same to the second router through the route update information sending unit 502 when the route advertisement is advertised.
  • Multiple routing information of the destination address There are usually many routers in a network system. Therefore, the first router may also establish a neighbor relationship with other routers other than the second router through the first neighbor relationship establishing unit 501, thereby obtaining information from the other routers.
  • the routing information if it is found that there are multiple routing information that arrives at the same destination address through the learned routing information, the routing information sending unit 502 can send the multiple routing information to the second router.
  • the multiple pieces of routing information sent may be all routing information that is learned by the first router and reach the same destination address, or may be only part of the routing information.
  • the first router when the route is revoked, the first router also sends the revoked next hop information to the second router by using the route update information sending unit 502 (and may also include the revoked destination address information if necessary).
  • the second router After the second router receives the information of the first router that has established the neighbor relationship by the second neighbor relationship establishing unit 504, the second router performs processing by the routing table unit 505. Specifically, when receiving the plurality of pieces of routing information of the same destination address sent by the routing update information sending unit 502 of the first router, the routing table unit 505 adds a route according to the multiple routing information; When the route revoke information sending unit 502 sends the revoked next hop information, the routing table unit 505 revokes the route according to the revoked next hop information.
  • the principles and embodiments of the present invention have been described in terms of specific examples, and the description of the above embodiments is only to assist in understanding the method of the present invention and its core concepts. Also, to those skilled in the art, In view of the above, the description of the present invention is not limited to the scope of the present invention.

Landscapes

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

Abstract

A route updating method is provided. When route notification is being performed, a first router sends information of multiple routes towards the same destination address to a second router. Said second router adds routes according to the received multiple-route information. There is relationship of neighbor between the first router and the second router. When route withdrawing is being performed, said first router sends withdrawing route next hop information to the second router, and said second router withdraws routes according to received withdrawing route next hop information. A route updating system and a router are further provided.

Description

路由更新方法、 系统和路由器  Route update method, system and router
本申请要求于 2006 年 9 月 7 日提交中国专利局、 申请号为 200610127202.8、 发明名称为"路由更新方法和路由器"的中国专利申请的优先 权, 其全部内容通过引用结合在本申请中。  The present application claims priority to Chinese Patent Application No. 200610127202.8, entitled "Routing Update Method and Router", filed on September 7, 2006, the entire contents of which is incorporated herein by reference.
技术领域 Technical field
本发明涉及数据通信技术领域, 尤其涉及一种路由更新方法、 系统和路由 器。  The present invention relates to the field of data communication technologies, and in particular, to a route update method, system, and router.
背景技术 Background technique
边界网关协议 ( BGP, Border Gateway Protocol )是一种自治系统( AS , Autonomous System )间的动态路由发现协议, 它的基本功能是在自治系统间 自动交换无环路的路由信息。与开放最短路径协议(OSPF, Open Shortest Path First )和路由信息协议 ( RIP, Routing Information Protocol )等在自治区域内 部运行的协议对应 , BGP是一类外部网关协议( EGP, Edge Gateway Protocol ) , 而 OSPF和 RIP等为内部网关协议 ( IGP, Interior Gateway Protocol ) 。  The Border Gateway Protocol (BGP) is a dynamic route discovery protocol between ASs (Autonomous Systems). Its basic function is to automatically exchange loop-free routing information between autonomous systems. Corresponding to protocols running within the autonomous region, such as Open Shortest Path First (OSPF) and Routing Information Protocol (RIP), BGP is an external gateway protocol (EGP). OSPF and RIP are the Interior Gateway Protocol (IGP).
BGP连接有两种类型, IBGP(Intemal BGP , 内部边界网关协议)和 There are two types of BGP connections, IBGP (Intemal BGP, Internal Border Gateway Protocol) and
EBGP(External BGP, 外部边界网关协议)。 在同一 AS自治区域中建立的 BGP 连接称为 IBGP, 不同 AS自治区域间的 BGP连接为 EBGP连接。 EBGP (External BGP, External Border Gateway Protocol). A BGP connection established in the same AS autonomous area is called IBGP. The BGP connection between different ASs is an EBGP connection.
运行于同一 AS自治系统中的 BGP路由器 , 因为协议功能和机制的约束要 求全连接, 即任意两个运行 BGP的路由器间都要有 IBGP连接。建立 IBGP连接 关系的两个路由器互为邻居关系。其中 IBGP连接为 TCP连接, 而非物理连接, 要求较高, 复杂度为 N平方, 比如, 如果一个自治系统内有 N台路由器, 如果 全连接(即每两个路由器之间都建立 BGP连接) , 则需要建立 N ( N-1 ) /2个 IBGP连接。 路由反射器(RR, Router Reflector ) 的应用有效的减少了 IBGP 邻居建立的数量问题。  A BGP router running in the same AS autonomous system requires full connectivity because of the protocol function and mechanism constraints, that is, any two routers running BGP must have an IBGP connection. The two routers that establish an IBGP connection are neighbors. The IBGP connection is a TCP connection, not a physical connection. The requirement is high and the complexity is N square. For example, if there are N routers in an autonomous system, if the connection is full (that is, a BGP connection is established between each two routers) , you need to establish N ( N-1 ) /2 IBGP connections. The application of the RR (Router Reflector) effectively reduces the number of IBGP neighbors established.
请参考图 1 , 其为现有技术中采用路由反射器组网的拓朴图。 路由反射 器组网的概念是将一个自治系统内运行 BGP协议的路由器分成了 RR101、 客 户端 102以及非客户端 103。 根据反射器协议规定, 自治系统内部的非客户端 103和路由反射器 101之间保持全连接, 客户端 102与反射器 101之间必须建立 基于 IBGP的邻居关系。 路由通告策略为: 路由反射器 101将客户端 102发来的 路由信息发送给其他客户端 102和非客户端 103,将非客户端 103发来的路由信 息发送给所有客户端 101。 Please refer to FIG. 1 , which is a topology diagram of a route reflector network in the prior art. The concept of route reflector networking is to divide the router running BGP protocol in an autonomous system into RR101, client 102 and non-client 103. According to the reflector protocol, the non-client 103 and the route reflector 101 in the autonomous system remain fully connected, and the IBGP-based neighbor relationship must be established between the client 102 and the reflector 101. The route advertisement policy is: the route reflector 101 sends the client 102 The routing information is sent to the other client 102 and the non-client 103, and the routing information sent by the non-client 103 is sent to all the clients 101.
请参考图 2, 其为现有技术中使用边界网关协议的网络示意图。 在接入 端, 用户为了网络健壮性, 一般要与骨干网建立两条路径, 接入到骨干网中不 同的路由器, 以提供冗余备份。 CE ( Customer Edge, 客户边缘)路由器 205 通过 PE ( Provider Edge, 运营商边缘) 1路由器 202和 PE2路由器 203接入运 营商骨干网, 为减少 BGP邻居数量, 骨干网中有一台路由器配置为路由反射 器 201, PE1路由器 202、 PE2路由器 203和 PE3路由器 204都是路由反射器 201的客户端。 路由反射器 201与三个客户端之间配置有基于 BGP连接的邻 居关系; 但是, 各客户端之间 , 如 PE1路由器 202与 PE3路由器 204、 PE2 路由器 203与 PE3路由器 204之间不再需要配置基于 BGP连接的邻居关系。 当路由反射器 201分别从 PE1路由器 202和 PE2路由器 203收到客户端的路 由信息后 , 会根据 BGP选路规则 , 选择其中一条最优的路由信息发送给 PE3 路由器 204。 这样, 从 PE3路由器 204向用户自治系统 AS65535发送的流量 只能走 PE3路由器 204 - PE1路由器 202 - CE路由器 205或者 PE3路由器 204 - PE2路由器 203 - CE路由器 205两条路由中的某一条, 因此无法实现负载 分担。  Please refer to FIG. 2, which is a schematic diagram of a network using a border gateway protocol in the prior art. On the access side, for the robustness of the network, the user usually establishes two paths with the backbone network and accesses different routers in the backbone network to provide redundant backup. The CE (Customer Edge) router 205 is connected to the carrier backbone network through the PE (Provider Edge) 1 router 202 and the PE2 router 203. To reduce the number of BGP neighbors, one router in the backbone network is configured as a route reflection. The PE1 router 202, the PE2 router 203, and the PE3 router 204 are all clients of the route reflector 201. The route reflector 201 and the three clients are configured with a BGP connection-based neighbor relationship; however, no configuration is required between the clients, such as the PE1 router 202 and the PE3 router 204, the PE2 router 203, and the PE3 router 204. Neighbor relationship based on BGP connection. After receiving the routing information of the client from the PE1 router 202 and the PE2 router 203, the route reflector 201 selects one of the optimal routing information and sends it to the PE3 router 204 according to the BGP routing rule. Thus, the traffic sent from the PE3 router 204 to the user autonomous system AS65535 can only go to one of the two routes PE3 router 204 - PE1 router 202 - CE router 205 or PE3 router 204 - PE2 router 203 - CE router 205, so it cannot Implement load sharing.
此外, 当出现路由失效时, 路由反射器 201需要重新将另一条路由信息 发送给 PE3路由器 204, 进而实现路由收敛, 然后业务才能恢复, 因此无法实 现路由故障时的快速切换。  In addition, when a route failure occurs, the route reflector 201 needs to resend another route information to the PE3 router 204, thereby implementing route convergence, and then the service can be restored, so that fast handover when the route failure cannot be implemented.
发明内容 Summary of the invention
本发明实施例提供一种路由更新方法、 系统和路由器, 为进行路由的负载 分担或快速切换提供实现 ^5出 , 从而提高网络运行质量。  The embodiments of the present invention provide a route update method, system, and router, which provide implementations for load balancing or fast handover of routes, thereby improving network operation quality.
本发明实施例提供了一种路由更新方法,在路由通告时, 第一路由器向第 二路由器发送到达同一目的地址的多条路由信息,所述第二路由器根据接收到 的所述多条路由信息增加路由,所述第一路由器和第二路由器之间存在邻居关 系; 在路由撤销时, 所述第一路由器向所述第二路由器发送撤销路由下一跳信 息 , 所述第二路由器根据接收到的所述撤销路由下一跳信息撤销路由。  The embodiment of the present invention provides a route update method, in which the first router sends multiple routing information to the second router to the same destination address, and the second router receives the multiple routing information according to the received routing information. Adding a route, the first router and the second router have a neighbor relationship; when the route is revoked, the first router sends the revoked next hop information to the second router, and the second router receives the The revocation route next hop information is revoked.
本发明实施例还提供了一种路由器, 包括: 邻居关系建立单元, 用于建立 与其他路由器之间的邻居关系, 所述其他路由器至少包括第二路由器; 路由更 新信息发送单元, 用于在路由通告时, 向通过所述邻居关系建立单元已经建立 起邻居关系的所述第二路由器发送到达同一目的地址的多条路由信息;以及在 路由撤销时, 向所述第二路由器发送撤销路由下一跳信息。 The embodiment of the present invention further provides a router, including: a neighbor relationship establishing unit, configured to establish a neighboring relationship with the other routers, where the other routers include at least a second router, and a route update information sending unit, configured to: when the route advertisements, the second relationship that has been established by the neighbor relationship establishing unit The router sends multiple routing information to the same destination address; and when the route is revoked, sends the revoked next hop information to the second router.
本发明实施例还提供了一种路由更新系统,至少包括相互之间存在邻居关 系的第一路由器和第二路由器, 所述第一路由器在进行路由通告时, 向所述第 二路由器发送到达同一目的地址的多条路由信息,所述第二路由器根据接收到 的所述多条路由信息增加路由; 所述第一路由器在进行路由撤销时, 向所述第 二路由器发送撤销路由下一跳信息 ,所述第二路由器根据接收到的所述撤销路 由下一跳信息撤销路由。  The embodiment of the present invention further provides a routing update system, which includes at least a first router and a second router that have a neighbor relationship with each other, and the first router sends the same to the second router when the route advertisement is performed. a plurality of routing information of the destination address, where the second router adds a route according to the received multiple routing information; when the first router performs routing revocation, sends the second hop information of the revoked route to the second router. The second router revokes the route according to the received revocation route next hop information.
从以上技术方案可以看出, 由于在本发明实施例中, 第一路由器向与其存 在邻居关系的第二路由器发送到达同一目的地址的多条路由信息,使得第二路 由器对同一目的地址可以保持多条路由连接; 并且在撤销路由时, 第一路由器 可以向第二路由器发送撤销路由下一跳信息 ,使得第二路由器可以据此将流量 快速切换至其他未发生故障的路由。由此可见,本发明实施例提供的技术方案, 能够为进行路由的负载分担或快速切换提供实现 提高了网络运行质量。 附图说明  It can be seen from the above technical solution that, in the embodiment of the present invention, the first router sends multiple routing information to the second destination router that has the neighbor relationship with the same destination address, so that the second router can maintain the same destination address. When the route is revoked, the first router may send the revoked next hop information to the second router, so that the second router can quickly switch traffic to other unfailed routes. It can be seen that the technical solution provided by the embodiment of the present invention can improve the network operation quality by providing load balancing or fast handover for routing. DRAWINGS
图 1为现有技术中采用路由反射器组网的拓朴图;  1 is a topology diagram of a route reflector network in the prior art;
图 2为现有技术中使用边界网关协议的网络示意图;  2 is a schematic diagram of a network using a border gateway protocol in the prior art;
图 3为本发明中路由更新方法实施例的流程示意图;  3 is a schematic flowchart of an embodiment of a route update method according to the present invention;
图 4为本发明中路由器实施例结构示意图;  4 is a schematic structural diagram of an embodiment of a router in the present invention;
图 5为本发明中路由更新系统的实施例示意图。  FIG. 5 is a schematic diagram of an embodiment of a route update system according to the present invention.
具体实施方式 detailed description
在本发明的实施例中, 在路由通告前, 路由器之间进行能力协商, 建立邻 居关系; 在路由通告时, 路由器向与其建立起邻居关系的路由器(简称邻居路 由器)发送到达同一目的地址的至少两条路由信息 (即多条路由信息); 在路 由撤销时,路由器向所述邻居路由器发送撤销路由下一跳信息, 所述邻居路由 器根据接收到的信息进行路由更新。 请参考图 3 , 其为本发明中路由更新方法的流程示意图。 In the embodiment of the present invention, before the route advertisement, the routers perform capability negotiation to establish a neighbor relationship. When the route advertisements, the router sends at least the neighboring routers (the neighbor routers) to the same destination address. Two routing information (ie, multiple routing information); when the route is revoked, the router sends the revoked next hop information to the neighboring router, and the neighboring router performs routing update according to the received information. Please refer to FIG. 3 , which is a schematic flowchart of a route update method according to the present invention.
步骤 301, 在路由通告前, 路由器之间通告可以处理到达同一目的地址的 多路由信息的能力, 进行能力协商, 建立基于 BGP的邻居关系。 所述处理多 路由信息的能力具体包括通告、 识别多路由信息的能力, 以及通告、 识别撤销 路由下一跳信息的能力。  Step 301: Before the route advertisement, the routers can advertise the capability of processing the multi-route information to the same destination address, perform capability negotiation, and establish a BGP-based neighbor relationship. The ability to process the multi-route information specifically includes the ability to advertise, identify, and revoke the ability to revoke the next hop information of the route.
按照 BGP规则, 支持能力通告的路由器在与对端路由器建立连接时在 OPEN (开放)报文中携带能力参数, 该对端路由器根据接收到的这些参数判 断对端路由器支持的能力是否与本端路由器相符。如果不相符, 即本端路由器 不支持其中的某些能力, 则发送 NOTIFICATION (告示)报文向对端路由器 通告本端路由器不支持的能力, 对端路由器在接收到该信息后, 重新发送 OPEN报文 , 该报文中只携带对端路由器支持的能力参数。  According to the BGP rule, the router that supports the capability advertisement carries the capability parameter in the OPEN (open) packet when the connection is established with the peer router. The peer router determines whether the capability supported by the peer router is related to the local end according to the received parameters. The router matches. If the inconsistency, that is, the local router does not support some of the capabilities, the NOTIFICATION message is sent to the peer router to notify the peer router that the local router does not support the capability. After receiving the information, the peer router resends the OPEN. A packet carrying only the capability parameters supported by the peer router.
所述 OPEN报文主要用于建立邻居关系, 是运行 BGP的路由器之间的初始 握手信息, 发送在其他任何通告信息之前, 使用 OPEN报文可以交换 BGP的版 本、 AS Number (自治系统编号) 、 实现邻接关系的保持时间、 本地路由器标 识、 BGP的标识符、 能力通告等信息, 通过 OPEN报文还可以协商 BGP的能力 参数。 接收端的路由器收到 OPEN报文之后 , 以 KEEPALIVE (保活 )报文做 出响应 ,一旦握手成功 ,互为邻居关系的路由器之间就会进行 UPDATE(更新)。  The OPEN packet is mainly used to establish a neighbor relationship, and is an initial handshake information between routers running BGP. Before sending any other advertisement information, the OPEN packet can be used to exchange the BGP version and the AS number (AS number). The BGP capability parameters can also be negotiated through the OPEN packet by the information such as the hold time of the adjacency relationship, the local router ID, the BGP identifier, and the capability advertisement. After receiving the OPEN message, the router at the receiving end responds with the KEEPALIVE message. Once the handshake is successful, the routers that are neighbors will perform UPDATE (update).
所述 KEEPALIVE报文主要用来实现邻居路由器之间的连接可靠性确认, 由于它只是用来确认邻居关系, 所以它没有报文体只有报文头。 当路由器建立 了邻居关系之后, 它就会按照 KEEPALIVE报文用设定的时间、 周期性的向邻 居路由器发送, 间隔时间缺省是 60秒。  The KEEPA LIVE message is mainly used to implement the connection reliability confirmation between the neighboring routers. Since it is only used to confirm the neighbor relationship, it does not have a packet body only the packet header. After the router establishes a neighbor relationship, it sends the KEEPALIVE packet to the neighboring router periodically according to the set time. The interval is 60 seconds by default.
所述 NOTIFICATION报文用于在检测 BGP连接关系出现差错时,进行差错 通告。 这个差错有可能是人为的也有可能是系统的, 包括连接中断和 OPEN报 文协商出错等, 当路由器发现 BGP连接关系出现差错时, 向邻居路由器发送 NOTIFICATION报文。  The NOTIFICATION packet is used to perform an error notification when detecting an error in the BGP connection relationship. This error may be artificial or systemic, including connection interruption and OPEN message negotiation error. When the router finds that the BGP connection relationship is in error, it sends a NOTIFICATION message to the neighbor router.
OPEN^ 中协商能力参数的相关字段格式如下: Capability Code (1字节) The relevant field format of the negotiation capability parameter in OPEN^ is as follows: Capability Code (1 byte)
Capability Length (1字节)  Capability Length (1 byte)
Capability Value (变长) 其中:  Capability Value where:
Capability Code: 能力标识信息, Capability Code字段的具体内容需要向官 方机构, 比如 IANA申请, Capability Length为 4字节。 Capability Value的内容定 义如下:  Capability Code: Capability Code information, the specific content of the Capability Code field needs to be applied to an official agency, such as IANA, with a Capability Length of 4 bytes. The contents of Capability Value are defined as follows:
AFI Res. SAF1  AFI Res. SAF1
AFI: 地址族信息, 标识哪种协议地址族支持该特性; AFI: Address family information, which identifies which protocol address family supports this feature;
Res: 保留字段;  Res: reserved field;
SAFI: 子地址族信息。  SAFI: Subaddress family information.
Capability Length: 能力参数值域的长度;  Capability Length: The length of the capability parameter value field;
Capability Value: 能力的值, 根据 Capability Code信息进行相应的解析。 通过 OPEN报文进行每次能力协商时可以携带一种或多种上述的能力参数 相关信息, 每种能力参数表示一种能力, 具体而言, 不同 "Capability Code" 代表不同类型的能力参数。  Capability Value: The value of the capability, which is parsed according to the Capability Code information. Each capability negotiation may be carried by the OPEN message to carry one or more of the foregoing capability parameter related information, and each capability parameter represents a capability. Specifically, different "Capability Code" represents different types of capability parameters.
参考上述现有能力参数的相关字段格式,本发明实施例扩充现有能力参数 的类型, 增加一种新类型的能力参数, 即申请新的 "Capability Code" , 用来 表示一种协商处理多路由信息的能力参数。 具体而言, 在建立连接时, 需要建 立邻居关系的路由器在 OPEN报文中使用这种新类型的能力参数, 将处理到达 同一目的地址的多路由信息的能力通知给对方, 从而进行该类型能力的协商。  Referring to the related field format of the foregoing existing capability parameters, the embodiment of the present invention augments the type of the existing capability parameter, and adds a new type of capability parameter, that is, applies for a new "Capability Code", which is used to indicate a negotiation process for multiple routes. The ability parameter of the information. Specifically, when a connection is established, the router that needs to establish a neighbor relationship uses the new type of capability parameter in the OPEN packet, and notifies the other party of the capability of processing the multi-route information to the same destination address, thereby performing the type capability. Negotiation.
步骤 302, 在路由通告时, 路由器向邻居路由器发送到达同一目的地址的 至少两条路由信息, 所述邻居路由器根据所述信息增加路由。  Step 302: When the route is advertised, the router sends at least two pieces of routing information to the neighboring router to the same destination address, and the neighboring router adds a route according to the information.
发送端路由器使用 UPDATE报文向邻居路由器发送其获知的路由信息。 与现有技术中发送的路由信息相比,本发明实施例中发送的路由信息并不需要 增加新属性。 所述 UPDATE报文用于在互为邻居关系的路由器之间通告路由 信息, 它包括三部分: 不可达路由 ( unreachable )、 路径属性( path attributes ) 和网络可达性信息(NLRI, network layer reachability information )„ UPDATE 报文可以通告一条路由也可以撤销多条不通的路由。 The sending router uses the UPDATE message to send the learned routing information to the neighboring router. Compared with the routing information sent in the prior art, the routing information sent in the embodiment of the present invention does not need to add a new attribute. The UPDATE message is used to advertise routing information between routers that are neighbor relationships. It includes three parts: unreachable (unreachable) and path attributes (path attributes). NLRI (network layer reachability information) „ UPDATE messages can advertise a route and can also revoke multiple unreachable routes.
其中, 当存在至少两条(即多条)到达同一目的地址且下一跳不同的路由 时, 路由器从每个下一跳选定一条路由, 进而, 向邻居路由器发送到达同一目 的地址所选定的多条路由信息。  When there are at least two (ie, multiple) routes that arrive at the same destination address and have different next hops, the router selects one route from each next hop, and then sends the neighboring router to the same destination address. Multiple routing information.
步骤 303,在路由撤销时,路由器向邻居路由器发送撤销路由下一跳信息, 所述邻居路由器根据所述信息携带的撤销路由下一跳信息撤销路由。  Step 303: When the route is revoked, the router sends the next hop information of the revoked route to the neighboring router, and the neighboring router revokes the route according to the next hop information of the revoked route carried by the information.
发送端路由器向接收端路由器通告撤销路由(即需要撤销的路由)下一跳 信息, 以便具体指定要撤销的路由。本发明实施例在 UPDATE报文中新增加一 个字段, 用以携带需要撤销的路由的下一跳信息。本发明实施例中的 UPDATE 报文具体内容如下:  The sender router notifies the receiver router of the next hop information of the revoked route (that is, the route that needs to be revoked), so as to specify the route to be revoked. In the embodiment of the present invention, a field is newly added in the UPDATE message to carry the next hop information of the route to be revoked. The specific content of the UPDATE message in the embodiment of the present invention is as follows:
撤销路由长度  Revoke route length
撤销路由下一跳  Revoke the next hop of the route
撤销路由目的地址  Revoke the routing destination address
路径属性长度  Path attribute length
路径属性  Path attribute
网络层可达性信息 (NLRI ) 与现有 UPDATE报文相比, 上表所述的 UPDATE报文内容中第二行(撤销 路由下一跳)是新增加的内容。 在撤销时, UPDATE报文可以不携带最后三行 的信息。 这样, 接收端路由器在收到这样的报文后, 便可以根据撤销路由目的 地址和撤销路由下一跳信息, 在路由表中查找该路由, 执行撤销操作。 需要说 明的是,如果是路由器自身故障,进而经过该故障路由器的所有路由都失效的 情况下,发送端路由器也可以不向接收端路由器发送撤销路由目的地址、只发 送撤销路由下一跳信息,进而,接收端路由器根据所述撤销路由下一跳信息撤 销经过该故障路由器(即所述撤销路由下一跳信息代表的那个路由器)的所有 路由。  Network Layer Reachability Information (NLRI) Compared with the existing UPDATE message, the second line in the UPDATE message content (the next hop of the revocation route) is the newly added content. When revoked, the UPDATE message may not carry the last three lines of information. In this way, after receiving the packet, the receiving router can find the route in the routing table according to the revocation route destination address and the revocation route next hop information, and perform the revocation operation. It should be noted that, in the case that the router itself fails, and all the routes through the faulty router are invalid, the sending router may not send the revoked routing destination address to the receiving router, and only send the retracing next hop information. Further, the receiving end router revokes all routes passing through the faulty router (ie, the router represented by the revoked next hop information) according to the revoked next hop information.
下面仍然以图 2为例, 说明本发明实施例的具体实施方式。 图 2所示的网络 包括路由反射器 201, 以及作为路由反射器 201客户端的 PE1路由器 202、 PE2路 由器 203和 PE3路由器 204。 The following is still an example of the embodiment of the present invention. The network shown in Figure 2 A route reflector 201 is included, as well as a PE1 router 202, a PE2 router 203, and a PE3 router 204 as clients of the route reflector 201.
路由反射器 201与 PE1路由器 202、 PE2路由器 203、 PE3路由器 204分别建立 连接,协商支持到达同一目的地址的多路由处理能力和可以处理携带有撤销路 由下一跳信息能力, 进而建立起基于 BGP的邻居关系。  The route reflector 201 establishes a connection with the PE1 router 202, the PE2 router 203, and the PE3 router 204, and negotiates the multi-route processing capability to the same destination address and the ability to process the next hop information carrying the revoked route, thereby establishing a BGP-based Neighbor relationship.
在路由通告的时候, 路由反射器 201将其获知的到达同一目的地址的两条 路由信息同时发送给 PE3路由器 204,所述两条路由信息分别是: PE 1路由器 202 - CE路由器 205 ; 以及 PE3路由器 204 - PE2路由器。 这样, PE3路由器 204将获 知有两条到达 AS65535的路由: (1)PE3路由器 204 - PE 1路由器 202 - CE路由器 205 ; ( 2 ) PE3路由器 204 - PE2路由器 203 - CE路由器 205。 这时, PE3路由器 204到达 AS65535的流量可以一部分走路由(1 ) , 即 PE3路由器 204将该部分流 量从连接到 PE1路由器 202的出接口发送出去; 另一部分走路由 (2), 即 PE3路由 器 204将该部分流量从连接到 PE2路由器 203的出接口发送出去。 由此可见, 由 于路由反射器 201向 PE3路由器 204发送了两条到达同一目的地址的路由信息, 使得 PE3路由器 204可以通过两条路由发送到达该目的地址的流量, 因此实现 了流量的负载分担。  At the time of the route advertisement, the route reflector 201 sends the two routing information that it knows to reach the same destination address to the PE3 router 204, and the two routing information are: PE 1 router 202 - CE router 205; and PE3 Router 204 - PE2 router. Thus, PE3 router 204 will know that there are two routes to AS65535: (1) PE3 router 204 - PE 1 router 202 - CE router 205; (2) PE3 router 204 - PE2 router 203 - CE router 205. At this time, the traffic of the PE3 router 204 to the AS65535 may be partially routed (1), that is, the PE3 router 204 sends the part of the traffic from the outbound interface connected to the PE1 router 202; the other part takes the route (2), that is, the PE3 router 204. This part of the traffic is sent out from the outbound interface connected to the PE2 router 203. It can be seen that the route reflector 201 sends two routing information to the PE3 router 204 to the same destination address, so that the PE3 router 204 can send traffic to the destination address through two routes, thus implementing load balancing of the traffic.
本领域技术人员可以理解, 在 PE3路由器 204从路由反射器 201接收到两条 到达同一目的地址的路由信息, 并根据该信息增加路由后, 既可以通过所述两 条路由信息向同一目的地址发送流量,实现负载分担;也可以不进行负载分担, 而只是将其中的一条作为冗余备份, 以便可以在发生故障时实现快速切换, 下 面对 JH予以伴细介绍。 反射器 201在此前的路由通告时, 发送了两条到达同一目的地址的路由信息给 PE3路由器 204, 因此, PE3路由器 204还有 PE3路由器 204 - PE2路由器 203 - CE 路由器 205这条路径保持连通。 于是, 路由反射器 201向 PE3路由器 204发送路 由撤销下一跳信息(还可以包括撤销路由目的地址 ) , 所述撤销路由下一跳信 息指代的是 PE 1路由器 202,进而所有经过 PE1路由器 202的路由将会无效。 PE3 路由器 204在收到来自路由反射器 201的撤销路由下一跳信息后 ,可以将所有通 过 PE3路由器 204 - PE 1路由器 202 - CE路由器 205这条路由发送出去的流量, 迅速切换到 PE3路由器 204 - PE2路由器 203 - CE路由器 205这条路由上予以发 送, 从而使流量不会中断, 保护用户业务不受影响, 实现了路由备份, 提高了 网络运行质量。 A person skilled in the art can understand that after the PE3 router 204 receives two routing information from the route reflector 201 to the same destination address, and adds a route according to the information, the two routing information can be sent to the same destination address through the two routing information. Traffic is used to implement load balancing. It is also possible to perform load balancing without just performing load balancing. Therefore, you can implement fast switching in the event of a fault. The following is a detailed introduction to JH. The reflector 201 sends two routing information to the PE3 router 204 during the previous route advertisement. Therefore, the PE3 router 204 and the PE3 router 204 - PE2 router 203 - CE router 205 remain in communication. Then, the route reflector 201 sends the route revocation next hop information (which may also include the revocation route destination address) to the PE3 router 204, and the revocation route next hop information refers to the PE 1 router 202, and then all passes through the PE1 router 202. The route will be invalid. After receiving the next hop information of the revoked route from the route reflector 201, the PE3 router 204 can send all the traffic that is sent through the PE3 router 204 - PE 1 router 202 - CE router 205. Switch to PE3 router 204 - PE2 router 203 - CE router 205 to send this route, so that traffic will not be interrupted, protect user services from being affected, implement route backup, and improve network operation quality.
从上述实施例以及具体的实施方式可以看出,本发明实施例提供的技术方 案通过向邻居路由器发送到达同一目的地址的多条路由信息, 为使用 BGP的 网络系统进行负载分担以及快速切换提供了实现 ^5出。进一步,通过引入一种 新的可选能力通告来标识路由器的此种处理能力 , 并通过 BGP现有的能力协 商机制进行协商,因此对于已有设备可以实现无缝的向下兼容。需要说明的是, 虽然图 2所示的具体实施方式是以包括路由反射器的网络为例进行的描述,但 是本领域技术人员应该理解,本发明各实施例提供的技术方案同样可以应用到 不设置路由反射器的网络中。  It can be seen from the foregoing embodiment and the specific implementation manner that the technical solution provided by the embodiment of the present invention provides multiple routing information to the neighboring router to reach the same destination address, and provides load sharing and fast handover for the network system using BGP. Implement ^5 out. Further, by introducing a new optional capability advertisement to identify such processing capability of the router and negotiating through the existing capability negotiation mechanism of BGP, seamless backward compatibility can be achieved for existing devices. It should be noted that, although the specific embodiment shown in FIG. 2 is described by taking a network including a route reflector as an example, those skilled in the art should understand that the technical solutions provided by the embodiments of the present invention can also be applied to Set up the route reflector in the network.
本领域普通技术人员可以理解实现上述方法实施例中的全部或部分步骤 是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可 读存储介质中, 所述的存储介质, 如: ROM/RAM、 磁碟、 光盘等。  A person skilled in the art may understand that all or part of the steps in implementing the above method embodiments may be completed by a program instructing related hardware, and the program may be stored in a computer readable storage medium, the storage medium Such as: ROM / RAM, disk, CD, etc.
请参考图 4, 其为本发明的一种使用边界网关协议的路由器实施例结构示 意图。 本实施例中的路由器 400, 包括邻居关系建立单元 401、 路由更新信息 发送单元 402和路由表单元 403 , 下面分别对所述几个单元进行详细说明。  Please refer to FIG. 4, which is a schematic structural diagram of a router embodiment using a border gateway protocol according to the present invention. The router 400 in this embodiment includes a neighbor relationship establishing unit 401, a route update information sending unit 402, and a routing table unit 403. The units are described in detail below.
邻居关系建立单元 401, 用于在路由通告前, 基于 BGP建立与其他路由 器之间的邻居关系, 为了后面叙述方便,假设所述其他路由器至少包括第二路 由器。 为了兼容 BGP的现有能力协商机制, 可以在路由器 400中设置多路由 能力协商单元, 用于在邻居关系建立单元 401建立所述邻居关系过程中,协商 处理到达同一目的地址的多路由信息的能力。本领域技术人员可以理解,如果 不是为了兼容 BGP现有的能力协商机制, 也可以不设置所述多路由能力协商 单元, 例如, 在所有路由器都具备多路由相关处理能力的情况下, 路由器之间 也可以不协商此能力。  The neighbor relationship establishing unit 401 is configured to establish a neighbor relationship with other routers based on BGP before the route advertisement. For convenience of description, it is assumed that the other routers include at least a second router. In order to be compatible with the BGP existing capability negotiation mechanism, the multi-route capability negotiation unit may be configured in the router 400, and the capability for negotiating and processing multiple routing information to the same destination address in the process of establishing the neighbor relationship by the neighbor relationship establishing unit 401 . It can be understood by those skilled in the art that if the BGP existing capability negotiation mechanism is not compatible, the multi-routing capability negotiation unit may not be set. For example, in the case that all routers have multi-route related processing capability, between routers It is also possible not to negotiate this capability.
路由更新信息发送单元 402, 用于在路由通告时, 向通过邻居关系建立单 元 401已经建立起邻居关系的第二路由器(由于路由器 400已经与所述第二路 由器建立了邻居关系, 因此两者互为邻居路由器)发送到达同一目的地址的多 条路由信息; 以及在路由撤销时, 向第二路由器发送撤销路由下一跳信息(如 有需要, 还可以发送撤销路由目的地址信息)。 The routing update information sending unit 402 is configured to: when the route advertisement is used, to the second router that has established the neighbor relationship by the neighbor relationship establishing unit 401 (since the router 400 has established a neighbor relationship with the second router, the two Sending multiple routing information to the same destination address for the neighboring router; and sending the next hop information of the revoked route to the second router when the route is revoked (eg, If necessary, you can also send the revocation route destination address information).
路由表单元 403, 用于当接收到通过邻居关系建立单元 401已经建立起邻 居关系的其他路由器(具体为所述其他路由器的路由更新信息发送单元)发送 的到达同一目的地址的多条路由信息时,根据所述信息增加路由; 以及当接收 到通过邻居关系建立单元 401已经建立起邻居关系的其他路由器(具体为所述 其他路由器的路由更新信息发送单元)发送的撤销路由下一跳信息时,根据所 述信息携带的撤销路由下一跳信息撤销路由。  The routing table unit 403 is configured to: when receiving, by the other routers that have established the neighbor relationship by the neighbor relationship establishing unit 401, specifically the routing update information sending unit of the other router, multiple routing information that arrives at the same destination address Adding a route according to the information; and when receiving the revoked next hop information sent by another router (specifically, the route update information sending unit of the other router) that has established the neighbor relationship by the neighbor relationship establishing unit 401, The route is revoked according to the revocation route next hop information carried by the information.
需要说明的是,如果上述实施例中的路由器 400仅仅作为路由反射器, 则 其中可以只包括邻居关系建立单元 401和路由更新信息发送单元 402; 如果考 虑路由器放置到具体应用环境之前,可能并不清楚该路由器将作为路由反射器 还是普通路由器(如处于图 2中 PE3路由器 204的角色)使用, 则在生产时 可以在路由器 400 中既设置邻居关系建立单元 401和路由更新信息发送单元 402, 也设置路由表单元 403。 这样, 路由器 400既可以配置为路由反射器, 也可以配置为普通路由器使用。  It should be noted that, if the router 400 in the foregoing embodiment is only used as a route reflector, it may include only the neighbor relationship establishing unit 401 and the route update information sending unit 402; if the router is considered to be placed in a specific application environment, it may not be If the router is to be used as a route reflector or a normal router (such as the role of the PE3 router 204 in FIG. 2), the neighbor relationship establishing unit 401 and the route update information sending unit 402 may be set in the router 400 at the time of production. A routing table unit 403 is set. In this way, the router 400 can be configured as a route reflector or as a normal router.
请参阅图 5, 其为本发明公开的一种路由更新系统示意图。 本实施例中的 路由更新系统至少包括相互之间基于 BGP存在邻居关系的第一路由器和第二 路由器, 第一路由器在进行路由通告时, 向所述第二路由器发送到达同一目的 地址的多条路由信息,所述第二路由器根据接收到的所述多条路由信息增加路 由; 所述第一路由器在进行路由撤销时, 向所述第二路由器发送撤销路由下一 跳信息, 所述第二路由器根据接收到的所述撤销路由下一跳信息撤销路由。如 果将本实施例所示的路由更新系统对应于图 2所示的具体应用环境,则本系统 实施例中的第一路由器对应于图 2中的路由反射器 201 , 第二路由器对应于图 2中的 PE3路由器 204。  Please refer to FIG. 5 , which is a schematic diagram of a route update system disclosed by the present invention. The routing update system in this embodiment includes at least a first router and a second router that have a neighbor relationship based on each other. The first router sends multiple routes to the second router to the same destination address when performing route advertisement. Routing information, the second router adds a route according to the received multiple routing information; the first router sends the revoked next hop information to the second router when the route is revoked, the second The router revokes the route according to the received next hop information of the revoked route. If the routing update system shown in this embodiment corresponds to the specific application environment shown in FIG. 2, the first router in the embodiment of the system corresponds to the route reflector 201 in FIG. 2, and the second router corresponds to FIG. 2. In the PE3 router 204.
具体而言, 所述第一路由器包括第一邻居关系建立单元 501、 路由更新信 息发送单元 502以及第一多路由能力协商单元 503; 所述第二路由器包括第二 邻居关系建立单元 504、 路由表单元 505以及第二多路由能力协商单元 506。 下面结合该系统的工作原理, 进一步介绍该系统的内部结构以及连接关系。  Specifically, the first router includes a first neighbor relationship establishing unit 501, a route update information sending unit 502, and a first multi-routing capability negotiating unit 503; the second router includes a second neighbor relationship establishing unit 504, and a routing table. Unit 505 and second multi-routing capability negotiation unit 506. The internal structure and connection relationship of the system are further introduced below in conjunction with the working principle of the system.
首先, 第一路由器通过第一邻居关系建立单元 501基于 BGP建立与其他 路由器之间的邻居关系, 所述其他路由器至少包括第二路由器。本领域技术人 员可以理解, 建立邻居关系是相互的, 因此, 建立第一、 第二路由器之间的邻 居关系, 主要是通过第一邻居关系建立单元 501和第二邻居关系建立单元 504 共同完成的。 First, the first router establishes a neighbor relationship with other routers based on the BGP by the first neighbor relationship establishing unit 501, and the other routers at least include the second router. Technical person It can be understood that the establishment of the neighbor relationship is mutual. Therefore, the establishment of the neighbor relationship between the first and second routers is mainly performed by the first neighbor relationship establishing unit 501 and the second neighbor relationship establishing unit 504.
如果考虑对 BGP现有能力协商机制的兼容, 可以在所述第一路由器中设 置第一多路由能力协商单元 503 , 在所述第二路由器中设置第二多路由能力协 商单元 506。 这两个多路由能力协商单元用于在第一邻居关系建立单元 501与 第二邻居关系建立单元 504 建立所述第一、 第二路由器之间的邻居关系过程 中, 协商处理到达同一目的地址的多路由信息的能力。  If compatibility with the BGP existing capability negotiation mechanism is considered, a first multi-routing capability negotiation unit 503 may be set in the first router, and a second multi-routing capability negotiation unit 506 may be set in the second router. The two multi-routing capability negotiation units are configured to: when the first neighbor relationship establishing unit 501 and the second neighbor relationship establishing unit 504 establish a neighbor relationship between the first and second routers, the negotiation process reaches the same destination address. The ability to multi-route information.
然后,当第一路由器通过第一邻居关系建立单元 501已经建立起与第二路 由器的邻居关系后, 所述第一路由器在路由通告时,通过路由更新信息发送单 元 502向第二路由器发送到达同一目的地址的多条路由信息。在一个网络系统 中通常会存在许多路由器, 因此,所述第一路由器可能还通过第一邻居关系建 立单元 501与除了第二路由器之外的其他路由器建立了邻居关系,进而获知来 自所述其他路由器的路由信息,如果通过获知的路由信息发现存在到达同一目 的地址的多条路由信息,那么便可以通过路由更新信息发送单元 502向第二路 由器发送所述多条路由信息。 可以理解, 发送的所述多条路由信息, 可能是第 一路由器获知的到达同一目的地址的全部路由信息,也可能只是其中的部分路 由信息。 此外, 所述第一路由器在路由撤销时, 也通过路由更新信息发送单元 502向第二路由器发送撤销路由下一跳信息(如有需要, 还可以包括撤销路由 目的地址信息)。  Then, when the first router has established the neighbor relationship with the second router by the first neighbor relationship establishing unit 501, the first router sends the same to the second router through the route update information sending unit 502 when the route advertisement is advertised. Multiple routing information of the destination address. There are usually many routers in a network system. Therefore, the first router may also establish a neighbor relationship with other routers other than the second router through the first neighbor relationship establishing unit 501, thereby obtaining information from the other routers. The routing information, if it is found that there are multiple routing information that arrives at the same destination address through the learned routing information, the routing information sending unit 502 can send the multiple routing information to the second router. It can be understood that the multiple pieces of routing information sent may be all routing information that is learned by the first router and reach the same destination address, or may be only part of the routing information. In addition, when the route is revoked, the first router also sends the revoked next hop information to the second router by using the route update information sending unit 502 (and may also include the revoked destination address information if necessary).
当第二路由器收到通过第二邻居关系建立单元 504 已经建立起邻居关系 的所述第一路由器的信息后, 通过路由表单元 505进行处理。 具体而言, 当接 收到第一路由器的路由更新信息发送单元 502发送的到达同一目的地址的多 条路由信息时,路由表单元 505根据所述多条路由信息增加路由; 当接收到所 述第一路由器的路由更新信息发送单元 502发送的撤销路由下一跳信息时,路 由表单元 505根据所述撤销路由下一跳信息撤销路由。 用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是 用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员, 依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述, 本说明书内容不应理解为对本发明的限制。 After the second router receives the information of the first router that has established the neighbor relationship by the second neighbor relationship establishing unit 504, the second router performs processing by the routing table unit 505. Specifically, when receiving the plurality of pieces of routing information of the same destination address sent by the routing update information sending unit 502 of the first router, the routing table unit 505 adds a route according to the multiple routing information; When the route revoke information sending unit 502 sends the revoked next hop information, the routing table unit 505 revokes the route according to the revoked next hop information. The principles and embodiments of the present invention have been described in terms of specific examples, and the description of the above embodiments is only to assist in understanding the method of the present invention and its core concepts. Also, to those skilled in the art, In view of the above, the description of the present invention is not limited to the scope of the present invention.

Claims

权 利 要 求 Rights request
1. 一种路由更新方法, 其特征在于, 包括:  A method for updating a route, comprising:
在路由通告时,第一路由器向第二路由器发送到达同一目的地址的多条路 由信息, 所述第二路由器根据接收到的所述多条路由信息增加路由, 所述第一 路由器和第二路由器之间存在邻居关系;  When the route is advertised, the first router sends multiple routing information to the second router to the same destination address, and the second router adds a route according to the received multiple routing information, the first router and the second router. There is a neighbor relationship between them;
在路由撤销时 ,所述第一路由器向所述第二路由器发送撤销路由下一跳信 息 , 所述第二路由器根据接收到的所述撤销路由下一跳信息撤销路由。  When the route is revoked, the first router sends the revoked next hop information to the second router, and the second router revokes the route according to the received revoked next hop information.
2.根据权利要求 1 所述的方法, 其特征在于, 所述第一路由器向所述第 二路由器发送到达同一目的地址的多条路由信息过程包括:  The method according to claim 1, wherein the sending, by the first router, the multiple routing information to the second router to the same destination address includes:
当所述第一路由器获知存在到达同一目的地址且下一跳不同的多条路由 时, 所述第一路由器从每个下一跳选定一条路由, 向所述第二路由器发送所选 定的多条路由信息。  When the first router learns that there are multiple routes that arrive at the same destination address and have different next hops, the first router selects one route from each next hop, and sends the selected one to the second router. Multiple routing information.
3.根据权利要求 1所述的方法, 其特征在于, 在所述路由通告前还包括: 所述第一路由器和所述第二路由器建立邻居关系,在所述第一路由器和第二路 由器建立所述邻居关系的过程中还包括:  The method according to claim 1, wherein before the routing advertisement, the method further includes: establishing, by the first router and the second router, a neighbor relationship, establishing at the first router and the second router The process of the neighbor relationship further includes:
所述第一路由器与所述第二路由器协商处理到达同一目的地址的多路由 信息的能力。  The first router negotiates with the second router for the capability of processing multiple routing information to the same destination address.
4.根据权利要求 1 所述的方法, 其特征在于, 所述第一路由器在向所述 第二路由器发送撤销路由下一跳信息的同时,还发送所述撤销路由的目的地址 信息。  The method according to claim 1, wherein the first router sends the destination address information of the revoked route while sending the revoked next hop information to the second router.
5.根据权利要求 1至 4中任意一项所述的方法, 其特征在于, 所述第二 路由器根据接收到的所述多条路由信息增加路由后还包括:  The method according to any one of claims 1 to 4, wherein the adding, by the second router, the route according to the received multiple routing information further comprises:
所述第二路由器通过所述多条路由向所述同一目的地址发送流量,进行负 载分担。  The second router sends traffic to the same destination address through the multiple routes, and performs load sharing.
6.根据权利要求 1至 4中任意一项所述的方法, 其特征在于, 所述第二 路由器根据接收到的所述撤销路由下一跳信息撤销路由后还包括:  The method according to any one of claims 1 to 4, wherein, after the second router revokes the route according to the received revocation route next hop information, the method further includes:
所述第二路由器将通过所述撤销路由发送的流量切换至到达同一目的地 址的其他路由进行发送。 The second router switches the traffic sent by the revocation route to another route that reaches the same destination address for sending.
7.根据权利要求 1至 4中任意一项所述的方法, 其特征在于, 所述第一 路由器为路由反射器。 The method according to any one of claims 1 to 4, wherein the first router is a route reflector.
8. 根据权利要求 1至 4中任意一项所述的方法, 其特征在于, 所述第一 路由器与第二路由器之间存在的邻居关系为基于边界网关协议 BGP建立的邻 居关系。  The method according to any one of claims 1 to 4, wherein the neighbor relationship existing between the first router and the second router is a neighbor relationship established based on the border gateway protocol BGP.
9. 一种路由器, 其特征在于, 包括:  9. A router, comprising:
邻居关系建立单元,用于建立与其他路由器之间的邻居关系,所述其他路 由器至少包括第二路由器;  a neighbor relationship establishing unit, configured to establish a neighbor relationship with other routers, where the other routers include at least a second router;
路由更新信息发送单元,用于在路由通告时, 向通过所述邻居关系建立单 元已经建立起邻居关系的所述第二路由器发送到达同一目的地址的多条路由 信息; 以及在路由撤销时, 向所述第二路由器发送撤销路由下一跳信息。  a routing update information sending unit, configured to: when routing advertisements, send, to the second router that has established a neighbor relationship by the neighbor relationship establishing unit, multiple routing information that arrives at the same destination address; and when the route is revoked, The second router sends the revocation route next hop information.
10.根据权利要求 9所述的路由器, 其特征在于, 还包括:  The router according to claim 9, further comprising:
多路由能力协商单元,用于在所述邻居关系建立单元建立所述邻居关系的 过程中, 协商处理到达同一目的地址的多路由信息的能力。  The multi-routing capability negotiation unit is configured to negotiate the capability of processing the multi-route information to the same destination address in the process of establishing the neighbor relationship by the neighbor relationship establishing unit.
11.根据权利要求 9或 10所述的路由器, 其特征在于, 还包括: 路由表单元,用于当接收到通过所述邻居关系建立单元已经建立起邻居关 系的其他路由器发送的到达同一目的地址的多条路由信息时, 据此增加路由; 以及当接收到通过所述邻居关系建立单元已经建立起邻居关系的其他路由器 发送的撤销路由下一跳信息时, 据此撤销路由。  The router according to claim 9 or 10, further comprising: a routing table unit, configured to: when receiving the same destination address sent by another router that has established a neighbor relationship by the neighbor relationship establishing unit When a plurality of pieces of routing information are added, the route is added according to the data; and when the next hop information of the revoked route sent by the other routers that have established the neighbor relationship by the neighbor relationship establishing unit is received, the route is revoked accordingly.
12. 根据权利要求 9或 10所述的路由器, 其特征在于, 所述邻居关系建 立单元建立的邻居关系具体为基于 BGP建立的邻居关系。  The router according to claim 9 or 10, wherein the neighbor relationship established by the neighbor relationship establishing unit is specifically a neighbor relationship established based on BGP.
13. 一种路由更新系统, 至少包括相互之间存在邻居关系的第一路由器和 第二路由器, 其特征在于:  A routing update system, comprising at least a first router and a second router having a neighbor relationship with each other, wherein:
所述第一路由器在进行路由通告时,向所述第二路由器发送到达同一目的 地址的多条路由信息,所述第二路由器根据接收到的所述多条路由信息增加路 由;  The first router sends multiple routing information to the second router to the same destination address when the route advertisement is performed, and the second router adds a route according to the received multiple routing information.
所述第一路由器在进行路由撤销时,向所述第二路由器发送撤销路由下一 跳信息 , 所述第二路由器根据接收到的所述撤销路由下一跳信息撤销路由。 Z 5 The first router sends the revoked next hop information to the second router when the route is revoked, and the second router revokes the route according to the received revoked next hop information. Z 5
WO 2008/031334 PCT/CN2007/070183  WO 2008/031334 PCT/CN2007/070183
- 14-- 14-
14.根据权利要求 13所述的系统, 其特征在于, 所述第一路由器包括: 第一邻居关系建立单元, 用于建立与其他路由器之间的邻居关系, 所述其 他路由器至少包括第二路由器; The system according to claim 13, wherein the first router comprises: a first neighbor relationship establishing unit, configured to establish a neighbor relationship with other routers, where the other routers include at least a second router ;
路由更新信息发送单元, 用于在路由通告时, 向通过所述第一邻居关系建 5 立单元已经建立起邻居关系的所述第二路由器发送到达同一目的地址的多条 路由信息; 以及在路由撤销时, 向所述第二路由器发送撤销路由下一跳信息。  a routing update information sending unit, configured to: when routing advertisements, send, to the second router that has established a neighbor relationship by using the first neighbor relationship, a plurality of routing information that arrives at the same destination address; and When the data is revoked, the next hop information of the revoked route is sent to the second router.
15.根据权利要求 13或 14所述的系统, 其特征在于, 所述第二路由器包 括:  The system according to claim 13 or 14, wherein the second router comprises:
第二邻居关系建立单元, 用于建立与其他路由器之间的邻居关系, 所述其 10 他路由器至少包括所述第一路由器;  a second neighbor relationship establishing unit, configured to establish a neighbor relationship with another router, where the other router includes at least the first router;
路由表单元,用于当接收到通过所述第二邻居关系建立单元已经建立起邻 居关系的所述第一路由器发送的到达同一目的地址的多条路由信息时,据此增 加路由; 以及当接收到所述第一路由器发送的撤销路由下一跳信息时,据此撤 销路由。  a routing table unit, configured to: when receiving the multiple routing information that is sent by the first router that has established the neighbor relationship by the second neighbor relationship establishing unit to reach the same destination address, increase the route according to the When the next hop information of the revocation route sent by the first router is sent, the route is revoked accordingly.
15 16.根据权利要求 15所述的系统, 其特征在于, 所述第一路由器和第二路 由器各自还包括:  The system according to claim 15, wherein each of the first router and the second router further comprises:
多路由能力协商单元 ,用于在所述第一邻居关系建立单元与所述第二邻居 关系建立单元建立所述第一、第二路由器之间的邻居关系过程中,协商处理到 达同一目的地址的多路由信息的能力。  a multi-routing capability negotiation unit, configured to: when the first neighbor relationship establishing unit and the second neighbor relationship establishing unit establish a neighbor relationship between the first and second routers, the negotiation process reaches the same destination address The ability to multi-route information.
10 17.根据权利要求 13或 14所述的系统, 其特征在于, 所述第一路由器为 路由反射器。  The system according to claim 13 or 14, wherein the first router is a route reflector.
PCT/CN2007/070183 2006-09-07 2007-06-26 Route updating method, system and router WO2008031334A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2006101272028A CN101141382A (en) 2006-09-07 2006-09-07 Routing update method and router
CN200610127202.8 2006-09-07

Publications (1)

Publication Number Publication Date
WO2008031334A1 true WO2008031334A1 (en) 2008-03-20

Family

ID=39183383

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070183 WO2008031334A1 (en) 2006-09-07 2007-06-26 Route updating method, system and router

Country Status (2)

Country Link
CN (1) CN101141382A (en)
WO (1) WO2008031334A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271080A (en) * 2010-06-03 2011-12-07 杭州华三通信技术有限公司 Method for preventing BGP (Border Gateway Protocol) session from being disconnected in the event of changing service, and applicable system thereof
US20120099440A1 (en) * 2009-10-15 2012-04-26 Huawei Technologies Co., Ltd. Method, device, and system for withdrawing routes
CN104243309A (en) * 2014-09-15 2014-12-24 杭州华三通信技术有限公司 Route distribution method and device

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989952B (en) * 2010-11-03 2014-12-17 中兴通讯股份有限公司 Multicasting method and device
CN102143077B (en) * 2011-03-29 2014-12-10 中兴通讯股份有限公司 Method and system for realizing multi-service link of route equipment and route equipment thereof
CN102594714B (en) * 2012-03-29 2015-01-28 杭州华三通信技术有限公司 BGP (Border Gateway Protocol) routing processing method and BGP routing equipment
CN102761482B (en) * 2012-06-29 2016-01-20 杭州华三通信技术有限公司 A kind of method for building up of bgp neighbor and equipment
CN103685035B (en) * 2012-09-26 2018-04-27 深圳市腾讯计算机系统有限公司 Route renewing method, interchanger and system
CN104753794A (en) * 2013-12-26 2015-07-01 中国移动通信集团辽宁有限公司 Routing information transmitting method and system and route reflector
CN104468368B (en) * 2014-11-10 2018-09-04 新华三技术有限公司 Configure the method and device of bgp neighbor
CN104486228B (en) * 2014-12-25 2017-12-08 新华三技术有限公司 The method and routing update device of a kind of routing update
CN106209617B (en) * 2015-04-29 2020-12-11 中兴通讯股份有限公司 Method for announcing route and withdrawing route and corresponding routing equipment
CN108259205B (en) * 2016-12-29 2021-05-25 新华三技术有限公司 Route publishing method and network equipment
CN109218185A (en) * 2017-07-04 2019-01-15 中国电信股份有限公司 Exchange method, device and the computer readable storage medium of routing iinformation
CN107888489B (en) * 2017-12-28 2020-08-11 新华三技术有限公司 Route notification method and device
CN109787865B (en) * 2019-01-25 2021-05-04 深圳市信锐网科技术有限公司 Method, system, switch and storage medium for verifying upgrading condition
CN113497794B (en) * 2020-04-03 2023-04-18 华为技术有限公司 Method and device for switching route
CN113595901A (en) * 2020-04-30 2021-11-02 华为技术有限公司 Routing method and device based on border gateway protocol
CN111935015B (en) * 2020-07-29 2022-07-26 云南诺寻科科技有限公司 MPLS VPN analysis method, device, computer equipment and storage medium
CN114422430B (en) * 2020-10-12 2023-05-16 中国电信股份有限公司 Electronic device, method and medium for controlling route leakage
CN115277527A (en) * 2021-04-30 2022-11-01 华为技术有限公司 Method and device for processing routing information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161917A1 (en) * 2001-04-30 2002-10-31 Shapiro Aaron M. Methods and systems for dynamic routing of data in a network
US20040034702A1 (en) * 2002-08-16 2004-02-19 Nortel Networks Limited Method and apparatus for exchanging intra-domain routing information between VPN sites
CN1719831A (en) * 2005-07-15 2006-01-11 清华大学 High-available distributed boundary gateway protocol system based on cluster router structure
CN1738291A (en) * 2005-08-26 2006-02-22 电子科技大学 Ad hot network subsequent multi-path route method based on load balance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020161917A1 (en) * 2001-04-30 2002-10-31 Shapiro Aaron M. Methods and systems for dynamic routing of data in a network
US20040034702A1 (en) * 2002-08-16 2004-02-19 Nortel Networks Limited Method and apparatus for exchanging intra-domain routing information between VPN sites
CN1719831A (en) * 2005-07-15 2006-01-11 清华大学 High-available distributed boundary gateway protocol system based on cluster router structure
CN1738291A (en) * 2005-08-26 2006-02-22 电子科技大学 Ad hot network subsequent multi-path route method based on load balance

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120099440A1 (en) * 2009-10-15 2012-04-26 Huawei Technologies Co., Ltd. Method, device, and system for withdrawing routes
CN102271080A (en) * 2010-06-03 2011-12-07 杭州华三通信技术有限公司 Method for preventing BGP (Border Gateway Protocol) session from being disconnected in the event of changing service, and applicable system thereof
US9350652B2 (en) 2010-06-03 2016-05-24 Hangzhou H3C Technologies Co., Ltd. Method, system and router for changing application in BGP session
CN104243309A (en) * 2014-09-15 2014-12-24 杭州华三通信技术有限公司 Route distribution method and device

Also Published As

Publication number Publication date
CN101141382A (en) 2008-03-12

Similar Documents

Publication Publication Date Title
WO2008031334A1 (en) Route updating method, system and router
US7035202B2 (en) Network routing using link failure information
JP4231766B2 (en) A communication apparatus and a communication method for performing path control between ASs.
EP1999896B1 (en) Network routing apparatus that performs soft graceful restart
US7778204B2 (en) Automatic maintenance of a distributed source tree (DST) network
US8467394B2 (en) Automatic route tagging of BGP next-hop routes in IGP
US8543718B2 (en) Technique for efficiently and dynamically maintaining bidirectional forwarding detection on a bundle of links
US8897311B2 (en) Dynamic discovery mechanisms via inter-domain routing protocol
TWI499237B (en) Ldp igp synchronization for broadcast networks
WO2007003088A1 (en) A method and system for updating a route
WO2011044828A1 (en) Method, device and system for route withdrawal
US7388862B2 (en) Technique for notifying EIGRP neighbors when destroying adjacencies in a computer network
CN112422307B (en) Method, equipment and system for EVPN and VPLS coexistence dual-activity
JP2006135970A (en) SoftRouter DYNAMIC BINDING PROTOCOL
US8667174B2 (en) Method and system for survival of data plane through a total control plane failure
WO2008040240A1 (en) The method and device for outbound route filter based on bgp
US6343330B1 (en) Arrangement for preventing looping of explorer frames in a transparent bridging domain having multiple entry points
WO2007041926A1 (en) A method and network appratus for processing the bgp route’s next hop change
JP2022052741A (en) Target neighbor search for boundary gateway protocol
US7633874B1 (en) Soft notification messaging for a routing protocol
CN110430088B (en) Method for discovering neighbor nodes and automatically establishing connection in NDN (named data networking)
WO2022218132A1 (en) Route update method, apparatus and system
JP2004247871A (en) Data relay method, data relay apparatus, and data relay system using the apparatus
WO2010072110A1 (en) Routing aging method, apparatus and router based on border gateway protocol
JP2004282177A (en) Data relaying method, data relaying apparatus, and data relaying system employing the apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1