WO2013029393A1 - Routing information notification method and device - Google Patents

Routing information notification method and device Download PDF

Info

Publication number
WO2013029393A1
WO2013029393A1 PCT/CN2012/075584 CN2012075584W WO2013029393A1 WO 2013029393 A1 WO2013029393 A1 WO 2013029393A1 CN 2012075584 W CN2012075584 W CN 2012075584W WO 2013029393 A1 WO2013029393 A1 WO 2013029393A1
Authority
WO
WIPO (PCT)
Prior art keywords
route
routing
prefix
update message
advertised
Prior art date
Application number
PCT/CN2012/075584
Other languages
French (fr)
Chinese (zh)
Inventor
成黎
孙默
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013029393A1 publication Critical patent/WO2013029393A1/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

Definitions

  • the present invention relates to the field of mobile communications and the Internet, and in particular, to a routing information notification method and apparatus.
  • the routing device completes the addressing and forwarding of data by searching the routing table and matching the routing entries.
  • the routing table includes a Routing Information Base (RIB) and a Forwarding Information Base (FIB).
  • RDB Routing Information Base
  • FIB Forwarding Information Base
  • the impact of the rapid growth of routes in a communication network includes: On the one hand, it is necessary to increase the storage capacity of the routing table in the routing device, and the cost increases; on the other hand, the number of routes in the network is large, and the route convergence is slow, affecting the entire communication network. Work efficiency.
  • RIB tables are large in size and are not directly used for data forwarding.
  • Rigabytes are often used in routing devices to store RIB information in high-capacity, low-cost, slow-speed hardware.
  • FIB tables are usually stored in hardware devices with high price, fast speed and small capacity. Therefore, from the perspective of cost, the solution to the FIB table capacity problem is more urgent.
  • a related scheme (Visual Aggregation, VA for short) is proposed in the related art, as shown in FIG. 1 .
  • the specific process is to divide the routing information according to the prefix.
  • the routing distributions of the different prefixes are stored in the FIBs of the Aggregation Point Router (APR).
  • the aggregation point routing device aggregates the prefixes that are loaded into a Virtual Prefix (VP) route, and advertises the virtual prefix route as a common route through the BGP (Border Gateway Protocol) routing device.
  • Each routing device in the network performs route calculation according to the existing BGP routing rules, and saves the calculated optimal BGP route in the RIB.
  • the aggregation point routing device When performing FIB loading, the aggregation point routing device loads the prefix (sub-prefix) route of its aggregated prefix block.
  • the non-aggregation point routing device In the FIB, the non-aggregation point routing device (non-APR) only needs to load the virtual prefix route into the FIB, and does not need to load the prefix route covered by the virtual prefix, thereby compressing the FIB and reducing the FIB storage capacity in the routing table.
  • FIG. 2 In the related art, in order to implement automatic installation of routing information by the routing device in the domain, an automatic configuration scheme is proposed, as shown in FIG. 2, which specifically includes the following two aspects:
  • the first is the release of routing information.
  • the selected Autonomous System Border Router (ASBR) is set as the tagging router.
  • the marking router advertises the routing update packet
  • the device adds the suppression flag to the routing update packet of the VP range that is over the prefix in the virtual prefix range to implement the FIB suppression installation of the routing device in the autonomous domain.
  • the specific implementation manner includes: performing a FIB-loaded prefix route (such as a client prefix, a high-traffic prefix, etc.) for all routing devices in the domain, according to a network configuration policy that does not cover a route, a virtual prefix route, and a virtual prefix coverage in the VP range.
  • a FIB-loaded prefix route such as a client prefix, a high-traffic prefix, etc.
  • routing information with suppression flags does not need to be loaded into the FIB, and routes without suppression flags must be FIB loaded.
  • routing device if the FIB is loaded with a route with no suppression flag, if the route prefix is the prefix route covered by the aggregated prefix block, even if the route is suppressed, it must be loaded into the FIB. Summary of the invention
  • the marking router does not perform special marking when issuing the virtual prefix update packet, and the intra-domain routing device cannot distinguish the virtual prefix route when performing routing loading. If the routing information of the prefix prefixed by the virtual prefix is not loaded in the FIB of the routing device, the routing device cannot continue to perform data forwarding.
  • the technical problem to be solved by the present invention is to provide a routing information notification method and device, so that the intra-domain routing device can identify the invalid virtual prefix route, thereby performing route search and recovery. Processing operations.
  • the present invention provides a method for advertising routing information, including: when a marking router in a virtual aggregation network issues a normal routing update message, the routing update message to be advertised is performed according to the type of the routing prefix. Mark:
  • the route to the virtual prefix (VP) in the autonomous domain to be advertised is hereinafter referred to as a type of route, and an installation flag is added in the route update message;
  • the non-aggregation point routing device does not need to forward the prefix loaded by the information base (FIB) in the virtual prefix range (VP range), which is hereinafter referred to as the three types of routes, and the routing update message is used in the routing update message. .
  • FIB information base
  • VP range virtual prefix range
  • the method further includes: a prefix route that does not cover the prefix route in the VP range, and the FIB installation is required for all routing devices in the autonomous domain according to the policy that is covered in the VP range, and is called a type 2 route, and is required according to the type of the route prefix.
  • a prefix route that does not cover the prefix route in the VP range and the FIB installation is required for all routing devices in the autonomous domain according to the policy that is covered in the VP range, and is called a type 2 route, and is required according to the type of the route prefix.
  • the routing device in the autonomous domain receives the route update message, and when the route updated in the route update message is the best route, determines whether to perform FIB loading of the route information according to the flag in the route update message:
  • the routing information is loaded into the FIB.
  • the routing device is an aggregation point routing device of the route, and if yes, the routing information must be loaded into the FIB. Otherwise, the routing information does not need to be performed. FIB loading of routing information.
  • the method further includes: when the marking router determines that the route corresponding to the virtual prefix in the autonomous domain is invalid according to the installation marking corresponding to the route, performing the following processing:
  • the specific routing update packet of the three types of routes is advertised.
  • the specific routing update packet of the three types of routes is: the routing update packet of the three types of routes is advertised, and the routing update packet is not added. Force 4 can only show itself.
  • the method further includes: when the non-marking router determines that the route corresponding to the virtual prefix in the autonomous domain is invalid according to the installation mark corresponding to the route, performing the following processing:
  • the route failure refers to that the routing of the virtual prefix loaded by the FIB in the routing device is lost.
  • the marking router determines that there is a virtual prefix route that is invalid, when the normal routing update of the three types of routes is issued, the virtual prefix information in the invalidation record is matched to determine the route to be advertised. Whether the prefix of the update packet overwritten in the VP range is overwritten in the expired virtual prefix:
  • the specific route update message of the three types of routes is advertised;
  • the specific route update message of the three types of routes is: the route update message of the three types of routes is advertised, and no mark is added in the route update message;
  • the normal route update packet of the three types of routes is advertised, that is, the suppression flag is added to the route update packet.
  • the method further includes:
  • the marking router determines that there is a virtual route prefix that is invalid, when the routing update message of the type of route is advertised, the virtual prefix information in the invalidation record is matched to determine a class of the routing update message to be advertised. Whether the virtual prefix corresponding to the route is a failed virtual prefix: If yes, the invalidation record of the invalid virtual prefix is deleted, and the normal routing update packet of the one type of route is advertised, that is, in the advertised route update packet. Adding the installation flag; at the same time, publishing the normal routing update message of the three types of routes that are covered in the expired virtual prefix, that is, adding the suppression flag to the advertised route update; otherwise, publishing the normal type of the route Route update message, that is, add an installation tag to the advertised route update message.
  • the pair of routes adds an installation tag to the routing update message
  • the boundary gateway protocol (BGP) extension attribute of the intra-domain transmission is registered by the Internet Digital Assignment Structure (IANA).
  • the invention also provides a routing information notification device, which is applied to a routing arrangement of a virtual convergence network
  • the device includes: a classification marking module and a message sending module,
  • the classification marking module is configured to: classify the routes according to the type of the routing prefix as follows:
  • the routing of the virtual prefix in the autonomous domain is called a type of routing; the routing of the device in the VP range and the non-aggregating point does not require FIB loading.
  • the route of the prefix is called the three types of routes; and the normal route update message to be advertised is marked as follows according to the classification, and then sent to the message sending module: For a type of route, added in the route update message Install the tag; for the three types of routes, add a suppression flag to the route update message;
  • the packet sending module is configured to: send a routing update message.
  • the device further includes a message receiving module,
  • the message receiving module is configured to: receive a routing update.
  • the classification marking module is further configured to: perform a FIB installation prefix route for all routing devices in the autonomous domain, and a second type of routing according to a prefix route that does not cover the VP range and a policy that is covered in the VP range;
  • the type of the route prefix marks the route update message to be advertised, no tag is added to the type 2 route.
  • the device further includes an FIB loading module, where the FIB loading module is configured to: determine whether the updated route in the received routing update message is an optimal route, and if yes, update the packet according to the routing
  • the flag determines whether to perform the FIB loading of the routing information: If the marking is not added in the routing update message, or the routing update is added to the routing update, the routing information is loaded into the FIB; if the routing update message is added
  • the suppression flag is used to determine whether the routing device is an aggregation point routing device of the route. If yes, the routing information must be loaded into the FIB. Otherwise, the FIB loading of the routing information is not required.
  • the device further includes a failure processing module, wherein the failure processing module is respectively connected to the FIB loading module and the classification marking module, and the failure processing module is configured to: determine the autonomous domain according to the installation marking corresponding to the route If the route corresponding to the virtual prefix is invalid, determine whether the routing device is a tagged router: If the routing device is a tagged router, record the invalid virtual prefix information, and find the three types of routes in the RIB table that are covered in the invalid virtual prefix.
  • the failure processing module is respectively connected to the FIB loading module and the classification marking module, and the failure processing module is configured to: determine the autonomous domain according to the installation marking corresponding to the route If the route corresponding to the virtual prefix is invalid, determine whether the routing device is a tagged router: If the routing device is a tagged router, record the invalid virtual prefix information, and find the three types of routes in the RIB table that are covered in the invalid virtual prefix.
  • the routing failure means that the route of the virtual prefix loaded by the FIB in the routing device is out of preference, and the FIB loading module is further configured to: load the three types of routes found by the failure processing module into the FIB.
  • the classification marking module is further configured to: advertise a specific routing update message of the three types of routes loaded by the invalidation processing module according to the notification of the failure processing module, that is, no adding any routing update message The flag is sent to the message sending module for transmission.
  • the classification marking module is further configured to: if there is a virtual route prefix that is invalid, when the normal routing update of the three types of routes is issued, the virtual prefix information in the invalidation record is matched to determine Whether the prefix overwritten in the VP range of the route update message to be advertised is overwritten in the expired virtual prefix:
  • the specific routing update message of the three types of routes is advertised, that is, no label is added to the routing update message, and sent to the packet sending module for sending;
  • the normal route update message of the three types of routes is advertised, that is, the suppression flag is added to the route update message, and sent to the message sending module for transmission.
  • the classification marking module is further configured to: if there is a virtual route prefix that is invalid, when the routing update message of the type of route is advertised, the virtual prefix information in the invalidation record is matched to determine the route to be advertised. Whether the virtual prefix corresponding to a type of route that updates the packet is a failed virtual prefix:
  • the packet is sent to the packet.
  • the sending module sends the packet, and the normal routing update packet of the three types of routes that are in the expired virtual prefix is advertised, that is, after the suppression flag is added to the advertised routing update packet, the packet is sent to the packet sending module.
  • the normal routing update message of the type of route is advertised, that is, after the installation tag is added to the advertised route update message, the message is sent to the message sending module for sending.
  • the classification marking module is further configured to: the pair of routes in the routing update message Adding an installation tag is implemented by registering a Border Gateway Protocol (BGP) extension attribute for intra-domain transport to the Internet Digital Assignment Structure (IANA).
  • BGP Border Gateway Protocol
  • the marking router when the route is automatically installed in the virtual aggregation scheme, the marking router performs special identification on the virtual prefix route, so that in the case that the virtual prefix route in the domain fails, the intra-domain router can identify the failed route according to the identifier. Route the virtual prefix and install the corresponding detailed prefix route to continue data forwarding. This reduces the impact of virtual prefix routing failure on data forwarding.
  • Figure 1 is a schematic diagram of virtual aggregation network deployment
  • Figure 2 is a schematic diagram of automatic route installation and deployment in an autonomous domain
  • FIG. 3 is a schematic diagram of a classification mark of a routing update message by a marking router according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a processing flow of an update packet by a routing device in an autonomous domain according to an embodiment of the present invention
  • 5a is a schematic diagram of a processing flow of a non-marker routing device in an autonomous domain when a virtual prefix corresponding route fails in an embodiment of the present invention
  • FIG. 5b is a schematic diagram of a processing flow of a tag routing device in an autonomous domain when a virtual prefix corresponding route fails;
  • 6a is a schematic diagram of a processing flow for an in-domain marking router to issue a type of routing update message in the case that the virtual prefix routing fails in the embodiment of the present invention
  • FIG. 6b is a schematic diagram of a processing flow of an update message of a type 3 route issued by a labeling router in a domain in the case of a virtual prefix routing failure according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a routing information notification apparatus according to an embodiment of the present invention. Preferred embodiment of the invention
  • the present embodiment provides a method for advertising routing information.
  • the marking router performs special identification on the virtual prefix route. If the virtual prefix routing fails in the domain, the intra-domain router can identify the label according to the label. The invalid route is a virtual prefix route, and the route of the prefix covered by the virtual prefix is installed, and the data forwarding is continued to reduce the impact of the virtual prefix route failure on data forwarding.
  • the routing information advertisement method uses the following technical solution: Before marking the update message, the marking router first performs type determination on the route to be advertised according to the type of the route prefix, and marks the route according to the route type.
  • the route update packet includes: a route to a virtual prefix (VP) in the autonomous domain to be advertised, and an installation flag is added to the route update packet;
  • VP virtual prefix
  • a suppression flag is added to the route update message for the route to be advertised that is over the virtual prefix range (VP range) and the non-aggregation point routing device does not need the FIB-loaded prefix.
  • the marking router may determine that the route corresponding to the virtual prefix in the autonomous domain is invalid according to the installation flag corresponding to the route, and further perform subsequent processing operations such as searching and recovering the invalid route.
  • the marking router distinguishes the normal distribution (which is different from the specific routing update message corresponding to the invalid virtual prefix below.
  • the marking router other than the specific routing update message is publishing the update message.
  • the type of the route is judged according to the type of the route prefix, and the update packet is marked according to the route type.
  • the route is classified into the following three types according to the type of the route prefix:
  • Type 2 route Does not override the prefix route in the VP range and the basis of the coverage in the VP range.
  • the policy requires prefix routing (such as client routing prefix, high traffic special prefix, etc.) for all routing devices in the autonomous domain to perform FIB installation.
  • the three types of routes are covered in the VP range.
  • the non-aggregation point routing device in the autonomous domain does not need to perform FIB-loaded prefix routing.
  • the tag router When the update packet is issued, the tag router performs different tag processing on the update packets of different types of routes. As shown in Figure 3, the process flow is described as follows:
  • Step 301 The route type is determined to be a type of route, and when the marking router issues the corresponding update message, the installation mark is added (for example, the Internet Assigned Numbers Authority (IANA) can be registered with a border gateway protocol for intra-domain transmission ( Border Gateway Protocol, BGP) extended attributes to add this tag);
  • IANA Internet Assigned Numbers Authority
  • BGP Border Gateway Protocol
  • Step 302 The route type is determined to be a type 2 route, and when the labeling router issues the corresponding update message, it does not add any p;
  • Step 303 The route type is determined to be three types of routes.
  • the suppression flag is added (for example, the BGP extended attribute transmitted in a domain may be registered to add the tag).
  • the intra-domain routing devices here include tagged routers and untagged router devices within the domain. As shown in Figure 4, when the intra-domain routing device receives the update packet, the processing flow is as follows:
  • Step 401 The routing device receives the routing update packet.
  • Step 402 The routing device determines whether the updated route is the best route. If not, the process ends; if yes, go to step 403.
  • Step 403 The routing device identifies the packet type according to the tag added in the update packet. If the packet is a type 1 or a type 2 route, the route information is directly loaded in the FIB. If the message is a type 3 route, the process proceeds to step 404.
  • Step 404 The routing device determines whether it is an aggregation node of the routing prefix in the update packet. If yes, the corresponding three types of routes are loaded into the FIB; if not, the FIB loading of the route is not required.
  • This embodiment describes the processing flow of the intra-domain routing device when the virtual prefix route fails.
  • the processing flow of the untagged routing device in the autonomous domain and the processing flow of the tag routing device correspond to FIG. 5a and FIG. 5b, respectively.
  • Step 501 According to the installation mark corresponding to the virtual prefix route, the non-marker routing device determines that the route corresponding to a virtual prefix in the domain is invalid. (The route is invalid, and the virtual prefix route loaded by the FIB in the routing device is invalid, and the route is not found after convergence. Other routing information corresponding to the virtual prefix)
  • Step 502 The non-marking routing device searches for three types of routes in the RIB table according to the suppression flag, matches the invalid virtual prefix information, and searches for three types of routes that are covered in the virtual prefix, that is, virtual prefix coverage. Routing information for the prefix;
  • Step 503 The non-tagged routing device loads the three types of routes found in step 502 into the FIB.
  • Step 504 According to the mark corresponding to the virtual prefix route, the marking routing device determines that the route corresponding to a virtual prefix in the domain is invalid (the route is invalid, and the virtual prefix route loaded by the FIB in the routing device is invalid, and the virtual channel is not found after the route is converged. Other routing information corresponding to the prefix);
  • Step 505 Mark the routing device to record the invalid virtual prefix information
  • Step 506 The marking router searches for three types of routes that are covered under the invalid prefix according to the suppression flag, and loads the routes into the FIB table.
  • Step 507 The marking router issues a specific routing update of the three types of routes corresponding to the invalid prefix, and advertises the three types of routes loaded in the 506, and does not add any markings in the update (the same as the advertising mode of the second-class routing).
  • This example describes the process of marking an update packet in the intra-domain tagged router when the virtual prefix route fails.
  • Tag routers divide routes into three types. Where the second type of route is not virtual The prefix invalidation effect is affected. Therefore, under the premise that the virtual prefix fails, the second-layer routing update message publishing process of the marking router does not change.
  • the update message issuance flow of one type of route and three types of routes respectively corresponds to FIG. 6a and FIG. 6b.
  • Step 601 The marking router classifies the routes that need to be updated, and determines that the routes that need to be updated are three types of routes.
  • Step 602 There is currently a failed virtual prefix, that is, the invalidation record is not empty.
  • the marking router matches the virtual prefix information in the invalidation record, and determines whether the three types of routes to be advertised are overwritten in the invalid virtual prefix. If the three types of routes are in the invalid virtual prefix, step 603 is performed; if the three types of routes are not covered, the failure is invalid. In the virtual prefix, step 604 is performed.
  • Step 603 Publish a specific routing update packet that covers the three types of routes under the invalid prefix, that is, no label is added in the routing update packet.
  • Step 604 Publish the normal routing update ⁇ , add the suppression flag.
  • Step 605 The marking router determines that the route that needs to issue the update packet is a type of route.
  • Step 606 Match the virtual prefix information in the invalid record to determine whether the virtual prefix corresponding to the one type of route is a virtual virtual prefix; if yes, execute Step 608; Otherwise, step 607 is performed;
  • Step 607 If the invalid virtual prefix is not matched, the normal routing update message of the type of route with the expired prefix is issued, and the installation flag is added in the routing update message;
  • Step 608 If the invalid virtual prefix is matched, that is, the virtual virtual prefix in the domain is restored, the virtual prefix information in the invalidation record is deleted, and the process proceeds to step 609;
  • Step 609 Publish a normal routing update of a type of route of the invalid virtual prefix, and add an installation flag in the routing update.
  • Step 610 The normal routing update packet of the three types of routes covered by the invalid virtual prefix is advertised, that is, the suppression flag is added to the routing update packet.
  • the embodiment of the present invention provides a routing information notification apparatus, which is applied to a routing device of a virtual aggregation network, and the apparatus mainly includes:
  • the classification tag module is configured to: classify the route according to the type of the route prefix:
  • the route to the virtual prefix in the autonomous domain is called a type of route; the route device that is covered in the VP range and the non-aggregation point does not need FIB loading.
  • the route of the prefix is called the three types of routes; and the normal route update message to be advertised is marked as follows according to the classification, and then sent to the packet sending module for sending: For a type of route, the route update message is added. Install the tag; for the three types of routes, add a suppression flag in the route update message;
  • the message sending module is configured to send a route update message.
  • the adding a type of route to the routing update message adds an installation tag to the Internet Digital Distribution Structure (IANA) to register a Border Gateway Protocol (BGP) extended attribute transmitted within the domain.
  • IANA Internet Digital Distribution Structure
  • BGP Border Gateway Protocol
  • the classification and marking module is further configured to: perform a FIB installation prefix route for the routing route that does not cover the VP range, and the routing policy that covers the VP range, and all the routing devices in the autonomous domain, and the second type of routing; When a type marks a route update message to be advertised, no tag is added to the type 2 route.
  • the device in this embodiment further includes a message receiving module and a FIB loading module, where: the message receiving module is configured to receive a routing update message;
  • the FIB loading module is configured to determine whether the updated route in the received routing update message is the best route, and if yes, determine whether to perform FIB loading of the routing information according to the mark in the route update message:
  • the routing information is loaded into the FIB.
  • the routing device is an aggregation point routing device of the route, and if yes, the routing information must be loaded into the FIB. Otherwise, the routing information does not need to be performed. FIB loading of routing information.
  • the device further includes a failure processing module, and the failure processing module is respectively connected to the FIB loading module and the classification marking module.
  • the failure processing module is mainly used to determine whether the routing device is a tagged router when the route corresponding to the virtual prefix in the autonomous domain is invalid according to the installation flag corresponding to the route:
  • the routing device is a tagged router
  • the invalid virtual prefix information is recorded, and the three types of routes that are covered in the invalid virtual prefix in the RIB table are searched, the FIB loading module is notified to load, and the classification tag module is notified. Three types of routes loaded;
  • the routing device If the routing device is a non-tagged router, it searches for three types of routes in the RIB table that are overwritten in the invalid virtual prefix, and notifies the FIB loading module to load.
  • the FIB loading module is used to load the three types of routes found by the failure processing module into the FIB.
  • the classification marking module is further configured to: according to the notification of the failure processing module, issue a specific routing update message of the three types of routes loaded by the invalidation processing module, that is, no label is added in the routing update message, and is sent to the packet sending module. send.
  • the classification marking module is further configured to: if a virtual routing route that is invalid is currently present, when the normal routing update of the three types of routes is issued, by matching the virtual prefix information in the invalidation record, Determine whether the prefix overwritten in the VP range of the route update packet to be advertised is overwritten in the invalid virtual prefix:
  • the specific routing update message of the three types of routes is advertised, that is, no label is added to the routing update message, and sent to the packet sending module for sending;
  • the normal route update message of the three types of routes is advertised, that is, the suppression flag is added to the route update message, and sent to the message sending module for transmission.
  • the classification marking module is further configured to: if there is a virtual prefix route that is invalid, when the routing update of the type of route is issued, the virtual prefix information in the invalidation record is matched, and the desired Whether the virtual prefix corresponding to a type of route that advertises routing update packets is a virtual prefix that is invalid:
  • the packet is sent to the packet.
  • the sending module sends the packet, and the normal routing update packet of the three types of routes that are in the expired virtual prefix is advertised, that is, after the suppression flag is added to the advertised routing update packet, the packet is sent to the packet sending module. send; Otherwise, the normal routing update message of the one type of route is advertised, that is, after the installation mark is added to the advertised route update message, the message is sent to the message sending module for sending.
  • routing information advertising apparatus of this embodiment may be applied to any routing device of the virtual aggregation network, including a marking router and a non-marking router, that is, the marking router or the non-marking router in the network has the same at this time.
  • the function may be applied to any routing device of the virtual aggregation network, including a marking router and a non-marking router, that is, the marking router or the non-marking router in the network has the same at this time. The function.
  • the functions of the marking router and the non-marking router may also be set differently.
  • the above-mentioned classification marking module may be configured only in the marking router, and the non-marking router may not configure the functional module.
  • the processing mechanism of the invalidation module of the tag router and the non-label router may also be different, such as the tag router will record the invalid virtual prefix information, the non-marker router does not need to record, and so on.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any particular combination of hardware and software.
  • the marking router when the route is automatically installed in the virtual aggregation scheme, the marking router performs special identification on the virtual prefix route. Therefore, in the case that the virtual prefix routing fails in the domain, the intra-domain router can identify the invalid route as virtual according to the identifier. Prefix routing, and install the corresponding detailed prefix route, continue data forwarding, and reduce the impact of virtual prefix routing failure on data forwarding.

Landscapes

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

Abstract

A routing information notification method and device. The method includes: when a tag router in a virtual aggregation network is publishing a normal routing update message, tagging the routing update message to be published according to the type of the routing prefix: for a VP routing in an autonomous domain to be published, adding an installation tag in the routing update message; and for a routing to be published which is covered within a VP range and a non-aggregation point routing device a prefix need not be loaded by a forwarding information base (FIB), adding a suppression tag in the routing update message. The method above enables an in-domain routing device to recognize a disabled visual prefix routing, thus routing search and recovery processing operations can be performed, data forwarding can be continued, reducing the effect on data forwarding due to virtual prefix routing disability.

Description

一种路由信息通告方法及装置  Routing information notification method and device
技术领域 Technical field
本发明涉及移动通讯领域和互联网领域, 尤其涉及一种路由信息通告方 法及装置。  The present invention relates to the field of mobile communications and the Internet, and in particular, to a routing information notification method and apparatus.
背景技术 Background technique
路由设备作为网络传输中的主要节点设备, 通过查找路由表、 匹配路由 表项来完成数据的寻址转发。 路由表包括路由信息库 (Routing Information Base, 简称 RIB )与转发信息库( Forwarding Information Base , 简称 FIB ) 。 近年来, 多归属网络和流量工程的广泛部署, 使得因特网路由数量增长迅速。 IPv4地址的告罄及 IPv6的渐进部署也是 DFZ ( Default Free Zone )路由表迅 猛增加的原因。 一个通信网络中路由的迅速增长所造成的影响包括: 一方面 需要扩大路由设备中路由表的存储容量, 成本上升; 另一方面, 网络中路由 数目较多, 路由收敛慢, 影响整个通信网络的工作效率。  As the primary node device in the network transmission, the routing device completes the addressing and forwarding of data by searching the routing table and matching the routing entries. The routing table includes a Routing Information Base (RIB) and a Forwarding Information Base (FIB). In recent years, the widespread deployment of multi-homed networks and traffic engineering has led to a rapid increase in the number of Internet routes. The warning of IPv4 addresses and the progressive deployment of IPv6 are also the reasons for the rapid increase in the DFZ (Default Free Zone) routing table. The impact of the rapid growth of routes in a communication network includes: On the one hand, it is necessary to increase the storage capacity of the routing table in the routing device, and the cost increases; on the other hand, the number of routes in the network is large, and the route convergence is slow, affecting the entire communication network. Work efficiency.
路由设备中釆用不同的硬件设备来存储不同的路由表。 RIB表的规模较 大, 不直接用于数据转发, 路由设备中通常釆用容量大、 价格较低、 速度较 慢的硬件来存储 RIB信息。 而为了保证数据的线速转发, FIB表则通常存储 在价格高、 速度快、 容量小的硬件设备中。 因此, 从成本角度来看, FIB表 容量问题的解决更为迫切。  Different hardware devices are used in the routing device to store different routing tables. RIB tables are large in size and are not directly used for data forwarding. Rigabytes are often used in routing devices to store RIB information in high-capacity, low-cost, slow-speed hardware. In order to ensure the wire-speed forwarding of data, FIB tables are usually stored in hardware devices with high price, fast speed and small capacity. Therefore, from the perspective of cost, the solution to the FIB table capacity problem is more urgent.
为解决 FIB表容量扩大的问题,相关技术中提出了一种虚拟汇聚 ( Visual Aggregation, 简称 VA )方案, 如图 1所示。 具体过程为, 将路由信息根据前 缀进行分块, 针对不同前缀分块的路由分布存储在自治域内一些被称为聚合 点路由设备(Aggregation Point Router, 简称 APR )的 FIB中。 聚合点路由设 备将自己所加载的前缀分块聚合为虚拟前缀( Virtual Prefix, 简称 VP )路由, 并将虚拟前缀路由作为普通路由通过 BGP ( Border Gateway Protocol, 边界网 关协议)路由设备发布出去。 网络中每个路由设备按照现有的 BGP选路规则 进行路由计算, 并将计算后的最佳 BGP路由保存在 RIB中。在进行 FIB加载 时, 聚合点路由设备将其聚合的前缀分块覆盖的前缀(sub-prefix )路由加载 到 FIB 中, 非聚合点路由设备 ( non-APR )只需将虚拟前缀路由加载到 FIB 中, 不需要加载虚拟前缀覆盖的前缀路由, 从而压缩 FIB, 降低路由表中的 FIB存储容量。 To solve the problem of capacity expansion of the FIB table, a related scheme (Visual Aggregation, VA for short) is proposed in the related art, as shown in FIG. 1 . The specific process is to divide the routing information according to the prefix. The routing distributions of the different prefixes are stored in the FIBs of the Aggregation Point Router (APR). The aggregation point routing device aggregates the prefixes that are loaded into a Virtual Prefix (VP) route, and advertises the virtual prefix route as a common route through the BGP (Border Gateway Protocol) routing device. Each routing device in the network performs route calculation according to the existing BGP routing rules, and saves the calculated optimal BGP route in the RIB. When performing FIB loading, the aggregation point routing device loads the prefix (sub-prefix) route of its aggregated prefix block. In the FIB, the non-aggregation point routing device (non-APR) only needs to load the virtual prefix route into the FIB, and does not need to load the prefix route covered by the virtual prefix, thereby compressing the FIB and reducing the FIB storage capacity in the routing table.
相关技术中, 为了实现域内路由设备对路由信息的自动安装, 提出了一 种自动配置方案, 如图 2所示, 具体包括如下两方面内容:  In the related art, in order to implement automatic installation of routing information by the routing device in the domain, an automatic configuration scheme is proposed, as shown in FIG. 2, which specifically includes the following two aspects:
一是路由信息的发布。 选定部分自治系统边界路由器 (Autonomous System Border Router, 简称 ASBR )设置为标记路由器(tagging router ) 。 在 标记路由器上配置虚拟前缀范围 (VP range ) , 指明地址空间中汇聚为虚拟 前缀的地址段。 标记路由器发布路由更新报文时, 通过对 VP range中覆盖在 虚拟前缀范围内的前缀的路由更新报文添加抑制标记, 来实现自治域内路由 设备的 FIB抑制安装。具体执行方式包括:对于不覆盖在 VP range内的路由、 虚拟前缀路由和虚拟前缀覆盖的依据网络配置策略需要域内所有路由设备进 行 FIB加载的前缀路由(如客户端前缀、 高流量前缀等), 发布更新^艮文时, 不进行标记; 对于 VP range中虚拟前缀覆盖的其他前缀的路由更新 文添加 二是路由信息的 FIB加载。 网络中的路由设备先选择最佳 BGP路由保存 在 RIB中, 再基于本地策略, 依据路由信息的标记进行 FIB加载。 对于非聚 合点路由设备, 带有抑制标记的路由信息不需要加载到 FIB中, 不带有抑制 标记的路由则必须进行 FIB加载。 对于聚合点路由设备, 除 FIB加载不带有 抑制标记的路由外, 若路由前缀为聚合的前缀分块覆盖的前缀路由, 即使该 路由进行了抑制标记 , 也必须加载到 FIB中。 发明内容  The first is the release of routing information. The selected Autonomous System Border Router (ASBR) is set as the tagging router. Configure the virtual prefix range (VP range) on the tag router to indicate the address segment in the address space that is aggregated as a virtual prefix. When the marking router advertises the routing update packet, the device adds the suppression flag to the routing update packet of the VP range that is over the prefix in the virtual prefix range to implement the FIB suppression installation of the routing device in the autonomous domain. The specific implementation manner includes: performing a FIB-loaded prefix route (such as a client prefix, a high-traffic prefix, etc.) for all routing devices in the domain, according to a network configuration policy that does not cover a route, a virtual prefix route, and a virtual prefix coverage in the VP range. When the update is issued, the flag is not marked; the route update text of the other prefix covered by the virtual prefix in the VP range is added by the FIB loading of the routing information. The routing device in the network selects the best BGP route to save in the RIB, and then based on the local policy, FIB loading is performed according to the marking of the routing information. For non-aggregation point routing devices, routing information with suppression flags does not need to be loaded into the FIB, and routes without suppression flags must be FIB loaded. For the aggregation point routing device, if the FIB is loaded with a route with no suppression flag, if the route prefix is the prefix route covered by the aggregated prefix block, even if the route is suppressed, it must be loaded into the FIB. Summary of the invention
相关技术中至少存在以下问题: 标记路由器在发布虚拟前缀更新报文时 未进行特殊标记, 域内路由设备进行路由加载时无法辨别虚拟前缀路由。 若 域内虚拟前缀路由失效, 路由设备 FIB中又未加载虚拟前缀覆盖的前缀的路 由信息, 则路由设备无法继续执行数据转发。  At least the following problems exist in the related art: The marking router does not perform special marking when issuing the virtual prefix update packet, and the intra-domain routing device cannot distinguish the virtual prefix route when performing routing loading. If the routing information of the prefix prefixed by the virtual prefix is not loaded in the FIB of the routing device, the routing device cannot continue to perform data forwarding.
本发明解决的技术问题是提供一种路由信息通告方法及装置, 使得域内 路由设备能够识别出失效的虚拟前缀路由, 从而可以进行路由的查找与恢复 处理操作。 The technical problem to be solved by the present invention is to provide a routing information notification method and device, so that the intra-domain routing device can identify the invalid virtual prefix route, thereby performing route search and recovery. Processing operations.
为解决上述技术问题, 本发明提供了一种路由信息通告方法, 包括: 虚拟汇聚网络中的标记路由器在发布正常的路由更新报文时, 根据路由 前缀的类型对所要发布的路由更新报文进行标记:  To solve the above technical problem, the present invention provides a method for advertising routing information, including: when a marking router in a virtual aggregation network issues a normal routing update message, the routing update message to be advertised is performed according to the type of the routing prefix. Mark:
对所要发布的自治域内的虚拟前缀 (VP)的路由, 以下称一类路由, 在路 由更新艮文中添加安装标记;  The route to the virtual prefix (VP) in the autonomous domain to be advertised is hereinafter referred to as a type of route, and an installation flag is added in the route update message;
对所要发布的覆盖在虚拟前缀范围 (VP range)内、非聚合点路由设备不需 要转发信息库 (FIB)加载的前缀的路由, 以下称三类路由, 在路由更新报文中 力口 p 己。  For the route to be advertised, the non-aggregation point routing device does not need to forward the prefix loaded by the information base (FIB) in the virtual prefix range (VP range), which is hereinafter referred to as the three types of routes, and the routing update message is used in the routing update message. .
优选地, 还包括: 对不覆盖在 VP range内的前缀路由、 覆盖在 VP range 内的依据策略需要自治域内所有路由设备进行 FIB安装的前缀路由, 称二类 路由, 根据路由前缀的类型对所要发布的路由更新报文进行标记时, 对所述 二类路由不添加任何标记。  Preferably, the method further includes: a prefix route that does not cover the prefix route in the VP range, and the FIB installation is required for all routing devices in the autonomous domain according to the policy that is covered in the VP range, and is called a type 2 route, and is required according to the type of the route prefix. When the advertised route update message is marked, no mark is added to the second type of route.
优选地, 自治域内的路由设备接收路由更新报文, 当所述路由更新报文 中更新的路由为最佳路由时, 根据所述路由更新报文中的标记判断是否执行 路由信息的 FIB加载:  Preferably, the routing device in the autonomous domain receives the route update message, and when the route updated in the route update message is the best route, determines whether to perform FIB loading of the route information according to the flag in the route update message:
若路由更新报文中未添加标记, 或者路由更新报文中添加了安装标记, 则将所述路由信息加载到 FIB中;  If the label is not added to the routing update packet, or the installation flag is added to the routing update packet, the routing information is loaded into the FIB.
若路由更新报文中添加了抑制标记, 则判断所述路由设备是否为所述路 由的聚合点路由设备, 如果是, 则必须将所述路由信息加载到 FIB中, 否则, 不需要进行所述路由信息的 FIB加载。  If the suppression flag is added to the routing update packet, it is determined whether the routing device is an aggregation point routing device of the route, and if yes, the routing information must be loaded into the FIB. Otherwise, the routing information does not need to be performed. FIB loading of routing information.
优选地, 所述方法还包括: 标记路由器根据路由对应的安装标记判断出 自治域内的虚拟前缀对应的路由失效时 , 进行如下处理:  Preferably, the method further includes: when the marking router determines that the route corresponding to the virtual prefix in the autonomous domain is invalid according to the installation marking corresponding to the route, performing the following processing:
记录失效的虚拟前缀信息;  Record invalid virtual prefix information;
查找路由信息库 (RIB)表中覆盖在失效的虚拟前缀内的三类路由, 并加载 到 FIB中;  Find three types of routes in the routing information base (RIB) table that are covered in the expired virtual prefix, and load them into the FIB;
发布所加载的三类路由的特定路由更新报文; 其中所述三类路由的特定 路由更新报文是指: 发布三类路由的路由更新报文, 且路由更新报文中不添 力口 4可才示 己。 The specific routing update packet of the three types of routes is advertised. The specific routing update packet of the three types of routes is: the routing update packet of the three types of routes is advertised, and the routing update packet is not added. Force 4 can only show itself.
优选地, 所述方法还包括: 非标记路由器根据路由对应的安装标记判断 出自治域内的虚拟前缀对应的路由失效时, 进行如下处理:  Preferably, the method further includes: when the non-marking router determines that the route corresponding to the virtual prefix in the autonomous domain is invalid according to the installation mark corresponding to the route, performing the following processing:
查找 RIB表中覆盖在失效的虚拟前缀内的三类路由, 加载到 FIB中。 优选地, 所述路由失效是指, 路由设备中 FIB加载的虚拟前缀的路由失  Look for the three types of routes in the RIB table that are covered in the expired virtual prefix and load them into the FIB. Preferably, the route failure refers to that the routing of the virtual prefix loaded by the FIB in the routing device is lost.
优选地, 如果所述标记路由器判断出当前存在失效的虚拟前缀路由, 则 在发布三类路由的正常的路由更新 4艮文时, 通过匹配所述失效记录中的虚拟 前缀信息, 判断所要发布路由更新报文的覆盖在 VP range内的前缀是否覆盖 在失效的虚拟前缀中: Preferably, if the marking router determines that there is a virtual prefix route that is invalid, when the normal routing update of the three types of routes is issued, the virtual prefix information in the invalidation record is matched to determine the route to be advertised. Whether the prefix of the update packet overwritten in the VP range is overwritten in the expired virtual prefix:
如果是, 则发布三类路由的特定路由更新报文; 所述三类路由的特定路 由更新报文是指: 发布三类路由的路由更新报文, 且路由更新报文中不添加 任何标记;  If yes, the specific route update message of the three types of routes is advertised; the specific route update message of the three types of routes is: the route update message of the three types of routes is advertised, and no mark is added in the route update message;
否则, 发布三类路由的正常的路由更新报文, 即在路由更新报文中添加 抑制标记。  Otherwise, the normal route update packet of the three types of routes is advertised, that is, the suppression flag is added to the route update packet.
优选地, 所述方法还包括:  Preferably, the method further includes:
如果所述标记路由器判断出当前存在失效的虚拟前缀路由, 则在发布一 类路由的路由更新报文时, 通过匹配所述失效记录中的虚拟前缀信息, 判断 所要发布路由更新报文的一类路由对应的虚拟前缀是否为失效的虚拟前缀: 如果是, 则删除所述失效的虚拟前缀的失效记录, 发布所述一类路由的 正常的路由更新报文, 即在发布的路由更新报文中添加安装标记; 同时, 发 布覆盖在失效的虚拟前缀内的三类路由的正常的路由更新报文, 即在发布的 路由更新^艮文中添加抑制标记; 否则, 发布所述一类路由的正常的路由更新 报文, 即在发布的路由更新报文中添加安装标记。  If the marking router determines that there is a virtual route prefix that is invalid, when the routing update message of the type of route is advertised, the virtual prefix information in the invalidation record is matched to determine a class of the routing update message to be advertised. Whether the virtual prefix corresponding to the route is a failed virtual prefix: If yes, the invalidation record of the invalid virtual prefix is deleted, and the normal routing update packet of the one type of route is advertised, that is, in the advertised route update packet. Adding the installation flag; at the same time, publishing the normal routing update message of the three types of routes that are covered in the expired virtual prefix, that is, adding the suppression flag to the advertised route update; otherwise, publishing the normal type of the route Route update message, that is, add an installation tag to the advertised route update message.
优选地, 所述对一类路由在路由更新 ^艮文中添加安装标记, 通过向互联 网数字分配结构(IANA )注册一个域内传输的边界网关协议(BGP )扩展属 性实现。  Preferably, the pair of routes adds an installation tag to the routing update message, and the boundary gateway protocol (BGP) extension attribute of the intra-domain transmission is registered by the Internet Digital Assignment Structure (IANA).
本发明还提供了一种路由信息通告装置, 应用于虚拟汇聚网络的路由设 备, 所述装置包括: 分类标记模块和报文发送模块, The invention also provides a routing information notification device, which is applied to a routing arrangement of a virtual convergence network The device includes: a classification marking module and a message sending module,
所述分类标记模块设置为: 根据路由前缀的类型对路由进行如下分类: 对自治域内的虚拟前缀的路由, 称为一类路由; 对覆盖在 VP range内、 非聚 合点路由设备不需要 FIB加载的前缀的路由, 称为三类路由; 并根据分类对 所要发布的正常的路由更新报文进行如下标记后,发送至所述报文发送模块: 对一类路由, 在路由更新报文中添加安装标记; 对三类路由, 在路由更新报 文中添加抑制标记;  The classification marking module is configured to: classify the routes according to the type of the routing prefix as follows: The routing of the virtual prefix in the autonomous domain is called a type of routing; the routing of the device in the VP range and the non-aggregating point does not require FIB loading. The route of the prefix is called the three types of routes; and the normal route update message to be advertised is marked as follows according to the classification, and then sent to the message sending module: For a type of route, added in the route update message Install the tag; for the three types of routes, add a suppression flag to the route update message;
所述报文发送模块设置为: 对路由更新报文进行发送。  The packet sending module is configured to: send a routing update message.
优选地, 所述装置还包括报文接收模块,  Preferably, the device further includes a message receiving module,
所述报文接收模块设置为: 接收路由更新 ^艮文。  The message receiving module is configured to: receive a routing update.
优选地, 所述分类标记模块还设置为: 对不覆盖在 VP range内的前缀路 由、 覆盖在 VP range内的依据策略需要自治域内所有路由设备进行 FIB安装 的前缀路由, 称二类路由; 根据路由前缀的类型对所要发布的路由更新报文 进行标记时 , 对所述二类路由不添加任何标记。  Preferably, the classification marking module is further configured to: perform a FIB installation prefix route for all routing devices in the autonomous domain, and a second type of routing according to a prefix route that does not cover the VP range and a policy that is covered in the VP range; When the type of the route prefix marks the route update message to be advertised, no tag is added to the type 2 route.
优选地, 所述装置还包括 FIB加载模块, 所述 FIB加载模块设置为: 判 断接收到的路由更新报文中更新的路由是否为最佳路由, 如果是, 则根据所 述路由更新报文中的标记判断是否执行路由信息的 FIB加载: 若路由更新报 文中未添加标记, 或者路由更新 ^艮文中添加了安装标记, 则将所述路由信息 加载到 FIB中; 若路由更新报文中添加了抑制标记, 则判断所述路由设备是 否为所述路由的聚合点路由设备,如果是,则必须将所述路由信息加载到 FIB 中, 否则, 不需要进行所述路由信息的 FIB加载。  Preferably, the device further includes an FIB loading module, where the FIB loading module is configured to: determine whether the updated route in the received routing update message is an optimal route, and if yes, update the packet according to the routing The flag determines whether to perform the FIB loading of the routing information: If the marking is not added in the routing update message, or the routing update is added to the routing update, the routing information is loaded into the FIB; if the routing update message is added The suppression flag is used to determine whether the routing device is an aggregation point routing device of the route. If yes, the routing information must be loaded into the FIB. Otherwise, the FIB loading of the routing information is not required.
优选地, 所述装置还包括失效处理模块, 所述失效处理模块分别与所述 FIB加载模块及所述分类标记模块相连, 所述失效处理模块设置为: 根据路 由对应的安装标记判断出自治域内的虚拟前缀对应的路由失效时, 判断本路 由设备是否为标记路由器: 如果本路由设备是标记路由器, 则记录失效的虚 拟前缀信息, 查找 RIB表中覆盖在失效的虚拟前缀内的三类路由, 通知所述 FIB加载模块进行加载, 并通知所述分类标记模块发布所加载的三类路由; 如果本路由设备是非标记路由器, 则查找 RIB表中覆盖在失效的虚拟前缀内 的三类路由, 并通知所述 FIB加载模块进行加载。 Preferably, the device further includes a failure processing module, wherein the failure processing module is respectively connected to the FIB loading module and the classification marking module, and the failure processing module is configured to: determine the autonomous domain according to the installation marking corresponding to the route If the route corresponding to the virtual prefix is invalid, determine whether the routing device is a tagged router: If the routing device is a tagged router, record the invalid virtual prefix information, and find the three types of routes in the RIB table that are covered in the invalid virtual prefix. Notifying the FIB loading module to load, and notifying the classification marking module to release the loaded three types of routes; if the routing device is a non-labeling router, searching for the RIB table is covered by the invalid virtual prefix The three types of routes, and notify the FIB load module to load.
优选地, 所述路由失效是指, 路由设备中 FIB加载的虚拟前缀的路由失 优选地, 所述 FIB加载模块还设置为: 将失效处理模块查找到的三类路 由加载到 FIB中。  Preferably, the routing failure means that the route of the virtual prefix loaded by the FIB in the routing device is out of preference, and the FIB loading module is further configured to: load the three types of routes found by the failure processing module into the FIB.
优选地, 所述分类标记模块还设置为: 根据所述失效处理模块的通知, 发布所述失效处理模块所加载的三类路由的特定路由更新报文, 即在路由更 新报文中不添加任何标记, 发送至所述报文发送模块进行发送。  Preferably, the classification marking module is further configured to: advertise a specific routing update message of the three types of routes loaded by the invalidation processing module according to the notification of the failure processing module, that is, no adding any routing update message The flag is sent to the message sending module for transmission.
优选地, 所述分类标记模块还设置为: 如果当前存在失效的虚拟前缀路 由, 则在发布三类路由的正常的路由更新 4艮文时, 通过匹配所述失效记录中 的虚拟前缀信息, 判断所要发布路由更新报文的覆盖在 VP range内的前缀是 否覆盖在失效的虚拟前缀中:  Preferably, the classification marking module is further configured to: if there is a virtual route prefix that is invalid, when the normal routing update of the three types of routes is issued, the virtual prefix information in the invalidation record is matched to determine Whether the prefix overwritten in the VP range of the route update message to be advertised is overwritten in the expired virtual prefix:
如果是, 则发布三类路由的特定路由更新报文, 即在路由更新报文中不 添加任何标记, 发送至所述报文发送模块进行发送;  If yes, the specific routing update message of the three types of routes is advertised, that is, no label is added to the routing update message, and sent to the packet sending module for sending;
否则, 发布三类路由的正常的路由更新报文, 即在路由更新报文中添加 抑制标记, 发送至所述报文发送模块进行发送。  Otherwise, the normal route update message of the three types of routes is advertised, that is, the suppression flag is added to the route update message, and sent to the message sending module for transmission.
优选地, 所述分类标记模块还设置为: 如果当前存在失效的虚拟前缀路 由, 则在发布一类路由的路由更新报文时, 通过匹配所述失效记录中的虚拟 前缀信息, 判断所要发布路由更新报文的一类路由对应的虚拟前缀是否为失 效的虚拟前缀:  Preferably, the classification marking module is further configured to: if there is a virtual route prefix that is invalid, when the routing update message of the type of route is advertised, the virtual prefix information in the invalidation record is matched to determine the route to be advertised. Whether the virtual prefix corresponding to a type of route that updates the packet is a failed virtual prefix:
如果是, 则删除所述失效的虚拟前缀的失效记录, 并发布所述一类路由 的正常的路由更新报文, 即在发布的路由更新报文中添加安装标记后, 发送 至所述报文发送模块进行发送; 同时, 发布覆盖在失效的虚拟前缀内的三类 路由的正常的路由更新报文, 即在发布的路由更新报文中添加抑制标记后, 发送至所述报文发送模块进行发送;  If yes, the invalidation record of the expired virtual prefix is deleted, and the normal routing update packet of the one type of route is advertised, that is, after the installation tag is added to the advertised route update packet, the packet is sent to the packet. The sending module sends the packet, and the normal routing update packet of the three types of routes that are in the expired virtual prefix is advertised, that is, after the suppression flag is added to the advertised routing update packet, the packet is sent to the packet sending module. Send
否则, 发布所述一类路由的正常的路由更新报文, 即在发布的路由更新 报文中添加安装标记后, 发送至所述报文发送模块进行发送。  Otherwise, the normal routing update message of the type of route is advertised, that is, after the installation tag is added to the advertised route update message, the message is sent to the message sending module for sending.
优选地, 所述分类标记模块还设置为: 所述对一类路由在路由更新报文 中添加安装标记, 通过向互联网数字分配结构(IANA )注册一个域内传输的 边界网关协议(BGP )扩展属性实现。 Preferably, the classification marking module is further configured to: the pair of routes in the routing update message Adding an installation tag is implemented by registering a Border Gateway Protocol (BGP) extension attribute for intra-domain transport to the Internet Digital Assignment Structure (IANA).
釆用本发明实施例方法, 在虚拟汇聚方案中进行路由自动安装时, 标记 路由器对虚拟前缀路由进行特殊标识, 从而, 在域内虚拟前缀路由失效的情 况下, 域内路由器可根据标记辨识出失效路由为虚拟前缀路由, 并安装对应 详细前缀路由, 继续数据转发, 减小由于虚拟前缀路由失效对数据转发造成 的影响。 附图概述  In the method of the embodiment of the present invention, when the route is automatically installed in the virtual aggregation scheme, the marking router performs special identification on the virtual prefix route, so that in the case that the virtual prefix route in the domain fails, the intra-domain router can identify the failed route according to the identifier. Route the virtual prefix and install the corresponding detailed prefix route to continue data forwarding. This reduces the impact of virtual prefix routing failure on data forwarding. BRIEF abstract
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中:  The drawings are intended to provide a further understanding of the invention, and are intended to be illustrative of the invention. In the drawing:
图 1为虚拟汇聚网络部署示意图;  Figure 1 is a schematic diagram of virtual aggregation network deployment;
图 2为自治域内路由自动安装部署示意图;  Figure 2 is a schematic diagram of automatic route installation and deployment in an autonomous domain;
图 3为本发明实施例的标记路由器对路由更新报文的分类标记示意图; 图 4 为本发明实施例的自治域内路由设备对更新报文的处理流程示意 图;  3 is a schematic diagram of a classification mark of a routing update message by a marking router according to an embodiment of the present invention; FIG. 4 is a schematic diagram of a processing flow of an update packet by a routing device in an autonomous domain according to an embodiment of the present invention;
图 5a为本发明实施例的虚拟前缀对应路由失效时, 自治域内非标记路由 设备的处理流程示意图;  5a is a schematic diagram of a processing flow of a non-marker routing device in an autonomous domain when a virtual prefix corresponding route fails in an embodiment of the present invention;
图 5b为本发明实施例的虚拟前缀对应路由失效时, 自治域内标记路由设 备的处理流程示意图;  FIG. 5b is a schematic diagram of a processing flow of a tag routing device in an autonomous domain when a virtual prefix corresponding route fails;
图 6a为本发明实施例的虚拟前缀路由失效情况下,域内标记路由器发布 一类路由的更新报文的处理流程示意图;  6a is a schematic diagram of a processing flow for an in-domain marking router to issue a type of routing update message in the case that the virtual prefix routing fails in the embodiment of the present invention;
图 6b为本发明实施例的虚拟前缀路由失效情况下,域内标记路由器发布 三类路由的更新报文的处理流程示意图;  FIG. 6b is a schematic diagram of a processing flow of an update message of a type 3 route issued by a labeling router in a domain in the case of a virtual prefix routing failure according to an embodiment of the present invention;
图 7为本发明实施例的路由信息通告装置的示意图。 本发明的较佳实施方式 FIG. 7 is a schematic diagram of a routing information notification apparatus according to an embodiment of the present invention. Preferred embodiment of the invention
本实施方式提供一种路由信息的通告方法, 在虚拟汇聚方案中进行路由 自动安装时, 标记路由器对虚拟前缀路由进行特殊标识; 在域内虚拟前缀路 由失效的情况下, 域内路由器可根据标记辨识出失效路由为虚拟前缀路由, 并安装虚拟前缀覆盖的前缀的路由, 继续数据转发, 减小由于虚拟前缀路由 失效对数据转发造成的影响。  The present embodiment provides a method for advertising routing information. When a route is automatically installed in a virtual aggregation scheme, the marking router performs special identification on the virtual prefix route. If the virtual prefix routing fails in the domain, the intra-domain router can identify the label according to the label. The invalid route is a virtual prefix route, and the route of the prefix covered by the virtual prefix is installed, and the data forwarding is continued to reduce the impact of the virtual prefix route failure on data forwarding.
具体地, 本实施方式提供的路由信息通告方法, 釆用如下技术方案: 标记路由器在发布更新报文前, 首先根据路由前缀的类型, 对所要发布 的路由进行类型判断, 并根据路由类型来标记路由更新报文, 具体包括: 对所要发布的自治域内的虚拟前缀 (VP)的路由, 在路由更新报文中添加 安装标记;  Specifically, the routing information advertisement method provided in this embodiment uses the following technical solution: Before marking the update message, the marking router first performs type determination on the route to be advertised according to the type of the route prefix, and marks the route according to the route type. The route update packet includes: a route to a virtual prefix (VP) in the autonomous domain to be advertised, and an installation flag is added to the route update packet;
对所要发布的覆盖在虚拟前缀范围 (VP range)内、非聚合点路由设备不需 要 FIB加载的前缀的路由 , 在路由更新报文中添加抑制标记。  A suppression flag is added to the route update message for the route to be advertised that is over the virtual prefix range (VP range) and the non-aggregation point routing device does not need the FIB-loaded prefix.
进一步地, 标记路由器可以根据路由对应的安装标记判断出自治域内的 虚拟前缀对应的路由失效, 进而可以对失效的路由进行查找和恢复等后续处 理操作。  Further, the marking router may determine that the route corresponding to the virtual prefix in the autonomous domain is invalid according to the installation flag corresponding to the route, and further perform subsequent processing operations such as searching and recovering the invalid route.
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图 对本发明的实施例进行详细说明。 需要说明的是, 在不冲突的情况下, 本申 请中的实施例及实施例中的特征可以相互任意组合。  In order to make the objects, the technical solutions and the advantages of the present invention more clearly, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments of the present application may be arbitrarily combined with each other.
实施例一  Embodiment 1
本实施例描述了标记路由器对发布的正常的 (与下文中的失效虚拟前缀 对应的特定路由更新报文区分开, 本文中, 将除了特定路由更新报文之外的 标记路由器在发布更新报文前, 首先根据路由前缀的类型, 对路由进行类型 判断, 并根据路由类型来标记更新报文。 本实施例中, 根据路由前缀的类型 将路由分为如下三类:  This embodiment describes that the marking router distinguishes the normal distribution (which is different from the specific routing update message corresponding to the invalid virtual prefix below. In this paper, the marking router other than the specific routing update message is publishing the update message. Before, the type of the route is judged according to the type of the route prefix, and the update packet is marked according to the route type. In this embodiment, the route is classified into the following three types according to the type of the route prefix:
一类路由: 自治域内的虚拟前缀路由;  One type of route: virtual prefix route in the autonomous domain;
二类路由: 不覆盖在 VP range内的前缀路由、 覆盖在 VP range内的依据 策略需要自治域内所有路由设备进行 FIB安装的前缀路由 (如客户端路由前 缀、 高流量特殊前缀等。 ) Type 2 route: Does not override the prefix route in the VP range and the basis of the coverage in the VP range. The policy requires prefix routing (such as client routing prefix, high traffic special prefix, etc.) for all routing devices in the autonomous domain to perform FIB installation.
三类路由: 覆盖在 VP range内, 自治域内非聚合点路由设备不需要进行 FIB加载的前缀路由。  The three types of routes are covered in the VP range. The non-aggregation point routing device in the autonomous domain does not need to perform FIB-loaded prefix routing.
标记路由器在发布更新报文时, 对不同类型路由的更新报文进行不同的 标记处理。 如图 3所示, 处理流程描述如下:  When the update packet is issued, the tag router performs different tag processing on the update packets of different types of routes. As shown in Figure 3, the process flow is described as follows:
步骤 301 : 路由类型判断为一类路由, 标记路由器发布对应更新报文时, 添加安装标记(例如,可向互联网数字分配机构(the Internet Assigned Numbers Authority , IANA ) 注册一个域内传输的边界网关协议 (Border Gateway Protocol, BGP )扩展属性来添加该标记) ;  Step 301: The route type is determined to be a type of route, and when the marking router issues the corresponding update message, the installation mark is added (for example, the Internet Assigned Numbers Authority (IANA) can be registered with a border gateway protocol for intra-domain transmission ( Border Gateway Protocol, BGP) extended attributes to add this tag);
步骤 302: 路由类型判断为二类路由, 标记路由器发布对应更新报文时, 不添力 p任何标己;  Step 302: The route type is determined to be a type 2 route, and when the labeling router issues the corresponding update message, it does not add any p;
步骤 303: 路由类型判断为三类路由, 标记路由器发布对应更新报文时, 添加抑制标记 (例如, 可向 ΙΑΝΑ注册一个域内传输的 BGP扩展属性来添加 该标记) 。  Step 303: The route type is determined to be three types of routes. When the marking router issues the corresponding update message, the suppression flag is added (for example, the BGP extended attribute transmitted in a domain may be registered to add the tag).
实施例二  Embodiment 2
本实施例描述了域内路由设备对更新报文的处理流程。 此处的域内路由 设备包括域内的标记路由器与非标记路由器设备。 如图 4所示, 当域内路由 设备接收到更新报文时, 处理流程如下:  This embodiment describes the processing flow of the update packet in the intra-domain routing device. The intra-domain routing devices here include tagged routers and untagged router devices within the domain. As shown in Figure 4, when the intra-domain routing device receives the update packet, the processing flow is as follows:
步骤 401 : 路由设备接收到路由更新报文;  Step 401: The routing device receives the routing update packet.
步骤 402: 路由设备判断更新中的路由是否为最佳路由, 若不是, 流程 结束; 若是则转入步骤 403。  Step 402: The routing device determines whether the updated route is the best route. If not, the process ends; if yes, go to step 403.
步骤 403: 路由设备依据更新报文中添加的标记辨识报文类型。 若报文 为一类、 二类路由, 则路由信息直接加载在 FIB中; 若报文为三类路由, 则 转入步骤 404。  Step 403: The routing device identifies the packet type according to the tag added in the update packet. If the packet is a type 1 or a type 2 route, the route information is directly loaded in the FIB. If the message is a type 3 route, the process proceeds to step 404.
步骤 404: 路由设备判断自身是否为该更新报文中路由前缀的聚合节点, 若是, 则将对应的三类路由加载到 FIB中; 若不是, 则不需要进行路由的 FIB 加载。 实施例三 Step 404: The routing device determines whether it is an aggregation node of the routing prefix in the update packet. If yes, the corresponding three types of routes are loaded into the FIB; if not, the FIB loading of the route is not required. Embodiment 3
本实施例描述了虚拟前缀路由失效时, 域内路由设备的处理流程。 当某 个虚拟前缀路由失效时, 自治域内非标记路由设备的处理流程与标记路由设 备的处理流程分别对应于图 5a和图 5b。  This embodiment describes the processing flow of the intra-domain routing device when the virtual prefix route fails. When a virtual prefix route fails, the processing flow of the untagged routing device in the autonomous domain and the processing flow of the tag routing device correspond to FIG. 5a and FIG. 5b, respectively.
如图 5a所示, 域内非标记路由设备发现某虚拟前缀对应的路由失效时, 处理流程如下:  As shown in Figure 5a, when the untagged routing device in the domain finds that the route corresponding to a virtual prefix is invalid, the process is as follows:
步骤 501 : 依据虚拟前缀路由对应的安装标记, 非标记路由设备判断出 域内某虚拟前缀对应的路由失效(此处路由失效, 指路由设备中 FIB加载的 虚拟前缀路由失效, 且路由收敛后未发现该虚拟前缀对应的其他路由信息); 步骤 502: 非标记路由设备依据抑制标记查找 RIB表中的三类路由, 匹 配失效虚拟前缀信息, 寻找覆盖在虚拟前缀中的三类路由, 即虚拟前缀覆盖 的前缀的路由信息;  Step 501: According to the installation mark corresponding to the virtual prefix route, the non-marker routing device determines that the route corresponding to a virtual prefix in the domain is invalid. (The route is invalid, and the virtual prefix route loaded by the FIB in the routing device is invalid, and the route is not found after convergence. Other routing information corresponding to the virtual prefix) Step 502: The non-marking routing device searches for three types of routes in the RIB table according to the suppression flag, matches the invalid virtual prefix information, and searches for three types of routes that are covered in the virtual prefix, that is, virtual prefix coverage. Routing information for the prefix;
步骤 503: 非标记路由设备将步骤 502 中查找到的三类路由加载到 FIB 中。  Step 503: The non-tagged routing device loads the three types of routes found in step 502 into the FIB.
如图 5b所示, 域内标记路由设备发现某虚拟前缀对应的路由失效时, 处 理流程如下:  As shown in Figure 5b, when the intra-domain tag routing device finds that the route corresponding to a virtual prefix is invalid, the process is as follows:
步骤 504: 依据虚拟前缀路由对应的标记, 标记路由设备判断出域内某 虚拟前缀对应的路由失效(此处路由失效, 指路由设备中 FIB加载的虚拟前 缀路由失效, 且路由收敛后未发现该虚拟前缀对应的其他路由信息) ;  Step 504: According to the mark corresponding to the virtual prefix route, the marking routing device determines that the route corresponding to a virtual prefix in the domain is invalid (the route is invalid, and the virtual prefix route loaded by the FIB in the routing device is invalid, and the virtual channel is not found after the route is converged. Other routing information corresponding to the prefix);
步骤 505: 标记路由设备记录下失效的虚拟前缀信息;  Step 505: Mark the routing device to record the invalid virtual prefix information;
步骤 506: 标记路由器依据抑制标记查找覆盖在失效前缀下的三类路由, 并加载到 FIB表中;  Step 506: The marking router searches for three types of routes that are covered under the invalid prefix according to the suppression flag, and loads the routes into the FIB table.
步骤 507: 标记路由器发布失效前缀对应的三类路由的特定路由更新才艮 文, 通告 506中加载的三类路由, 且更新 ^艮文中不添加任何标记(与二类路 由的通告模式相同) 。  Step 507: The marking router issues a specific routing update of the three types of routes corresponding to the invalid prefix, and advertises the three types of routes loaded in the 506, and does not add any markings in the update (the same as the advertising mode of the second-class routing).
实施例四  Embodiment 4
本实施例描述了虚拟前缀路由失效情况下, 域内标记路由器发布更新报 文的处理流程。 标记路由器将路由分为三种类型。 其中, 二类路由不受虚拟 前缀失效影响, 因此域内存在虚拟前缀失效的前提下, 标记路由器的二类路 由更新报文发布流程不变。 一类路由与三类路由的更新报文发布流程分别对 应图 6a和图 6b。 This example describes the process of marking an update packet in the intra-domain tagged router when the virtual prefix route fails. Tag routers divide routes into three types. Where the second type of route is not virtual The prefix invalidation effect is affected. Therefore, under the premise that the virtual prefix fails, the second-layer routing update message publishing process of the marking router does not change. The update message issuance flow of one type of route and three types of routes respectively corresponds to FIG. 6a and FIG. 6b.
如图 6a所示, 虚拟前缀失效前提下, 三类路由更新报文的发布流程描述 如下:  As shown in Figure 6a, the process of publishing the three types of route update packets is as follows:
步骤 601 : 标记路由器对需要发布更新报文的路由进行分类, 判断出需 要发布更新报文的路由为三类路由;  Step 601: The marking router classifies the routes that need to be updated, and determines that the routes that need to be updated are three types of routes.
步骤 602: 当前存在失效虚拟前缀, 即失效记录不为空。 标记路由器匹 配失效记录中的虚拟前缀信息, 判断要通告的三类路由是否覆盖在失效虚拟 前缀中; 若三类路由覆盖在失效虚拟前缀中, 则执行步骤 603 ; 若三类路由 不覆盖在失效虚拟前缀中, 则执行步骤 604  Step 602: There is currently a failed virtual prefix, that is, the invalidation record is not empty. The marking router matches the virtual prefix information in the invalidation record, and determines whether the three types of routes to be advertised are overwritten in the invalid virtual prefix. If the three types of routes are in the invalid virtual prefix, step 603 is performed; if the three types of routes are not covered, the failure is invalid. In the virtual prefix, step 604 is performed.
步骤 603 : 发布覆盖在失效前缀下的三类路由的特定路由更新报文, 即 在路由更新报文不添加任何标记;  Step 603: Publish a specific routing update packet that covers the three types of routes under the invalid prefix, that is, no label is added in the routing update packet.
步骤 604: 发布正常的路由更新 ^艮文, 添加抑制标记。  Step 604: Publish the normal routing update ^艮, add the suppression flag.
如图 6b所示, 虚拟前缀失效前提下, 一类路由更新报文的发布流程描述 下:  As shown in Figure 6b, under the premise that the virtual prefix fails, the process of publishing a type of route update packet is as follows:
步骤 605: 标记路由器判断出需要发布更新报文的路由为一类路由; 步骤 606: 匹配失效记录中的虚拟前缀信息, 判断该一类路由对应的虚 拟前缀是否为失效虚拟前缀; 如果是, 执行步骤 608; 否则, 执行步骤 607; 步骤 607 : 不匹配失效虚拟前缀, 则发布失效前缀的一类路由的正常的 路由更新报文, 在路由更新报文添加安装标记;  Step 605: The marking router determines that the route that needs to issue the update packet is a type of route. Step 606: Match the virtual prefix information in the invalid record to determine whether the virtual prefix corresponding to the one type of route is a virtual virtual prefix; if yes, execute Step 608; Otherwise, step 607 is performed; Step 607: If the invalid virtual prefix is not matched, the normal routing update message of the type of route with the expired prefix is issued, and the installation flag is added in the routing update message;
步骤 608: 若匹配失效虚拟前缀, 即域内的失效虚拟前缀恢复, 则删除 失效记录中该虚拟前缀信息, 转入步骤 609;  Step 608: If the invalid virtual prefix is matched, that is, the virtual virtual prefix in the domain is restored, the virtual prefix information in the invalidation record is deleted, and the process proceeds to step 609;
步骤 609: 发布该失效虚拟前缀的一类路由的正常的路由更新 ^艮文, 在 路由更新 ^艮文中添加安装标记;  Step 609: Publish a normal routing update of a type of route of the invalid virtual prefix, and add an installation flag in the routing update.
步骤 610: 发布该失效虚拟前缀覆盖的三类路由的正常的路由更新报文, 即在路由更新报文中添加抑制标记。 实施例五 Step 610: The normal routing update packet of the three types of routes covered by the invalid virtual prefix is advertised, that is, the suppression flag is added to the routing update packet. Embodiment 5
如图 7所示, 本发明实施例中提供了一种路由信息通告装置, 应用于虚 拟汇聚网络的路由设备, 该装置主要包括:  As shown in FIG. 7, the embodiment of the present invention provides a routing information notification apparatus, which is applied to a routing device of a virtual aggregation network, and the apparatus mainly includes:
分类标记模块, 用于: 根据路由前缀的类型对路由进行如下分类: 对自 治域内的虚拟前缀的路由, 称为一类路由; 对覆盖在 VP range内、 非聚合点 路由设备不需要 FIB加载的前缀的路由, 称为三类路由; 以及, 根据分类对 所要发布的正常的路由更新报文进行如下标记后, 发送至报文发送模块进行 发送: 对一类路由, 在路由更新报文中添加安装标记; 对三类路由, 在路由 更新 4艮文中添加抑制标记;  The classification tag module is configured to: classify the route according to the type of the route prefix: The route to the virtual prefix in the autonomous domain is called a type of route; the route device that is covered in the VP range and the non-aggregation point does not need FIB loading. The route of the prefix is called the three types of routes; and the normal route update message to be advertised is marked as follows according to the classification, and then sent to the packet sending module for sending: For a type of route, the route update message is added. Install the tag; for the three types of routes, add a suppression flag in the route update message;
报文发送模块, 则用于对路由更新报文进行发送。  The message sending module is configured to send a route update message.
所述对一类路由在路由更新报文中添加安装标记, 通过向互联网数字分 配结构 (IANA ) 注册一个域内传输的边界网关协议(BGP )扩展属性实现。  The adding a type of route to the routing update message adds an installation tag to the Internet Digital Distribution Structure (IANA) to register a Border Gateway Protocol (BGP) extended attribute transmitted within the domain.
所述分类标记模块还设置为: 对不覆盖在 VP range内的前缀路由、 覆盖 在 VP range内的依据策略需要自治域内所有路由设备进行 FIB安装的前缀路 由, 称二类路由; 根据路由前缀的类型对所要发布的路由更新报文进行标记 时, 对所述二类路由不添加任何标记。  The classification and marking module is further configured to: perform a FIB installation prefix route for the routing route that does not cover the VP range, and the routing policy that covers the VP range, and all the routing devices in the autonomous domain, and the second type of routing; When a type marks a route update message to be advertised, no tag is added to the type 2 route.
进一步地, 本实施例装置还包括报文接收模块和 FIB加载模块, 其中: 报文接收模块用于, 接收路由更新报文;  Further, the device in this embodiment further includes a message receiving module and a FIB loading module, where: the message receiving module is configured to receive a routing update message;
FIB加载模块用于, 判断接收到的路由更新报文中更新的路由是否为最 佳路由,如果是,则根据路由更新报文中的标记判断是否执行路由信息的 FIB 加载:  The FIB loading module is configured to determine whether the updated route in the received routing update message is the best route, and if yes, determine whether to perform FIB loading of the routing information according to the mark in the route update message:
若路由更新报文中未添加标记, 或者路由更新报文中添加了安装标记, 则将所述路由信息加载到 FIB中;  If the label is not added to the routing update packet, or the installation flag is added to the routing update packet, the routing information is loaded into the FIB.
若路由更新报文中添加了抑制标记, 则判断所述路由设备是否为所述路 由的聚合点路由设备, 如果是, 则必须将所述路由信息加载到 FIB中, 否则, 不需要进行所述路由信息的 FIB加载。  If the suppression flag is added to the routing update packet, it is determined whether the routing device is an aggregation point routing device of the route, and if yes, the routing information must be loaded into the FIB. Otherwise, the routing information does not need to be performed. FIB loading of routing information.
进一步地, 上述装置还包括失效处理模块, 该失效处理模块分别与 FIB 加载模块及分类标记模块相连, 失效处理模块主要用于, 根据路由对应的安装标记判断出自治域内的虚 拟前缀对应的路由失效时, 判断本路由设备是否为标记路由器: Further, the device further includes a failure processing module, and the failure processing module is respectively connected to the FIB loading module and the classification marking module. The failure processing module is mainly used to determine whether the routing device is a tagged router when the route corresponding to the virtual prefix in the autonomous domain is invalid according to the installation flag corresponding to the route:
如果本路由设备是标记路由器, 则记录失效的虚拟前缀信息, 查找 RIB 表中覆盖在失效的虚拟前缀内的三类路由,通知所述 FIB加载模块进行加载, 并通知所述分类标记模块发布所加载的三类路由;  If the routing device is a tagged router, the invalid virtual prefix information is recorded, and the three types of routes that are covered in the invalid virtual prefix in the RIB table are searched, the FIB loading module is notified to load, and the classification tag module is notified. Three types of routes loaded;
如果本路由设备是非标记路由器, 则查找 RIB表中覆盖在失效的虚拟前 缀内的三类路由, 并通知所述 FIB加载模块进行加载。  If the routing device is a non-tagged router, it searches for three types of routes in the RIB table that are overwritten in the invalid virtual prefix, and notifies the FIB loading module to load.
FIB加载模块用于, 将失效处理模块查找到的三类路由加载到 FIB中。 分类标记模块还用于, 根据失效处理模块的通知, 发布失效处理模块所 加载的三类路由的特定路由更新报文,即在路由更新报文中不添加任何标记, 发送至报文发送模块进行发送。  The FIB loading module is used to load the three types of routes found by the failure processing module into the FIB. The classification marking module is further configured to: according to the notification of the failure processing module, issue a specific routing update message of the three types of routes loaded by the invalidation processing module, that is, no label is added in the routing update message, and is sent to the packet sending module. send.
此外, 所述的分类标记模块还用于, 如果当前存在失效的虚拟前缀路由, 则在发布三类路由的正常的路由更新" ^艮文时, 通过匹配所述失效记录中的虚 拟前缀信息, 判断所要发布路由更新报文的覆盖在 VP range内的前缀是否覆 盖在失效的虚拟前缀中:  In addition, the classification marking module is further configured to: if a virtual routing route that is invalid is currently present, when the normal routing update of the three types of routes is issued, by matching the virtual prefix information in the invalidation record, Determine whether the prefix overwritten in the VP range of the route update packet to be advertised is overwritten in the invalid virtual prefix:
如果是, 则发布三类路由的特定路由更新报文, 即在路由更新报文中不 添加任何标记, 发送至所述报文发送模块进行发送;  If yes, the specific routing update message of the three types of routes is advertised, that is, no label is added to the routing update message, and sent to the packet sending module for sending;
否则, 发布三类路由的正常的路由更新报文, 即在路由更新报文中添加 抑制标记, 发送至所述报文发送模块进行发送。  Otherwise, the normal route update message of the three types of routes is advertised, that is, the suppression flag is added to the route update message, and sent to the message sending module for transmission.
此外, 所述的分类标记模块还用于, 如果当前存在失效的虚拟前缀路由, 则在发布一类路由的路由更新" ^艮文时, 通过匹配所述失效记录中的虚拟前缀 信息, 判断所要发布路由更新报文的一类路由对应的虚拟前缀是否为失效的 虚拟前缀:  In addition, the classification marking module is further configured to: if there is a virtual prefix route that is invalid, when the routing update of the type of route is issued, the virtual prefix information in the invalidation record is matched, and the desired Whether the virtual prefix corresponding to a type of route that advertises routing update packets is a virtual prefix that is invalid:
如果是, 则删除所述失效的虚拟前缀的失效记录, 并发布所述一类路由 的正常的路由更新报文, 即在发布的路由更新报文中添加安装标记后, 发送 至所述报文发送模块进行发送; 同时, 发布覆盖在失效的虚拟前缀内的三类 路由的正常的路由更新报文, 即在发布的路由更新报文中添加抑制标记后, 发送至所述报文发送模块进行发送; 否则, 发布所述一类路由的正常的路由更新报文, 即在发布的路由更新 报文中添加安装标记后, 发送至所述报文发送模块进行发送。 If yes, the invalidation record of the expired virtual prefix is deleted, and the normal routing update packet of the one type of route is advertised, that is, after the installation tag is added to the advertised route update packet, the packet is sent to the packet. The sending module sends the packet, and the normal routing update packet of the three types of routes that are in the expired virtual prefix is advertised, that is, after the suppression flag is added to the advertised routing update packet, the packet is sent to the packet sending module. send; Otherwise, the normal routing update message of the one type of route is advertised, that is, after the installation mark is added to the advertised route update message, the message is sent to the message sending module for sending.
此外, 需要说明的是, 本实施例的路由信息通告装置可以应用于虚拟汇 聚网络的任意路由设备中, 包括标记路由器和非标记路由器, 即此时, 网络 中的标记路由器或者非标记路由器具备相同的功能。  In addition, it should be noted that the routing information advertising apparatus of this embodiment may be applied to any routing device of the virtual aggregation network, including a marking router and a non-marking router, that is, the marking router or the non-marking router in the network has the same at this time. The function.
但是, 在本发明其他实施例中, 标记路由器和非标记路由器的功能也可 以设置得不同, 例如, 上述的分类标记模块可以仅在标记路由器中配置, 非 标记路由器中则可以不配置该功能模块; 并且, 标记路由器和非标记路由器 的失效处理模块的处理机制也可以不同, 如标记路由器会记录失效的虚拟前 缀信息, 非标记路由器则无需记录, 等等。  However, in other embodiments of the present invention, the functions of the marking router and the non-marking router may also be set differently. For example, the above-mentioned classification marking module may be configured only in the marking router, and the non-marking router may not configure the functional module. Moreover, the processing mechanism of the invalidation module of the tag router and the non-label router may also be different, such as the tag router will record the invalid virtual prefix information, the non-marker router does not need to record, and so on.
以上仅为本发明的优选实施案例而已, 并不用于限制本发明, 本发明还 可有其他多种实施例, 在不背离本发明精神及其实质的情况下, 熟悉本领域 的技术人员可根据本发明做出各种相应的改变和变形, 但这些相应的改变和 变形都应属于本发明所附的权利要求的保护范围。  The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention. The present invention may be embodied in various other embodiments without departing from the spirit and scope of the invention. Various changes and modifications may be made to the invention, and such changes and modifications are intended to be included within the scope of the appended claims.
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。  Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any particular combination of hardware and software.
工业实用性 上述方法, 在虚拟汇聚方案中进行路由自动安装时, 标记路由器对虚拟 前缀路由进行特殊标识, 从而, 在域内虚拟前缀路由失效的情况下, 域内路 由器可根据标记辨识出失效路由为虚拟前缀路由,并安装对应详细前缀路由, 继续数据转发, 减小由于虚拟前缀路由失效对数据转发造成的影响。 Industrial Applicability In the above method, when the route is automatically installed in the virtual aggregation scheme, the marking router performs special identification on the virtual prefix route. Therefore, in the case that the virtual prefix routing fails in the domain, the intra-domain router can identify the invalid route as virtual according to the identifier. Prefix routing, and install the corresponding detailed prefix route, continue data forwarding, and reduce the impact of virtual prefix routing failure on data forwarding.

Claims

权 利 要 求 书 Claim
1、 一种路由信息通告方法, 包括:  1. A method for advertising routing information, including:
虚拟汇聚网络中的标记路由器在发布正常的路由更新报文时, 根据路由 前缀的类型对所要发布的路由更新报文进行标记:  When a labeled router in a virtual aggregation network advertises a normal route update packet, it marks the route update packet to be advertised according to the type of the route prefix:
对所要发布的自治域内的虚拟前缀 (VP)的路由, 以下称一类路由, 在路 由更新艮文中添加安装标记;  The route to the virtual prefix (VP) in the autonomous domain to be advertised is hereinafter referred to as a type of route, and an installation flag is added in the route update message;
对所要发布的覆盖在虚拟前缀范围 (VP range)内、非聚合点路由设备不需 要转发信息库 (FIB)加载的前缀的路由, 以下称三类路由, 在路由更新报文中 力口 p 己。  For the route to be advertised, the non-aggregation point routing device does not need to forward the prefix loaded by the information base (FIB) in the virtual prefix range (VP range), which is hereinafter referred to as the three types of routes, and the routing update message is used in the routing update message. .
2、 如权利要求 1所述的方法, 其中, 还包括:  2. The method according to claim 1, further comprising:
对不覆盖在 VP range内的前缀路由、覆盖在 VP range内的依据策略需要 自治域内所有路由设备进行 FIB安装的前缀路由, 称二类路由,  For a prefix route that does not cover the VP range and a policy that is in the VP range, the prefix route of the FIB installation is required for all routing devices in the autonomous domain.
根据路由前缀的类型对所要发布的路由更新报文进行标记时, 对所述二 类路由不添加任何标记。  When the route update packet to be advertised is tagged according to the type of the route prefix, no tag is added to the class 2 route.
3、 如权利要求 2所述的方法, 其中,  3. The method of claim 2, wherein
自治域内的路由设备接收路由更新报文, 当所述路由更新报文中更新的 路由为最佳路由时, 根据所述路由更新报文中的标记判断是否执行路由信息 的 FIB加载:  The routing device in the autonomous domain receives the routing update packet. When the route updated in the routing update packet is the best route, it determines whether to perform the FIB loading of the routing information according to the flag in the routing update packet:
若路由更新报文中未添加标记, 或者路由更新报文中添加了安装标记, 则将所述路由信息加载到 FIB中;  If the label is not added to the routing update packet, or the installation flag is added to the routing update packet, the routing information is loaded into the FIB.
若路由更新报文中添加了抑制标记, 则判断所述路由设备是否为所述路 由的聚合点路由设备, 如果是, 则必须将所述路由信息加载到 FIB中, 否则, 不需要进行所述路由信息的 FIB加载。  If the suppression flag is added to the routing update packet, it is determined whether the routing device is an aggregation point routing device of the route, and if yes, the routing information must be loaded into the FIB. Otherwise, the routing information does not need to be performed. FIB loading of routing information.
4、 如权利要求 1所述的方法, 其中, 所述方法还包括:  4. The method of claim 1, wherein the method further comprises:
标记路由器根据路由对应的安装标记判断出自治域内的虚拟前缀对应的 路由失效时, 进行如下处理:  When the marking router determines that the route corresponding to the virtual prefix in the autonomous domain is invalid according to the installation flag corresponding to the route, the following processing is performed:
记录失效的虚拟前缀信息; 查找路由信息库 (RIB)表中覆盖在失效的虚拟前缀内的三类路由, 并加载 到 FIB中; Record invalid virtual prefix information; Find three types of routes in the routing information base (RIB) table that are covered in the expired virtual prefix, and load them into the FIB;
发布所加载的三类路由的特定路由更新报文; 其中所述三类路由的特定 路由更新报文是指: 发布三类路由的路由更新报文, 且路由更新报文中不添 力口 "ίί^ί可才示 己。  The specific route update message of the three types of routes is advertised. The specific route update message of the three types of routes refers to: the route update message of the three types of routes is advertised, and the routing update message does not add a force port. Ίί^ί can show yourself.
5、 如权利要求 1所述的方法, 其中, 所述方法还包括:  5. The method of claim 1, wherein the method further comprises:
非标记路由器根据路由对应的安装标记判断出自治域内的虚拟前缀对应 的路由失效时, 进行如下处理:  When the non-labeled router determines that the route corresponding to the virtual prefix in the autonomous domain is invalid according to the installation flag corresponding to the route, the following processing is performed:
查找 RIB表中覆盖在失效的虚拟前缀内的三类路由, 加载到 FIB中。  Look for the three types of routes in the RIB table that are covered in the expired virtual prefix and load them into the FIB.
6、 如权利要求 4或 5所述的方法, 其中,  6. The method according to claim 4 or 5, wherein
所述路由失效是指, 路由设备中 FIB加载的虚拟前缀的路由失效, 且路 由收敛后未发现所述虚拟前缀对应的其他路由信息。  The route is invalid. The route of the virtual prefix loaded by the FIB in the routing device is invalid, and the routing information is not found.
7、 如权利要求 4所述的方法, 其中,  7. The method of claim 4, wherein
如果所述标记路由器判断出当前存在失效的虚拟前缀路由, 则在发布三 类路由的正常的路由更新 ^艮文时,通过匹配所述失效记录中的虚拟前缀信息, 判断所要发布路由更新报文的覆盖在 VP range内的前缀是否覆盖在失效的虚 拟前缀中:  If the marking router determines that there is a virtual route prefix that is invalid, when the normal routing update message of the three types of routes is advertised, the virtual prefix information in the invalidation record is matched to determine the route update message to be advertised. Whether the prefix covering the VP range is overwritten in the expired virtual prefix:
如果是, 则发布三类路由的特定路由更新报文; 所述三类路由的特定路 由更新报文是指: 发布三类路由的路由更新报文, 且路由更新报文中不添加 任何标记;  If yes, the specific route update message of the three types of routes is advertised; the specific route update message of the three types of routes is: the route update message of the three types of routes is advertised, and no mark is added in the route update message;
否则, 发布三类路由的正常的路由更新报文, 即在路由更新报文中添加 抑制标记。  Otherwise, the normal route update packet of the three types of routes is advertised, that is, the suppression flag is added to the route update packet.
8、 如权利要求 4所述的方法, 其中, 所述方法还包括:  8. The method of claim 4, wherein the method further comprises:
如果所述标记路由器判断出当前存在失效的虚拟前缀路由, 则在发布一 类路由的路由更新报文时, 通过匹配所述失效记录中的虚拟前缀信息, 判断 所要发布路由更新报文的一类路由对应的虚拟前缀是否为失效的虚拟前缀: 如果是, 则删除所述失效的虚拟前缀的失效记录, 发布所述一类路由的 正常的路由更新报文, 即在发布的路由更新报文中添加安装标记; 同时, 发 布覆盖在失效的虚拟前缀内的三类路由的正常的路由更新报文, 即在发布的 路由更新 4艮文中添加抑制标记; If the marking router determines that there is a virtual route prefix that is invalid, when the routing update message of the type of route is advertised, the virtual prefix information in the invalidation record is matched to determine a class of the routing update message to be advertised. Whether the virtual prefix corresponding to the route is a virtual prefix that is invalid: if yes, deleting the invalidation record of the invalid virtual prefix, and publishing the route of the one type of route A normal routing update message, that is, an installation tag is added to the advertised route update message. At the same time, the normal route update message of the three types of routes that are covered in the expired virtual prefix is advertised, that is, the advertised route is updated. Add a suppression marker;
否则, 发布所述一类路由的正常的路由更新报文, 即在发布的路由更新 艮文中添加安装标记。  Otherwise, the normal routing update message of the one type of route is advertised, that is, the installation flag is added in the published routing update message.
9、 如权利要求 1所述的方法, 其中, 所述对一类路由在路由更新报文中 添加安装标记, 通过向互联网数字分配结构(IANA )注册一个域内传输的边 界网关协议(BGP )扩展属性实现。  9. The method according to claim 1, wherein the pair of routes add an installation tag to the route update message, and register a border gateway protocol (BGP) extension for intra-domain transmission by the Internet Digital Assignment Structure (IANA). Property implementation.
10、 一种路由信息通告装置, 应用于虚拟汇聚网络的路由设备, 所述装 置包括: 分类标记模块和报文发送模块,  A routing information notification device, which is applied to a routing device of a virtual aggregation network, the device includes: a classification marking module and a message sending module,
所述分类标记模块设置为: 根据路由前缀的类型对路由进行如下分类: 对自治域内的虚拟前缀的路由, 称为一类路由; 对覆盖在 VP range内、 非聚 合点路由设备不需要 FIB加载的前缀的路由, 称为三类路由; 并根据分类对 所要发布的正常的路由更新报文进行如下标记后,发送至所述报文发送模块: 对一类路由, 在路由更新报文中添加安装标记; 对三类路由, 在路由更新报 文中添加抑制标记;  The classification marking module is configured to: classify the routes according to the type of the routing prefix as follows: The routing of the virtual prefix in the autonomous domain is called a type of routing; the routing of the device in the VP range and the non-aggregating point does not require FIB loading. The route of the prefix is called the three types of routes; and the normal route update message to be advertised is marked as follows according to the classification, and then sent to the message sending module: For a type of route, added in the route update message Install the tag; for the three types of routes, add a suppression flag to the route update message;
所述报文发送模块设置为: 对路由更新报文进行发送。  The packet sending module is configured to: send a routing update message.
11、 如权利要求 10所述的装置, 其中, 所述装置还包括报文接收模块 所述报文接收模块设置为: 接收路由更新报文。  The device of claim 10, wherein the device further comprises a message receiving module, wherein the message receiving module is configured to: receive a route update message.
12、 如权利要求 10所述的装置, 其中, 所述分类标记模块还设置为: 对 不覆盖在 VP range内的前缀路由、覆盖在 VP range内的依据策略需要自治域 内所有路由设备进行 FIB安装的前缀路由, 称二类路由; 根据路由前缀的类 型对所要发布的路由更新报文进行标记时,对所述二类路由不添加任何标记。  The apparatus according to claim 10, wherein the classification marking module is further configured to: perform FIB installation on all routing devices in the autonomous domain for the prefix route that does not cover the VP range and the policy that is covered in the VP range. The prefix route is called the second type of route. When the route update packet to be advertised is marked according to the type of the route prefix, no mark is added to the type 2 route.
13、 如权利要求 12所述的装置, 其中, 所述装置还包括 FIB加载模块, 所述 FIB加载模块设置为: 判断接收到的路由更新报文中更新的路由是 否为最佳路由, 如果是, 则根据所述路由更新报文中的标记判断是否执行路 由信息的 FIB加载: 若路由更新报文中未添加标记, 或者路由更新报文中添 加了安装标记, 则将所述路由信息加载到 FIB中; 若路由更新 ^艮文中添加了 抑制标记, 则判断所述路由设备是否为所述路由的聚合点路由设备, 如果是, 则必须将所述路由信息加载到 FIB中,否则,不需要进行所述路由信息的 FIB 加载。 The device of claim 12, wherein the device further comprises a FIB loading module, the FIB loading module is configured to: determine whether the updated route in the received routing update message is an optimal route, if yes And determining, according to the marking in the routing update message, whether to perform FIB loading of the routing information: if the marking is not added in the routing update packet, or the installation marking is added in the routing update packet, the routing information is loaded to In FIB; if the routing update is added to the text If the flag is suppressed, it is determined whether the routing device is an aggregation point routing device of the route. If yes, the routing information must be loaded into the FIB. Otherwise, the FIB loading of the routing information is not required.
14、 如权利要求 11所述的装置, 其中, 所述装置还包括失效处理模块, 所述失效处理模块分别与所述 FIB加载模块及所述分类标记模块相连,  The device of claim 11, wherein the device further comprises a failure processing module, wherein the failure processing module is respectively connected to the FIB loading module and the classification marking module.
所述失效处理模块设置为: 根据路由对应的安装标记判断出自治域内的 虚拟前缀对应的路由失效时, 判断本路由设备是否为标记路由器: 如果本路 由设备是标记路由器, 则记录失效的虚拟前缀信息, 查找 RIB表中覆盖在失 效的虚拟前缀内的三类路由, 通知所述 FIB加载模块进行加载, 并通知所述 分类标记模块发布所加载的三类路由; 如果本路由设备是非标记路由器, 则 查找 RIB表中覆盖在失效的虚拟前缀内的三类路由, 并通知所述 FIB加载模 块进行加载。  The failure processing module is configured to: determine, according to the installation flag corresponding to the route, that the routing device corresponding to the virtual prefix in the autonomous domain is invalid, determine whether the routing device is a marking router: if the routing device is a marking router, record the invalid virtual prefix. The information is used to find the three types of routes that are covered in the invalid virtual prefix in the RIB table, notify the FIB loading module to load, and notify the classification tag module to issue the three types of routes that are loaded; if the routing device is a non-tagged router, Then, the three types of routes that are covered in the invalid virtual prefix in the RIB table are searched, and the FIB loading module is notified to load.
15、 如权利要求 14所述的装置, 其中,  15. The apparatus according to claim 14, wherein
所述路由失效是指, 路由设备中 FIB加载的虚拟前缀的路由失效, 且路 由收敛后未发现所述虚拟前缀对应的其他路由信息。  The route is invalid. The route of the virtual prefix loaded by the FIB in the routing device is invalid, and the routing information is not found.
16、 如权利要求 14所述的装置, 其中,  16. The apparatus according to claim 14, wherein
所述 FIB加载模块还设置为: 将失效处理模块查找到的三类路由加载到 FIB中。  The FIB loading module is further configured to: load the three types of routes found by the failure processing module into the FIB.
17、 如权利要求 14所述的装置, 其中,  17. The apparatus according to claim 14, wherein
所述分类标记模块还设置为: 根据所述失效处理模块的通知, 发布所述 失效处理模块所加载的三类路由的特定路由更新报文, 即在路由更新报文中 不添加任何标记, 发送至所述报文发送模块进行发送。  The classification marking module is further configured to: advertise a specific routing update message of the three types of routes loaded by the invalidation processing module according to the notification of the failure processing module, that is, no label is added in the routing update message, and the sending Send to the message sending module.
18、 如权利要求 13-17任一所述的装置, 其中,  18. The apparatus according to any one of claims 13-17, wherein
所述分类标记模块还设置为: 如果当前存在失效的虚拟前缀路由, 则在 发布三类路由的正常的路由更新 ^艮文时, 通过匹配所述失效记录中的虚拟前 缀信息, 判断所要发布路由更新报文的覆盖在 VP range内的前缀是否覆盖在 失效的虚拟前缀中:  The classification marking module is further configured to: if there is a virtual route prefix that is invalid, when the normal routing update of the three types of routes is issued, the virtual prefix information in the invalidation record is matched to determine the route to be advertised. Whether the prefix of the update packet overwritten in the VP range is overwritten in the expired virtual prefix:
如果是, 则发布三类路由的特定路由更新报文, 即在路由更新报文中不 添加任何标记, 发送至所述报文发送模块进行发送; If yes, the specific routing update packet of the three types of routes is advertised, that is, not in the routing update packet. Add any tag and send it to the message sending module for sending;
否则, 发布三类路由的正常的路由更新报文, 即在路由更新报文中添加 抑制标记, 发送至所述报文发送模块进行发送。  Otherwise, the normal route update message of the three types of routes is advertised, that is, the suppression flag is added to the route update message, and sent to the message sending module for transmission.
19、 如权利要求 13-17任一所述的装置, 其中,  19. Apparatus according to any of claims 13-17, wherein
所述分类标记模块还设置为: 如果当前存在失效的虚拟前缀路由, 则在 发布一类路由的路由更新 文时,通过匹配所述失效记录中的虚拟前缀信息, 判断所要发布路由更新报文的一类路由对应的虚拟前缀是否为失效的虚拟前 缀:  The classification tag module is further configured to: if there is a virtual route prefix that is invalid, when the route update message of the type of route is advertised, the virtual prefix information in the invalidation record is matched to determine the route update message to be advertised. Whether the virtual prefix corresponding to a type of route is a virtual prefix that is invalid:
如果是, 则删除所述失效的虚拟前缀的失效记录, 并发布所述一类路由 的正常的路由更新报文, 即在发布的路由更新报文中添加安装标记后, 发送 至所述报文发送模块进行发送; 同时, 发布覆盖在失效的虚拟前缀内的三类 路由的正常的路由更新报文, 即在发布的路由更新报文中添加抑制标记后, 发送至所述报文发送模块进行发送;  If yes, the invalidation record of the expired virtual prefix is deleted, and the normal routing update packet of the one type of route is advertised, that is, after the installation tag is added to the advertised route update packet, the packet is sent to the packet. The sending module sends the packet, and the normal routing update packet of the three types of routes that are in the expired virtual prefix is advertised, that is, after the suppression flag is added to the advertised routing update packet, the packet is sent to the packet sending module. Send
否则, 发布所述一类路由的正常的路由更新报文, 即在发布的路由更新 报文中添加安装标记后, 发送至所述报文发送模块进行发送。  Otherwise, the normal routing update message of the type of route is advertised, that is, after the installation tag is added to the advertised route update message, the message is sent to the message sending module for sending.
20、如权利要求 10任一所述的装置,其中,所述分类标记模块还设置为: 所述对一类路由在路由更新报文中添加安装标记, 通过向互联网数字分配结 构 (IANA ) 注册一个域内传输的边界网关协议(BGP )扩展属性实现。  20. The apparatus of claim 10, wherein the classification marking module is further configured to: add a mounting tag to a routing update message for a type of route, registering with an Internet Digital Distribution Structure (IANA) Implementation of the Border Gateway Protocol (BGP) extended attribute for intra-domain transport.
PCT/CN2012/075584 2011-08-30 2012-05-16 Routing information notification method and device WO2013029393A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110252553.2A CN102957606B (en) 2011-08-30 2011-08-30 Routing information announcement method and device
CN201110252553.2 2011-08-30

Publications (1)

Publication Number Publication Date
WO2013029393A1 true WO2013029393A1 (en) 2013-03-07

Family

ID=47755272

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/075584 WO2013029393A1 (en) 2011-08-30 2012-05-16 Routing information notification method and device

Country Status (2)

Country Link
CN (1) CN102957606B (en)
WO (1) WO2013029393A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993511A (en) * 2019-04-01 2019-07-09 北京众享比特科技有限公司 A kind of block verification method
CN113872843A (en) * 2020-06-30 2021-12-31 华为技术有限公司 Route generation method, route processing method and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9960994B2 (en) * 2016-03-23 2018-05-01 Juniper Networks, Inc. Method, system, and apparatus for forwarding network traffic using minimal forwarding information bases
CN114389993A (en) 2018-11-02 2022-04-22 华为技术有限公司 Routing processing method and network equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420357A (en) * 2007-10-26 2009-04-29 华为技术有限公司 Reflected route processing method and route reflecting device
CN101534239A (en) * 2008-03-13 2009-09-16 华为技术有限公司 Method and device for installing and issuing routers
CN102047617A (en) * 2008-06-13 2011-05-04 Nec欧洲有限公司 Method for populating a forwarding information base of a router and router

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3620719B2 (en) * 2001-06-22 2005-02-16 日本電気株式会社 Routing processing system in data exchange equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420357A (en) * 2007-10-26 2009-04-29 华为技术有限公司 Reflected route processing method and route reflecting device
CN101534239A (en) * 2008-03-13 2009-09-16 华为技术有限公司 Method and device for installing and issuing routers
CN102047617A (en) * 2008-06-13 2011-05-04 Nec欧洲有限公司 Method for populating a forwarding information base of a router and router

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHANG, WEI ET AL.: "Scalability of internet inter-domain routing", JOURNAL OF SOFTWARE, vol. 22, no. 1, January 2011 (2011-01-01), pages 84 - 100 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993511A (en) * 2019-04-01 2019-07-09 北京众享比特科技有限公司 A kind of block verification method
CN109993511B (en) * 2019-04-01 2021-07-06 北京众享比特科技有限公司 Block verification method
CN113872843A (en) * 2020-06-30 2021-12-31 华为技术有限公司 Route generation method, route processing method and device

Also Published As

Publication number Publication date
CN102957606B (en) 2017-02-08
CN102957606A (en) 2013-03-06

Similar Documents

Publication Publication Date Title
EP3065342B1 (en) Update of mac routes in evpn single-active topology
EP4073986B1 (en) Efficient arp bindings distribution in vpn networks
EP2750329B1 (en) Method and device for sending internet protocol packets
WO2021258754A1 (en) Message indication method and apparatus, and device and storage medium
US20180198705A1 (en) Method and apparatus for implementing service function chain
WO2021169258A1 (en) Message forwarding method, routing information publishing method, apparatus and system
US20180359176A1 (en) Centralized segment routing dataplane based backup path validation
JP7479489B2 (en) Packet transmission method, device, and system
EP2254284B1 (en) Method and device for route installation and distribution
CN110324226A (en) Improve the aliasing behavior of more host site flows in ether Virtual Private Network network
EP3094052B1 (en) Method and device for forwarding information
CN109729012B (en) Unicast message transmission method and device
CN110798403B (en) Communication method, communication device and communication system
CN112868214B (en) Coordinated load transfer OAM records within packets
WO2022184169A1 (en) Packet forwarding method and system, storage medium, and electronic device
CN108199968B (en) Route processing method and device
WO2022121466A1 (en) Data processing method and device for ethernet virtual private network, and storage medium
KR20220047854A (en) Packet forwarding method, apparatus and system in SRS network
WO2013029393A1 (en) Routing information notification method and device
CN106789523B (en) Method and device for creating logical tunnel
CN110620715B (en) Virtual extended local area network communication method, tunnel endpoint and controller
CN112291234B (en) Flow reinjection method, device, equipment and computer readable storage medium
US9853881B2 (en) Autonomous system border router (ASBR) advertising routes with a same forwarding label
WO2022127284A1 (en) Information processing method, node, and computer-readable storage medium
US20240098020A1 (en) Transport of vpn traffic with reduced header information

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

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

Country of ref document: EP

Kind code of ref document: A1