[go: up one dir, main page]

WO2008040240A1 - The method and device for outbound route filter based on bgp - Google Patents

The method and device for outbound route filter based on bgp Download PDF

Info

Publication number
WO2008040240A1
WO2008040240A1 PCT/CN2007/070729 CN2007070729W WO2008040240A1 WO 2008040240 A1 WO2008040240 A1 WO 2008040240A1 CN 2007070729 W CN2007070729 W CN 2007070729W WO 2008040240 A1 WO2008040240 A1 WO 2008040240A1
Authority
WO
WIPO (PCT)
Prior art keywords
orf
nexthop
receiving
sending
unit
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.)
Ceased
Application number
PCT/CN2007/070729
Other languages
French (fr)
Chinese (zh)
Inventor
Guoyi Chen
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.)
Huawei Technologies Co Ltd
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 WO2008040240A1 publication Critical patent/WO2008040240A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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 communication technologies, and in particular, to a method and apparatus for outgoing route filtering based on the BGP protocol. Background of the invention
  • BGP will perform the neighbor disconnection process, thus causing the route to oscillate. Because the location of the BGP router on the Internet is very important, the route flapping caused by BGP may cause instability of the entire Internet. Therefore, reducing the route flapping caused by BGP can greatly help the stability of the entire Internet.
  • ORF Outbound route filter
  • the basic idea of the ORF is as follows: The receiving end of the routing information in the BGP peer is advertised to the sending end of the routing information in the BGP peer by filtering the filtering conditions of the relevant routing. The transmitting end first sends the route to the receiving end according to the receiving end. The route filtering condition is sent to filter related routes, and only the filtering conditions of the route are met. The route is sent to the receiving end, which reduces the transmission of "unwanted" routing information between BGP peers, thereby reducing the probability of KEEPALIVE timeout between BGP peers and reducing the oscillation of BGP routes.
  • the AS-Path-based ORF that is, the receiver establishes an AS-Path-related constraint, and tells the corresponding sender to send a route to the AS-Path-related constraint.
  • a method for routing filtering based on BGP protocol includes the following steps:
  • the routing information sending end of the BGP peer receives the Nexthop ORF policy advertised by the routing information sender in the BGP peer;
  • the sending end sends the next hop routing information that meets the Nexthop ORF policy to the receiving end.
  • the embodiment of the present invention further provides a routing information receiving device for routing filtering based on the BGP protocol, where the receiving device includes: an advertising unit and a first receiving unit, where the advertising unit is configured to filter the next hop route The Nexthop ORF policy is advertised to the routing information sending end in the BGP Peer where the receiving device is located;
  • the first receiving unit is configured to receive the next hop routing information that is sent by the sending end and that meets the Nexthop ORF policy.
  • a second receiving unit configured to receive a next hop route filtering Nexthop ORF policy advertised by the routing information receiving end in the BGP peer, and transmit the Nexthop ORF policy to the routing unit; a routing unit, configured to send next hop routing information that meets the Nexthop ORF policy to the receiving end.
  • the technical solution provided by the embodiment of the present invention can perform route filtering according to the Nexthop of the route, which can effectively reduce unnecessary route transmission, reduce route oscillation, and can be configured in a centralized manner, and can also implement ORF processing in BGP.
  • the technical solution of the embodiment of the present invention can reduce the transmission of unnecessary routes and reduce route oscillations, especially in a network environment where a route transmitter and a multi-homing are deployed.
  • FIG. 1 is a schematic diagram of outgoing route filtering based on the BGP protocol of the present invention
  • FIG. 2 is a flowchart of a method for routing routing based on BGP protocol according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a routing information receiving device based on BGP protocol according to an embodiment of the present invention
  • FIG. 4 is a BGP based embodiment according to an embodiment of the present invention
  • the embodiment of the invention provides a method and device for outgoing route filtering based on the BGP protocol.
  • the routing information receiving end of the BGP peer is configured to generate an outgoing route filtering policy based on the next hop, that is, a Nexthop ORF policy, and then send the outgoing routing filtering policy to the routing information sending end of the BGP peer.
  • the sender sends only the routing information that conforms to the Nexthop ORF policy to the corresponding receiving end according to the received Nexthop ORF policy.
  • a router can be either the sender of the routing information or the receiver of the routing information, that is, when the router acts as the sender of the routing information, the router can serve as the routing information sending end; the router acts as a route.
  • the router can serve as the receiving end of the routing information.
  • a receiving end can Similarly, a plurality of transmitting ends are respectively configured as BPG peers; similarly, one transmitting end may also form a BGP peer with multiple receiving ends respectively.
  • the BGP protocol is extended correspondingly, that is, the BGP protocol is extended to support the capability negotiation of the Nexthop ORF.
  • an ORF type that is, a Nexthop ORF type
  • the specific value of the filtering type may be assigned by the Internet Assigned Numbers Authority (I AN A). The value is 66;
  • Routing 1 means Deny, which means that the routing information sender does not need to send the content. Outlet by the routing information should Nexthop filters.
  • the fields included in the ORF entity message can be placed in the general header of the ORF.
  • the general message format of the ORF is already in the IDR working group draft of the IETF. [Outbound Route Filtering Capability for BGP-4] is defined in the format shown in Table 1:
  • the Type specific part field of the ORF entity field may be a variable length field.
  • the Type specific part may include the following fields: a 4-byte Sequence field, which is used to indicate the specific location of the Nexthop ORF entity; a 1-byte Length field, which is used to specify the specificity of the Nexthop field. Length value; Variable length Nexthop field, the specific length of this field can be specified by Length.
  • FIG. 2 is a flowchart of a method for outgoing route filtering based on the BGP protocol in the embodiment of the present invention.
  • Step 201 The routing information sending end of the BGP peer performs the ORF capability negotiation with the routing information receiving end.
  • the receiving end and the transmitting end respectively send the capability information of the Nexthop ORF supported by the receiving end to the other party, and the other party matches the capability information of the Nexthop ORF supported by the two parties. If the matching is successful, the negotiation succeeds. , the result of the negotiation.
  • the capability of the receiving end and the sending end is negotiated.
  • the receiving end can carry the capability information of the Nexthop ORF supported by the receiving end through the existing Open (Open) message.
  • the Open packet is sent to the sending end.
  • the existing dynamic capability negotiation packet carries the supported Nexthop ORF. Capability information;
  • the sender can also carry the capability information of the Nexthop ORF supported by the Open message or the dynamic capability negotiation message.
  • the obtained transmitting end can receive the negotiation of the Nexthop ORF packet carrying the Nexthop ORF policy sent by the receiving end.
  • the results can include: Router B only receives Nexth The op ORF packet, the router C only sends the Nexthop ORF packet; or the router B supports both the sending of the Nexthop ORF packet and the receiving of the Nexthop ORF packet, and the router C can support sending and receiving the Nexthop ORF packet. If the negotiation fails, Router B and Router C cannot process the ORF.
  • Nexthop ORF packet can be in the form of a separate packet.
  • the information of the Nexthop ORF packet can be carried in other packets.
  • the receiving end may send a Nexthop ORF message, and the sending end may receive a Nexthop ORF message.
  • the receiving end can generate Nexthop according to its own Nexthop ORF policy.
  • the ORF message can then be sent to the corresponding sender along with the route refresh message.
  • Router B wants to receive the route with the next hop being 1.1.1.1, and does not want to receive the route with the next hop being 2.2.2.2.
  • Router B generates the Nexthop ORF entity content, indicating that Router C is interested in Router B's Nexthop.
  • the Nexthop ORF filter condition corresponding to the ORF policy is to allow the route to receive 1.1.1.1.
  • the Action is 0, indicating that the current Nexthop ORF filter condition needs to be added to the ORF list;
  • Match is 1.
  • the receiving router C is allowed to send the route that meets the added filtering condition, that is, 1.1.1.1 in the Nexthop field; the serial number is 1, the length is 4 bytes, and the Nexthop field is 1.1.1.1, then the entity message can be Refer to Table 3:
  • Step 203 After receiving the Nexthop ORF packet sent by the receiving end, the sending end sends the routing information that conforms to the Nexthop ORF policy, and is received by the receiving end.
  • the routing information sending end of the Nexthop ORF policy such as the router C, performs corresponding processing according to the received Nexthop ORF entity message, for example, first updating the outbound route filtering condition in the ORF list according to the Action field.
  • the sending end when the sending end advertises the route to the receiving end, the sending end needs to perform corresponding filtering operations on the route to be sent according to the Match field in the ORF list, which may include: Match indicates Permit, and then matches the Nexthop outgoing route filtering condition.
  • the routing information is sent to the receiving end; the match indicates Deny, and the routing information matching the Nexthop outgoing route filtering condition is prohibited from being sent to the receiving end.
  • Router C only sends the route with the next hop 1.1.1.1 to Router B.
  • FIG. 3 is a schematic diagram of a BGP-based routing information receiving apparatus according to an embodiment of the present invention.
  • the receiving apparatus may be a routing information receiving end in the BGP peer, and may include: an advertising unit and a first receiving unit;
  • An advertising unit configured to advertise a Nexthop ORF policy to a routing information sending end in a BGP peer where the receiving device is located;
  • the first receiving unit is configured to receive the next hop routing information that is sent by the sending end and is consistent with the Nexthop ORF policy.
  • the receiving device may further include: a negotiating unit, configured to perform ORF capability negotiation with the sending end, to obtain that the receiving device can send the Nexthop ORF message carrying the Nexthop ORF policy to the sending end, and the sending end can receive the Nexthop ORF The result of the negotiation of the message.
  • the foregoing negotiating unit may include: a capability information transceiving unit and a matching unit,
  • the capability information transceiver unit is configured to send capability information including the Nexthop ORF supported by the receiver to the sender, and receive capability information of the Nexthop ORF supported by the sender sent by the sender;
  • the matching unit is configured to match the capability information of the Nexthop ORF supported by the receiving device with the capability information of the Nexthop ORF supported by the transmitting end, and obtain the foregoing negotiation result.
  • the notification unit may include: a message generating unit and a first sending unit; wherein
  • a message generating unit configured to generate a Nexthop ORF message including a Nexthop ORF policy according to the foregoing negotiation result, and a Nexthop ORF policy, and send the generated Nexthop ORF message to the first sending unit;
  • the first sending unit is configured to receive a Nexthop ORF message from the message generating unit, and send the Nexthop ORF>3 ⁇ 4 text to the sending end.
  • FIG. 4 is a schematic diagram of a BGP-based routing information sending apparatus according to an embodiment of the present invention.
  • the apparatus may be a routing information sending end in the BGP peer, and may include: a second receiving unit and a routing unit, where
  • the second receiving unit is configured to receive the routing information receiving end in the BGP peer, that is, the next hop route filtering Nexthop ORF policy advertised by the receiving device in FIG. 3, and transmit the Nexthop ORF policy to the routing unit;
  • the routing unit is configured to send the next hop routing information that conforms to the Nexthop ORF policy to the routing information receiving end in the BGP peer.
  • the sending device may further include: a negotiating unit, configured to perform ORF capability negotiation with the receiving end, to obtain that the sending device can receive the negotiation result of the Nexthop ORF message carrying the Nexthop ORF policy sent by the receiving end.
  • a negotiating unit configured to perform ORF capability negotiation with the receiving end, to obtain that the sending device can receive the negotiation result of the Nexthop ORF message carrying the Nexthop ORF policy sent by the receiving end.
  • the negotiating unit may include: a capability information transceiving unit and a matching unit;
  • the capability information transceiver unit is configured to send capability information including the Nexthop ORF supported by the sending device to the receiving end, and receive the receiving end and the receiving end supports the receiving end
  • the matching unit is configured to match the capability information of the Nexthop ORF supported by the transmitting device with the capability information of the Nexthop ORF supported by the receiving end, and obtain the foregoing negotiation result.
  • the routing unit may include: a message receiving unit, a list updating unit, and a second sending unit;
  • a packet receiving unit configured to receive a Nexthop ORF message carrying a Nexthop ORF policy from the receiving end, and send the message to the list updating unit;
  • a second sending unit configured to receive the ORF list from the list updating unit, and send the next hop routing information to the receiving end according to the outbound routing filtering condition in the updated ORF list.
  • the transmitting device and the receiving device may be respectively disposed on different routers or on the same router.
  • the routing information that needs to be sent by the routing information sending end may meet multiple routing filtering conditions, such as the requirements of the community attribute, the address prefix, and the next hop outgoing route filtering condition.
  • the sending end After receiving the routing policy advertised by the receiving end of the routing information, the sending end performs the operation of the filtering condition on the item by item, so that the routing information that meets all the filtering conditions is sent to the receiving end to achieve the maximum configuration policy.
  • the technical solution provided by the embodiment of the present invention performs routing filtering on the routing information to be sent by the BGP-based routing information sending end, which can effectively reduce unnecessary route transmission and reduce route oscillation, such as deploying route transmission. , multi-homing, etc.
  • the technical solution provided by the embodiment of the present invention can be used, and on the one hand, the configuration can be greatly simplified, and on the other hand, the complexity of BGP processing in BGP can be optimized.
  • BGP supports the function of sending multiple routes, that is, BGP can advertise multiple next hop routes to its neighbors, the number of routes to be advertised can be greatly increased, and the technical solution provided by the embodiment of the present invention can be avoided.
  • the sending of unnecessary routes in this application scenario reduces the oscillation of the route.

Landscapes

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

Abstract

A method, a transmitting device and a receiving device for outbound route filter based on BGP are disclosed. In the embodiment, the information receiver of the BGP peer advertises the Nexthop ORF policy to the corresponding route information transmitter. The route information transmitter returns the Nexthop route information in accordance with the Next ORF policy to the route information receiver according to the Next ORF policy. Said method and device availably resolve the problem that the current ORF can not filter the route based on the Nexthop route. Moreover, the configuration is simplified greatly and the complexity that BGP processes the ORF is also simplified.

Description

基于 BGP协议的出路由过滤的方法和装置 技术领域  Method and device for outgoing route filtering based on BGP protocol

本发明涉及通信技术, 尤其涉及一种基于 BGP协议的出路由过滤的 方法和装置。 发明背景  The present invention relates to communication technologies, and in particular, to a method and apparatus for outgoing route filtering based on the BGP protocol. Background of the invention

边界网关路由协议( Border Gateway Protocol; BGP )被广泛的部署 在当今的 Internet网络中, 用于在自治域( Autonomous System ; AS ) 间 和 AS内传递大量路由信息。路由信息的传递需要首先在路由器之间通过 BGP协议进行连接, 两个建立 BGP连接的路由器互为对方的邻居 (BGP Peer )。并且,对于同一个路由器,该路由器的邻居可不止一个。 BGP Peer 间采用 TCP协议作为传输层协议, 默认端口号为 179, 用于承载 BGP的各 种报文信息: 包括更新 ( UPDATE ) 、 保活(KEEPALIVE )等; 当 BGP Peer间有大量路由传递时,可能会出现邻居间发送 KEEPALIVE超时的情 况, 该情况下, 邻居间因为收不到对方发送 KEEPALIVE而认为彼此之 间的连接已经失效, BGP会进行邻居断开的处理, 因此导致路由的振荡。 由于 BGP路由器在 Internet网络中的位置非常重要, 由 BGP引起的路由振 荡可能会导致整个 Internet的不稳定, 所以减少 BGP引起的路由振荡对整 个 Internet网络的稳定会有很大的帮助。  Border Gateway Protocol (BGP) is widely deployed in today's Internet networks to transfer large amounts of routing information between autonomous systems (ASs) and ASs. The routing information needs to be first connected between the routers through the BGP protocol. The two routers that establish BGP connections are each other's neighbors (BGP peers). Also, for the same router, the router may have more than one neighbor. The BGP peer uses the TCP protocol as the transport layer protocol. The default port number is 179, which is used to carry various BGP packet information: including UPDATE and KEEPALIVE. When there are a large number of routes between BGP peers. Between the neighbors, the KEEPALIVE timeout may occur. In this case, the neighbors may not be able to send the KEEPALIVE and the connection between the neighbors is invalid. BGP will perform the neighbor disconnection process, thus causing the route to oscillate. Because the location of the BGP router on the Internet is very important, the route flapping caused by BGP may cause instability of the entire Internet. Therefore, reducing the route flapping caused by BGP can greatly help the stability of the entire Internet.

ORF ( Outbound route filter ), 即出路由过滤,是一种用来减少 BGP Peer间不必要路由传递的技术。 ORF的基本思想就是: BGP Peer中路由 信息的接收端, 通过将自己对相关路由的过滤条件通告给该 BGP Peer中 路由信息的发送端, 该发送端在向接收端发送路由时首先根据接收端发 来的路由过滤条件对路由进行相关的过滤, 只将满足该路由过滤条件的 路由发送给上述接收端, 这样就减少了 BGP Peer之间 "无用" 路由信息 的传递, 从而减少了 BGP Peer间 KEEPALIVE超时的几率, 减少了 BGP 路由的振荡。 ORF (Outbound route filter) is a technique used to reduce unnecessary route delivery between BGP peers. The basic idea of the ORF is as follows: The receiving end of the routing information in the BGP peer is advertised to the sending end of the routing information in the BGP peer by filtering the filtering conditions of the relevant routing. The transmitting end first sends the route to the receiving end according to the receiving end. The route filtering condition is sent to filter related routes, and only the filtering conditions of the route are met. The route is sent to the receiving end, which reduces the transmission of "unwanted" routing information between BGP peers, thereby reducing the probability of KEEPALIVE timeout between BGP peers and reducing the oscillation of BGP routes.

互联网工程任务工作组(Internet Engineering Task Force, IETF )的 IDR工作组已有基于团体( Community )属性、扩展团体( Ext-Community ) 属性、 自治系统号路径(AS-Path ) 、 地址前缀(Address Prefix )等的 ORF。  The IDR Working Group of the Internet Engineering Task Force (IETF) has been based on Community attributes, Ext-Community attributes, AS-Paths, and Address Prefixes. ) ORF.

基于 Community 、 Ext-Community的 ORF用 于针对路由 的 Community、 Ext-Community属性进行出路由过滤, 即接收端将关于 Community、 Ext-Community的约束条件发送给对应的发送端; 相应地, 发送端根据 Community, Ext-Community对路由进行过滤处理, 只将满足 条件的路由发送给该接收端。 基于 Community, Ext-Community的 ORF方 案主要用在 L3 VPN/L2VPN的场景下, 用 Ext-Community来承载 VPN路由 的路由目标( Route Target; RT )信息, 接收端通过制定 RT相关的约束 条件, 让发送端根据相关 RT信息来发送路由。  The ORF based on the Community and Ext-Community is used to perform route filtering for the Community and Ext-Community attributes of the route, that is, the receiving end sends the constraint about the Community and Ext-Community to the corresponding sending end; accordingly, the sending end is configured according to The community, Ext-Community filters the routes and sends only the routes that meet the conditions to the receiver. Based on the Community, the Ext-Community ORF solution is mainly used in the L3 VPN/L2VPN scenario. The Ext-Community is used to carry the routing target (RT) information of the VPN route. The receiving end determines the RT-related constraints. The sender sends a route based on the relevant RT information.

基于 AS-Path的 ORF, 即接收端制定 AS-Path相关的约束条件, 告诉 对应的发送端向其发送满足 AS-Path相关约束条件的路由。  The AS-Path-based ORF, that is, the receiver establishes an AS-Path-related constraint, and tells the corresponding sender to send a route to the AS-Path-related constraint.

基于 Address Prefix的 ORF, 即接收端告诉对应的发送端只发送满足 Address Prefix条件的路由给该接收端。  The address prefix-based ORF, that is, the receiving end tells the corresponding sender to send only the route that satisfies the Address Prefix condition to the receiving end.

上述现有的各 ORF方案, 不能完全满足实际组网中的现实需求, 如 果只局限于这些 ORF方案,那么会导致网路部署受限、配置复杂等问题。 发明内容 The above existing ORF schemes cannot fully meet the actual requirements in the actual networking. If they are limited to these ORF schemes, the network deployment is limited and the configuration is complicated. Summary of the invention

本发明实施例提供基于 BGP协议的出路由过滤的方法, 根据路由的 下一跳( Nexthop )信息对 BGP Peer间的路由进行出路由过滤, 筒化出路 由过滤配置, 提高网络部署的灵活性。  The embodiment of the present invention provides a route filtering method based on the BGP protocol, and performs route filtering on the routes between the BGP peers according to the next hop information of the route, and configures the path filtering filtering to improve the flexibility of network deployment.

一种基于 BGP协议的出路由过滤的方法, 包括如下步骤:  A method for routing filtering based on BGP protocol includes the following steps:

边界网关路由协议邻居 BGP Peer中的路由信息接收端, 将下一跳出 路由过滤 Nexthop ORF策略通告给所述 BGP Peer中的路由信息发送端; 所述接收端接收所述发送端发送的符合所述 Nexthop ORF策略的下 一跳路由信息。  The routing information receiving end of the border gateway routing protocol neighbor BGP peer advertises the next hop route filtering Nexthop ORF policy to the routing information sending end in the BGP peer; the receiving end receives the sending end that is sent by the sending end Next hop routing information for the Nexthop ORF policy.

一种基于 BGP协议的出路由过滤的方法, 包括如下步骤:  A method for routing filtering based on BGP protocol includes the following steps:

BGP Peer中的路由信息发送端接收所述 BGP Peer中的路由信息发送 端通告的 Nexthop ORF策略;  The routing information sending end of the BGP peer receives the Nexthop ORF policy advertised by the routing information sender in the BGP peer;

所述发送端将符合所述 Nexthop ORF策略的下一跳路由信息发送给 所述接收端。  The sending end sends the next hop routing information that meets the Nexthop ORF policy to the receiving end.

相应地, 本发明实施例还提供一种基于 BGP协议的出路由过滤的路 由信息接收装置, 该接收装置包括: 通告单元和第一接收单元; 其中, 通告单元, 用于将下一跳出路由过滤 Nexthop ORF策略通告给所述 接收装置所在 BGP Peer中的路由信息发送端;  Correspondingly, the embodiment of the present invention further provides a routing information receiving device for routing filtering based on the BGP protocol, where the receiving device includes: an advertising unit and a first receiving unit, where the advertising unit is configured to filter the next hop route The Nexthop ORF policy is advertised to the routing information sending end in the BGP Peer where the receiving device is located;

第一接收单元, 用于接收所述发送端发送的符合所述 Nexthop ORF 策略的下一跳路由信息。  The first receiving unit is configured to receive the next hop routing information that is sent by the sending end and that meets the Nexthop ORF policy.

本发明实施例还提供一种基于 BGP协议的出路由过滤的路由信息发 送装置, 包括: 第二接收单元和路由单元, 其中,  The embodiment of the present invention further provides a routing information sending device for outgoing route filtering based on the BGP protocol, including: a second receiving unit and a routing unit, where

第二接收单元, 用于接收 BGP Peer中的路由信息接收端通告的下一 跳出路由过滤 Nexthop ORF策略,将所述 Nexthop ORF策略传送给路由单 元; 路由单元, 用于将符合所述 Nexthop ORF策略的下一跳路由信息发 送给所述接收端。 a second receiving unit, configured to receive a next hop route filtering Nexthop ORF policy advertised by the routing information receiving end in the BGP peer, and transmit the Nexthop ORF policy to the routing unit; a routing unit, configured to send next hop routing information that meets the Nexthop ORF policy to the receiving end.

上述本发明实施例提供的技术方案,可以根据路由的 Nexthop来进行 出路由过滤, 可有效减少不必要路由的发送, 减少路由振荡, 并可筒化 配置, 同时也能筒化 BGP在进行 ORF处理的复杂度。 特别是在部署路由 发射器、 多归属的网络环境下, 应用本发明实施例的技术方案可以很好 的减少不必要路由的发送, 减少路由振荡。 附图简要说明  The technical solution provided by the embodiment of the present invention can perform route filtering according to the Nexthop of the route, which can effectively reduce unnecessary route transmission, reduce route oscillation, and can be configured in a centralized manner, and can also implement ORF processing in BGP. The complexity. The technical solution of the embodiment of the present invention can reduce the transmission of unnecessary routes and reduce route oscillations, especially in a network environment where a route transmitter and a multi-homing are deployed. BRIEF DESCRIPTION OF THE DRAWINGS

图 1是本发明的基于 BGP协议的出路由过滤的示意图;  1 is a schematic diagram of outgoing route filtering based on the BGP protocol of the present invention;

图 2是本发明实施例的基于 BGP协议的出路由过滤的方法流程图; 图 3是本发明的实施例的基于 BGP协议的路由信息接收装置示意图; 图 4是本发明的实施例中基于 BGP协议的路由信息发送装置示意图。 实施本发明的方式  2 is a flowchart of a method for routing routing based on BGP protocol according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a routing information receiving device based on BGP protocol according to an embodiment of the present invention; FIG. 4 is a BGP based embodiment according to an embodiment of the present invention; Schematic diagram of the routing information sending device of the protocol. Mode for carrying out the invention

本发明实施例提供了一种基于 BGP协议的出路由过滤的方法和装 置。 本发明实施例中, BGP Peer中路由信息接收端根据需要, 制定基于 下一跳的出路由过滤策略, 即 Nexthop ORF策略; 然后将此出路由过滤 策略发送给其所在 BGP Peer中路由信息发送端; 该发送端根据收到的 Nexthop ORF策略,只发送符合 Nexthop ORF策略的路由信息给对应的接 收端。 显然, 实际应用中, 一个路由器既可以是路由信息的发送者, 也 可以是路由信息的接收者, 即该路由器作为路由信息的发送者时, 该路 由器可作为路由信息发送端; 该路由器作为路由信息的接收者及路由策 略的发送者时, 该路由器可作为路由信息接收端。 并且, 一个接收端可 以与多个发送端分别结为 BPG Peer; 类似地, 一个发送端也可以与多个 接收端分别结成 BGP Peer。 The embodiment of the invention provides a method and device for outgoing route filtering based on the BGP protocol. In the embodiment of the present invention, the routing information receiving end of the BGP peer is configured to generate an outgoing route filtering policy based on the next hop, that is, a Nexthop ORF policy, and then send the outgoing routing filtering policy to the routing information sending end of the BGP peer. The sender sends only the routing information that conforms to the Nexthop ORF policy to the corresponding receiving end according to the received Nexthop ORF policy. Obviously, in practical applications, a router can be either the sender of the routing information or the receiver of the routing information, that is, when the router acts as the sender of the routing information, the router can serve as the routing information sending end; the router acts as a route. When the receiver of the information and the sender of the routing policy, the router can serve as the receiving end of the routing information. And, a receiving end can Similarly, a plurality of transmitting ends are respectively configured as BPG peers; similarly, one transmitting end may also form a BGP peer with multiple receiving ends respectively.

本发明实施例中, 为支持基于 Nexthop的 ORF, 需要增加一种 BGP ORF的新类型。 本发明实施例对 BGP协议进行相应的扩展, 即扩展 BGP 协议使其支持进行 Nexthop ORF的能力协商。  In the embodiment of the present invention, in order to support the Nexthop-based ORF, a new type of BGP ORF needs to be added. In the embodiment of the present invention, the BGP protocol is extended correspondingly, that is, the BGP protocol is extended to support the capability negotiation of the Nexthop ORF.

具体来说, 可以在原有 BGP协议的基础上新增一种 ORF类型, 即 Nexthop ORF类型, 该过滤类型具体的值可以由互联网号码分配权威部 门 (Internet Assigned Numbers Authority; I AN A)分配 , 建议值为 66;  Specifically, an ORF type, that is, a Nexthop ORF type, may be added to the original BGP protocol. The specific value of the filtering type may be assigned by the Internet Assigned Numbers Authority (I AN A). The value is 66;

在本发明实施例中, 针对新增的 Nexthop ORF类型, 需定义一种新 型的 ORF实体报文格式, 以用来携带与 Nexthop ORF策略相对应的 Nexthop出路由过滤条件。 为了和现有的 ORF通用报文格式保持一致, 该 新型的 ORF实体报文格式可以包括以下字段: 动作 (Action )字段, 该 字段可以由 3个数值来表示不同的含义, 如: 用数值 0表示添加(Add ) , 即用来指示在路由信息发送端的 ORF列表中添加路由信息接收端指定的 Nexthop ORF策略所对应的 Nexthop出路由过滤条件; 用数值 1表示删除 ( Remove ) , 即用来指示在路由信息发送端的 ORF列表中删除路由信息 接收端指定的 Nexthop出路由过滤条件; 数值 2表示删除所有 ( Remove-all ) , 即将路由信息发送端中和此路由信息接收端相关的原 ORF列表中的所有 Nexthop出路由过滤条件删除; 过滤字段 Match , 该字 段可以由 2个数值来表示不同的含义, 可用 0表示允许(Permit ) , 即指 示路由信息发送端可以发送满足相应 Nexthop出路由过滤条件的路由; 1 表示拒绝( Deny ) , 即指示路由信息发送端不需要发送满足相应 Nexthop 出路由过滤条件的路由信息。 上述 ORF实体报文所包括的各字段可以放 入 ORF的通用包头中, ORF的通用报文格式已在 IETF的 IDR工作组草案 【 Outbound Route Filtering Capability for BGP-4】中进行了定义, 其格式 如表 1 : In the embodiment of the present invention, for the new Nexthop ORF type, a new ORF entity packet format is defined to carry the Nexthop outgoing route filtering condition corresponding to the Nexthop ORF policy. To match the existing ORF common message format, the new ORF entity message format can include the following fields: Action field, which can be represented by three values, such as: Indicates the addition (Add), which is used to indicate that the Nexthop outgoing route filtering condition corresponding to the Nexthop ORF policy specified by the receiving end of the routing information is added to the ORF list of the routing information sending end; the value 1 indicates the deletion, which is used to indicate The Nexthop outgoing route filtering condition specified by the routing information receiving end is deleted in the ORF list of the routing information sending end; the value 2 indicates that all (Remove-all) is deleted, that is, the original ORF list related to the receiving end of the routing information in the routing information sending end is All Nexthop outgoing route filtering conditions are deleted; the filtering field Match, the field can be represented by two values to indicate different meanings, and 0 can be used to indicate permission (Permit), that is, the routing information sending end can send the corresponding Nexthop outgoing route filtering condition. Routing; 1 means Deny, which means that the routing information sender does not need to send the content. Outlet by the routing information should Nexthop filters. The fields included in the ORF entity message can be placed in the general header of the ORF. The general message format of the ORF is already in the IDR working group draft of the IETF. [Outbound Route Filtering Capability for BGP-4] is defined in the format shown in Table 1:

+ +  + +

I Action (2 bits) I I Action (2 bits) I

+ + + +

I Match (1 bit) I I Match (1 bit) I

+ + + +

I Reserved (5 bits) I  I Reserved (5 bits) I

+ +  + +

I Type specific part (variable) I  I Type specific part (variable) I

表 1  Table 1

本发明实施例中, ORF实体字段的类型相关部分( Type specific part ) 字段可以为可变长度字段。 该 Type specific part可包括如下字段: 4字节 的序列号 (Sequence ) 字段, 用来指明该 Nexthop ORF 实体所处的具 体位置; 1字节的长度(Length ) 字段, 用来指定 Nexthop字段的具体长 度值; 可变长度的 Nexthop字段, 该字段的具体长度可以由 Length指定。  In the embodiment of the present invention, the Type specific part field of the ORF entity field may be a variable length field. The Type specific part may include the following fields: a 4-byte Sequence field, which is used to indicate the specific location of the Nexthop ORF entity; a 1-byte Length field, which is used to specify the specificity of the Nexthop field. Length value; Variable length Nexthop field, the specific length of this field can be specified by Length.

ORF实体字段 Type specific part具体格式可以如表 2:  The specific format of the ORF entity field can be as shown in Table 2:

+ +  + +

I Sequence (4 octets)  I Sequence (4 octets)

+ +  + +

I Length (1 octet)  I Length (1 octet)

+ +  + +

I Nexthop (variable length)  I Nexthop (variable length)

+ +  + +

表 2 需注意的是, 所述字段的位置和长度并非局限于上述设置, 而是可 根据实际应用的需要任意设置。 其中在具体实现中, 序列号字段属可选 字段。 Table 2 It should be noted that the position and length of the field are not limited to the above settings, but may be arbitrarily set according to the needs of the actual application. In the specific implementation, the serial number field is an optional field.

本发明实施例中, BGP协议经过以上扩展后, 即可以运用基于 BGP 的 Nexthop ORF策略进行出路由过滤。 参考图 1 , 图 1为本发明实施例中 基于 BGP协议的出路由过滤的示意图。 图 1中 B和 C结为 BGP Peer, 该两 个路由器可通过 BGP协议建立 BGP邻居关系。 如果路由器 B想收到下一 跳是 1.1.1.1的路由, 而不想收到下一跳是 2.2.2.2的路由, 那么路由器 B可 将 1.1.1.1作为 Nexthop ORF策略所对应的 Nexthop出路由过滤条件发送给 路由器 C;路由器 C收到该 Nexthop出路由过滤条件后,在向路由器 B进行 路由通告时, 将下一跳是 1.1.1.1的路由发送给路由器 B , 而下一跳是 2.2.2.2的路由则不会发送给路由器 B。  In the embodiment of the present invention, after the BGP protocol is extended, the BGP-based Nexthop ORF policy can be used to perform route filtering. Referring to FIG. 1, FIG. 1 is a schematic diagram of outgoing route filtering based on BGP protocol according to an embodiment of the present invention. In Figure 1, B and C are BGP peers. The two routers can establish BGP neighbor relationships through BGP. If Router B wants to receive the route with the next hop 1.1.1.1 and does not want to receive the route with the next hop being 2.2.2.2, Router B can use 1.1.1.1 as the Nexthop outgoing route filter for the Nexthop ORF policy. After being sent to the router C, the router C sends a route with the next hop 1.1.1.1 to the router B, and the next hop is 2.2.2.2. The route will not be sent to Router B.

下面结合附图及具体实施例对本发明实施例的技术方案作进一步 详细的说明。  The technical solutions of the embodiments of the present invention are further described in detail below with reference to the accompanying drawings and specific embodiments.

参考图 2, 图 2是本发明实施例中基于 BGP协议的出路由过滤的方法 流程图。  Referring to FIG. 2, FIG. 2 is a flowchart of a method for outgoing route filtering based on the BGP protocol in the embodiment of the present invention.

步骤 201、 BGP Peer中的路由信息发送端与路由信息接收端进行 ORF 能力协商;  Step 201: The routing information sending end of the BGP peer performs the ORF capability negotiation with the routing information receiving end.

在本实施例中, 接收端与发送端分别将各自所支持的 Nexthop ORF 的能力信息发送给对方, 由对方将两者各自所支持的 Nexthop ORF的能 力信息进行匹配, 若能够匹配, 则协商成功, 得出协商结果。 以接收端 侧与发送端进行能力协商为例, 接收端可以在与发送端建立邻居关系 时, 将该接收端所支持的 Nexthop ORF的能力信息通过现有打开( Open ) 报文承载后, 将该 Open报文发送给发送端; 或者在接收端与发送端建立 邻居关系后, 在现有动态能力协商报文中承载其所支持 Nexthop ORF的 能力信息; 类似地, 发送端也可通过 Open报文或动态能力协商报文携带 其所支持的 Nexthop ORF的能力信息。 In this embodiment, the receiving end and the transmitting end respectively send the capability information of the Nexthop ORF supported by the receiving end to the other party, and the other party matches the capability information of the Nexthop ORF supported by the two parties. If the matching is successful, the negotiation succeeds. , the result of the negotiation. As an example, the capability of the receiving end and the sending end is negotiated. When the neighboring relationship is established with the sending end, the receiving end can carry the capability information of the Nexthop ORF supported by the receiving end through the existing Open (Open) message. The Open packet is sent to the sending end. After the neighboring relationship is established between the receiving end and the sending end, the existing dynamic capability negotiation packet carries the supported Nexthop ORF. Capability information; Similarly, the sender can also carry the capability information of the Nexthop ORF supported by the Open message or the dynamic capability negotiation message.

上述发送端或接收端所支持的 Nexthop ORF的能力信息可包括: 支 持发送 Nexthop ORF报文、支持接收 Nexthop ORF报文、或者两者都支持; 例如图 1中 B和 C两个路由器之间进行 Nexthop ORF能力的协商, 对于路 由器 B作为路由信息接收端,路由 C作为路由信息发送端的情况, 所得出 的接收端能够将携带 Nexthop ORF策略的 Nexthop ORF报文发送给发送 端, 且发送端能够接收 Nexthop ORF报文的协商结果可包括: 路由器 B 只发送 Nexthop ORF报文, 路由器 C只接收 Nexthop ORF报文; 或, 路由 器 B既支持发送 Nexthop ORF报文, 又支持接收 Nexthop ORF报文, 路由 器 C可支持发送和接收 Nexthop ORF报文; 对于路由器 C作为路由信息接 收端, 路由 B作为路由信息发送端的情况, 所得出的发送端能够接收接 收端发送的携带 Nexthop ORF策略的 Nexthop ORF报文的协商结果可包 括: 路由器 B只接收 Nexthop ORF报文, 路由器 C只发送 Nexthop ORF报 文;或,路由器 B既支持发送 Nexthop ORF报文,又支持接收 Nexthop ORF 报文, 路由器 C可支持发送和接收 Nexthop ORF报文。 若协商失败, 则路 由器 B和路由器 C不能进行 ORF的处理。  The capability information of the Nexthop ORF supported by the sending end or the receiving end may include: supporting sending Nexthop ORF packets, supporting receiving Nexthop ORF packets, or both; for example, between B and C routers in FIG. 1 Negotiation of the Nexthop ORF capability. For Router B as the routing information receiving end and Route C as the routing information sending end, the resulting receiving end can send the Nexthop ORF packet carrying the Nexthop ORF policy to the transmitting end, and the transmitting end can receive The result of the negotiation of the Nexthop ORF packet may include: Router B only sends the Nexthop ORF packet, and Router C only receives the Nexthop ORF packet; or, Router B supports both the Sending Next ORF packet and the Nexthop ORF packet, Router C. It can support the sending and receiving of the Nexthop ORF packet. For the router C as the routing information receiving end and the routing B as the routing information sending end, the obtained transmitting end can receive the negotiation of the Nexthop ORF packet carrying the Nexthop ORF policy sent by the receiving end. The results can include: Router B only receives Nexth The op ORF packet, the router C only sends the Nexthop ORF packet; or the router B supports both the sending of the Nexthop ORF packet and the receiving of the Nexthop ORF packet, and the router C can support sending and receiving the Nexthop ORF packet. If the negotiation fails, Router B and Router C cannot process the ORF.

另外, Nexthop ORF报文可以单独的报文形式存在, 也可以将 Nexthop ORF报文的信息由其他报文携带, 其他的报文例如路由刷新报 文。  In addition, the Nexthop ORF packet can be in the form of a separate packet. The information of the Nexthop ORF packet can be carried in other packets. Other packets, such as route refresh packets.

步骤 202、 接收端根据与发送端进行能力协商成功的协商结果, 生 成包含自身 Nexthop ORF策略的 Nexthop ORF报文,将该报文发送给发送 端。  Step 202: The receiving end generates a Nexthop ORF packet including the Nexthop ORF policy according to the negotiation result of the capability negotiation with the sending end, and sends the packet to the sending end.

在本发明实施例中, 接收端可发送 Nexthop ORF报文, 发送端可接 收 Nexthop ORF报文。 接收端可根据自身 Nexthop ORF策略生成 Nexthop ORF报文,然后可以将此报文随路由刷新报文一起发送给对应的发送端。 例如图 1中路由器 B想收到下一跳是 1.1.1.1的路由, 而不想收到下一跳是 2.2.2.2的路由, 则路由器 B生成 Nexthop ORF实体内容,指示路由器 C关注 路由器 B的 Nexthop ORF策略对应的 Nexthop ORF过滤条件为允许接收 1.1.1.1的路由; 则路由器 B发送的 Nexthop ORF报文中, Action为 0, 表示 需要在 ORF列表中添加当前一个 Nexthop ORF过滤条件; Match为 1 , 表 示允许接收路由器 C发送符合所添加的该过滤条件的路由, 即 Nexthop字 段中的 1.1.1.1; 序列号为 1 , 长度为 4个字节, Nexthop字段为 1.1.1.1 , 则 其实体报文可参考表 3: In the embodiment of the present invention, the receiving end may send a Nexthop ORF message, and the sending end may receive a Nexthop ORF message. The receiving end can generate Nexthop according to its own Nexthop ORF policy. The ORF message can then be sent to the corresponding sender along with the route refresh message. For example, in Figure 1, Router B wants to receive the route with the next hop being 1.1.1.1, and does not want to receive the route with the next hop being 2.2.2.2. Router B generates the Nexthop ORF entity content, indicating that Router C is interested in Router B's Nexthop. The Nexthop ORF filter condition corresponding to the ORF policy is to allow the route to receive 1.1.1.1. In the Nexthop ORF packet sent by Router B, the Action is 0, indicating that the current Nexthop ORF filter condition needs to be added to the ORF list; Match is 1. Indicates that the receiving router C is allowed to send the route that meets the added filtering condition, that is, 1.1.1.1 in the Nexthop field; the serial number is 1, the length is 4 bytes, and the Nexthop field is 1.1.1.1, then the entity message can be Refer to Table 3:

+ + + +

I 00 I  I 00 I

+ +  + +

I 1 I  I 1 I

+ +  + +

I Reserved (5 bits) I  I Reserved (5 bits) I

+ +  + +

I 1 I  I 1 I

+ +  + +

I 4 I  I 4 I

+ +  + +

I 1.1.1.1 I  I 1.1.1.1 I

+ +  + +

表 3  table 3

步骤 203、 发送端接收到接收端发送的 Nexthop ORF报文后, 发送符 合 Nexthop ORF策略的路由信息, 由接收端接收。 在本发明实施例中, 接收 Nexthop ORF策略的路由信息发送端, 如 路由器 C, 根据所接收的 Nexthop ORF实体报文进行相应的处理, 如首先 根据 Action字段更新 ORF列表中的出路由过滤条件, 包括: 如果 Action 指示添加, 则将与 Nexthop ORF策略对应的 Nexthop出路由过滤条件加入 到 ORF列表中; 如果 Action指示删除, 则将相应的 Nexthop出路由过滤条 件从本地 ORF列表中删除; 如果 Action指示删除所有, 则将路由器 B发来 的需要删除的所有 Nexthop出路由过滤条件全部删除; 例如图 1中, 路由 器 C根据路由器 B所发送的 1.1.1.1的 Nexthop出路由过滤条件,添加 1.1.1.1 到 ORF列表中; Step 203: After receiving the Nexthop ORF packet sent by the receiving end, the sending end sends the routing information that conforms to the Nexthop ORF policy, and is received by the receiving end. In the embodiment of the present invention, the routing information sending end of the Nexthop ORF policy, such as the router C, performs corresponding processing according to the received Nexthop ORF entity message, for example, first updating the outbound route filtering condition in the ORF list according to the Action field. Including: If the action indication is added, the Nexthop outgoing route filtering condition corresponding to the Nexthop ORF policy is added to the ORF list; if the Action indicates deletion, the corresponding Nexthop outgoing route filtering condition is deleted from the local ORF list; If all are deleted, all the Nexthop outgoing route filtering conditions sent by Router B to be deleted are deleted. For example, in Figure 1, Router C adds 1.1.1.1 to the Nexthop outgoing route filtering condition sent by Router B according to 1.1.1.1. In the ORF list;

然后,发送端在向接收端通告路由时,需要根据 ORF列表中的 Match 字段, 对将要发送的路由进行相应的过滤操作, 可包括: Match指示 Permit, 则将与 Nexthop出路由过滤条件相匹配的路由信息发送给接收 端; Match指示 Deny , 则禁止将与 Nexthop出路由过滤条件相匹配的路由 信息发送给接收端。 例如图 1中, 路由器 C只将下一跳为 1.1.1.1的路由发 送给路由器 B。  Then, when the sending end advertises the route to the receiving end, the sending end needs to perform corresponding filtering operations on the route to be sent according to the Match field in the ORF list, which may include: Match indicates Permit, and then matches the Nexthop outgoing route filtering condition. The routing information is sent to the receiving end; the match indicates Deny, and the routing information matching the Nexthop outgoing route filtering condition is prohibited from being sent to the receiving end. For example, in Figure 1, Router C only sends the route with the next hop 1.1.1.1 to Router B.

参考图 3, 图 3是本发明实施例的基于 BGP协议的路由信息接收装置 示意图,该接收装置可以是上述 BGP Peer中的路由信息接收端,可包括: 通告单元和第一接收单元; 其中,  Referring to FIG. 3, FIG. 3 is a schematic diagram of a BGP-based routing information receiving apparatus according to an embodiment of the present invention. The receiving apparatus may be a routing information receiving end in the BGP peer, and may include: an advertising unit and a first receiving unit;

通告单元, 用于将 Nexthop ORF策略通告给该接收装置所在 BGP Peer中的路由信息发送端;  An advertising unit, configured to advertise a Nexthop ORF policy to a routing information sending end in a BGP peer where the receiving device is located;

第一接收单元, 用于接收上述发送端发送的符合 Nexthop ORF策略 的下一跳路由信息。  The first receiving unit is configured to receive the next hop routing information that is sent by the sending end and is consistent with the Nexthop ORF policy.

该接收装置进一步可包括: 协商单元, 用于与发送端进行 ORF能力 协商,得出该接收装置能够将携带 Nexthop ORF策略的 Nexthop ORF报文 发送给发送端, 且该发送端能够接收该 Nexthop ORF报文的协商结果。 上述协商单元可包括: 能力信息收发单元和匹配单元, The receiving device may further include: a negotiating unit, configured to perform ORF capability negotiation with the sending end, to obtain that the receiving device can send the Nexthop ORF message carrying the Nexthop ORF policy to the sending end, and the sending end can receive the Nexthop ORF The result of the negotiation of the message. The foregoing negotiating unit may include: a capability information transceiving unit and a matching unit,

能力信息收发单元, 用于将包含该接收端所支持的 Nexthop ORF的 能力信息发送给发送端,且接收发送端发送的该发送端所支持的 Nexthop ORF的能力信息;  The capability information transceiver unit is configured to send capability information including the Nexthop ORF supported by the receiver to the sender, and receive capability information of the Nexthop ORF supported by the sender sent by the sender;

匹配单元, 用于将该接收装置所支持的 Nexthop ORF的能力信息与 该发送端所支持的 Nexthop ORF的能力信息进行匹配, 得出上述协商结 果。  The matching unit is configured to match the capability information of the Nexthop ORF supported by the receiving device with the capability information of the Nexthop ORF supported by the transmitting end, and obtain the foregoing negotiation result.

通告单元可包括: 报文生成单元和第一发送单元; 其中,  The notification unit may include: a message generating unit and a first sending unit; wherein

报文生成单元, 用于根据上述协商结果, 以及自身 Nexthop ORF策 略, 生成包含 Nexthop ORF策略的 Nexthop ORF报文, 将生成的 Nexthop ORF报文传送给第一发送单元;  a message generating unit, configured to generate a Nexthop ORF message including a Nexthop ORF policy according to the foregoing negotiation result, and a Nexthop ORF policy, and send the generated Nexthop ORF message to the first sending unit;

第一发送单元, 用于接收来自报文生成单元的 Nexthop ORF报文, 将该 Nexthop ORF>¾文发送给发送端。  The first sending unit is configured to receive a Nexthop ORF message from the message generating unit, and send the Nexthop ORF>3⁄4 text to the sending end.

参考图 4, 图 4是本发明实施例的基于 BGP协议的路由信息发送装置 示意图, 该装置可以是上述 BGP Peer中的路由信息发送端, 可包括: 第 二接收单元和路由单元, 其中,  Referring to FIG. 4, FIG. 4 is a schematic diagram of a BGP-based routing information sending apparatus according to an embodiment of the present invention. The apparatus may be a routing information sending end in the BGP peer, and may include: a second receiving unit and a routing unit, where

第二接收单元, 用于接收 BGP Peer中的路由信息接收端即, 图 3所 示接收装置通告的下一跳出路由过滤 Nexthop ORF策略,将 Nexthop ORF 策略传送给路由单元;  The second receiving unit is configured to receive the routing information receiving end in the BGP peer, that is, the next hop route filtering Nexthop ORF policy advertised by the receiving device in FIG. 3, and transmit the Nexthop ORF policy to the routing unit;

路由单元, 用于将符合 Nexthop ORF策略的下一跳路由信息发送给 上述 BGP Peer中的路由信息接收端。  The routing unit is configured to send the next hop routing information that conforms to the Nexthop ORF policy to the routing information receiving end in the BGP peer.

发送装置进一步可包括: 协商单元, 用于与接收端进行 ORF能力协 商, 得出该发送装置能够接收接收端发送的携带所述 Nexthop ORF策略 的 Nexthop ORF报文的协商结果。  The sending device may further include: a negotiating unit, configured to perform ORF capability negotiation with the receiving end, to obtain that the sending device can receive the negotiation result of the Nexthop ORF message carrying the Nexthop ORF policy sent by the receiving end.

协商单元可包括: 能力信息收发单元和匹配单元; 能力信息收发单元, 用于将包含该发送装置所支持的 Nexthop ORF 的能力信息发送给接收端, 且接收接收端发送的该接收端所支持的The negotiating unit may include: a capability information transceiving unit and a matching unit; The capability information transceiver unit is configured to send capability information including the Nexthop ORF supported by the sending device to the receiving end, and receive the receiving end and the receiving end supports the receiving end

Nexthop ORF的能力信息; Nexthop ORF capability information;

匹配单元, 用于将该发送装置所支持的 Nexthop ORF的能力信息与 该接收端所支持的 Nexthop ORF的能力信息进行匹配, 得出上述协商结 果。  The matching unit is configured to match the capability information of the Nexthop ORF supported by the transmitting device with the capability information of the Nexthop ORF supported by the receiving end, and obtain the foregoing negotiation result.

路由单元可包括: 报文接收单元、 列表更新单元和第二发送单元; 其中,  The routing unit may include: a message receiving unit, a list updating unit, and a second sending unit;

报文接收单元, 用于接收来自接收端的携带 Nexthop ORF策略的 Nexthop ORF报文, 将该报文传送给列表更新单元;  a packet receiving unit, configured to receive a Nexthop ORF message carrying a Nexthop ORF policy from the receiving end, and send the message to the list updating unit;

列表更新单元, 用于根据 Nexthop ORF报文对 ORF列表中的出路由 过滤条件进行更新, 将更新的 ORF列表传送给第二发送单元;  a list update unit, configured to update an outbound route filter condition in the ORF list according to the Nexthop ORF message, and send the updated ORF list to the second sending unit;

第二发送单元, 用于接收来自列表更新单元的所述 ORF列表, 根据 更新的 ORF列表中的出路由过滤条件, 向接收端发送所述下一跳路由信 息。  And a second sending unit, configured to receive the ORF list from the list updating unit, and send the next hop routing information to the receiving end according to the outbound routing filtering condition in the updated ORF list.

上述发送装置与接收装置可分别设置在不同的路由器上, 也可设置 于同一个路由器上。  The transmitting device and the receiving device may be respectively disposed on different routers or on the same router.

在具体实现中, 路由信息发送端所需要发送的路由信息可能需满足 多种出路由过滤条件, 如既需满足团体属性、 地址前缀等条件, 又需满 足下一跳出路由过滤条件, 则路由信息发送端可在接收到路由信息接收 端通告的出路由策略后, 将过滤条件逐项进行与的运算, 以便将满足所 有过滤条件的路由信息发送给接收端, 达到最大限度的筒化策略配置。  In a specific implementation, the routing information that needs to be sent by the routing information sending end may meet multiple routing filtering conditions, such as the requirements of the community attribute, the address prefix, and the next hop outgoing route filtering condition. After receiving the routing policy advertised by the receiving end of the routing information, the sending end performs the operation of the filtering condition on the item by item, so that the routing information that meets all the filtering conditions is sent to the receiving end to achieve the maximum configuration policy.

上述本发明实施例提供的技术方案, 根据 Nexthop策略对基于 BGP 协议的路由信息发送端将要发送的路由信息进行出路由过滤, 可有效减 少不必要路由的发送, 减少路由振荡, 如在部署路由发射器、 多归属等 网络环境下, 可采用本发明实施例提供的技术方案, 一方面可大大筒化 配置, 一方面也能筒化 BGP在进行 ORF处理的复杂度。 此外, 如果 BGP 支持发送多路由功能, 即 BGP可以将多个下一跳路由都通告给其邻居, 则路由的发布量还会大大增加, 采用本发明实施例提供的技术方案, 可 以很好避免此应用场景下的不必要路由的发送, 并减少路由的振荡。 The technical solution provided by the embodiment of the present invention, according to the Nexthop policy, performs routing filtering on the routing information to be sent by the BGP-based routing information sending end, which can effectively reduce unnecessary route transmission and reduce route oscillation, such as deploying route transmission. , multi-homing, etc. In the network environment, the technical solution provided by the embodiment of the present invention can be used, and on the one hand, the configuration can be greatly simplified, and on the other hand, the complexity of BGP processing in BGP can be optimized. In addition, if BGP supports the function of sending multiple routes, that is, BGP can advertise multiple next hop routes to its neighbors, the number of routes to be advertised can be greatly increased, and the technical solution provided by the embodiment of the present invention can be avoided. The sending of unnecessary routes in this application scenario reduces the oscillation of the route.

以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围 并不局限于此, 任何熟悉该技术的人在本发明所揭露的技术范围内, 可 轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。  The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope of the present invention. All should be covered by the scope of the present invention.

Claims

权利要求书 Claim 1、一种基于 BGP协议的出路由过滤的方法, 其特征在于, 包括如下 步骤:  A method for filtering outbound routes based on the BGP protocol, which is characterized by the following steps: 边界网关路由协议邻居 BGP Peer中的路由信息接收端, 将下一跳出 路由过滤 Nexthop ORF策略通告给所述 BGP Peer中的路由信息发送端; 所述接收端接收所述发送端发送的符合所述 Nexthop ORF策略的下 一跳路由信息。  The routing information receiving end of the border gateway routing protocol neighbor BGP peer advertises the next hop route filtering Nexthop ORF policy to the routing information sending end in the BGP peer; the receiving end receives the sending end that is sent by the sending end Next hop routing information for the Nexthop ORF policy. 2、 根据权利要求 1所述的方法, 其特征在于, 所述接收端将所述 Nexthop ORF策略通告给所述发送端之前, 该方法进一步包括:  The method according to claim 1, wherein before the receiving end advertises the Nexthop ORF policy to the sending end, the method further includes: 所述接收端与所述发送端进行 ORF能力协商, 得出所述接收端能够 将携带 Nexthop ORF策略的 Nexthop ORF报文发送给所述发送端,且所述 发送端能够接收所述 Nexthop ORF报文的协商结果。  The receiving end and the sending end perform the ORF capability negotiation, and the receiving end can send the Nexthop ORF message carrying the Nexthop ORF policy to the sending end, and the sending end can receive the Nexthop ORF report. The result of the negotiation. 3、 根据权利要求 2所述的方法, 其特征在于, 所述接收端与所述发 送端进行 ORF能力协商的步骤包括:  The method according to claim 2, wherein the step of the ORF capability negotiation between the receiving end and the sending end comprises: 所述接收端将包含该接收端所支持的 Nexthop ORF的能力信息发送 给所述发送端, 且接收所述发送端发送的该发送端所支持的 Nexthop ORF的能力信息, 将该接收端所支持的 Nexthop ORF的能力信息与该发 送端所支持的 Nexthop ORF的能力信息进行匹配。  The receiving end sends the capability information of the Nexthop ORF that is supported by the receiving end to the sending end, and receives the capability information of the Nexthop ORF supported by the sending end sent by the sending end, which is supported by the receiving end. The capability information of the Nexthop ORF is matched with the capability information of the Nexthop ORF supported by the sender. 4、 根据权利要求 3所述的方法, 其特征在于, 所述能力信息包括: 支持发送 Nexthop ORF报文、 支持接收 Nexthop ORF报文、 或者支持 发送和接收 Nexthop ORF艮文。  The method according to claim 3, wherein the capability information comprises: supporting sending a Nexthop ORF message, supporting receiving a Nexthop ORF message, or supporting sending and receiving a Nexthop ORF message. 5、 根据权利要求 4所述的方法, 其特征在于, 所述协商结果包括: 所述接收端支持发送 Nexthop ORF报文, 所述发送端支持接收 The method according to claim 4, wherein the negotiation result comprises: the receiving end supports sending a Nexthop ORF message, and the sending end supports receiving Nexthop ORF4艮文; 或, 所述接收端支持接收和发送 Nexthop ORF报文, 所述发送端支持接 收和发送 Nexthop ORF报文。 Nexthop ORF4 ;文; or, The receiving end supports receiving and sending a Nexthop ORF message, and the sending end supports receiving and sending a Nexthop ORF message. 6、 根据权利要求 3、 4或 5所述的方法, 其特征在于, 所述接收端将 包含该接收端所支持的 Nexthop ORF的能力信息发送给所述发送端的步 骤包括:  The method according to claim 3, 4 or 5, wherein the step of the receiving end transmitting the capability information including the Nexthop ORF supported by the receiving end to the sending end comprises: 所述接收端在与所述发送端建立邻居关系时, 将包含所述接收端所 能够支持的所述能力信息携带于打开 Open报文中, 发送给所述发送端; 或,  When the receiving end establishes a neighbor relationship with the sending end, the receiving end carries the capability information that the receiving end can support in the Open Open message, and sends the information to the sending end; or 所述接收端在与所述发送端建立邻居关系后, 将包含所述接收端能 够支持的所述能力信息携带于动态能力协商报文中, 发送给所述发送 端。  After receiving the neighbor relationship with the sending end, the receiving end carries the capability information that the receiving end can support in the dynamic capability negotiation packet, and sends the capability information to the sending end. 7、根据权利要求 2所述的方法, 其特征在于, 所述接收端将 Nexthop ORF策略通告给所述发送端的步骤包括:  The method according to claim 2, wherein the step of the receiving end advertising the Nexthop ORF policy to the sending end comprises: 所述接收端根据所述协商结果, 以及自身 Nexthop ORF策略, 生成 所述 Nexthop ORF报文, 将所述 Nexthop ORF报文发送给所述发送端。  The receiving end generates the Nexthop ORF packet according to the negotiation result and the own Nexthop ORF policy, and sends the Nexthop ORF packet to the sending end. 8、一种基于 BGP协议的出路由过滤的方法, 其特征在于, 包括如下 步骤:  A method for filtering outbound routes based on the BGP protocol, which is characterized by the following steps: BGP Peer中的路由信息发送端接收所述 BGP Peer中的路由信息发送 端通告的 Nexthop ORF策略;  The routing information sending end of the BGP peer receives the Nexthop ORF policy advertised by the routing information sender in the BGP peer; 所述发送端将符合所述 Nexthop ORF策略的下一跳路由信息发送给 所述接收端。  The sending end sends the next hop routing information that meets the Nexthop ORF policy to the receiving end. 9、 根据权利要求 8所述的方法, 其特征在于, 所述发送端将所述下 一跳路由信息发送给所述接收端之前, 该方法进一步包括: 所述发送端与所述接收端进行 ORF能力协商 , 得出所述发送端能够 接收所述接收端发送的携带所述 Nexthop ORF策略的 Nexthop ORF报文 的协商结果。 The method according to claim 8, wherein before the sending end sends the next hop routing information to the receiving end, the method further includes: The transmitting end and the receiving end perform the ORF capability negotiation, and the result that the sending end can receive the negotiation result of the Nexthop ORF packet carrying the Nexthop ORF policy sent by the receiving end. 10、 根据权利要求 9所述的方法, 其特征在于, 所述发送端与所述 接收端进行 ORF能力协商的步骤包括:  The method according to claim 9, wherein the step of the ORF capability negotiation between the sending end and the receiving end comprises: 所述发送端将包含该发送端所支持的 Nexthop ORF的能力信息发送 给所述接收端, 且接收所述接收端发送的该接收端所支持的 Nexthop ORF的能力信息, 将该发送端所支持的 Nexthop ORF的能力信息与该接 收端所支持的 Nexthop ORF的能力信息进行匹配。  The sending end sends the capability information of the Nexthop ORF that is supported by the sending end to the receiving end, and receives the capability information of the Nexthop ORF supported by the receiving end sent by the receiving end, which is supported by the sending end. The capability information of the Nexthop ORF is matched with the capability information of the Nexthop ORF supported by the receiver. 11、 根据权利要求 10所述的方法, 其特征在于, 所述发送端将所述 下一跳路由信息发送给所述接收端之前, 该方法进一步包括:  The method according to claim 10, wherein before the sending end sends the next hop routing information to the receiving end, the method further includes: 所述发送端根据 Nexthop ORF报文中携带的所述 Nexthop ORF策略, 更新所述发送端的 ORF列表中的出路由过滤条件。  The sending end updates the outbound route filtering condition in the ORF list of the sending end according to the Nexthop ORF policy carried in the Nexthop ORF packet. 12、 根据权利要求 11所述的方法, 其特征在于, 更新所述发送端的 ORF列表中的出路由过滤条件的步骤包括:  The method according to claim 11, wherein the step of updating the outbound route filtering condition in the ORF list of the sending end comprises: 所述发送端根据 Nexthop ORF报文中的操作 Action字段的内容对 ORF列表中的出路由过滤条件进行更新。  The sending end updates the outbound route filtering condition in the ORF list according to the content of the action Action field in the Nexthop ORF message. 13、 一种基于 BGP协议的出路由过滤的路由信息接收装置, 其特征 在于, 包括: 通告单元和第一接收单元; 其中,  A routing information receiving device for outgoing route filtering based on the BGP protocol, comprising: an advertising unit and a first receiving unit; 通告单元, 用于将下一跳出路由过滤 Nexthop ORF策略通告给所述 接收装置所在 BGP Peer中的路由信息发送端;  The advertising unit is configured to notify the next hop routing filtering Nexthop ORF policy to the routing information sending end in the BGP peer where the receiving device is located; 第一接收单元, 用于接收所述发送端发送的符合所述 Nexthop ORF 策略的下一跳路由信息。  The first receiving unit is configured to receive the next hop routing information that is sent by the sending end and that meets the Nexthop ORF policy. 14、 根据权利要求 13所述的接收装置, 其特征在于, 所述接收装置 进一步包括: 协商单元, 用于与所述发送端进行 ORF能力协商, 得出所 述接收装置能够将携带 Nexthop ORF策略的 Nexthop ORF报文发送给所 述发送端, 且所述发送端能够接收所述 Nexthop ORF报文的协商结果The receiving apparatus according to claim 13, wherein the receiving apparatus further includes: a negotiating unit, configured to perform ORF capability negotiation with the transmitting end, to obtain a The receiving device can send the Nexthop ORF message carrying the Nexthop ORF policy to the sending end, and the sending end can receive the negotiation result of the Nexthop ORF message 15、 根据权利要求 14所述的接收装置, 其特征在于, 所述协商单元 包括: 能力信息收发单元和匹配单元, The receiving apparatus according to claim 14, wherein the negotiating unit comprises: a capability information transceiving unit and a matching unit, 能力信息收发单元, 用于将包含该接收端所支持的 Nexthop ORF的 能力信息发送给所述发送端, 且接收所述发送端发送的该发送端所支持 的 Nexthop ORF的能力信息;  The capability information transceiver unit is configured to send capability information including the Nexthop ORF supported by the receiving end to the sending end, and receive capability information of the Nexthop ORF supported by the sending end sent by the sending end; 匹配单元, 用于将该接收装置所支持的 Nexthop ORF的能力信息与 该发送端所支持的 Nexthop ORF的能力信息进行匹配, 得出所述协商结 果。  The matching unit is configured to match the capability information of the Nexthop ORF supported by the receiving device with the capability information of the Nexthop ORF supported by the transmitting end, and obtain the negotiation result. 16、 根据权利要求 14或 15所述的接收装置, 其特征在于, 所述通告 单元包括: 报文生成单元和第一发送单元; 其中,  The receiving device according to claim 14 or 15, wherein the advertising unit comprises: a message generating unit and a first sending unit; 报文生成单元, 用于根据所述协商结果, 以及自身 Nexthop ORF策 略, 生成包含 Nexthop ORF策略的信息 Nexthop ORF报文, 将生成的所述 Nexthop ORF报文传送给第一发送单元;  a message generating unit, configured to generate a Nexthop ORF message including the Nexthop ORF policy according to the negotiation result and the Nexthop ORF policy, and send the generated Nexthop ORF message to the first sending unit; 所述第一发送单元, 用于接收来自报文生成单元的所述 Nexthop ORF4艮文, 将所述 Nexthop ORF报文发出。  The first sending unit is configured to receive the Nexthop ORF4 message from the message generating unit, and send the Nexthop ORF message. 17、 一种基于 BGP协议的出路由过滤的路由信息发送装置, 其特征 在于, 包括: 第二接收单元和路由单元, 其中,  A routing information sending device for routing filtering based on the BGP protocol, comprising: a second receiving unit and a routing unit, where 第二接收单元, 用于接收 BGP Peer中的路由信息接收端通告的下一 跳出路由过滤 Nexthop ORF策略,将所述 Nexthop ORF策略传送给路由单 元;  a second receiving unit, configured to receive a next hop route filtering Nexthop ORF policy advertised by the routing information receiving end of the BGP peer, and transmit the Nexthop ORF policy to the routing unit; 路由单元, 用于将符合所述 Nexthop ORF策略的下一跳路由信息发 送给所述接收端。 a routing unit, configured to send next hop routing information that meets the Nexthop ORF policy to the receiving end. 18、 根据权利要求 17所述的发送装置, 其特征在于, 所述发送装置 进一步包括: 协商单元, 用于与所述接收端进行 ORF能力协商, 得出所 述发送装置能够接收所述接收端发送的携带所述 Nexthop ORF策略的 Nexthop ORF报文的协商结果。 The transmitting device according to claim 17, wherein the transmitting device further comprises: a negotiating unit, configured to perform ORF capability negotiation with the receiving end, to obtain that the sending device is capable of receiving the receiving end The result of the negotiation of the Nexthop ORF message carrying the Nexthop ORF policy. 19、 根据权利要求 18所述的发送装置, 其特征在于, 所述协商单元 包括: 能力信息收发单元和匹配单元, ;  The transmitting apparatus according to claim 18, wherein the negotiating unit comprises: a capability information transceiving unit and a matching unit, 能力信息收发单元, 用于将包含该发送装置所支持的 Nexthop ORF 的能力信息发送给所述接收端, 且接收所述接收端发送的该接收端所支 持的 Nexthop ORF的能力信息;  The capability information transceiver unit is configured to send capability information including the Nexthop ORF supported by the sending device to the receiving end, and receive capability information of the Nexthop ORF supported by the receiving end sent by the receiving end; 匹配单元, 用于将该发送装置所支持的 Nexthop ORF的能力信息与 该接收端所支持的 Nexthop ORF的能力信息进行匹配, 得出所述协商结 果。  The matching unit is configured to match the capability information of the Nexthop ORF supported by the sending device with the capability information of the Nexthop ORF supported by the receiving end, and obtain the negotiation result. 20、 根据权利要求 17、 18或 19所述的发送装置, 其特征在于, 所述 路由单元包括: 报文接收单元、 列表更新单元和第二发送单元; 其中, 报文接收单元, 用于接收来自所述接收端的携带所述 Nexthop ORF 策略的 Nexthop ORF报文, 将所述报文传送给列表更新单元;  The transmitting device according to claim 17, 18 or 19, wherein the routing unit comprises: a message receiving unit, a list updating unit, and a second sending unit; wherein the message receiving unit is configured to receive a Nexthop ORF message carrying the Nexthop ORF policy from the receiving end, and transmitting the message to the list updating unit; 列表更新单元, 用于根据所述 Nexthop ORF报文对 ORF列表中的出 路由过滤条件进行更新, 将更新的 ORF列表传送给第二发送单元;  a list updating unit, configured to update an outbound filtering condition in the ORF list according to the Nexthop ORF message, and send the updated ORF list to the second sending unit; 第二发送单元, 用于接收来自列表更新单元的所述 ORF列表, 根据 更新的 ORF列表中的出路由过滤条件, 向所述接收端发送所述下一跳路 由信息。  And a second sending unit, configured to receive the ORF list from the list updating unit, and send the next hop information to the receiving end according to the outbound routing filtering condition in the updated ORF list.
PCT/CN2007/070729 2006-09-27 2007-09-19 The method and device for outbound route filter based on bgp Ceased WO2008040240A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200610062888.7 2006-09-27
CN2006100628887A CN101155175B (en) 2006-09-27 2006-09-27 Method and device for routing filter based on BGP protocol

Publications (1)

Publication Number Publication Date
WO2008040240A1 true WO2008040240A1 (en) 2008-04-10

Family

ID=39256612

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070729 Ceased WO2008040240A1 (en) 2006-09-27 2007-09-19 The method and device for outbound route filter based on bgp

Country Status (2)

Country Link
CN (1) CN101155175B (en)
WO (1) WO2008040240A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166868A (en) * 2013-03-04 2013-06-19 杭州华三通信技术有限公司 Method and device for preventing neighbor shock
CN107547381A (en) * 2017-05-17 2018-01-05 新华三技术有限公司 A kind of ORF treating method and apparatus
US20250350550A1 (en) * 2024-05-10 2025-11-13 Ciena Corporation Automated ORF propagation in BGP networks

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425975B (en) * 2008-11-21 2010-12-08 中国移动通信集团广东有限公司 A method of load balancing IP backbone network traffic based on BGP virtual next hop
WO2011003238A1 (en) * 2009-07-09 2011-01-13 华为技术有限公司 Request, advertisement method for route, communication device and system
CN101651624B (en) * 2009-09-11 2012-09-26 杭州华三通信技术有限公司 Route issuing method and device
CN101674245B (en) * 2009-10-10 2012-06-06 华为技术有限公司 Exit port route filtering method and device
CN102447605A (en) * 2010-09-30 2012-05-09 华为技术有限公司 A method for requesting to obtain routing information and corresponding routing equipment
CN102611632A (en) * 2012-04-12 2012-07-25 福建星网锐捷网络有限公司 VPLS (Virtual Private LAN Service) output route filtering method and device based on BGP (Border Gateway Protocol)
CN102957610B (en) * 2012-12-03 2016-03-02 杭州华三通信技术有限公司 Route processing method and routing forwarding equipment
CN105337870B (en) * 2014-08-15 2018-11-27 新华三技术有限公司 A kind of route issuing method and device
CN106161226B (en) * 2015-03-23 2019-06-11 华为技术有限公司 Method and apparatus for sending and receiving stream specification rules
CN105991441B (en) * 2015-03-24 2019-08-06 杭州迪普科技股份有限公司 The method and apparatus that route forwarding table is issued to BGP Route Selection
CN108092916A (en) * 2016-11-21 2018-05-29 中兴通讯股份有限公司 A kind of method, apparatus and routing device of control terminal network data
CN107547411B (en) * 2017-06-30 2021-01-08 新华三技术有限公司 Route processing method and device, electronic equipment and machine-readable storage medium
CN110708207B (en) * 2018-12-24 2021-10-29 新华三技术有限公司 Route oscillation positioning method, server and machine readable storage medium
JP7703022B2 (en) * 2020-09-23 2025-07-04 華為技術有限公司 Packet transmission method and device
CN114465846A (en) * 2020-11-05 2022-05-10 中国电信股份有限公司 Routing entry forwarding control method, routing device, and communication system
CN119496734B (en) * 2023-08-21 2025-10-28 中国电信股份有限公司技术创新中心 Control method, network equipment and communication system for virtual private network route

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060075482A1 (en) * 2004-10-05 2006-04-06 Chandrashekhar Appanna Method and apparatus for preventing network reset attacks
CN1761244A (en) * 2005-11-11 2006-04-19 清华大学 Method for setting up notification function for route selection according to border gateway protocol

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7925766B2 (en) * 2004-02-18 2011-04-12 At&T Intellectual Property Ii, L.P. Method for distributed denial-of-service attack mitigation by selective black-holing in MPLS VPNS

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060075482A1 (en) * 2004-10-05 2006-04-06 Chandrashekhar Appanna Method and apparatus for preventing network reset attacks
CN1761244A (en) * 2005-11-11 2006-04-19 清华大学 Method for setting up notification function for route selection according to border gateway protocol

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CHEN R.: ""Introduction" section, "ORF" section, "Carrying ORF entries in BGP" section, "Cooperative Route Filtering Capability" section", COOPERATIVE ROUTE FILTERING CAPABILITY FOR BGP-4, DRSFT-IETF-IDR-ROUTE-FILTER-12.TXT, July 2005 (2005-07-01) *
CISCO SYSTEMS: ""Overview of Operations" section, "Capabilities Optional Parameter" section", CAPABILITIES ADVERTISEMENT WITH GBP-4, RFC 2842, May 2000 (2000-05-01) *
ZHU P. ET AL.: "A Systematic Approach and Efficient Tools for Inter-Domain Routing System Security", COMPUTER ENGINEERING & SCIENCE, vol. 28, no. 2, April 2006 (2006-04-01), pages 10 - 13 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166868A (en) * 2013-03-04 2013-06-19 杭州华三通信技术有限公司 Method and device for preventing neighbor shock
CN107547381A (en) * 2017-05-17 2018-01-05 新华三技术有限公司 A kind of ORF treating method and apparatus
CN107547381B (en) * 2017-05-17 2020-04-24 新华三技术有限公司 Method and device for processing outgoing direction route filtering ORF (open reading frame)
US20250350550A1 (en) * 2024-05-10 2025-11-13 Ciena Corporation Automated ORF propagation in BGP networks
US12489700B2 (en) * 2024-05-10 2025-12-02 Ciena Corporation Automated ORF propagation in BGP networks

Also Published As

Publication number Publication date
CN101155175A (en) 2008-04-02
CN101155175B (en) 2011-06-15

Similar Documents

Publication Publication Date Title
WO2008040240A1 (en) The method and device for outbound route filter based on bgp
CN102006676B (en) Network-based macromobility in cellular networks using extended routing protocols
EP1949611B1 (en) System and method for spanning tree cross routes
CN101394341B (en) Route maintaining method, system and apparatus
US7953103B2 (en) Multi-homing using controlled route leakage at a backup service provider
JP5231657B2 (en) Method and apparatus for forming, maintaining and / or using overlapping networks
WO2008031334A1 (en) Route updating method, system and router
CN102364977B (en) For running the method for the wireless interconnected data network with multiple network node
US9264971B2 (en) VPNv4 route control for LTE X2 son using unique route targets
US9398515B2 (en) VPNv4 route control for LTE X2 SON using import route maps and outbound route filtering
JP2018500828A (en) Reliable routing between communication network systems
CN101455030A (en) Dynamic shared risk node group (srng) membership discovery
JP2005130228A (en) Communication apparatus for performing path control between AS and path control method thereof
WO2011044828A1 (en) Method, device and system for route withdrawal
US20080101392A1 (en) Method and system for route updating
JP5147995B2 (en) Host identity protocol server address configuration
WO2013123862A1 (en) Method, device, and system for storing and transmitting mac address entry
US20150109955A1 (en) X2 son for lte networks through automated x2 address discovery
WO2014173066A1 (en) Method and system for forwarding information in distributed network
CN105830500A (en) Topology discovery based on sctp/x2 snooping
CN114301824A (en) Border Gateway Protocol Neighbor Discovery in Multiple Access Networks
JP2022052741A (en) Target neighbor search for boundary gateway protocol
WO2007041926A1 (en) A method and network appratus for processing the bgp route’s next hop change
WO2009076848A1 (en) A method and device of automatic topology discovery and resource management in the pbb network
CN110430088B (en) A method for neighbor node discovery and automatic connection establishment in NDN network

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

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

Country of ref document: EP

Kind code of ref document: A1