WO2008083590A1 - Method and apparatus of rapid convergence of point-to-point service - Google Patents

Method and apparatus of rapid convergence of point-to-point service Download PDF

Info

Publication number
WO2008083590A1
WO2008083590A1 PCT/CN2007/071352 CN2007071352W WO2008083590A1 WO 2008083590 A1 WO2008083590 A1 WO 2008083590A1 CN 2007071352 W CN2007071352 W CN 2007071352W WO 2008083590 A1 WO2008083590 A1 WO 2008083590A1
Authority
WO
WIPO (PCT)
Prior art keywords
route
outer tunnel
state
primary route
primary
Prior art date
Application number
PCT/CN2007/071352
Other languages
French (fr)
Chinese (zh)
Inventor
Jian Li
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008083590A1 publication Critical patent/WO2008083590A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Definitions

  • the present invention relates to the field of network communications, and in particular, to a method and apparatus for rapidly convergence end-to-end services.
  • MPLS Multi-Protocol Label Switch
  • TE FRR Traffic
  • Figure 1 shows a VPN in an autonomous system in the prior art (Virtual Private
  • RR-Switch1 and R-Switch2 are RRs (Route Reflectors) of the Provider Edge (Provider Edge).
  • RR-Switch1 and RR-Switch2 belong to the same cluster. (CLU STER), PE1 and these two RRs establish IBGP (internal Border Gateway)
  • RR-Switch 1 and RR-Switch 2 forward VPN routes, you need to change the next hop of the VPN route to itself. After the modification, the next hop of the VPN route seen from PE1 (that is, the end of the VPN service) The node will become RR-Switchl or RR-Switch2.
  • RR-Switch 3 and RR-Switch 4 belong to another cluster.
  • Routers PE2 and PE3 are the reflector clients of the two RRs.
  • the two RRs are RR-Switch1 and RR-Switch2. The device is the same.
  • the four RR-Switch establish a fully connected ordinary IBGP neighbor relationship.
  • each RR Since each RR performs the modification of the next hop of the VPN route, it forwards a VPN service from PE1 to PE2. From the perspective of the VPN service, it will include three paths: PE1->RR-Switchl, RR-Switch 1->RR-Switch3 and RR-Switch3->PE2.
  • the three-segment path includes three start nodes and three end nodes, wherein the first node PE1>>RR-Switchl has a starting node of PE1, the end node is RR-S witch 1; and the second segment path RR-
  • the start node of Switch->RR-Switch3 is RR-Switch1 and the end node is RR-Switch3.
  • the first node of RR-Switch3->PE2 is RR-Switch3 and the end node is PE2.
  • the forwarding process of this service is: Service message from CE1 (Customer
  • the VPN routes sent by multiple VPN end nodes are received, and there are preferred routes and non-preferred routes.
  • a route with one or more load balancing corresponding to each VPN route prefix is preferred, and the preferred route is added to the forwarding plane, and the end node device of the VPN service forwarding path (ie, the next route of each VPN route on the forwarding path)
  • the hop such as the RR-Switch, RR-Switc, or PE2
  • the link such as the link between PE1 and RR-Switch1
  • the control plane recalculates the route.
  • a new preferred route is obtained and sent to the forwarding plane to re-update the entries in the forwarding table, so that the end-to-end service converges.
  • the originating node can determine whether the end node device or link is faulty by detecting whether the outer tunnel is faulty. For example, the link status can be quickly reported and detected, BFD (Bidirectional)
  • Detection and other methods to detect whether the outer tunnel is faulty. Once the outer tunnel is detected to be faulty, the end node device or link is considered to be faulty. In addition, the RR can be detected by the signaling protocol IBGP. Whether the Switch1 device is faulty.
  • PE1 will re-route the preference, and the route advertised by another non-failed VPN end node RR-Switch2 will be used as the new preferred route, and then the new preferred route will be placed.
  • the service is forwarded to the new preferred end node RR-Switch2, and the VPN service is restored.
  • the control plane needs to recalculate the saved route related to the faulty end node or link, and calculate the number of times and the number of routes. That is, the more the number of routes associated with the failed end node or link, the longer the time required to recalculate the route.
  • the time between the calculation and the next published item is usually l-5s, which is too long for voice, video, etc.; usually, the end node service convergence time of these services is 200ms to Is, otherwise, The voice and video services carried on it will be affected.
  • the embodiment of the present invention provides a method for rapidly convergence end-to-end service.
  • a method for rapidly converge end-to-end services, for use in an autonomous system comprising:
  • the primary route is selected, and an alternate route is configured for each selected primary route, and the primary route and the standby route are added to the forwarding table;
  • a device for quickly converge end-to-end services, for use in an autonomous system comprising:
  • a configuration module configured to select an active route, and configure an alternate route for the selected primary route, and add the primary route and the alternate route to the forwarding table;
  • a tunnel state recording module configured to initialize, set a state of an outer tunnel corresponding to the primary route selected by the configuration module to be valid; and when an outer tunnel fault is detected, the outer tunnel is Changed state to expired;
  • the service convergence module is configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then determining whether the outer tunnel state corresponding to the primary route is valid, and if valid, Then, the service message is forwarded by using the primary route; otherwise, the service packet is forwarded by using an alternate route corresponding to the primary route in the forwarding table.
  • FIG. 1 is a structural diagram of a VPN service networking in an autonomous system in the prior art
  • FIG. 2 is a schematic diagram of a forwarding table and an outer tunnel state table in an active/standby routing manner according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for rapidly convergence end-to-end service according to Embodiment 1 of the present invention
  • FIG. 4 is a schematic diagram of a forwarding table, an indirect direct hop table, and an outer tunnel state table in the active/standby routing mode according to the second embodiment of the present invention
  • FIG. 5 is a flowchart of a method for quickly convergence end-to-end service according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic diagram of a forwarding table and an outer tunnel state table in a load balancing mode according to Embodiment 3 of the present invention
  • FIG. 7 is a flowchart of a method for rapidly convergence end-to-end service according to Embodiment 3 of the present invention
  • FIG. 8 is a schematic diagram of a forwarding table, a non-directly connected next hop table, and an outer tunnel state table in a load balancing mode according to an embodiment of the present invention
  • FIG. 9 is a flowchart of a method for rapidly convergence end-to-end service according to Embodiment 4 of the present invention.
  • FIG. 10 is a structural diagram of an apparatus for fast convergence end-to-end service according to Embodiment 5 of the present invention.
  • the service route uses the primary and backup routes, that is, the manner in which the preferred route and the non-preferred route having the end node different from the preferred route are combined into the primary and backup routes.
  • an embodiment of the present invention provides a method for rapidly convergence end-to-end service, which specifically includes the following steps:
  • Step 101 On the VPN initiating node, a preferred route and a non-preferred route having a different end node from the preferred route are combined into a primary and backup route, and added to the forwarding entry of the VPN initiating node device, that is, There is one primary route and one alternate route for each VPN route prefix.
  • the information of the primary route and the alternate route in the forwarding table includes an inner label and an outer label, wherein the outer label corresponds to an outer tunnel.
  • Step 102 Establish an outer tunnel state table, which is used to record the state of the outer tunnel corresponding to all the main routes, and all of them are set to be valid after the initialization; and according to the correspondence between the primary route and the outer tunnel, An outer tunnel state index is set for each primary route in the forwarding table, and the index can be indexed to the state of the outer tunnel corresponding to the primary route in the outer tunnel state table.
  • Step 103 Fast report detection, BFD, OAM or LSP (Label Switch)
  • Step 104 After forwarding the VPN service packet on the VPN originating node, first match the destination address in the service packet with the prefix of the VPN route in the forwarding table, and after the matching is successful (that is, after selecting the primary routing) The status of the outer tunnel corresponding to the primary route is found through the outer tunnel state index of the primary route, and the status of the outer tunnel is valid. If the status is valid, the primary route is forwarded. The service packet, otherwise, is forwarded using the alternate route corresponding to the primary route.
  • Steps 103 and 104 have no fixed sequence, and the step of detecting the state of the outer tunnel is always performed.
  • the embodiment of the present invention is used in an autonomous system, and the end node in the autonomous system changes the next hop of the VPN route to its own end node. Referring to Figure 1, the above process is as follows:
  • the two routes to the CE2 are advertised through the PE2 and the PE3.
  • the RR-Switch3 and the R-Switch4 are both advertised by the PE2 and the PE3.
  • R R-Switch 4 is the route advertised by PE3.
  • both RR-Switch 3 and RR-Switch 4 continue to advertise routes in the local system.
  • RR-Switch 1 and RR-Switch 2 also receive RRs.
  • RR-Switch1 and RR-Switc h2 continue to spread routes in the domain.
  • the forwarding path from CE1 to CE2 is based on the above route.
  • the preferred route (the route advertised by the RR-Switch1) and the non-preferred route having the different far-end hops of the preferred route (the route advertised by the RR-Switch2) are formed on the starting node PE1.
  • the peer is added to the forwarding entry on the PE1 device.
  • an outer tunnel state index is established for the VPN route sent by the preferred RR-Switch1, that is, the outer tunnel state of the PE1 to RR-Switch1.
  • the destination address in the service packet is matched with the prefix of the VPN route in the forwarding table.
  • the primary route (route advertised by RR-Switch1) is found.
  • the state of the outer tunnel corresponding to the primary route that is, the outer tunnel of PE1 to RR-Switch1) in the outer tunnel state table is retrieved through the outer tunnel state index. If the state is valid, the primary route is used.
  • the service packet is forwarded; otherwise, the service packet is forwarded by using the alternate route corresponding to the primary route.
  • the LSP technology quickly detects the status of the outer LSP tunnel from PE1 to RR-Switch1. If the RR-Switch1 node fails, IjBFD for
  • the LSP technology can detect the fault of the outer tunnel of the PE1 to the RR-Switch1 within 200 ms (for example, 180 ms), and immediately disable the state of the outer tunnel in the outer tunnel state table, and send the VP N service from CE1 to CE2. Switch to the alternate VPN route quickly.
  • the detection speed of the outer tunnel state determines the end to The convergence of the end-end service can be achieved in the day when the VPN service converges.
  • the service route also uses the primary and backup routes, that is, the manner in which the preferred route and the non-preferred route having the end node different from the preferred route form the primary and backup routes on the VPN originating node.
  • an embodiment of the present invention further provides a method for rapidly convergence end-to-end service, which specifically includes the following steps:
  • Step 201 On the VPN initiating node, the preferred route and the non-preferred route having the different end node of the preferred route are combined into the primary and backup routes, and added in the forwarding entry of the VPN starting node device, that is, There is one primary route and one alternate route for each VPN route prefix.
  • the information of the primary route and the alternate route in the forwarding table includes the inner label, and each routing information can be indexed to the outer label corresponding to the route in the indirect next hop table, that is, corresponding to one outer Layer tunnel.
  • Step 202 Establish an outer tunnel state table, which is used to record the state of the outer tunnel corresponding to all the main routes, and all of them are set to be valid after initialization; and in the non-directly connected next hop table for each
  • the outer label sets an outer tunnel state index, and the index can be indexed to the state of the outer tunnel corresponding to the outer label in the outer tunnel state table.
  • Step 203 Detecting the state of all outer tunnels by using the link state fast report detection, BFD, OAM, or LSP fast convergence.
  • the outer tunnel state table is immediately The state of the outer tunnel is set to be invalid.
  • Step 204 After forwarding the VPN service packet on the VPN initiating node, first match the destination address in the service packet with the prefix of the VPN route in the forwarding table, and after the matching is successful (that is, after selecting the primary routing) First, the bowing I to the outer label of the indirect next hop table, and then through the outer tunnel state cable I find the state of the outer tunnel corresponding to the outer label in the outer tunnel state table, view this If the status of the outer tunnel is valid, if the status is valid, the primary route is used to forward the service packet. Otherwise, the alternate route corresponding to the primary route is used for forwarding.
  • Steps 203 and 204 have no fixed sequence, and the step of detecting the state of the outer tunnel is always performed.
  • the service routing uses load balancing, that is, the service path.
  • the embodiment of the present invention further provides a method for rapidly convergence end-to-end service, which specifically includes the following steps:
  • Step 301 Preferably, multiple VPN routes are used for load balancing on the starting node of the VPN service, and each load-sharing route is used as an active route, and an alternate route is set for each primary route.
  • the alternate route is carried by other preferred routes that have different end nodes from the corresponding primary route, and is added to the forwarding entry of the V PN originating node device, that is, the primary load for each VPN routing prefix has multiple load sharing. Routing, each primary route has a corresponding alternate route. For each primary route, choose different preferred routes as backup routes as much as possible. For example, suppose that four routes are preferred for load balancing on the VPN starting node, and route 1 and route 2 are used as primary routes.
  • the primary route of primary route 1 is route 3
  • the primary route 2 is used.
  • Route 4 is selected for the alternate route, and different alternate routes are selected as much as possible. Regardless of the primary route, or the alternate route includes both the inner label and the outer label, where the outer label corresponds to an outer tunnel.
  • Step 302 Establish an outer tunnel state table, which is used to record the state of the outer tunnel corresponding to all the main routes, and all are set to be valid after the initialization; and set one for each primary route in the forwarding table.
  • the outer tunnel state index by which the state of the outer tunnel corresponding to the primary route in the outer tunnel state table can be indexed.
  • Step 303 Detecting the status of all outer tunnels by using the link state fast report detection, BFD, OAM, or LSP fast convergence.
  • the outer tunnel state table is immediately The state of the outer tunnel is set to invalid.
  • Step 304 After forwarding the VPN service packet on the VPN initiating node, first match the destination address in the service packet with the prefix of the VPN route in the forwarding table, and after the matching is successful (that is, after selecting the primary routing) The status of the outer tunnel corresponding to the primary route is found through the outer tunnel state index of the primary route, and the status of the outer tunnel is valid. If the status is valid, the primary route is forwarded. Service packet, otherwise, it uses the alternate route corresponding to the primary route for forwarding.
  • Steps 303 and 304 have no fixed sequence, and the step of detecting the state of the outer tunnel is always performed.
  • the service routing also uses load balancing, that is, the service routing is performed by multiple preferred routes.
  • load balancing that is, the service routing is performed by multiple preferred routes.
  • Common load sharing as shown in FIG. 8 and FIG. 9, the embodiment of the present invention further provides a method for rapidly convergence end-to-end service, which specifically includes the following steps:
  • Step 401 Preferably, multiple VPN routes are used for load balancing on the starting node of the VPN service, and each load-sharing route is used as an active route, and an alternate route is set for each primary route.
  • the alternate route and the corresponding primary route have other preferred routes of different end nodes, and are added to the VP.
  • each primary route has a corresponding alternate route.
  • the inner routing label is included in both the primary routing information and the secondary routing information, and each routing information can be indexed to the outer label corresponding to the routing in the indirect next hop table, that is, corresponding to an outer tunnel. .
  • Step 402 Establish an outer tunnel state table, which is used to record the state of the outer tunnel corresponding to all the main routes, and all of them are set to be valid after the initialization; and in the non-directly connected next hop table for each
  • the outer label sets an outer tunnel state index, and the index can be indexed to the state of the outer tunnel corresponding to the outer label in the outer tunnel state table.
  • Step 403 Detecting the state of all outer tunnels by using a link state fast report detection, BFD, OAM, or LSP fast convergence.
  • BFD link state fast report detection
  • OAM OAM
  • LSP fast convergence Detecting the state of all outer tunnels by using a link state fast report detection, BFD, OAM, or LSP fast convergence.
  • Step 404 After forwarding the VPN service packet on the VPN initiating node, first match the destination address in the service packet with the prefix of the VPN route in the forwarding table, and after the matching is successful (that is, after selecting the primary routing) First, indexing the outer label corresponding to the selected primary route in the indirect next hop table, and then finding the outer label corresponding to the outer label in the outer tunnel state table by using the outer tunnel state index of the outer label If the state of the outer tunnel is valid, the status of the outer tunnel is valid. If the status is valid, the primary route is used to forward the service packet. Otherwise, the alternate route corresponding to the primary route is used for forwarding.
  • Steps 403 and 404 have no fixed sequence, and the step of detecting the outer tunnel state is always performed.
  • an embodiment of the present invention further provides a device for rapidly convergence end-to-end service, which is used for autonomous Within the system, specifically:
  • the tunnel state recording module is configured to initialize, set the state of the outer tunnel corresponding to all the primary routes selected by the configuration module to be valid; when an outer tunnel fault is detected, the outer layer is The status of the tunnel is changed to invalid;
  • the service convergence module is configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then determining whether the outer tunnel state corresponding to the primary route is valid, if valid Then, the primary route is used to forward the service packet; otherwise, the service route is forwarded by using the alternate route corresponding to the primary route in the forwarding table.
  • the first configuration module is configured to add the preferred route and the non-preferred route that are configured by the inner layer label and the outer layer label to the forwarding table by adding the preferred route and the non-preferred route.
  • the first tunnel state recording module is configured to establish an outer tunnel state table, set the state of the outer tunnel corresponding to all the primary routes to be valid, and set an indexable outer to each primary route in the forwarding table.
  • the first service convergence module is configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then querying the outer tunnel state table according to the outer tunnel state index of the primary route. If the corresponding outer tunnel state is valid, if it is valid, the service route is forwarded by using the primary route; otherwise, the service packet is forwarded by using the alternate route corresponding to the primary route in the forwarding table.
  • a second configuration module configured to add a preferred route and a non-preferred route that have an inner end label and different end nodes to form an active/standby route, and add the method to the forwarding table.
  • the second tunnel state recording module is configured to establish an outer tunnel state table, and set the state of the outer tunnel corresponding to all the main routes to be valid; set the outer label of each non-directly connected next hop table.
  • An outer tunnel state that can be indexed to the state of the outer tunnel corresponding to the outer label in the outer tunnel state table Bow I; When an outer tunnel failure is detected, the state of the outer tunnel in the outer tunnel state table is changed to invalid;
  • the second service convergence module is configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then indexing to the non-directly connected next hop table corresponding to the primary route
  • the outer label is used to query whether the corresponding outer tunnel state in the outer tunnel state table is valid according to the outer tunnel state index of the outer label. If valid, the active route is used to forward the service packet; otherwise, the service packet is used.
  • the alternate route corresponding to the primary route is forwarded to forward the service packet.
  • the third configuration module is configured to use each route of load sharing including the inner label and the outer label as the primary route, and set an alternate route with different end nodes for each primary route, and all The active and standby routes are added to the forwarding table.
  • the third tunnel state recording module is configured to establish an outer tunnel state table, and set the state of the outer tunnel corresponding to all the primary routes to be valid; set an indexable outer to each primary route in the forwarding table.
  • the third service convergence module after forwarding the service packet, first matches the corresponding primary route in the forwarding table, and then queries the outer tunnel state table according to the outer tunnel state index of the primary route. If the outer tunnel state is valid, if it is valid, the service route is forwarded by using the primary route; otherwise, the service packet is forwarded by using the alternate route corresponding to the primary route in the forwarding table.
  • the fourth configuration module is configured to use each route of the load sharing of the inner label as the primary route, and set an alternate route with different end nodes for each primary route, and add all the active and standby routes. Into the forwarding table;
  • the fourth tunnel state recording module is configured to establish an outer tunnel state table, set the state of the outer tunnel corresponding to all the main routes to be valid, and set each outer label in the indirect next hop table.
  • An outer tunnel state that can be indexed to the state of the outer tunnel corresponding to the outer label in the outer tunnel state table; when an outer tunnel failure is detected, the outer tunnel state table The state of the outer tunnel is more Change to invalid;
  • the fourth service convergence module is configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then indexing to the non-directly connected next hop table corresponding to the primary route
  • the outer label is used to query whether the corresponding outer tunnel state in the outer tunnel state table is valid according to the outer tunnel state index of the outer label. If valid, the active route is used to forward the service packet; otherwise, the service packet is used.
  • the alternate route corresponding to the primary route is forwarded to forward the service packet.
  • the detection mechanism of the link state fast report detection, BFD, OAM, or LSP fast convergence is used to detect whether the outer tunnel is faulty, and can be detected within 200 ms, so the convergence of the VPN service can be performed. Do it for about 200ms.

Landscapes

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

Abstract

A method and apparatus of rapid convergence of point-to-point service, the method comprises: selecting the main route and configuring the corresponding standby route; setting statuses of all outer tunnels to which the main route corresponds as enable; after a failure of the outer tunnel is detected, changing the status of the outer tunnel to disable; when the service message is forwarded, if the outer tunnel status to which the main route corresponds is disable, forwarding the message by using the corresponding standby route. The apparatus includes a configuring model, a tunnel status recording model, and a service converging model.

Description

说明书 快速收敛端到端业务的方法和装置  Method and apparatus for quickly converging end-to-end services
[1] 技术领域  [1] Technical field
[2] 本发明涉及网络通讯领域, 特别涉及一种快速收敛端到端业务的方法和装置。  [2] The present invention relates to the field of network communications, and in particular, to a method and apparatus for rapidly convergence end-to-end services.
[3] 背景技术  [3] Background Art
[4] 在网络高速发展的今天, 电话网、 有线电视网和 Internet (互联网) 三网合一的 需求日益迫切, 运营商对网络故障吋的业务收敛吋间非常重视, 在任何一个节 点发生故障吋, 相邻节点业务倒换的吋间小于 50ms, 端到端业务收敛的吋间小 于 200ms至 ls, 已经逐步成为承载网的门槛级指标。  [4] In today's rapid development of the network, the demand for triple play of the telephone network, cable TV network and Internet (Internet) is becoming more and more urgent. Operators attach great importance to the business convergence of network failures, and fail at any one node.吋, the service switching between adjacent nodes is less than 50ms, and the end-to-end service convergence is less than 200ms to ls, which has gradually become the threshold index of the bearer network.
[5] 为了达到相邻节点业务倒换的吋间小于 50ms、 端到端业务收敛的吋间小于 200 ms至 Is的要求, MPLS (Multi-Protocol Label Switch, 多协议标签交换) 、 TE FRR (Traffic Engineering Fast  [5] MPLS (Multi-Protocol Label Switch), TE FRR (Traffic), in order to achieve the service switching of the adjacent nodes is less than 50 ms, and the end-to-end service convergence is less than 200 ms to Is. Engineering Fast
Re-Routing, 流量工程快速重路由) 、 IGP (interior Gateway  Re-Routing, Traffic Engineering Fast Reroute), IGP (interior Gateway)
Protocol, 内部网关协议) 等路由快速收敛技术都应运而生, 但是 TE  Protocol, internal gateway protocol) and other fast convergence techniques have emerged, but TE
FRR只能解决非端节点故障的收敛, IGP快速收敛技术虽然可以做到端节点故障 的收敛, 但收敛吋间很难达到 200ms至 Is的收敛要求。  FRR can only solve the convergence of non-end node faults. Although the IGP fast convergence technique can achieve the convergence of end node faults, it is difficult to achieve the convergence requirement of 200ms to Is in the convergence period.
[6] 图 1为现有技术中一个自治系统内 VPN (Virtual Private [6] Figure 1 shows a VPN in an autonomous system in the prior art (Virtual Private
Network, 虚拟专用网络) 业务的组网结构图。 如图 1所示, 设备 RR-Switchl和 R R-Switch2是路由器 PE1 (Provider Edge, 运营商边缘设备) 的 RR (Route Reflector, 路由反射器) , 其中 RR-Switchl和 RR-Switch2属于同一个集群 (CLU STER) , PE1和这两个 RR同吋建立 IBGP (internal Border Gateway  Network, virtual private network) Network structure diagram of the service. As shown in Figure 1, RR-Switch1 and R-Switch2 are RRs (Route Reflectors) of the Provider Edge (Provider Edge). RR-Switch1 and RR-Switch2 belong to the same cluster. (CLU STER), PE1 and these two RRs establish IBGP (internal Border Gateway)
Protocol, 内部边界网关协议) 邻居关系, 这两个 RR作为 BGP (Border Gateway Protocol, 边界网关协议) 路由反射器, 而 PE1作为反射器的客户端。 RR-Switch 1和 RR-Switch2在转发 VPN路由的吋候, 需要将 VPN路由的下一跳更改为自己, 这样修改后, 从 PE1上看到的 VPN路由的下一跳 (即 VPN业务的端节点) 就会成 为 RR-Switchl或 RR-Switch2。 RR-Switch3和 RR-Switch4属于另外一个集群, 路由 器 PE2和 PE3是这两个 RR的反射器客户端, 这两个 RR和 RR-Switchl、 RR-Switch2 设备相同, 在转发 VPN路由的吋候同样修改 VPN路由的下一跳为自己。 四个 RR- Switch建立全连接的普通 IBGP邻居关系。 Protocol, Internal Border Gateway Protocol) Neighbor relationship, these two RRs act as BGP (Border Gateway Protocol) route reflectors, and PE1 acts as a reflector client. When RR-Switch 1 and RR-Switch 2 forward VPN routes, you need to change the next hop of the VPN route to itself. After the modification, the next hop of the VPN route seen from PE1 (that is, the end of the VPN service) The node will become RR-Switchl or RR-Switch2. RR-Switch 3 and RR-Switch 4 belong to another cluster. Routers PE2 and PE3 are the reflector clients of the two RRs. The two RRs are RR-Switch1 and RR-Switch2. The device is the same. When forwarding VPN routes, the next hop of the VPN route is also modified. The four RR-Switch establish a fully connected ordinary IBGP neighbor relationship.
由于各个 RR都进行了上述 VPN路由下一跳的修改, 所以转发一个从 PE1到 PE2 的 VPN业务, 从 VPN业务层面来看, 将会包括三段路径: PE1->RR-Switchl、 RR -Switch 1->RR-Switch3和 RR-Switch3->PE2。 该三段路径包括了三个起始节点和三 个端节点, 其中第一段路径 PE1->RR-Switchl的起始节点为 PE1, 端节点为 RR-S witch 1; 第二段路径 RR-Switchl->RR-Switch3的起始节点为 RR-Switchl ' 端节点 为 RR-Switch3; 第三段路径 RR-Switch3->PE2的起始节点为 RR-Switch3、 端节点 为 PE2。 这个业务的转发过程为: 业务报文从 CE1 (Customer  Since each RR performs the modification of the next hop of the VPN route, it forwards a VPN service from PE1 to PE2. From the perspective of the VPN service, it will include three paths: PE1->RR-Switchl, RR-Switch 1->RR-Switch3 and RR-Switch3->PE2. The three-segment path includes three start nodes and three end nodes, wherein the first node PE1>>RR-Switchl has a starting node of PE1, the end node is RR-S witch 1; and the second segment path RR- The start node of Switch->RR-Switch3 is RR-Switch1 and the end node is RR-Switch3. The first node of RR-Switch3->PE2 is RR-Switch3 and the end node is PE2. The forwarding process of this service is: Service message from CE1 (Customer
Edge, 用户边缘设备) 进入 PE1后, 査找转发表获得 RR-Switchl分配的内层标签 Lnl和到 RR-Switchl的外层隧道标签, 或者査找转发表得到内层标签, 然后査找 非直连下一跳表 (Indirect 发到达 RR-Switchl后, 剥离外层隧道标签, 然后进行内层隧道标签的一个 SWAP (交换) 操作, 即将 Lnl置换为 RR-Switch3分配的内层标签 Ln3, 接着封装一个 到 RR-Switch3的外层隧道的标签。 继续转发报文到 RR-Switch3, RR-Switch3进行 第二次内层标签 SWAP后, 重新封装外层隧道的标签, 然后转发给设备 PE2, PE 2将所有标签剥离后, 转发给 CE2。  Edge, user edge device) After entering PE1, look up the forwarding table to obtain the inner label Lnl assigned by RR-Switch1 and the outer tunnel label to RR-Switch1, or find the forwarding table to get the inner label, and then find the non-direct connection. After the Indirect sends the RR-Switch, it strips the outer tunnel label and then performs a SWAP (swap) operation on the inner tunnel label, which replaces the Lnl with the inner label Ln3 assigned by RR-Switch3, and then encapsulates one to RR. - Label of the outer tunnel of Switch 3. Continue to forward packets to RR-Switch 3. After the second inner label SWAP is performed, RR-Switch 3 re-encapsulates the label of the outer tunnel and forwards it to PE2. PE 2 will label all labels. After stripping, it is forwarded to CE2.
[8] 在 VPN业务的起始节点上会收到多个 VPN端节点发送过来的 VPN路由, 其中有 优选的路由, 也有非优选的路由。 对应每个 VPN路由前缀有一条或者多条负载 分担的路由被优选, 将优选的路由添加到转发平面中, 当 VPN业务转发路径的 端节点设备 (即转发路径上的每个 VPN路由的下一跳, 如 RR-Switchl、 RR-Switc h3或 PE2等设备) 或者链路 (如 PE1到 RR-Switchl之间的链路) 发生故障吋, 当 前的 VPN业务发生中断, 控制平面重新进行路由计算, 获得新的优选路由, 并 下发给转发平面, 重新更新转发表中的表项, 从而使端到端业务收敛。  [8] At the starting node of the VPN service, the VPN routes sent by multiple VPN end nodes are received, and there are preferred routes and non-preferred routes. A route with one or more load balancing corresponding to each VPN route prefix is preferred, and the preferred route is added to the forwarding plane, and the end node device of the VPN service forwarding path (ie, the next route of each VPN route on the forwarding path) If the hop, such as the RR-Switch, RR-Switc, or PE2, or the link (such as the link between PE1 and RR-Switch1) fails, the current VPN service is interrupted, and the control plane recalculates the route. A new preferred route is obtained and sent to the forwarding plane to re-update the entries in the forwarding table, so that the end-to-end service converges.
[9] 起始节点可以通过检测外层隧道是否发生故障来判定端节点设备或链路是否发 生故障, 例如, 可以通过链路状态快速上报检测、 BFD (Bidirectional  [9] The originating node can determine whether the end node device or link is faulty by detecting whether the outer tunnel is faulty. For example, the link status can be quickly reported and detected, BFD (Bidirectional)
Forwarding Detection , 双向转发检测 ) 、 OAM (Operation, Administration and Maintenance, 操作管理维护) 检测等方法来检测外层隧道是否发生故障, 一旦 检测到外层隧道发生故障, 则认为端节点设备或链路发生故障; 另外还可以通 过信令协议 IBGP来检测 RR-Switchl设备是否发生故障。 Forwarding Detection, two-way forwarding detection), OAM (Operation, Administration and Maintenance, operation management and maintenance) Detection and other methods to detect whether the outer tunnel is faulty. Once the outer tunnel is detected to be faulty, the end node device or link is considered to be faulty. In addition, the RR can be detected by the signaling protocol IBGP. Whether the Switch1 device is faulty.
[10] 例如, 假设端节点 RR-Switchl发生故障, 则 PE1会重新进行路由优选, 将另外 一个没有故障的 VPN端节点 RR-Switch2发布的路由作为新的优选路由, 然后将新 的优选路由下发给转发平面, 转发平面更新转发表中的表项后, 业务被转发到 新的优选端节点 RR-Switch2, 从而使 VPN业务重新恢复。 [10] For example, if the end node RR-Switch1 fails, PE1 will re-route the preference, and the route advertised by another non-failed VPN end node RR-Switch2 will be used as the new preferred route, and then the new preferred route will be placed. The service is forwarded to the new preferred end node RR-Switch2, and the VPN service is restored.
[11] 在实现本发明实施例的过程中, 发明人发现上述现有技术存在如下缺点: [12] 1、 端到端业务的收敛比较慢, 特别是进行 VPN路由信息传递的 BGP路由, 其 收敛更为缓慢。 平均收敛吋间在 5s-10s左右, 最好的情况下只能达到 Is左右的收 敛。 In the process of implementing the embodiments of the present invention, the inventors have found that the above prior art has the following disadvantages: [12] 1. The convergence of the end-to-end service is relatively slow, especially the BGP route for performing VPN routing information transmission. The convergence is slower. The average convergence time is around 5s-10s. In the best case, it can only achieve the convergence of Is.
[13] 2、 通过隧道故障感知端节点设备或链路故障的方式, 需要在控制平面对已经 保存的与故障的端节点或链路相关的路由进行重新计算, 而且计算吋间和路由 数目有关, 即与故障的端节点或链路相关的路由数目越多, 重新计算路由需要 的吋间越长。 例如, 计算和下发表项的吋间通常在 l-5s, 这个吋间对于语音、 视 频等业务来说太长了; 通常这些业务期望的端节点业务收敛的吋间是 200ms至 Is , 否则, 上面承载的语音、 视频业务就会受影响。  [13] 2. Through the tunnel fault to detect the end node device or link failure mode, the control plane needs to recalculate the saved route related to the faulty end node or link, and calculate the number of times and the number of routes. That is, the more the number of routes associated with the failed end node or link, the longer the time required to recalculate the route. For example, the time between the calculation and the next published item is usually l-5s, which is too long for voice, video, etc.; usually, the end node service convergence time of these services is 200ms to Is, otherwise, The voice and video services carried on it will be affected.
[14] 发明内容  [14] Summary of the invention
[15] 为了解决自治系统内端节点设备或链路故障后端到端业务收敛较慢、 可能影响 业务的问题, 本发明实施例提供了一种快速收敛端到端业务的方法。  [15] In order to solve the problem that the end-to-end service convergence of the end node device or the link failure in the autonomous system is slow and may affect the service, the embodiment of the present invention provides a method for rapidly convergence end-to-end service.
[16] 本发明实施例的目的是通过以下技术方案实现的: [16] The purpose of the embodiment of the present invention is achieved by the following technical solutions:
[17] 一种快速收敛端到端业务的方法, 用于自治系统内, 所述方法包括: [17] A method for rapidly converge end-to-end services, for use in an autonomous system, the method comprising:
[18] 选定主用路由, 并为每条选定的主用路由配置备用路由, 将所述主用路由和备 用路由添加到转发表中; [18] The primary route is selected, and an alternate route is configured for each selected primary route, and the primary route and the standby route are added to the forwarding table;
[19] 设置所述主用路由对应的外层隧道的状态为有效; [19] setting the state of the outer tunnel corresponding to the primary route to be valid;
[20] 当检测到一个外层隧道故障后, 将该外层隧道的状态更改为失效; [20] When an outer tunnel failure is detected, the state of the outer tunnel is changed to invalid;
[21] 在转发业务报文吋, 首先在所述转发表中匹配到相应的主用路由, 然后判断该 主用路由对应的外层隧道状态是否为有效, 如果有效, 则使用所述主用路由转 发该业务报文; 否则, 使用所述转发表中与该主用路由相对应的备用路由转发 该业务报文。 [21] After forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then determining whether the outer tunnel state corresponding to the primary route is valid, and if valid, using the primary Routing The service packet is sent; otherwise, the service packet is forwarded by using an alternate route corresponding to the primary route in the forwarding table.
[22] 一种快速收敛端到端业务的装置, 用于自治系统内, 所述装置包括:  [22] A device for quickly converge end-to-end services, for use in an autonomous system, the device comprising:
[23] 配置模块, 用于选定主用路由, 并为选定的主用路由配置备用路由, 将所述主 用路由和备用路由添加到转发表中;  [23] a configuration module, configured to select an active route, and configure an alternate route for the selected primary route, and add the primary route and the alternate route to the forwarding table;
[24] 隧道状态记录模块, 用于初始化吋设置所述配置模块选定的所述主用路由对应 的外层隧道的状态为有效; 当检测到一个外层隧道故障后, 将该外层隧道的状 态更改为失效; [24] a tunnel state recording module, configured to initialize, set a state of an outer tunnel corresponding to the primary route selected by the configuration module to be valid; and when an outer tunnel fault is detected, the outer tunnel is Changed state to expired;
[25] 业务收敛模块, 用于在转发业务报文吋, 首先在所述转发表中匹配到相应的主 用路由, 然后判断该主用路由对应的外层隧道状态是否为有效, 如果有效, 则 使用所述主用路由转发该业务报文; 否则使用所述转发表中与该主用路由相对 应的备用路由转发该业务报文。  [25] The service convergence module is configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then determining whether the outer tunnel state corresponding to the primary route is valid, and if valid, Then, the service message is forwarded by using the primary route; otherwise, the service packet is forwarded by using an alternate route corresponding to the primary route in the forwarding table.
[26] 本发明实施例的有益效果主要表现在:  [26] The beneficial effects of the embodiments of the present invention are mainly manifested in:
[27] 在自治系统域内, 无论是主备路由还是负载分担的情况下, VPN端节点或链路 故障后, 都可以在 200ms至 Is内完成端到端业务的收敛, 而且收敛吋间和业务路 由数目没有关系。  [27] In the autonomous system domain, in the case of active/standby routes or load balancing, after the VPN end node or link fails, the end-to-end service convergence can be completed within 200ms to Is, and the convergence time and service are completed. The number of routes does not matter.
[28] 附图说明  [28] BRIEF DESCRIPTION OF THE DRAWINGS
[29] 图 1是现有技术中一自治系统内 VPN业务组网结构图;  [1] FIG. 1 is a structural diagram of a VPN service networking in an autonomous system in the prior art;
[30] 图 2是本发明实施例一主备路由方式下转发表和外层隧道状态表示意图; [31] 图 3是本发明实施例一快速收敛端到端业务的方法流程图; 2 is a schematic diagram of a forwarding table and an outer tunnel state table in an active/standby routing manner according to an embodiment of the present invention; [31] FIG. 3 is a flowchart of a method for rapidly convergence end-to-end service according to Embodiment 1 of the present invention;
[32] 图 4是本发明实施例二主备路由方式下转发表、 非直连下一跳表和外层隧道状 态表示意图; 4 is a schematic diagram of a forwarding table, an indirect direct hop table, and an outer tunnel state table in the active/standby routing mode according to the second embodiment of the present invention;
[33] 图 5是本发明实施例二快速收敛端到端业务的方法流程图;  FIG. 5 is a flowchart of a method for quickly convergence end-to-end service according to Embodiment 2 of the present invention; FIG.
[34] 图 6是本发明实施例三负载分担方式下转发表和外层隧道状态表示意图; [35] 图 7是本发明实施例三快速收敛端到端业务的方法流程图; 6 is a schematic diagram of a forwarding table and an outer tunnel state table in a load balancing mode according to Embodiment 3 of the present invention; [35] FIG. 7 is a flowchart of a method for rapidly convergence end-to-end service according to Embodiment 3 of the present invention;
[36] 图 8是本发明实施例四负载分担方式下转发表、 非直连下一跳表和外层隧道状 态表示意图; [36] FIG. 8 is a schematic diagram of a forwarding table, a non-directly connected next hop table, and an outer tunnel state table in a load balancing mode according to an embodiment of the present invention;
[37] 图 9是本发明实施例四快速收敛端到端业务的方法流程图; [38] 图 10是本发明实施例五快速收敛端到端业务的装置结构图。 9 is a flowchart of a method for rapidly convergence end-to-end service according to Embodiment 4 of the present invention; FIG. 10 is a structural diagram of an apparatus for fast convergence end-to-end service according to Embodiment 5 of the present invention.
[39] 具体实施方式 [39] Specific implementation
[40] 下面结合附图和具体实施例对本发明作进一步说明, 但本发明不局限于下面的 实施例。  The present invention will be further described with reference to the drawings and specific embodiments, but the invention is not limited to the following embodiments.
[41] 实施例一 [41] Example 1
[42] 本实施例中业务路由釆用主备路由的方式, 即在 VPN起始节点上, 将优选路由 和具有与优选路由不同的端节点的非优选路由组成主备路由的方式。  [42] In this embodiment, the service route uses the primary and backup routes, that is, the manner in which the preferred route and the non-preferred route having the end node different from the preferred route are combined into the primary and backup routes.
[43] 参见图 2和图 3, 本发明实施例提供了一种快速收敛端到端业务的方法, 具体包 括以下步骤:  [43] Referring to FIG. 2 and FIG. 3, an embodiment of the present invention provides a method for rapidly convergence end-to-end service, which specifically includes the following steps:
[44] 步骤 101 : 在 VPN起始节点上, 将优选路由和具有与优选路由不同端节点的非 优选路由组成主备路由的方式, 并添加在 VPN起始节点设备的转发表项中, 即 对应每条 VPN路由前缀都有一条主用路由和一条备用路由。 转发表中的主用路 由和备用路由的信息都包括内层标签和外层标签, 其中外层标签和一个外层隧 道相对应。  [44] Step 101: On the VPN initiating node, a preferred route and a non-preferred route having a different end node from the preferred route are combined into a primary and backup route, and added to the forwarding entry of the VPN initiating node device, that is, There is one primary route and one alternate route for each VPN route prefix. The information of the primary route and the alternate route in the forwarding table includes an inner label and an outer label, wherein the outer label corresponds to an outer tunnel.
[45] 步骤 102: 建立一个外层隧道状态表, 用于记录所有主用路由对应的外层隧道 的状态, 在初始化吋全部设置为有效; 并根据主用路由和外层隧道的对应关系 , 在转发表中为每个主用路由设置一个外层隧道状态索引, 通过该索引能够索 引到外层隧道状态表中该主用路由对应的外层隧道的状态。  [45] Step 102: Establish an outer tunnel state table, which is used to record the state of the outer tunnel corresponding to all the main routes, and all of them are set to be valid after the initialization; and according to the correspondence between the primary route and the outer tunnel, An outer tunnel state index is set for each primary route in the forwarding table, and the index can be indexed to the state of the outer tunnel corresponding to the primary route in the outer tunnel state table.
[46] 步骤 103: 使用链路状态快速上报检测、 BFD、 OAM或者 LSP (Label Switch [46] Step 103: Fast report detection, BFD, OAM or LSP (Label Switch)
Path, 标签交换路径) 快速收敛等技术检测所有外层隧道的状态, 当检测到某个 外层隧道故障后, 立即将外层隧道状态表中该外层隧道对应的表项置为失效。 Path, label switching path) The technology of fast-convergence detects the status of all outer tunnels. When an outer tunnel fault is detected, the corresponding entry of the outer tunnel in the outer tunnel state table is invalidated.
[47] 步骤 104: 在 VPN起始节点上转发 VPN业务报文吋, 首先将业务报文中的目的 地址与转发表中的 VPN路由的前缀匹配, 匹配成功后 (即选中主用路由后) , 通过该主用路由的外层隧道状态索引找到该主用路由对应的外层隧道的状态, 査看此吋该外层隧道状态是否为有效, 如果状态为有效, 则使用该主用路由转 发业务报文, 否则, 使用与该主用路由相对应的备用路由进行转发。 [47] Step 104: After forwarding the VPN service packet on the VPN originating node, first match the destination address in the service packet with the prefix of the VPN route in the forwarding table, and after the matching is successful (that is, after selecting the primary routing) The status of the outer tunnel corresponding to the primary route is found through the outer tunnel state index of the primary route, and the status of the outer tunnel is valid. If the status is valid, the primary route is forwarded. The service packet, otherwise, is forwarded using the alternate route corresponding to the primary route.
[48] 步骤 103和步骤 104没有固定的先后顺序, 而且检测外层隧道状态的步骤是始终 在执行的。 [49] 本发明实施例用于自治系统内, 而且自治系统内的端节点为将 VPN路由的下一 跳更改为自己的端节点。 结合图 1, 上述过程具体如下: [48] Steps 103 and 104 have no fixed sequence, and the step of detecting the state of the outer tunnel is always performed. The embodiment of the present invention is used in an autonomous system, and the end node in the autonomous system changes the next hop of the VPN route to its own end node. Referring to Figure 1, the above process is as follows:
[50] 在自治系统内通过 PE2和 PE3设备同吋发布两条到 CE2的路由, RR-Switch3和 R R-Switch4均收到 PE2和 PE3发布的路由, 假设 RR-Switch3优选 PE2发布的路由, R R-Switch4优选 PE3发布的路由; 然后 RR-Switch3和 RR-Switch4都使用更改下一跳 为自己的方式继续在本自治系统内发布路由, RR-Switchl和 RR-Switch2同样均会 接收到 RR-Switch3和 RR-Switch4发布的路由, 假设 RR-Switchl优选 RR-Switch3发 布的路由, RR-Switch2优选 RR-Switch4发布的路由; 然后 RR-Switchl和 RR-Switc h2继续在域内扩散路由, PE1收到 RR-Switohl和 RR-Switch2发布的路由后, 假设 其优选 RR-Switchl发布的路由, 则基于上面的选路, 从 CE1到 CE2的转发路径为  [50] In the autonomous system, the two routes to the CE2 are advertised through the PE2 and the PE3. The RR-Switch3 and the R-Switch4 are both advertised by the PE2 and the PE3. R R-Switch 4 is the route advertised by PE3. Then, both RR-Switch 3 and RR-Switch 4 continue to advertise routes in the local system. RR-Switch 1 and RR-Switch 2 also receive RRs. - Routes advertised by Switch3 and RR-Switch4. It is assumed that RR-Switch1 is the route advertised by RR-Switch3, and RR-Switch2 is the route advertised by RR-Switch4. Then RR-Switch1 and RR-Switc h2 continue to spread routes in the domain. After the route advertised by RR-Switohl and RR-Switch2 is assumed to be the route advertised by RR-Switch1, the forwarding path from CE1 to CE2 is based on the above route.
[51] CE1 - >PE1 - >RR-S witch 1 - >RR-Switch3 - >PE2 - >CE2。 [51] CE1 ->PE1 ->RR-S witch 1 ->RR-Switch3 ->PE2 ->CE2.
[52] 在起始节点 PE1上将优选路由 (RR-Switchl发布的路由) 和与该优选路由具有 不同远端下一跳的非优选路由 (RR-Switch2发布的路由) 组成主备路由的形式, 同吋添加到在 PE1设备的转发表项中。 在转发表中为优选的 RR-Switchl发送过来 的 VPN路由建立一个外层隧道状态索引, 即 PE1到 RR-Switchl的外层隧道状态索 弓 I。 从 CE1到 CE2的 VPN业务报文进入 PE1后, 首先将业务报文中的目的地址与 转发表中的 VPN路由的前缀匹配, 匹配成功即找到主用路由 (RR-Switchl发布的 路由) 后, 通过外层隧道状态索引检索到外层隧道状态表中该主用路由对应的 外层隧道 (即 PE1到 RR-Switchl的外层隧道) 的状态, 如果该状态为有效, 则使 用该主用路由转发业务报文; 否则使用与该主用路由相对应的备用路由转发业 务报文。  [52] In the form of an active/standby route, the preferred route (the route advertised by the RR-Switch1) and the non-preferred route having the different far-end hops of the preferred route (the route advertised by the RR-Switch2) are formed on the starting node PE1. The peer is added to the forwarding entry on the PE1 device. In the forwarding table, an outer tunnel state index is established for the VPN route sent by the preferred RR-Switch1, that is, the outer tunnel state of the PE1 to RR-Switch1. After the VPN service packets from CE1 to CE2 enter PE1, the destination address in the service packet is matched with the prefix of the VPN route in the forwarding table. After the matching is successful, the primary route (route advertised by RR-Switch1) is found. The state of the outer tunnel corresponding to the primary route (that is, the outer tunnel of PE1 to RR-Switch1) in the outer tunnel state table is retrieved through the outer tunnel state index. If the state is valid, the primary route is used. The service packet is forwarded; otherwise, the service packet is forwarded by using the alternate route corresponding to the primary route.
同吋, 使用 BFD for  At the same time, use BFD for
LSP技术快速检测 PE1到 RR-Switchl的外层 LSP隧道的状态。 如果 RR-Switchl节 点发生故障, 贝 IjBFD for  The LSP technology quickly detects the status of the outer LSP tunnel from PE1 to RR-Switch1. If the RR-Switch1 node fails, IjBFD for
LSP技术可以在 200ms内 (例如 180ms) 检测到 PE1到 RR-Switchl外层隧道故障, 从而立即将外层隧道状态表中此外层隧道的状态置为失效, 弓 I发 CE1到 CE2的 VP N业务迅速切换到备用的 VPN路由上去。 外层隧道状态的检测速度就决定了端到 端业务收敛的吋间, 因此 VPN业务收敛的吋间能做到 200ms左右。 The LSP technology can detect the fault of the outer tunnel of the PE1 to the RR-Switch1 within 200 ms (for example, 180 ms), and immediately disable the state of the outer tunnel in the outer tunnel state table, and send the VP N service from CE1 to CE2. Switch to the alternate VPN route quickly. The detection speed of the outer tunnel state determines the end to The convergence of the end-end service can be achieved in the day when the VPN service converges.
[54] 实施例二 [54] Example 2
[55] 本实施例中业务路由也釆用主备路由的方式, 即在 VPN起始节点上, 将优选路 由和具有与优选路由不同的端节点的非优选路由组成主备路由的方式。  [55] In this embodiment, the service route also uses the primary and backup routes, that is, the manner in which the preferred route and the non-preferred route having the end node different from the preferred route form the primary and backup routes on the VPN originating node.
[56] 参见图 4和图 5, 本发明实施例还提供了一种快速收敛端到端业务的方法, 具体 包括以下步骤:  [0] Referring to FIG. 4 and FIG. 5, an embodiment of the present invention further provides a method for rapidly convergence end-to-end service, which specifically includes the following steps:
[57] 步骤 201 : 在 VPN起始节点上, 将优选路由和具有与优选路由不同端节点的非 优选路由组成主备路由的方式, 并添加在 VPN起始节点设备的转发表项中, 即 对应每条 VPN路由前缀都有一条主用路由和一条备用路由。 转发表中的主用路 由和备用路由的信息都包括内层标签, 而且每条路由信息都能索引到非直连下 一跳表中与该条路由相对应的外层标签, 即对应一个外层隧道。  [57] Step 201: On the VPN initiating node, the preferred route and the non-preferred route having the different end node of the preferred route are combined into the primary and backup routes, and added in the forwarding entry of the VPN starting node device, that is, There is one primary route and one alternate route for each VPN route prefix. The information of the primary route and the alternate route in the forwarding table includes the inner label, and each routing information can be indexed to the outer label corresponding to the route in the indirect next hop table, that is, corresponding to one outer Layer tunnel.
[58] 步骤 202: 建立一个外层隧道状态表, 用于记录所有主用路由对应的外层隧道 的状态, 在初始化吋全部设置为有效; 并在非直连下一跳表中为每个外层标签 设置一个外层隧道状态索引, 通过该索引能够索引到外层隧道状态表中该外层 标签对应的外层隧道的状态。  [58] Step 202: Establish an outer tunnel state table, which is used to record the state of the outer tunnel corresponding to all the main routes, and all of them are set to be valid after initialization; and in the non-directly connected next hop table for each The outer label sets an outer tunnel state index, and the index can be indexed to the state of the outer tunnel corresponding to the outer label in the outer tunnel state table.
[59] 步骤 203: 使用链路状态快速上报检测、 BFD、 OAM或者 LSP快速收敛等技术 检测所有外层隧道的状态, 当检测到某个外层隧道故障后, 立即将外层隧道状 态表中该外层隧道的状态置为失效。  [59] Step 203: Detecting the state of all outer tunnels by using the link state fast report detection, BFD, OAM, or LSP fast convergence. When an outer tunnel fault is detected, the outer tunnel state table is immediately The state of the outer tunnel is set to be invalid.
[60] 步骤 204: 在 VPN起始节点上转发 VPN业务报文吋, 首先将业务报文中的目的 地址与转发表中的 VPN路由的前缀匹配, 匹配成功后 (即选中主用路由后) , 首先索弓 I到非直连下一跳表中的外层标签, 然后通过外层隧道状态索弓 I找到外 层隧道状态表中该外层标签对应的外层隧道的状态, 査看此吋该外层隧道状态 是否为有效, 如果状态为有效, 则使用该主用路由转发业务报文, 否则, 使用 与该主用路由相对应的备用路由进行转发。  [60] Step 204: After forwarding the VPN service packet on the VPN initiating node, first match the destination address in the service packet with the prefix of the VPN route in the forwarding table, and after the matching is successful (that is, after selecting the primary routing) First, the bowing I to the outer label of the indirect next hop table, and then through the outer tunnel state cable I find the state of the outer tunnel corresponding to the outer label in the outer tunnel state table, view this If the status of the outer tunnel is valid, if the status is valid, the primary route is used to forward the service packet. Otherwise, the alternate route corresponding to the primary route is used for forwarding.
[61] 步骤 203和步骤 204没有固定的先后顺序, 而且检测外层隧道状态的步骤是始终 在执行的。  [61] Steps 203 and 204 have no fixed sequence, and the step of detecting the state of the outer tunnel is always performed.
[62] 实施例三 [62] Embodiment 3
[63] 与上述实施例不同的是, 本实施例中业务路由釆用负载分担的方式, 即业务路 由是由多条优选的路由共同负载分担, 参见图 6和图 7, 本发明实施例还提供了 一种快速收敛端到端业务的方法, 具体包括以下步骤: [63] Different from the above embodiment, in the embodiment, the service routing uses load balancing, that is, the service path. As shown in FIG. 6 and FIG. 7 , the embodiment of the present invention further provides a method for rapidly convergence end-to-end service, which specifically includes the following steps:
[64] 步骤 301 : 在 VPN业务的起始节点上优选多条 VPN路由作负载分担, 将其中每 条负载分担的路由都作为主用路由, 并为每条主用路由都设置一个备用路由, 备用路由由与相应的主用路由具有不同端节点的其他优选路由担当, 并添加在 V PN起始节点设备的转发表项中, 即对应每条 VPN路由前缀都有多条负载分担的 主用路由, 每个主用路由都一个相应的备用路由。 对于每个主用路由, 尽可能 的选择不同的其他优选路由作为备份路由。 例如, 假设在 VPN起始节点上优选 了 4条路由做负载分担, 将其中的路由 1和路由 2作为主用路由, 如果主用路由 1 的备用路由选用了路由 3, 则主用路由 2的备用路由就选用路由 4, 尽量选成不同 的备用路由。 不论主用路由, 或者备用路由都同吋包括内层标签和外层标签, 其中外层标签和一个外层隧道相对应。  [64] Step 301: Preferably, multiple VPN routes are used for load balancing on the starting node of the VPN service, and each load-sharing route is used as an active route, and an alternate route is set for each primary route. The alternate route is carried by other preferred routes that have different end nodes from the corresponding primary route, and is added to the forwarding entry of the V PN originating node device, that is, the primary load for each VPN routing prefix has multiple load sharing. Routing, each primary route has a corresponding alternate route. For each primary route, choose different preferred routes as backup routes as much as possible. For example, suppose that four routes are preferred for load balancing on the VPN starting node, and route 1 and route 2 are used as primary routes. If the primary route of primary route 1 is route 3, the primary route 2 is used. Route 4 is selected for the alternate route, and different alternate routes are selected as much as possible. Regardless of the primary route, or the alternate route includes both the inner label and the outer label, where the outer label corresponds to an outer tunnel.
[65] 步骤 302: 建立一个外层隧道状态表, 用于记录所有主用路由对应的外层隧道 的状态, 在初始化吋全部设置为有效; 并在转发表中为每个主用路由设置一个 外层隧道状态索引, 通过该索引能够索引到外层隧道状态表中该主用路由对应 的外层隧道的状态。  [65] Step 302: Establish an outer tunnel state table, which is used to record the state of the outer tunnel corresponding to all the main routes, and all are set to be valid after the initialization; and set one for each primary route in the forwarding table. The outer tunnel state index, by which the state of the outer tunnel corresponding to the primary route in the outer tunnel state table can be indexed.
[66] 步骤 303: 使用链路状态快速上报检测、 BFD、 OAM或者 LSP快速收敛等技术 检测所有外层隧道状态, 当检测到某个外层隧道故障后, 立即将外层隧道状态 表中该外层隧道的状态置为失效。  [66] Step 303: Detecting the status of all outer tunnels by using the link state fast report detection, BFD, OAM, or LSP fast convergence. When an outer tunnel fault is detected, the outer tunnel state table is immediately The state of the outer tunnel is set to invalid.
[67] 步骤 304: 在 VPN起始节点上转发 VPN业务报文吋, 首先将业务报文中的目的 地址与转发表中的 VPN路由的前缀匹配, 匹配成功后 (即选中主用路由后) , 通过该主用路由的外层隧道状态索引找到该主用路由对应的外层隧道的状态, 査看此吋该外层隧道状态是否为有效, 如果状态为有效, 则使用该主用路由转 发业务报文, 否则, 使用与该主用路由对应的备用路由进行转发。  [67] Step 304: After forwarding the VPN service packet on the VPN initiating node, first match the destination address in the service packet with the prefix of the VPN route in the forwarding table, and after the matching is successful (that is, after selecting the primary routing) The status of the outer tunnel corresponding to the primary route is found through the outer tunnel state index of the primary route, and the status of the outer tunnel is valid. If the status is valid, the primary route is forwarded. Service packet, otherwise, it uses the alternate route corresponding to the primary route for forwarding.
[68] 步骤 303和步骤 304没有固定的先后顺序, 而且检测外层隧道状态的步骤是始终 在执行的。  [68] Steps 303 and 304 have no fixed sequence, and the step of detecting the state of the outer tunnel is always performed.
[69] 实施例四  [69] Embodiment 4
[70] 本实施例中业务路由也釆用负载分担的方式, 即业务路由是由多条优选的路由 共同负载分担, 参见图 8和图 9, 本发明实施例还提供了一种快速收敛端到端业 务的方法, 具体包括以下步骤: [70] In this embodiment, the service routing also uses load balancing, that is, the service routing is performed by multiple preferred routes. Common load sharing, as shown in FIG. 8 and FIG. 9, the embodiment of the present invention further provides a method for rapidly convergence end-to-end service, which specifically includes the following steps:
[71] 步骤 401 : 在 VPN业务的起始节点上优选多条 VPN路由作负载分担, 将其中每 条负载分担的路由都作为主用路由, 并为每条主用路由都设置一个备用路由, 备用路由与相应的主用路由具有不同端节点的其他优选路由担当, 并添加在 VP[71] Step 401: Preferably, multiple VPN routes are used for load balancing on the starting node of the VPN service, and each load-sharing route is used as an active route, and an alternate route is set for each primary route. The alternate route and the corresponding primary route have other preferred routes of different end nodes, and are added to the VP.
N起始节点设备的转发表项中, 即对应每条 VPN路由前缀都有多条负载分担的主 用路由, 每个主用路由都一个相应的备用路由。 对于每个主用路由, 尽可能的 选择不同的其他优选路由作为备份路由。 不论主用路由信息, 还是备用路由信 息都包括内层标签, 而且每条路由信息都能索引到非直连下一跳表中与该条路 由相对应的外层标签, 即对应一个外层隧道。 In the forwarding entry of the N-node device, there are multiple load-sharing primary routes for each VPN route prefix, and each primary route has a corresponding alternate route. For each primary route, choose different preferred routes as backup routes as much as possible. The inner routing label is included in both the primary routing information and the secondary routing information, and each routing information can be indexed to the outer label corresponding to the routing in the indirect next hop table, that is, corresponding to an outer tunnel. .
[72] 步骤 402: 建立一个外层隧道状态表, 用于记录所有主用路由对应的外层隧道 的状态, 在初始化吋全部设置为有效; 并在非直连下一跳表中为每个外层标签 设置一个外层隧道状态索引, 通过该索引能够索引到外层隧道状态表中该外层 标签对应的外层隧道的状态。  [72] Step 402: Establish an outer tunnel state table, which is used to record the state of the outer tunnel corresponding to all the main routes, and all of them are set to be valid after the initialization; and in the non-directly connected next hop table for each The outer label sets an outer tunnel state index, and the index can be indexed to the state of the outer tunnel corresponding to the outer label in the outer tunnel state table.
[73] 步骤 403: 使用链路状态快速上报检测、 BFD、 OAM或者 LSP快速收敛等技术 检测所有外层隧道状态, 当检测到某个外层隧道故障后, 立即将外层隧道状态 表中该外层隧道的状态置为失效。  [73] Step 403: Detecting the state of all outer tunnels by using a link state fast report detection, BFD, OAM, or LSP fast convergence. When an outer tunnel fault is detected, the outer tunnel state table is immediately The state of the outer tunnel is set to invalid.
[74] 步骤 404: 在 VPN起始节点上转发 VPN业务报文吋, 首先将业务报文中的目的 地址与转发表中的 VPN路由的前缀匹配, 匹配成功后 (即选中主用路由后) , 首先索引到非直连下一跳表中与选中的主用路由相对应的外层标签, 然后通过 该外层标签的外层隧道状态索引找到外层隧道状态表中该外层标签对应的外层 隧道的状态, 査看此吋该外层隧道状态是否为有效, 如果状态为有效, 则使用 该主用路由转发业务报文, 否则, 使用与该主用路由对应的备用路由进行转发  [74] Step 404: After forwarding the VPN service packet on the VPN initiating node, first match the destination address in the service packet with the prefix of the VPN route in the forwarding table, and after the matching is successful (that is, after selecting the primary routing) First, indexing the outer label corresponding to the selected primary route in the indirect next hop table, and then finding the outer label corresponding to the outer label in the outer tunnel state table by using the outer tunnel state index of the outer label If the state of the outer tunnel is valid, the status of the outer tunnel is valid. If the status is valid, the primary route is used to forward the service packet. Otherwise, the alternate route corresponding to the primary route is used for forwarding.
[75] 步骤 403和步骤 404没有固定的先后顺序, 而且检测外层隧道状态的步骤是始终 在执行的。 [75] Steps 403 and 404 have no fixed sequence, and the step of detecting the outer tunnel state is always performed.
[76] 实施例五 [76] Example 5
[77] 参见图 10, 本发明实施例还提供了一种快速收敛端到端业务的装置, 用于自治 系统内, 具体包括: [77] Referring to FIG. 10, an embodiment of the present invention further provides a device for rapidly convergence end-to-end service, which is used for autonomous Within the system, specifically:
[78] (1) 配置模块, 用于选定主用路由, 并为每条选定的主用路由设置备用路由 [78] (1) Configuration module for selecting the primary route and setting up alternate routes for each selected primary route
, 将所有主备路由添加到转发表中; Add all active and standby routes to the forwarding table.
[79] (2) 隧道状态记录模块, 用于初始化吋设置上述配置模块选定的所有主用路 由对应的外层隧道的状态为有效; 当检测到一个外层隧道故障后, 将该外层隧 道的状态更改为失效; [79] (2) The tunnel state recording module is configured to initialize, set the state of the outer tunnel corresponding to all the primary routes selected by the configuration module to be valid; when an outer tunnel fault is detected, the outer layer is The status of the tunnel is changed to invalid;
[80] (3) 业务收敛模块, 用于在转发业务报文吋, 首先在转发表中匹配到相应的 主用路由, 然后判断该主用路由对应的外层隧道状态是否为有效, 如果有效, 则使用该主用路由转发业务报文; 否则使用转发表中与该主用路由相对应的备 用路由转发该业务报文。  [80] (3) The service convergence module is configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then determining whether the outer tunnel state corresponding to the primary route is valid, if valid Then, the primary route is used to forward the service packet; otherwise, the service route is forwarded by using the alternate route corresponding to the primary route in the forwarding table.
[81] 上述三个模块可以具体为:  [81] The above three modules can be specifically:
[82] 第一配置模块, 用于将包含内层标签和外层标签且具有不同端节点的优选路由 和非优选路由组成主备路由的方式, 添加到转发表中;  [82] The first configuration module is configured to add the preferred route and the non-preferred route that are configured by the inner layer label and the outer layer label to the forwarding table by adding the preferred route and the non-preferred route.
[83] 第一隧道状态记录模块, 用于建立外层隧道状态表, 设置所有主用路由对应的 外层隧道的状态为有效; 为转发表中的每个主用路由设置一个能索引到外层隧 道状态表中与该主用路由相对应的外层隧道的状态的外层隧道状态索引; 当检 测到一个外层隧道故障后, 将外层隧道状态表中该外层隧道的状态更改为失效  [83] The first tunnel state recording module is configured to establish an outer tunnel state table, set the state of the outer tunnel corresponding to all the primary routes to be valid, and set an indexable outer to each primary route in the forwarding table. The outer tunnel state index of the state of the outer tunnel corresponding to the primary route in the layer tunnel state table; when an outer tunnel failure is detected, the state of the outer tunnel in the outer tunnel state table is changed to Invalid
[84] 第一业务收敛模块, 用于在转发业务报文吋, 首先在转发表中匹配到相应的主 用路由, 然后根据该主用路由的外层隧道状态索引査询外层隧道状态表中相应 的外层隧道状态是否为有效, 如果有效, 则使用主用路由转发该业务报文; 否 则使用转发表中与该主用路由相对应的备用路由转发该业务报文。 [84] The first service convergence module is configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then querying the outer tunnel state table according to the outer tunnel state index of the primary route. If the corresponding outer tunnel state is valid, if it is valid, the service route is forwarded by using the primary route; otherwise, the service packet is forwarded by using the alternate route corresponding to the primary route in the forwarding table.
[85] 或者具体为:  [85] Or specifically:
[86] 第二配置模块, 用于将包含内层标签且具有不同端节点的优选路由和非优选路 由组成主备路由的方式, 添加到转发表中;  [86] a second configuration module, configured to add a preferred route and a non-preferred route that have an inner end label and different end nodes to form an active/standby route, and add the method to the forwarding table.
[87] 第二隧道状态记录模块, 用于建立外层隧道状态表, 设置所有主用路由对应的 外层隧道的状态为有效; 为非直连下一跳表中的每个外层标签设置一个能索引 到外层隧道状态表中与该外层标签相对应的外层隧道的状态的外层隧道状态索 弓 I ; 当检测到一个外层隧道故障后, 将外层隧道状态表中该外层隧道的状态更 改为失效; [87] The second tunnel state recording module is configured to establish an outer tunnel state table, and set the state of the outer tunnel corresponding to all the main routes to be valid; set the outer label of each non-directly connected next hop table. An outer tunnel state that can be indexed to the state of the outer tunnel corresponding to the outer label in the outer tunnel state table Bow I; When an outer tunnel failure is detected, the state of the outer tunnel in the outer tunnel state table is changed to invalid;
[88] 第二业务收敛模块, 用于在转发业务报文吋, 首先在转发表中匹配到相应的主 用路由, 然后索引到非直连下一跳表中与该主用路由相对应的外层标签, 根据 该外层标签的外层隧道状态索引査询外层隧道状态表中相应的外层隧道状态是 否为有效, 如果有效, 则使用主用路由转发该业务报文; 否则使用转发表中与 该主用路由相对应的备用路由转发该业务报文。  [88] The second service convergence module is configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then indexing to the non-directly connected next hop table corresponding to the primary route The outer label is used to query whether the corresponding outer tunnel state in the outer tunnel state table is valid according to the outer tunnel state index of the outer label. If valid, the active route is used to forward the service packet; otherwise, the service packet is used. The alternate route corresponding to the primary route is forwarded to forward the service packet.
[89] 或者具体为:  [89] Or specifically:
[90] 第三配置模块, 用于将包含内层标签和外层标签的负载分担的每条路由作为主 用路由, 并为每个主用路由设置一个具有不同端节点的备用路由, 将所有主备 路由添加到转发表中;  [90] The third configuration module is configured to use each route of load sharing including the inner label and the outer label as the primary route, and set an alternate route with different end nodes for each primary route, and all The active and standby routes are added to the forwarding table.
[91] 第三隧道状态记录模块, 用于建立外层隧道状态表, 设置所有主用路由对应的 外层隧道的状态为有效; 为转发表中的每个主用路由设置一个能索引到外层隧 道状态表中与该主用路由相对应的外层隧道的状态的外层隧道状态索引; 当检 测到一个外层隧道故障后, 将外层隧道状态表中该外层隧道的状态更改为失效  [91] The third tunnel state recording module is configured to establish an outer tunnel state table, and set the state of the outer tunnel corresponding to all the primary routes to be valid; set an indexable outer to each primary route in the forwarding table. The outer tunnel state index of the state of the outer tunnel corresponding to the primary route in the layer tunnel state table; when an outer tunnel failure is detected, the state of the outer tunnel in the outer tunnel state table is changed to Invalid
[92] 第三业务收敛模块, 在转发业务报文吋, 首先在转发表中匹配到相应的主用路 由, 然后根据该主用路由的外层隧道状态索引査询外层隧道状态表中相应的外 层隧道状态是否为有效, 如果有效, 则使用主用路由转发该业务报文; 否则使 用转发表中与该主用路由相对应的备用路由转发该业务报文。 [92] The third service convergence module, after forwarding the service packet, first matches the corresponding primary route in the forwarding table, and then queries the outer tunnel state table according to the outer tunnel state index of the primary route. If the outer tunnel state is valid, if it is valid, the service route is forwarded by using the primary route; otherwise, the service packet is forwarded by using the alternate route corresponding to the primary route in the forwarding table.
[93] 或者具体为:  [93] Or specifically:
[94] 第四配置模块, 用于将包含内层标签的负载分担的每条路由作为主用路由, 并 为每个主用路由设置一个具有不同端节点的备用路由, 将所有主备路由添加到 转发表中;  [94] The fourth configuration module is configured to use each route of the load sharing of the inner label as the primary route, and set an alternate route with different end nodes for each primary route, and add all the active and standby routes. Into the forwarding table;
[95] 第四隧道状态记录模块, 用于建立外层隧道状态表, 设置所有主用路由对应的 外层隧道的状态为有效; 为非直连下一跳表中的每个外层标签设置一个能索引 到外层隧道状态表中与该外层标签相对应的外层隧道的状态的外层隧道状态索 弓 I; 当检测到一个外层隧道故障后, 将外层隧道状态表中该外层隧道的状态更 改为失效; [95] The fourth tunnel state recording module is configured to establish an outer tunnel state table, set the state of the outer tunnel corresponding to all the main routes to be valid, and set each outer label in the indirect next hop table. An outer tunnel state that can be indexed to the state of the outer tunnel corresponding to the outer label in the outer tunnel state table; when an outer tunnel failure is detected, the outer tunnel state table The state of the outer tunnel is more Change to invalid;
[96] 第四业务收敛模块, 用于在转发业务报文吋, 首先在转发表中匹配到相应的主 用路由, 然后索引到非直连下一跳表中与该主用路由相对应的外层标签, 根据 该外层标签的外层隧道状态索引査询外层隧道状态表中相应的外层隧道状态是 否为有效, 如果有效, 则使用主用路由转发该业务报文; 否则使用转发表中与 该主用路由相对应的备用路由转发该业务报文。  [96] The fourth service convergence module is configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then indexing to the non-directly connected next hop table corresponding to the primary route The outer label is used to query whether the corresponding outer tunnel state in the outer tunnel state table is valid according to the outer tunnel state index of the outer label. If valid, the active route is used to forward the service packet; otherwise, the service packet is used. The alternate route corresponding to the primary route is forwarded to forward the service packet.
[97] 上述实施例中, 通过链路状态快速上报检测、 BFD、 OAM或 LSP快速收敛等检 测技术来检测外层隧道是否发生故障, 可以在 200ms内检测到, 因此 VPN业务收 敛的吋间能做到 200ms左右。  [97] In the foregoing embodiment, the detection mechanism of the link state fast report detection, BFD, OAM, or LSP fast convergence is used to detect whether the outer tunnel is faulty, and can be detected within 200 ms, so the convergence of the VPN service can be performed. Do it for about 200ms.
[98] 以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局限于 此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到 的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围 应该以权利要求的保护范围为准。  The above description is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of within the technical scope disclosed by the present invention. Changes or substitutions are intended to be included within the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权利要求书 Claim
[1] 1 . 一种快速收敛端到端业务的方法, 用于自治系统内, 其特征在于, 所述 方法包括:  [1] 1. A method for rapidly converge end-to-end service, for use in an autonomous system, the method comprising:
选定主用路由, 并为每条选定的主用路由配置备用路由, 将所述主用路由 和备用路由添加到转发表中;  Selecting the primary route, and configuring an alternate route for each selected primary route, adding the primary route and the alternate route to the forwarding table;
设置所述主用路由对应的外层隧道的状态为有效;  Setting the state of the outer tunnel corresponding to the primary route to be valid;
当检测到一个外层隧道故障后, 将该外层隧道的状态更改为失效; 在转发业务报文吋, 首先在所述转发表中匹配到相应的主用路由, 然后判 断该主用路由对应的外层隧道状态是否为有效, 如果有效, 则使用所述主 用路由转发该业务报文; 否则, 使用所述转发表中与该主用路由相对应的 备用路由转发该业务报文。  After detecting an outer tunnel fault, the state of the outer tunnel is changed to be invalid; after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then determining that the primary route corresponds to Whether the outer tunnel state is valid, if valid, the primary route is used to forward the service packet; otherwise, the service packet is forwarded by using the alternate route corresponding to the primary route in the forwarding table.
[2] 2. 根据权利要求 1所述的快速收敛端到端业务的方法, 其特征在于, 所述 方法具体包括:  [2] The method for fast convergence of the end-to-end service according to claim 1, wherein the method specifically includes:
将包含内层标签和外层标签且具有不同端节点的优选路由和非优选路由组 成主用路由和备用路由, 并将该主用路由和备用路由添加到转发表中; 建立外层隧道状态表, 设置所述主用路由对应的外层隧道的状态为有效; 为所述转发表中的每个主用路由设置一个能索引到所述外层隧道状态表中 与该主用路由相对应的外层隧道的状态的外层隧道状态索引; 当检测到一个外层隧道故障后, 将所述外层隧道状态表中该外层隧道的状 态更改为失效;  The preferred route and the non-preferred route including the inner layer label and the outer layer label and having different end nodes are combined into an active route and an alternate route, and the primary route and the alternate route are added to the forwarding table; Setting the state of the outer tunnel corresponding to the primary route to be valid; setting, for each primary route in the forwarding table, an index that can be indexed to the outer tunnel state table corresponding to the primary route The outer tunnel state index of the state of the outer tunnel; when an outer tunnel fault is detected, the state of the outer tunnel in the outer tunnel state table is changed to invalid;
在转发业务报文吋, 首先在所述转发表中匹配到相应的主用路由, 然后根 据该主用路由的外层隧道状态索引, 査询所述外层隧道状态表中相应的外 层隧道状态是否为有效, 如果有效, 则使用所述主用路由转发该业务报文 ; 否则使用所述转发表中与该主用路由相对应的备用路由转发该业务报文  After forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then querying the corresponding outer tunnel in the outer tunnel state table according to the outer tunnel state index of the primary route. If the status is valid, if the status is valid, the service route is forwarded by using the primary route; otherwise, the service message is forwarded by using the backup route corresponding to the primary route in the forwarding table.
[3] 3. 根据权利要求 1所述的快速收敛端到端业务的方法, 其特征在于, 所述 方法具体包括: [3] The method for fast convergence of the end-to-end service according to claim 1, wherein the method specifically includes:
将包含内层标签且具有不同端节点的优选路由和非优选路由组成主用路由 和备用路由, 并将该主用路由和备用路由添加到转发表中; 建立外层隧道状态表, 设置所述主用路由对应的外层隧道的状态为有效; 为非直连下一跳表中的每个外层标签设置一个能索引到所述外层隧道状态 表中与该外层标签相对应的外层隧道的状态的外层隧道状态索引; 当检测到一个外层隧道故障后, 将所述外层隧道状态表中该外层隧道的状 态更改为失效; The preferred route and the non-preferred route including the inner label and having different end nodes constitute the primary route And the alternate route, and the primary route and the alternate route are added to the forwarding table; the outer tunnel state table is set, and the state of the outer tunnel corresponding to the primary route is set to be valid; Each outer label in the set is provided with an outer tunnel state index indexing to the state of the outer tunnel corresponding to the outer label in the outer tunnel state table; when an outer tunnel failure is detected, Changing the state of the outer tunnel in the outer tunnel state table to invalid;
在转发业务报文吋, 首先在所述转发表中匹配到相应的主用路由, 然后索 弓 I到所述非直连下一跳表中与该主用路由相对应的外层标签, 根据该外层 标签的外层隧道状态索引, 査询所述外层隧道状态表中相应的外层隧道状 态是否为有效, 如果有效, 则使用所述主用路由转发该业务报文; 否则使 用所述转发表中与该主用路由相对应的备用路由转发该业务报文。  After forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then tapping the I to the outer label corresponding to the primary route in the indirect next hop table, according to The outer tunnel state index of the outer label is used to query whether the corresponding outer tunnel state in the outer tunnel state table is valid. If valid, the primary route is used to forward the service packet; otherwise, the service packet is used. The alternate route corresponding to the primary route in the forwarding table forwards the service packet.
[4] 4. 根据权利要求 1所述的快速收敛端到端业务的方法, 其特征在于, 所述 方法具体包括:  [4] The method for fast convergence of the end-to-end service according to claim 1, wherein the method specifically includes:
将包含内层标签和外层标签的负载分担的每条路由作为主用路由, 并为每 个主用路由设置一个具有不同端节点的备用路由, 将所述主用路由和备用 路由添加到转发表中;  Each route of load sharing including the inner label and the outer label is used as a primary route, and an alternate route with different end nodes is set for each primary route, and the primary route and the alternate route are added to the route. Published;
建立外层隧道状态表, 设置所述主用路由对应的外层隧道的状态为有效; 为所述转发表中的每个主用路由设置一个能索引到所述外层隧道状态表中 与该主用路由相对应的外层隧道的状态的外层隧道状态索引; 当检测到一个外层隧道故障后, 将所述外层隧道状态表中该外层隧道的状 态更改为失效;  Establishing an outer tunnel state table, setting a state of the outer tunnel corresponding to the primary route to be valid; setting an index for each primary route in the forwarding table to the outer tunnel state table and the The outer tunnel state index of the state of the outer tunnel corresponding to the primary route; when an outer tunnel fault is detected, the state of the outer tunnel in the outer tunnel state table is changed to invalid;
在转发业务报文吋, 首先在所述转发表中匹配到相应的主用路由, 然后根 据该主用路由的外层隧道状态索引, 査询所述外层隧道状态表中相应的外 层隧道状态是否为有效, 如果有效, 则使用所述主用路由转发该业务报文 ; 否则使用所述转发表中与该主用路由相对应的备用路由转发该业务报文  After forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then querying the corresponding outer tunnel in the outer tunnel state table according to the outer tunnel state index of the primary route. If the status is valid, if the status is valid, the service route is forwarded by using the primary route; otherwise, the service message is forwarded by using the backup route corresponding to the primary route in the forwarding table.
[5] 5 . 根据权利要求 1所述的快速收敛端到端业务的方法, 其特征在于, 所述 方法具体包括: 将包含内层标签的负载分担的每条路由作为主用路由, 并为每个主用路由 设置一个具有不同端节点的备用路由, 将所述主用路由和备用路由添加到 转发表中; [5] The method of the fast convergence of the end-to-end service according to claim 1, wherein the method specifically includes: Each route of the load sharing including the inner label is used as a primary route, and an alternate route having a different end node is set for each primary route, and the primary route and the alternate route are added to the forwarding table;
建立外层隧道状态表, 设置所有主用路由对应的外层隧道的状态为有效; 为非直连下一跳表中的每个外层标签设置一个能索引到所述外层隧道状态 表中与该外层标签相对应的外层隧道的状态的外层隧道状态索引; 当检测到一个外层隧道故障后, 将所述外层隧道状态表中该外层隧道的状 态更改为失效;  Establish an outer tunnel state table, set the state of the outer tunnel corresponding to all the primary routes to be valid; set an index for each outer label in the indirect next hop table to the outer tunnel state table. An outer tunnel state index of the state of the outer tunnel corresponding to the outer label; after detecting an outer tunnel failure, changing the state of the outer tunnel in the outer tunnel state table to invalid;
在转发业务报文吋, 首先在所述转发表中匹配到相应的主用路由, 然后索 弓 I到所述非直连下一跳表中与该主用路由相对应的外层标签, 根据该外层 标签的外层隧道状态索引査询所述外层隧道状态表中相应的外层隧道状态 是否为有效, 如果有效, 则使用所述主用路由转发该业务报文; 否则使用 所述转发表中与该主用路由相对应的备用路由转发该业务报文。  After forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then tapping the I to the outer label corresponding to the primary route in the indirect next hop table, according to The outer tunnel state index of the outer label queries whether the corresponding outer tunnel state in the outer tunnel state table is valid. If valid, the primary route is used to forward the service packet; otherwise, the service packet is used. The alternate route corresponding to the primary route in the forwarding table forwards the service packet.
[6] 6. 根据权利要求 1至 5中任一权利要求所述的快速收敛端到端业务的方法, 其特征在于, 所述检测外层隧道故障具体包括:  [6] The method for rapidly convulating the end-to-end service according to any one of claims 1 to 5, wherein the detecting the outer tunnel fault specifically comprises:
通过链路状态快速上报检测、 双向转发检测、 操作管理维护检测或标签交 换路径快速收敛检测中的至少一项来检测外层隧道故障。  The outer tunnel fault is detected by at least one of link state fast report detection, bidirectional forwarding detection, operation management maintenance detection, or label switching path fast convergence detection.
[7] 7 . 一种快速收敛端到端业务的装置, 用于自治系统内, 其特征在于, 所述 装置包括: [7] 7. A device for quickly converge end-to-end services, for use in an autonomous system, characterized in that: the device comprises:
配置模块, 用于选定主用路由, 并为选定的主用路由配置备用路由, 将所 述主用路由和备用路由添加到转发表中;  a configuration module, configured to select an active route, and configure an alternate route for the selected primary route, and add the primary route and the alternate route to the forwarding table;
隧道状态记录模块, 用于初始化吋设置所述配置模块选定的所述主用路由 对应的外层隧道的状态为有效; 当检测到一个外层隧道故障后, 将该外层 隧道的状态更改为失效;  a tunnel state recording module, configured to initialize, set a state of an outer tunnel corresponding to the primary route selected by the configuration module to be valid; and when an outer tunnel fault is detected, change a state of the outer tunnel Invalid;
业务收敛模块, 用于在转发业务报文吋, 首先在所述转发表中匹配到相应 的主用路由, 然后判断该主用路由对应的外层隧道状态是否为有效, 如果 有效, 则使用所述主用路由转发该业务报文; 否则使用所述转发表中与该 主用路由相对应的备用路由转发该业务报文。 The service convergence module is configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then determining whether the outer tunnel state corresponding to the primary route is valid, and if valid, using the The primary route forwards the service packet; otherwise, the service packet is forwarded by using the alternate route corresponding to the primary route in the forwarding table.
[8] 8 . 根据权利要求 7所述的快速收敛端到端业务的装置, 其特征在于, 所述 装置具体包括: [8] The device for fast convergence of the end-to-end service according to claim 7, wherein the device specifically includes:
第一配置模块, 用于将包含内层标签和外层标签且具有不同端节点的优选 路由和非优选路由组成主用路由和备用路由, 并将该主用路由和备用路由 添加到转发表中;  a first configuration module, configured to form a primary route and a non-preferred route including an inner layer label and an outer layer label and having different end nodes to form an primary route and an alternate route, and add the primary route and the backup route to the forwarding table. ;
第一隧道状态记录模块, 用于建立外层隧道状态表, 设置所有主用路由对 应的外层隧道的状态为有效; 为所述转发表中的每个主用路由设置一个能 索弓 I到所述外层隧道状态表中与该主用路由相对应的外层隧道的状态的外 层隧道状态索引; 当检测到一个外层隧道故障后, 将所述外层隧道状态表 中该外层隧道的状态更改为失效;  a first tunnel state recording module, configured to establish an outer tunnel state table, set a state of an outer tunnel corresponding to all the primary routes to be valid; and set a capability for each primary route in the forwarding table to An outer tunnel state index of the state of the outer tunnel corresponding to the primary route in the outer tunnel state table; when an outer tunnel failure is detected, the outer layer of the outer tunnel state table The status of the tunnel is changed to invalid;
第一业务收敛模块, 用于在转发业务报文吋, 首先在所述转发表中匹配到 相应的主用路由, 然后根据该主用路由的外层隧道状态索引, 査询所述外 层隧道状态表中相应的外层隧道状态是否为有效, 如果有效, 则使用所述 主用路由转发该业务报文; 否则使用所述转发表中与该主用路由相对应的 备用路由转发该业务报文。  The first service convergence module is configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then querying the outer tunnel according to the outer tunnel state index of the primary route Whether the status of the corresponding outer tunnel in the status table is valid. If valid, the service route is forwarded by using the primary route; otherwise, the service report is forwarded by using the alternate route corresponding to the primary route in the forwarding table. Text.
[9] 9. 根据权利要求 7所述的快速收敛端到端业务的装置, 其特征在于, 所述 装置具体包括: [9] The device for fast convergence of the end-to-end service according to claim 7, wherein the device specifically includes:
第二配置模块, 用于将包含内层标签且具有不同端节点的优选路由和非优 选路由组成主用路由和备用路由, 并将该主用路由和备用路由添加到转发 表中;  a second configuration module, configured to form a preferred route and a non-preferred route including inner node tags and having different end nodes into an active route and an alternate route, and add the primary route and the backup route to the forwarding table;
第二隧道状态记录模块, 用于建立外层隧道状态表, 设置所有主用路由对 应的外层隧道的状态为有效; 为非直连下一跳表中的每个外层标签设置一 个能索引到所述外层隧道状态表中与该外层标签相对应的外层隧道的状态 的外层隧道状态索引; 当检测到一个外层隧道故障后, 将所述外层隧道状 态表中该外层隧道的状态更改为失效;  The second tunnel state recording module is configured to establish an outer tunnel state table, set the state of the outer tunnel corresponding to all the main routes to be valid, and set an index for each outer label in the indirect next hop table. An outer tunnel state index to a state of an outer tunnel corresponding to the outer label in the outer tunnel state table; when an outer tunnel failure is detected, the outer tunnel state table is externally The status of the layer tunnel is changed to invalid;
第二业务收敛模块, 用于在转发业务报文吋, 首先在所述转发表中匹配到 相应的主用路由, 然后索引到所述非直连下一跳表中与该主用路由相对应 的外层标签, 根据该外层标签的外层隧道状态索引, 査询所述外层隧道状 态表中相应的外层隧道状态是否为有效, 如果有效, 则使用所述主用路由 转发该业务报文; 否则使用所述转发表中与该主用路由相对应的备用路由 转发该业务报文。 a second service convergence module, configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then indexing to the non-directly connected next hop table corresponding to the primary route The outer label, according to the outer tunnel state index of the outer label, query the outer tunnel shape Whether the state of the corresponding outer tunnel in the state table is valid, if valid, forwarding the service packet by using the primary route; otherwise, forwarding the service report by using the alternate route corresponding to the primary route in the forwarding table. Text.
[10] 10. 根据权利要求 7所述的快速收敛端到端业务的装置, 其特征在于, 所述 装置具体包括:  [10] The apparatus for fast convergence of the end-to-end service according to claim 7, wherein the apparatus specifically includes:
第三配置模块, 用于将包含内层标签和外层标签的负载分担的每条路由作 为主用路由, 并为每个主用路由设置一个具有不同端节点的备用路由, 将 所述主用路由和备用路由添加到转发表中;  a third configuration module, configured to use, as a primary route, each route that includes load balancing of the inner label and the outer label, and set an alternate route with different end nodes for each primary route, where the primary Routes and alternate routes are added to the forwarding table;
第三隧道状态记录模块, 用于建立外层隧道状态表, 设置所有主用路由对 应的外层隧道的状态为有效; 为所述转发表中的每个主用路由设置一个能 索引到所述外层隧道状态表中与该主用路由相对应的外层隧道的状态的外 层隧道状态索引; 当检测到一个外层隧道故障后, 将所述外层隧道状态表 中该外层隧道的状态更改为失效;  a third tunnel state recording module, configured to establish an outer tunnel state table, set a state of an outer tunnel corresponding to all the primary routes to be valid, and set an index to the primary route in the forwarding table. The outer tunnel state index of the state of the outer tunnel corresponding to the primary route in the outer tunnel state table; when an outer tunnel failure is detected, the outer tunnel is in the outer tunnel state table The status changes to invalid;
第三业务收敛模块, 在转发业务报文吋, 首先在所述转发表中匹配到相应 的主用路由, 然后根据该主用路由的外层隧道状态索引, 査询所述外层隧 道状态表中相应的外层隧道状态是否为有效, 如果有效, 则使用所述主用 路由转发该业务报文; 否则使用所述转发表中与该主用路由相对应的备用 路由转发该业务报文。  The third service convergence module, after forwarding the service packet, first matches the corresponding primary route in the forwarding table, and then queries the outer tunnel state table according to the outer tunnel state index of the primary route. Whether the corresponding outer tunnel state is valid, if valid, the primary route is used to forward the service packet; otherwise, the service route is forwarded by using the alternate route corresponding to the primary route in the forwarding table.
[11] 11 . 根据权利要求 7所述的快速收敛端到端业务的装置, 其特征在于, 所述 装置具体包括:  [11] The device of the fast convergence end-to-end service according to claim 7, wherein the device specifically includes:
第四配置模块, 用于将包含内层标签的负载分担的每条路由作为主用路由 , 并为每个主用路由设置一个具有不同端节点的备用路由, 将所述主用路 由和备用路由添加到转发表中;  a fourth configuration module, configured to use each route of the load sharing of the inner label as a primary route, and set an alternate route with different end nodes for each primary route, and use the primary route and the alternate route Add to the forwarding table;
第四隧道状态记录模块, 用于建立外层隧道状态表, 设置所有主用路由外 层隧道的状态为有效; 为非直连下一跳表中的每个外层标签设置一个能索 引到所述外层隧道状态表中与该外层标签相对应的外层隧道的状态的外层 隧道状态索引; 当检测到一个外层隧道故障后, 将所述外层隧道状态表中 该外层隧道的状态更改为失效; 第四业务收敛模块, 用于在转发业务报文吋, 首先在所述转发表中匹配到 相应的主用路由, 然后索引到所述非直连下一跳表中与该主用路由相对应 的外层标签, 根据该外层标签的外层隧道状态索引, 査询所述外层隧道状 态表中相应的外层隧道状态是否为有效, 如果有效, 则使用所述主用路由 转发该业务报文; 否则使用所述转发表中与该主用路由相对应的备用路由 转发该业务报文。 The fourth tunnel state recording module is configured to establish an outer tunnel state table, set the state of all the outer routing outer tunnels to be valid, and set an index to each outer label in the indirect next hop table. An outer tunnel state index of an outer tunnel state corresponding to the outer label in the outer tunnel state table; when an outer tunnel fault is detected, the outer tunnel in the outer tunnel state table Changed state to expired; a fourth service convergence module, configured to: after forwarding the service packet, first matching the corresponding primary route in the forwarding table, and then indexing to the indirect direct hop table corresponding to the primary route The outer label of the outer layer is queried according to the outer tunnel state index of the outer label, and the corresponding outer tunnel state in the outer tunnel state table is valid. If valid, the primary route is used to forward the service. a packet; otherwise, the service packet is forwarded by using an alternate route corresponding to the primary route in the forwarding table.
PCT/CN2007/071352 2007-01-12 2007-12-27 Method and apparatus of rapid convergence of point-to-point service WO2008083590A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB2007100626829A CN100450039C (en) 2007-01-12 2007-01-12 Fast convergence method and device of the end-to-end service
CN200710062682.9 2007-01-12

Publications (1)

Publication Number Publication Date
WO2008083590A1 true WO2008083590A1 (en) 2008-07-17

Family

ID=38731338

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/071352 WO2008083590A1 (en) 2007-01-12 2007-12-27 Method and apparatus of rapid convergence of point-to-point service

Country Status (2)

Country Link
CN (1) CN100450039C (en)
WO (1) WO2008083590A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244589A (en) * 2011-07-19 2011-11-16 北京星网锐捷网络技术有限公司 Method and opposite terminal apparatus for processing link fault in virtual switch unit system
EP3454510A4 (en) * 2016-05-05 2019-03-27 ZTE Corporation Message forwarding method and apparatus

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100450039C (en) * 2007-01-12 2009-01-07 华为技术有限公司 Fast convergence method and device of the end-to-end service
CN101150587B (en) * 2007-10-24 2010-07-07 华为技术有限公司 A method, device and system for traffic switching of multi-protocol label switching traffic engineering
CN101217457A (en) * 2007-12-28 2008-07-09 华为技术有限公司 A method to realize fast reroute and router
CN101316212A (en) * 2008-07-07 2008-12-03 华为技术有限公司 Looped network failure processing method, looped network and operator backbone equipment
CN101610535B (en) * 2009-07-30 2012-03-14 杭州华三通信技术有限公司 Method, system and device for ensuring BFD conversation stability on the scene of multilink direct connection
CN101710875A (en) * 2009-12-22 2010-05-19 中兴通讯股份有限公司 Method and device for realizing rapid re-routing
CN102130813B (en) 2010-01-15 2016-08-03 华为技术有限公司 Pseudo line establishing method, system and equipment
CN102143042B (en) * 2010-07-09 2014-04-16 华为技术有限公司 Virtual cluster router system and flow sharing method thereof, controller and sub routers
CN102377607B (en) * 2010-08-06 2014-08-06 华为技术有限公司 Data transmission method and data transmission device for special two-layer virtual network
CN101984591B (en) * 2010-10-13 2015-05-06 中兴通讯股份有限公司 Service convergence method and system in transport-multiprotocol label switching network
EP2713565B1 (en) 2011-05-19 2017-02-01 Huawei Technologies Co., Ltd. Method and network device for generating tunneling forwarding entries
CN102833161B (en) * 2012-08-21 2018-01-30 中兴通讯股份有限公司 Tunnel load share method and device
CN105763412A (en) * 2014-12-16 2016-07-13 中兴通讯股份有限公司 Communication method in virtual switching cluster and apparatus thereof
CN104767680B (en) * 2015-04-15 2018-05-25 新华三技术有限公司 It route the method and apparatus being switched fast
CN106411727B (en) * 2016-09-22 2021-05-14 新华三技术有限公司 Message processing method, device and autonomous system
CN106452909B (en) * 2016-11-07 2019-04-16 迈普通信技术股份有限公司 A kind of route issuing method and Router Reflector equipment
US10476811B2 (en) * 2017-03-10 2019-11-12 Juniper Networks, Inc Apparatus, system, and method for providing node protection across label-switched paths that share labels
CN110661703A (en) * 2018-06-30 2020-01-07 北京华为数字技术有限公司 Method and device for realizing fast rerouting

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543129A (en) * 2003-11-07 2004-11-03 港湾网络有限公司 Fast convergence method for BGP routing
CN1909501A (en) * 2005-08-05 2007-02-07 华为技术有限公司 Method for end to end service rapid convergence and route device
CN1933448A (en) * 2006-08-17 2007-03-21 华为技术有限公司 Business fast convergent method and network equipment
CN101035019A (en) * 2007-01-12 2007-09-12 华为技术有限公司 Fast convergence method and device of the end-to-end service

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1271844B1 (en) * 2001-06-21 2009-12-09 SK Telecom Co.,Ltd. Route determining method in a multi protocol label switching network
US7149225B2 (en) * 2003-03-10 2006-12-12 Cisco Technology, Inc. Arrangement for traversing an IPv4 network by IPv6 mobile nodes via a mobility anchor point
CN100372295C (en) * 2004-02-21 2008-02-27 华为技术有限公司 Method for supressing oscillation of multi-protocol tag exchange tunnel in virtual private netwrok
FI20050158A0 (en) * 2005-02-11 2005-02-11 Nokia Corp Recovery of the state information of a first tunnel endpoint

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543129A (en) * 2003-11-07 2004-11-03 港湾网络有限公司 Fast convergence method for BGP routing
CN1909501A (en) * 2005-08-05 2007-02-07 华为技术有限公司 Method for end to end service rapid convergence and route device
CN1933448A (en) * 2006-08-17 2007-03-21 华为技术有限公司 Business fast convergent method and network equipment
CN101035019A (en) * 2007-01-12 2007-09-12 华为技术有限公司 Fast convergence method and device of the end-to-end service

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244589A (en) * 2011-07-19 2011-11-16 北京星网锐捷网络技术有限公司 Method and opposite terminal apparatus for processing link fault in virtual switch unit system
EP3454510A4 (en) * 2016-05-05 2019-03-27 ZTE Corporation Message forwarding method and apparatus

Also Published As

Publication number Publication date
CN100450039C (en) 2009-01-07
CN101035019A (en) 2007-09-12

Similar Documents

Publication Publication Date Title
WO2008083590A1 (en) Method and apparatus of rapid convergence of point-to-point service
JP7475349B2 (en) First-hop gateway redundancy in a network computing environment.
US7817542B2 (en) Method and network device for fast service convergence
US7751329B2 (en) Providing an abstraction layer in a cluster switch that includes plural switches
KR101895092B1 (en) Mpls fast re-route using ldp (ldp-frr)
US9264302B2 (en) Methods and systems with enhanced robustness for multi-chassis link aggregation group
US20130272114A1 (en) Pseudo wire switching method and device
US20120236730A1 (en) Method, device and system for processing service traffic based on pseudo wires
WO2007016834A1 (en) A fast convergence method of point to point services and the provider edge device thereof
WO2006017982A1 (en) A rerouting method in the multi-protocol label switch network
WO2009105974A1 (en) Method and apparatus for fast reroute in a multi-protocol label switching (mpls) virtual private network (vpn)
WO2011060667A1 (en) Method and device for link protection in virtual private local area network
WO2008028382A1 (en) A method and apparatus for carrying out link detecting, routing strategy conversion of end-to-end
WO2009018728A1 (en) Ip ring network, ip ring network routing device and message forwarding method
WO2009056053A1 (en) A method, device and system of multi-protocol label exchange traffic engineering flow capacity switch
WO2007115493A1 (en) A method, device and system for achieving the switch in the dual-homed network based on the vpls
WO2012028029A1 (en) Switching method and system
WO2012079375A1 (en) Method and system for link protection in a virtual private network
WO2012159489A1 (en) Switching method, system and dual homing provider device for pseudowire dual homing network
CN101364927A (en) Method, apparatus and system realizing fault recovery of virtual private network
WO2011147299A1 (en) Fast reroute method and apparatus in layer-2 virtual private network
WO2011140890A1 (en) Method and device for realizing fast reroute
CN113615132A (en) Fast flooding topology protection
WO2011147298A1 (en) Method and apparatus for resetting layer 3 virtual private network routes
US8149852B2 (en) Transmission method, system and router based on a border gateway protocol

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

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

Country of ref document: EP

Kind code of ref document: A1