WO2008145046A1 - A local protection node determining method and a router - Google Patents

A local protection node determining method and a router Download PDF

Info

Publication number
WO2008145046A1
WO2008145046A1 PCT/CN2008/070941 CN2008070941W WO2008145046A1 WO 2008145046 A1 WO2008145046 A1 WO 2008145046A1 CN 2008070941 W CN2008070941 W CN 2008070941W WO 2008145046 A1 WO2008145046 A1 WO 2008145046A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
local protection
protected
protection node
tunnel
Prior art date
Application number
PCT/CN2008/070941
Other languages
French (fr)
Chinese (zh)
Inventor
Chun Liu
Xinzong Zeng
Xin Lv
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 WO2008145046A1 publication Critical patent/WO2008145046A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a method and a router for determining a local protection node.
  • FRR Flust Reroute
  • MPLS TE Multi-protocol Label Switching Traffic Engineering
  • LSP Label Switch Path
  • the protection action is performed on the node where the failure is found, and the traffic is rerouted to the protection path, so that the network traffic can be protected to the greatest extent, so that the data transmission is not interrupted.
  • LSR Label Switch Router
  • the router that forms the FRR protection and can switch traffic when the fault occurs is called the local protection node (PLR). , Point of Local Repair ) , which is also the head node of the protection path in the FRR application.
  • PLR Point of Local Repair
  • the Facility Backup method protects the protected LSP by creating a backup tunnel.
  • the one-to-one backup mode protects the protected LSP by directly creating a backup LSP.
  • the embodiment of the invention provides a method for determining a local protection node and a router to solve the configuration.
  • the local protection node problem on the link is determined and fast re-routing is implemented.
  • the embodiment provides a method for determining a local protection node, where the method includes: receiving a display route object sent by an upstream node, where the display route object includes setting a configuration item of the local protection node;
  • This embodiment provides a router, including:
  • a message receiving unit configured to receive a display routing object, where the display routing object includes a configuration item that sets a local protection node;
  • a message processing unit configured to determine, according to a configuration item of the local protection node, whether the router locally protects the node
  • a routing unit configured to perform fast reroute protection on the protected link that passes the router when the message processing unit determines that the router is a local protection node.
  • the embodiment of the present invention first obtains a display routing object that includes current node information, and the display routing object includes setting a configuration item of the local protection node, and then setting a configuration item of the local protection node according to the display routing object. Determining whether the current node is a local protection node, and performing fast rerouting on the protected label switching path of the current node when the current node is a local protection node. Compared with the prior art, the embodiment of the present invention performs display routing.
  • the information of the object is parsed to determine whether the node passing along the protected tunnel or LSP can act as a PLR node, and perform fast rerouting on the protected label switching path passing through the current node when the node is a PLR node. In this way, traffic can be quickly rerouted when the protected tunnel or LSP fails, thereby maximally protecting network traffic and preventing data transmission from being interrupted.
  • the display routing object received by the embodiment of the present invention includes whether the current node is a configuration item of the local protection node, and after parsing the display routing object, it can be known whether the current node is designated as a PLR node, such that It can be pointed out which downstream nodes of the protected LSP or tunnel can be used as PLR nodes and which can not be used as PLR nodes, and can flexibly set fast rerouting of the protected links.
  • FIG. 1 is a timing diagram of specifying a PLR list at an ingress node or a transit node according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for determining a local protection node according to an embodiment of the present invention
  • 3 is a schematic diagram of a router according to an embodiment of the present invention.
  • the extension of the Resource Resert Protocol is introduced.
  • the display route (ERO, Explicit Route) object carried in the RSVP signaling has a 1-byte reservation. In the embodiment of the present invention, the reserved byte is reserved.
  • the extension is such that each node that the RVSP signaling arrives can identify whether the corresponding ERO object allows the creation of a bypass tunnel or a bypass LSP.
  • the ERO object described by the RSVP protocol consists of a series of sub-objects.
  • the definition of these sub-objects by the IPv4 protocol family and the IPv6 protocol family can be seen in Table 1 and Table 2.
  • the IPv6 address length prefix is reserved. As shown in Table 1 and Table 2, both protocols have a Resvd field.
  • the embodiment of the present invention uses the reserved field as a flag, and sets the first preset value to mark the current node as a PLR node.
  • the second preset value marks the current node as a non-PLR node. For example, when the Resvd field is the first preset value 0x 0, it indicates that it is set as a PLR node, and when the Resvd field is the second preset value OxEE, it indicates that the node is a non-PLR node, and since the field uses the all-zero value by default. Therefore, it will not affect the interoperability of different vendors.
  • FIG. 1 is a sequence diagram of specifying a PLR list at an ingress node and a transit node according to an embodiment of the present invention.
  • an ingress node, a transit (Transit) node, and an egress (Egress) node are taken as an example.
  • FRR protected node The specific implementation process is shown in Figure 1, including:
  • each hop of the display route to specify a hop that cannot be used as the local protection node PLR.
  • Routing processing the ERO object, determining whether the node can be used as a PLR according to the ERO object; the ingress node sends a path (PATH) message carrying the ERO object to the downstream node (ie, the transit node in this embodiment), and at the same time, the ingress node If it is determined that the node can be used as a PLR, the device searches for a bypass tunnel (Bypasss Tunnel) for FRR protection, or automatically creates a bypass tunnel for FRR protection; otherwise, the primary tunnel is not FRR protected.
  • a bypass tunnel Bypasss Tunnel
  • the transit node determines whether the local node can be used as the PLR according to the ERO object carried in the message, and then sends the path PATH message carrying the ERO object to the downstream node (ie, the implementation) In the example, if the transit node determines that the node can function as a PLR, it processes the primary tunnel to find a bypass tunnel for FRR protection, or automatically creates a bypass tunnel for FRR protection; otherwise, the primary tunnel does not perform FRR. protection.
  • the upstream node ie, the transmission node in this implementation
  • the upstream node feeds back a message carrying a reservation (RESV) field
  • the transmission node goes to the upstream node (ie, the portal in this embodiment)
  • the node) feedback carries the RESV field message.
  • FIG. 2 is a flowchart of a method for determining a local protection node according to an embodiment of the present invention, which specifically includes the following steps:
  • Step 201 Configure each hop of the route to be displayed at the ingress node, and specify whether to allow it as a PLR node for each hop of the displayed route.
  • the path indicating the route tag is the path between the source node and the destination node, and the display of one hop of the route corresponds to a node through which the path passes.
  • the node showing the route passing through is allowed to be set as a PLR node, and the node showing that the route does not pass is not allowed to be set as a PLR node, wherein the node through which the route is displayed is usually called included. ( Include ) node. Nodes that do not pass the display route are often referred to as Exclude nodes, and these Exclude nodes cannot be designated as PLR nodes.
  • Step 202 Configure a link.
  • the link can be a primary tunnel or a protected LSP. Specify whether a node of the link acts as a PLR node by configuring an ERO object. Among them, the primary tunnel is a tunnel that needs to be protected.
  • Step 203 Extend the ERO object, and use the reserved field of the ERO object as a flag bit to indicate whether each hop of the configured display route can be used as a PLR node.
  • the value of the reserved field is 0x0, indicating that the hop is allowed as the PLR. Node, if the value of the reserved field is OxEE, it means that the hop is not allowed as a PLR node.
  • Step 204 The configured ERO object is sent to the RSVP signaling by the control plane at the ingress node.
  • RSVP signaling carries this information to all nodes on the tunnel through the ERO object carried in the path (PATH) message to ensure that all downstream nodes can obtain this information.
  • PATH path
  • Step 205 The downstream node processes the received ERO object.
  • the downstream node obtains information corresponding to the node from the ERO object, that is, obtains information corresponding to the ingress node or the transit node.
  • Step 206 Determine whether the ingress node or the transit node is designated as the PLR. If yes, perform step 207. Otherwise, the RSVP signaling notifies the control plane of the current node that the node does not need to perform FRR protection on the primary tunnel.
  • the judgment is based on the fact that, in each ERO data of the ingress node or the transit node, if the value of the reserved field is 0x0, the node is set as a PLR node; if the value of the reserved field is OxEE, the node is a non-PLR node; If multiple ERO data and the ingress node or the transit node are allowed to conflict as a PLR node, the judgment is considered invalid, that is, the node is allowed as the PLR (ie, the default setting), and the Path Err message is not sent upstream.
  • RSVP will find the local nodes in the ERO, and perform processing such as deleting and further forwarding.
  • a node belonging to the local is found, it is judged whether the local node is specified not to be a PLR. The judgment is based on the fact that, in each ERO data belonging to the local node, if the value of the Resvd field is all 0x0, it indicates that it is allowed as a PLR node.
  • the value of the Resvd field is all OxEE, it means that it is not allowed as a PLR node;
  • the ERO data is Whether the PLR node is allowed to conflict (that is, the value of the reserved field of multiple local ERO data is not all 0x0 or ⁇ ), the judgment is considered invalid, that is, the node is allowed as the PLR (default), and is not sent upstream. Path Err message. If the local node is specified not to be a PLR, the RSVP signaling protocol will inform the control plane that FRR protection is not allowed for the primary tunnel.
  • Step 207 After setting the PLR node as the PLR node, the current node searches for or creates a bypass tunnel for FRR protection, or finds or creates a bypass LSP for the protected LSP to perform FRR protection.
  • the control plane of the current node determines whether the protected tunnel and the protection tunnel form an FRR protection relationship, or triggers the automatic creation of a protection tunnel or protection of the LSP.
  • the conditions for determining are as follows:
  • the display routing object includes a configuration item for setting a local protection node; parsing a configuration item of the local protection node in the display routing object, and setting whether the current node is a local protection node;
  • the storage medium may be a ROM, a RAM, a magnetic disk or an optical disk, or the like.
  • the embodiment of the present invention further provides a router, where the router includes: a message receiving unit 302, a message processing unit 304, and a routing unit 305, and may further include: a message configuration unit 301 and a message sending unit 302.
  • the message configuration unit 301 is configured to configure a display routing object, and set whether it is a configuration item of the local protection node in the display routing object, that is, whether each node on the link is a configuration item of the local protection node, and Carrying a configuration item of the local protection node by displaying a reserved field of the routing object;
  • the message sending unit 302 is configured to send the display routing object configured by the message configuration unit to all the downstream nodes on the tunnel by using the path message; that is, sending the message configured by the message configuration unit to other nodes connected to the current node through the link.
  • the message is a Resv message, where the message includes a display route object, and the display route object carries a local protection node configuration message;
  • a message receiving unit 303 configured to receive a display routing object, where the display routing object includes a configuration item that sets a local protection node;
  • the message processing unit 304 is configured to determine, according to the configuration item of the local protection node, whether the router is a local protection node. Parsing a configuration item of the local protection node in the received display routing object, and setting whether the current node is a local protection node according to the parsing result;
  • the routing unit 305 is configured to perform fast reroute protection on the protected link that passes the router when the message processing unit determines that the router is a local protection node, and specifically includes:
  • a lookup creation unit 306 configured to find or create a bypass tunnel for the protected tunnel, and to find or create a bypass label switched path for the protected label switched path;
  • the switching unit 307 is configured to switch the protected tunnel that passes the current node to the discovered bypass tunnel according to the search result of the lookup creating unit 306, and switch the protected label switching path that passes the current node to the side according to the search result. a label label switching path; or for switching a protected tunnel through the current node to the created bypass tunnel, and switching a protected label switching path through the current node to the created bypass label Exchange path.
  • the embodiment of the present invention first obtains a display routing object including current node information, and then parses the display routing object, and when the current node is designated as a local protection node, the protected label passing the current node is The switching path performs fast re-routing.
  • the embodiment of the present invention can determine whether the node passing along the protected tunnel or the LSP can act as a PLR node by parsing the information of the displayed routing object, and When the node is a PLR node, the device performs fast rerouting on the protected label switching path of the current node, so that the traffic can be quickly rerouted when the protected tunnel or LSP fails, thereby maximizing protection. Network traffic, and data transmission is not interrupted.
  • the embodiment of the present invention configures whether the node through which the route passes and the node that passes through is configured as a local protection node, and then expands the ERO object carried by the RSVP signaling protocol, and displays the route according to the configuration information.
  • the object indicates whether the node through which the route passes is a local protection node, so that the embodiment of the present invention can specify a node that needs FRR protection for a specific tunnel or a protected LSP.

Landscapes

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

Abstract

A local protection node determining method and a router are provided, in which the said local protection node determining method includes receiving the display route object transmitted from the upstream node, and the said display route object comprises a collocating item for setting the local protection node; determination is made whether to set the present node as the local protection node according to the collocating item of the said local protection node. The said router includes a message receiving unit for receiving the display route object transmitted from the upstream node, and the said display route object comprises a collocating item for setting the local protection node; the said router also includes a message processing unit for determining whether to set the router as the local protection node according to the collocating item of the said local protection node.

Description

本地保护节点的确定方法和路由器  Local protection node determination method and router
本申请要求于 2007 年 5 月 30 日提交中国专利局、 申请号为 200710105840.4、 发明名称为"实现快速重路由的方法和路由器"的中国专利申 请的优先权, 其全部内容通过引用结合在本申请中。  The present application claims priority to Chinese Patent Application No. 200710105840.4, entitled "Method and Router for Implementing Fast Rerouting", filed on May 30, 2007, the entire contents of in.
技术领域 Technical field
本发明涉及网络通信技术领域 ,尤其涉及一种本地保护节点的确定方法和 路由器。  The present invention relates to the field of network communication technologies, and in particular, to a method and a router for determining a local protection node.
背景技术 Background technique
快速重路由( FRR, Fast Reroute )是多协议标签交换流量工程( MPLS TE, Multiprotocol Label Switching Traffic Engineering )中用于形成局部保护的机制 , 当某一段标签交换路径(LSP, Label Switch Path )失效时, 在发现失败的节点 上进行保护动作,将流量重路由到保护路径上,这样可以最大程度的保护网络 流量,使得数据传输不至于发生中断。 由于将流量引到保护路径上的动作都是 标签交换路由器(LSR, Label Switch Router ) 的本地动作, 因此将这个形成 FRR保护并且可以在故障时将流量进行切换的路由器称为本地保护节点 ( PLR, Point of Local Repair ) , 也是 FRR应用里保护路径的头节点。  FRR (Fast Reroute) is a mechanism for forming local protection in a multi-protocol Label Switching Traffic Engineering (MPLS TE). When a certain label switching path (LSP, Label Switch Path) fails. The protection action is performed on the node where the failure is found, and the traffic is rerouted to the protection path, so that the network traffic can be protected to the greatest extent, so that the data transmission is not interrupted. Since the action of directing traffic to the protection path is the local action of the Label Switch Router (LSR), the router that forms the FRR protection and can switch traffic when the fault occurs is called the local protection node (PLR). , Point of Local Repair ) , which is also the head node of the protection path in the FRR application.
目前的快速重路由有两种保护方式, 一种是简易备份 ( Facility Backup ) 方式, 另一种是一对一备份(One-to-one Backup )方式。 简易备份方式通过创 建备份隧道( backup tunnel )来对被保护的 LSP进行保护, 一对一备份方式通 过直接创建备份 LSP来对被保护的 LSP进行保护。  Currently, there are two ways to protect fast reroute. One is the Facility Backup method, and the other is the One-to-One Backup. The simple backup mode protects the protected LSP by creating a backup tunnel. The one-to-one backup mode protects the protected LSP by directly creating a backup LSP.
由上述快速重路由保护技术可知,对于被保护的 LSP, —旦该隧道要求快 速重路由保护, 在该 LSP沿途经过的所有节点都可以作为 PLR节点, 使得被 保护 LSP与一条备份隧道进行相互绑定。当对被保护的链路进行 FRR保护时, 具体的保护策略需要在所有沿途节点上单独配置,给应用部署带来麻烦。也就 是说, 在配置具体的被保护隧道时, 不能指明下游哪些节点可以作为 PLR节 点使用, 哪些不能作为 PLR节点使用, 从而不能灵活的对被保护链路进行快 速重路由设置。  According to the foregoing fast re-routing protection technology, for a protected LSP, if the tunnel requires fast re-routing protection, all the nodes passing along the LSP can be used as a PLR node, so that the protected LSP and a backup tunnel are tied to each other. set. When FRR protection is applied to a protected link, the specific protection policy needs to be configured separately on all the nodes along the path, which brings trouble to the application deployment. That is to say, when configuring a specific protected tunnel, it is impossible to indicate which nodes in the downstream can be used as PLR nodes and which cannot be used as PLR nodes, so that the fast rerouting of the protected links cannot be flexibly set.
发明内容 Summary of the invention
本发明实施例提供一种本地保护节点的确定方法和路由器,以解决在配置 具体的被保护链路时,确定该链路上的本地保护节点问题,并实现快速重路由。 为此, 本实施例提供一种本地保护节点的确定方法, 所述方法包括: 接收上游节点发送的显示路由对象,所述显示路由对象包括设置本地保护 节点的配置项; The embodiment of the invention provides a method for determining a local protection node and a router to solve the configuration. When a specific protected link is used, the local protection node problem on the link is determined and fast re-routing is implemented. To this end, the embodiment provides a method for determining a local protection node, where the method includes: receiving a display route object sent by an upstream node, where the display route object includes setting a configuration item of the local protection node;
根据所述本地保护节点的配置项确定当前节点是否为本地保护节点。  Determining whether the current node is a local protection node according to a configuration item of the local protection node.
本实施例提供一种路由器, 包括:  This embodiment provides a router, including:
消息接收单元, 用于接收显示路由对象, 所述显示路由对象包括设置本地 保护节点的配置项;  a message receiving unit, configured to receive a display routing object, where the display routing object includes a configuration item that sets a local protection node;
消息处理单元,用于根据所述本地保护节点的配置项确定路由器是否为本 地保护节点;  a message processing unit, configured to determine, according to a configuration item of the local protection node, whether the router locally protects the node;
路由单元, 用于在消息处理单元确定所述路由器为本地保护节点时,对经 过所述路由器的被保护链路进行快速重路由保护。  And a routing unit, configured to perform fast reroute protection on the protected link that passes the router when the message processing unit determines that the router is a local protection node.
以上技术方案可以看出,由于本发明实施例首先获取包含当前节点信息的 显示路由对象, 所述显示路由对象包括设置本地保护节点的配置项, 然后根据 显示路由对象中设置本地保护节点的配置项确定当前节点是否为本地保护节 点, 并在当前节点是本地保护节点时,对经过所述当前节点的被保护标签交换 路径快速重路由, 与现有技术相比较,本发明实施例通过对显示路由对象的信 息进行解析就可以确定被保护的隧道或 LSP沿途所经过的节点是否可以作为 PLR节点, 并在该节点为 PLR节点时对经过所述当前节点的被保护标签交换 路径进行快速重路由, 这样在被保护的隧道或 LSP失效时可以将流量进行快 速重路由, 进而可以最大程度的保护网络流量, 并使数据传输不会发生中断。  As shown in the foregoing technical solution, the embodiment of the present invention first obtains a display routing object that includes current node information, and the display routing object includes setting a configuration item of the local protection node, and then setting a configuration item of the local protection node according to the display routing object. Determining whether the current node is a local protection node, and performing fast rerouting on the protected label switching path of the current node when the current node is a local protection node. Compared with the prior art, the embodiment of the present invention performs display routing. The information of the object is parsed to determine whether the node passing along the protected tunnel or LSP can act as a PLR node, and perform fast rerouting on the protected label switching path passing through the current node when the node is a PLR node. In this way, traffic can be quickly rerouted when the protected tunnel or LSP fails, thereby maximally protecting network traffic and preventing data transmission from being interrupted.
另夕卜,本发明实施例收到的显示路由对象包含当前节点是否为本地保护节 点的配置项 ,经过对所述显示路由对象进行解析后就可得知当前节点是否被指 定为 PLR节点, 这样可以指明被保护的 LSP或隧道的哪些下游节点可以作为 PLR节点, 哪些不可以作为 PLR节点, 可以灵活的对被保护链路进行快速重 路由设置。  In addition, the display routing object received by the embodiment of the present invention includes whether the current node is a configuration item of the local protection node, and after parsing the display routing object, it can be known whether the current node is designated as a PLR node, such that It can be pointed out which downstream nodes of the protected LSP or tunnel can be used as PLR nodes and which can not be used as PLR nodes, and can flexibly set fast rerouting of the protected links.
附图说明 DRAWINGS
图 1是本发明实施例在入口节点或传输节点指定 PLR列表的时序图; 图 2是本发明实施例中本地保护节点的确定方法的流程图; 图 3是本发明实施例路由器示意图。 1 is a timing diagram of specifying a PLR list at an ingress node or a transit node according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for determining a local protection node according to an embodiment of the present invention; 3 is a schematic diagram of a router according to an embodiment of the present invention.
具体实施方式 detailed description
首先, 对资源预留协议 ( RSVP, Resource ReSerVation Protocol ) 的扩展 进行介绍, RSVP信令携带的显示路由 (ERO, Explicit Route )对象有 1字节 的预留, 本发明实施例通过对保留字节进行扩展, 使得 RVSP信令到达的每个 节点都能识别对应的 ERO对象是否允许创建旁路隧道或旁路 LSP。  First, the extension of the Resource Resert Protocol (RSVP) is introduced. The display route (ERO, Explicit Route) object carried in the RSVP signaling has a 1-byte reservation. In the embodiment of the present invention, the reserved byte is reserved. The extension is such that each node that the RVSP signaling arrives can identify whether the corresponding ERO object allows the creation of a bypass tunnel or a bypass LSP.
RSVP协议描述的 ERO对象由一系列子对象构成, IPv4协议族和 IPv6协 议族对这些子对象的定义具体可见表 1和表 2。  The ERO object described by the RSVP protocol consists of a series of sub-objects. The definition of these sub-objects by the IPv4 protocol family and the IPv6 protocol family can be seen in Table 1 and Table 2.
表 1  Table 1
0 7 15 31 0 7 15 31
L 类型 长度 IPv4地址 L type length IPv4 address
IPv4地址 长度前缀 保留  IPv4 address length prefix reserved
表 2  Table 2
0 7 15 31 0 7 15 31
L 类型 长度 IPv6地址 L type length IPv6 address
IPv6地址  IPv6 address
IPv6地址  IPv6 address
IPv6地址  IPv6 address
IPv6地址 长度前缀 保留 由表 1和表 2可知, 两种协议都有保留 (Resvd )字段, 本发明实施例使 用该保留字段作为标志, 通过设置第一预设值标记当前节点为 PLR节点, 设 置第二预设值标记当前节点为非 PLR节点。 例如当 Resvd字段为第一预设值 0x 0时表示设为 PLR节点, 当 Resvd字段为第二预设值 OxEE时,表示该节点 作为非 PLR节点, 同时由于该字段默认情况是使用全 0值, 所以不会对不同 厂商的互通带来影响。  The IPv6 address length prefix is reserved. As shown in Table 1 and Table 2, both protocols have a Resvd field. The embodiment of the present invention uses the reserved field as a flag, and sets the first preset value to mark the current node as a PLR node. The second preset value marks the current node as a non-PLR node. For example, when the Resvd field is the first preset value 0x 0, it indicates that it is set as a PLR node, and when the Resvd field is the second preset value OxEE, it indicates that the node is a non-PLR node, and since the field uses the all-zero value by default. Therefore, it will not affect the interoperability of different vendors.
参照图 1, 图 1是本发明一实施例在入口节点及传输节点指定 PLR列表的时 序图, 本实施例以入口 (Ingress )节点、 传输(Transit )节点和出口 (Egress ) 节点为例。在入口节点处对显示路由 ERO进行配置, 并增加显示路由的每跳是 否可以作为 PLR的配置项,该配置项可以确定使用该 ERO的隧道所经过的节点 是否可以作为 PLR节点, 再通过对 ERO对象中的保留字段进行解析, 从而可以 为某个具体隧道指定需要进行 FRR保护的节点。 具体的实现过程如图 1所示, 包括: Referring to FIG. 1, FIG. 1 is a sequence diagram of specifying a PLR list at an ingress node and a transit node according to an embodiment of the present invention. In this embodiment, an ingress node, a transit (Transit) node, and an egress (Egress) node are taken as an example. Configure the display route ERO at the ingress node and increase the per-hop of the display route. Can be used as a PLR configuration item, which can determine whether a node passing through a tunnel using the ERO can be a PLR node, and then parse the reserved field in the ERO object, so that a specific tunnel can be specified. FRR protected node. The specific implementation process is shown in Figure 1, including:
在入口节点, 配置显示路由的每一跳, 指定不能作为本地保护节点 PLR的 跳; 配置主隧道, 如果需要指定该主隧道所经过的某节点不能作为 PLR节点, 可以使用相应的已配置的显示路由; 处理 ERO对象,根据 ERO对象判断本节点 是否可以作为 PLR; 所述入口节点将携带 ERO对象的路径(PATH ) 消息发送 给下游节点 (即本实施例中的传输节点), 同时, 入口节点如果判断本节点可 以作为 PLR,处理为主隧道查找一条旁路隧道(Bypasss Tunnel )进行 FRR保护, 或自动创建一条 Bypass Tunnel对其进行 FRR保护; 否则不对该主隧道进行 FRR 保护。  On the ingress node, configure each hop of the display route to specify a hop that cannot be used as the local protection node PLR. Configure the primary tunnel. If you need to specify that a node through which the primary tunnel passes cannot be a PLR node, you can use the corresponding configured display. Routing; processing the ERO object, determining whether the node can be used as a PLR according to the ERO object; the ingress node sends a path (PATH) message carrying the ERO object to the downstream node (ie, the transit node in this embodiment), and at the same time, the ingress node If it is determined that the node can be used as a PLR, the device searches for a bypass tunnel (Bypasss Tunnel) for FRR protection, or automatically creates a bypass tunnel for FRR protection; otherwise, the primary tunnel is not FRR protected.
如果传输节点接收到携带 ERO的 PATH消息 , 则根据该消息中携带的 ERO 对象判断所述本节点是否可以作为 PLR, 然后再将所述携带 ERO对象的路径 PATH消息发送给下游节点(即本实施例中的出口节点); 同时, 传输节点如果 判断本节点可以作为 PLR, 处理为主隧道查找一条 Bypass Tunnel进行 FRR保 护, 或自动创建一条 Bypass Tunnel对其进行 FRR保护; 否则不对该主隧道进行 FRR保护。  If the transit node receives the PATH message carrying the ERO, it determines whether the local node can be used as the PLR according to the ERO object carried in the message, and then sends the path PATH message carrying the ERO object to the downstream node (ie, the implementation) In the example, if the transit node determines that the node can function as a PLR, it processes the primary tunnel to find a bypass tunnel for FRR protection, or automatically creates a bypass tunnel for FRR protection; otherwise, the primary tunnel does not perform FRR. protection.
如果出口节点接收到携带 ERO对象的 PATH消息, 则向上游节点 (即本实 施中的传输节点)反馈携带有保留 (RESV )字段消息; 所述传输节点向上游 节点 (即本实施例中的入口节点)反馈携带有 RESV字段消息。  If the egress node receives the PATH message carrying the ERO object, the upstream node (ie, the transmission node in this implementation) feeds back a message carrying a reservation (RESV) field; the transmission node goes to the upstream node (ie, the portal in this embodiment) The node) feedback carries the RESV field message.
参照图 2, 图 2是本发明实施例中本地保护节点的确定的方法流程图, 具体 包括以下步骤:  Referring to FIG. 2, FIG. 2 is a flowchart of a method for determining a local protection node according to an embodiment of the present invention, which specifically includes the following steps:
步骤 201、 在入口节点配置显示路由的每一跳, 并为显示路由的每一跳指 定是否允许作为 PLR节点。 其中, 显示路由标记的是源节点和目的节点之间的 路径, 显示路由的一跳相当于路径所经过的一个节点。  Step 201: Configure each hop of the route to be displayed at the ingress node, and specify whether to allow it as a PLR node for each hop of the displayed route. The path indicating the route tag is the path between the source node and the destination node, and the display of one hop of the route corresponds to a node through which the path passes.
在设置每一跳是否允许作为 PLR节点需要遵循以下原则:  The following principles need to be followed in setting whether each hop is allowed as a PLR node:
1 )显示路由经过的节点允许被设置为 PLR节点, 显示路由不经过的节点 不允许设置为 PLR节点, 其中, 显示路由所经过的节点通常被称为被包含 ( Include )节点。 不经过显示路由的节点通常被称为被排除(Exclude )节点, 这些 Exclude节点是不能被指定作为 PLR节点。 1) The node showing the route passing through is allowed to be set as a PLR node, and the node showing that the route does not pass is not allowed to be set as a PLR node, wherein the node through which the route is displayed is usually called included. ( Include ) node. Nodes that do not pass the display route are often referred to as Exclude nodes, and these Exclude nodes cannot be designated as PLR nodes.
2 )对于 Include节点的多个 IP地址, 如果属于同一节点, 需要保证仅使用 一个 IP地址来指定该节点作为 PLR节点。  2) For multiple IP addresses of the Include node, if they belong to the same node, you need to ensure that only one IP address is used to specify the node as a PLR node.
步骤 202、配置链路。所述链路可为主隧道或被保护的 LSP。通过配置 ERO 对象指定该链路的某个节点是否作为 PLR节点。 其中, 主隧道为需要被保护的 隧道。  Step 202: Configure a link. The link can be a primary tunnel or a protected LSP. Specify whether a node of the link acts as a PLR node by configuring an ERO object. Among them, the primary tunnel is a tunnel that needs to be protected.
步骤 203、 对 ERO对象进行扩展, 将 ERO对象的保留字段作为标志位, 用 来指明已配置显示路由的每跳是否可以作为 PLR节点, 例如, 保留字段的值为 0x0, 表示该跳允许作为 PLR节点, 如果保留字段的值为 OxEE, 表示该跳不允 许作为 PLR节点。  Step 203: Extend the ERO object, and use the reserved field of the ERO object as a flag bit to indicate whether each hop of the configured display route can be used as a PLR node. For example, the value of the reserved field is 0x0, indicating that the hop is allowed as the PLR. Node, if the value of the reserved field is OxEE, it means that the hop is not allowed as a PLR node.
步骤 204、 在入口节点处由控制层面将配置的 ERO对象下发给 RSVP信令。 RSVP信令通过路径 ( PATH )消息携带的 ERO对象将这些信息带给隧道上的所 有节点, 以保证下游所有节点都能获取这些信息。  Step 204: The configured ERO object is sent to the RSVP signaling by the control plane at the ingress node. RSVP signaling carries this information to all nodes on the tunnel through the ERO object carried in the path (PATH) message to ensure that all downstream nodes can obtain this information.
步骤 205、 下游节点对收到的 ERO对象进行处理。 下游节点从 ERO对象中 获取该节点对应的信息, 即获取入口节点或传输节点对应的信息。  Step 205: The downstream node processes the received ERO object. The downstream node obtains information corresponding to the node from the ERO object, that is, obtains information corresponding to the ingress node or the transit node.
步骤 206、 判断入口节点或传输节点是否被指定为 PLR, 如果是, 执行步 骤 207, 否则, RSVP信令将通知当前节点的控制层面该节点不需对该主隧道进 行 FRR保护。  Step 206: Determine whether the ingress node or the transit node is designated as the PLR. If yes, perform step 207. Otherwise, the RSVP signaling notifies the control plane of the current node that the node does not need to perform FRR protection on the primary tunnel.
判断的依据为,入口节点或传输节点的每一个 ERO数据中, 如果保留字段 的值为 0x0, 将该节点设置为 PLR节点; 如果保留字段的值为 OxEE, 将该节点 为非 PLR节点; 如果多个 ERO数据与入口节点或传输节点是否允许作为 PLR节 点有冲突, 则认为判断无效, 即该节点允许作为 PLR (即缺省设置) , 并且不 向上游发送路径错误 ( Path Err ) 消息。  The judgment is based on the fact that, in each ERO data of the ingress node or the transit node, if the value of the reserved field is 0x0, the node is set as a PLR node; if the value of the reserved field is OxEE, the node is a non-PLR node; If multiple ERO data and the ingress node or the transit node are allowed to conflict as a PLR node, the judgment is considered invalid, that is, the node is allowed as the PLR (ie, the default setting), and the Path Err message is not sent upstream.
也就是说, 当 Ingress或 Transit节点处理 ERO时, RSVP会将 ERO中属于本 地的节点找到, 并进行删除和进一步转发等处理。 当找到属于本地的节点时, 判断本地节点是否被指定不作为 PLR。 判断的依据为, 属于本地节点的每一个 ERO数据中,如果 Resvd字段的值为全 0x0,表示允许作为 PLR节点,如果 Resvd 字段的值为全 OxEE,表示不允许作为 PLR节点;如果多个本地的 ERO数据中是 否允许作为 PLR节点有冲突(即多个本地的 ERO数据的预留字段的值不全为第 0x0或 ΟχΕΕ ) , 则认为判断无效, 即该节点允许作为 PLR (缺省) , 并且不向 上游发送 Path Err消息。 如果本地节点被指定不作为 PLR, RSVP信令协议将通 知控制层面, 不允许对该主隧道进行 FRR保护。 That is to say, when the Ingress or Transit node processes the ERO, RSVP will find the local nodes in the ERO, and perform processing such as deleting and further forwarding. When a node belonging to the local is found, it is judged whether the local node is specified not to be a PLR. The judgment is based on the fact that, in each ERO data belonging to the local node, if the value of the Resvd field is all 0x0, it indicates that it is allowed as a PLR node. If the value of the Resvd field is all OxEE, it means that it is not allowed as a PLR node; In the ERO data is Whether the PLR node is allowed to conflict (that is, the value of the reserved field of multiple local ERO data is not all 0x0 or ΟχΕΕ), the judgment is considered invalid, that is, the node is allowed as the PLR (default), and is not sent upstream. Path Err message. If the local node is specified not to be a PLR, the RSVP signaling protocol will inform the control plane that FRR protection is not allowed for the primary tunnel.
其中, 出口节点处通过 RSVP信令处理 ERO对象时, 不需要判断属于本地 节点是否被设置为 PLR。  When the ERO object is processed by the RSVP signaling at the egress node, it is not necessary to determine whether the local node is set as the PLR.
步骤 207、 当前节点在设置其为 PLR节点后, 为主隧道查找或创建一条旁 路隧道进行 FRR保护, 或者为被保护 LSP查找或创建一条旁路 LSP进行 FRR保 护。  Step 207: After setting the PLR node as the PLR node, the current node searches for or creates a bypass tunnel for FRR protection, or finds or creates a bypass LSP for the protected LSP to perform FRR protection.
在所有隧道经过的节点上(除 Egress节点外) , 由当前节点的控制层面来 决定是否将被保护隧道和保护隧道形成 FRR保护关系 ,或者触发自动创建保护 隧道或者保护 LSP, 判断的条件如下:  On the nodes through which all the tunnels pass (except the egress node), the control plane of the current node determines whether the protected tunnel and the protection tunnel form an FRR protection relationship, or triggers the automatic creation of a protection tunnel or protection of the LSP. The conditions for determining are as follows:
1 ) 通过信令对 ERO对象的处理结果判断当前节点是否允许作为 PLR节 点, 如果不允许, 不形成 FRR保护关系。  1) Determine whether the current node is allowed to act as a PLR node by signaling the processing result of the ERO object. If not allowed, the FRR protection relationship is not formed.
2 ) 保护隧道是否和被保护隧道重合, 如果有重合, 不允许形成 FRR保护 关系。  2) Whether the protection tunnel overlaps with the protected tunnel. If there is a coincidence, the FRR protection relationship is not allowed.
3 ) 如果有多条保护隧道可选, 根据路径和带宽情况选择最优路径。  3) If there are multiple protection tunnels available, choose the optimal path based on the path and bandwidth.
另外,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分 步骤是可以通过程序来指示相关的硬件来完成,所述的程序可以存储于计算机 可读取存储介质中, 该程序在执行时, 包括以下步骤:  In addition, those skilled in the art can understand that all or part of the steps of implementing the foregoing embodiments may be completed by a program indicating related hardware, and the program may be stored in a computer readable storage medium, where the program is When executed, the following steps are included:
接收显示路由对象, 所述显示路由对象包含设置本地保护节点的配置项; 对所述显示路由对象中设置本地保护节点的配置项进行解析 ,设置当前节 点是否为本地保护节点;  Receiving a display routing object, where the display routing object includes a configuration item for setting a local protection node; parsing a configuration item of the local protection node in the display routing object, and setting whether the current node is a local protection node;
在当前节点设置为本地保护节点时,对经过所述当前节点的被保护链路进 行快速重路由保护。  When the current node is set as a local protection node, fast reroute protection is performed on the protected link passing through the current node.
其中, 所述的存储介质可以是 ROM、 RAM, 磁碟或光盘等等。  The storage medium may be a ROM, a RAM, a magnetic disk or an optical disk, or the like.
本发明实施例还提供了一种路由器,所述路由器包括:消息接收单元 302、 消息处理单元 304和路由单元 305, 还可以包括: 消息配置单元 301、 消息发 送单元 302。 消息配置单元 301, 用于对显示路由对象进行配置, 并在显示路由对象中 设置是否为本地保护节点的的配置项,即设置链路上的每个节点是否为本地保 护节点的配置项,以及通过显示路由对象的预留字段携带所述本地保护节点的 配置项; The embodiment of the present invention further provides a router, where the router includes: a message receiving unit 302, a message processing unit 304, and a routing unit 305, and may further include: a message configuration unit 301 and a message sending unit 302. The message configuration unit 301 is configured to configure a display routing object, and set whether it is a configuration item of the local protection node in the display routing object, that is, whether each node on the link is a configuration item of the local protection node, and Carrying a configuration item of the local protection node by displaying a reserved field of the routing object;
消息发送单元 302, 用于将消息配置单元配置的显示路由对象通过路径消 息发送给隧道上的所有下游节点;即向与当前节点通过链路连接的其他节点发 送消息配置单元所配置的消息, 所述为 Resv消息, 该消息中包含显示路由对 象 , 所述显示路由对象携带本地保护节点配置消息;  The message sending unit 302 is configured to send the display routing object configured by the message configuration unit to all the downstream nodes on the tunnel by using the path message; that is, sending the message configured by the message configuration unit to other nodes connected to the current node through the link. The message is a Resv message, where the message includes a display route object, and the display route object carries a local protection node configuration message;
消息接收单元 303 , 用于接收显示路由对象, 所述显示路由对象包括设置 本地保护节点的配置项;  a message receiving unit 303, configured to receive a display routing object, where the display routing object includes a configuration item that sets a local protection node;
消息处理单元 304, 用于根据所述本地保护节点的配置项确定路由器是否 为本地保护节点。对接收到的所述显示路由对象中设置本地保护节点的配置项 进行解析 , 并根据解析结果设置当前节点是否为本地保护节点;  The message processing unit 304 is configured to determine, according to the configuration item of the local protection node, whether the router is a local protection node. Parsing a configuration item of the local protection node in the received display routing object, and setting whether the current node is a local protection node according to the parsing result;
路由单元 305, 用于在消息处理单元确定所述路由器为本地保护节点时, 对经过所述路由器的被保护链路进行快速重路由保护, 具体包括:  The routing unit 305 is configured to perform fast reroute protection on the protected link that passes the router when the message processing unit determines that the router is a local protection node, and specifically includes:
查找创建单元 306, 用于为被保护的隧道查找或创建旁路隧道, 以及为被 保护的标签交换路径查找或创建旁路标签交换路径;  a lookup creation unit 306, configured to find or create a bypass tunnel for the protected tunnel, and to find or create a bypass label switched path for the protected label switched path;
切换单元 307,用于根据查找创建单元 306的查找结果将经过当前节点的被 保护隧道切换至查找得到的旁路隧道,以及根据查找结果将经过所述当前节点 的被保护标签交换路径切换到旁路标签交换路径;或者用于将经过所述当前节 点的被保护隧道切换至所述创建的旁路隧道,以及将经过所述当前节点的被保 护标签交换路径切换至所述创建的旁路标签交换路径。  The switching unit 307 is configured to switch the protected tunnel that passes the current node to the discovered bypass tunnel according to the search result of the lookup creating unit 306, and switch the protected label switching path that passes the current node to the side according to the search result. a label label switching path; or for switching a protected tunnel through the current node to the created bypass tunnel, and switching a protected label switching path through the current node to the created bypass label Exchange path.
由上述可知, 本发明实施例首先获取包含当前节点信息的显示路由对象, 然后对该显示路由对象进行解析, 并在当前节点被指定为本地保护节点时,对 经过所述当前节点的被保护标签交换路径进行快速重路由, 与现有技术相比 较,本发明实施例通过对显示路由对象的信息进行解析就可以确定被保护的隧 道或 LSP沿途所经过的节点是否可以作为 PLR节点,并在该节点为 PLR节点 时对经过所述当前节点的被保护标签交换路径进行快速重路由,这样在被保护 的隧道或 LSP失效时可以将流量进行快速重路由, 进而可以最大程度的保护 网络流量, 并使数据传输不会发生中断。 It can be seen from the foregoing that the embodiment of the present invention first obtains a display routing object including current node information, and then parses the display routing object, and when the current node is designated as a local protection node, the protected label passing the current node is The switching path performs fast re-routing. Compared with the prior art, the embodiment of the present invention can determine whether the node passing along the protected tunnel or the LSP can act as a PLR node by parsing the information of the displayed routing object, and When the node is a PLR node, the device performs fast rerouting on the protected label switching path of the current node, so that the traffic can be quickly rerouted when the protected tunnel or LSP fails, thereby maximizing protection. Network traffic, and data transmission is not interrupted.
另夕卜,由于本发明实施例对显示路由所经过的节点以及所经过的节点是否 作为本地保护节点进行配置, 然后通过对 RSVP信令协议携带的 ERO对象进 行扩展,并根据配置信息在显示路由对象指明显示路由所经过的节点是否作为 本地保护节点, 从而使得本发明实施例可以为具体的隧道或被保护的 LSP指 定需要进行 FRR保护的节点。  In addition, the embodiment of the present invention configures whether the node through which the route passes and the node that passes through is configured as a local protection node, and then expands the ERO object carried by the RSVP signaling protocol, and displays the route according to the configuration information. The object indicates whether the node through which the route passes is a local protection node, so that the embodiment of the present invention can specify a node that needs FRR protection for a specific tunnel or a protected LSP.
以上对本发明实施例所提供的本地保护节点的确定方法和路由器进行了 上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于本 领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会 有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。  The foregoing description of the method and the router for determining the local protection node provided by the embodiment of the present invention is only for helping to understand the method and core idea of the present invention. Meanwhile, for those skilled in the art, according to the present invention, The scope of the present invention is not limited by the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种本地保护节点的确定方法, 其特征在于, 所述方法包括: 接收上游节点发送的显示路由对象,所述显示路由对象包括设置本地保护 节点的配置项;  A method for determining a local protection node, the method comprising: receiving a display route object sent by an upstream node, where the display route object includes setting a configuration item of a local protection node;
根据所述本地保护节点的配置项确定当前节点是否为本地保护节点。 Determining whether the current node is a local protection node according to a configuration item of the local protection node.
2、 如权利要求 1所述的本地保护节点的确定方法, 其特征在于, 所述本 地保护节点的配置项包括: 显示路由对象的预留字段。 The method for determining a local protection node according to claim 1, wherein the configuration item of the local protection node comprises: a reserved field for displaying a routing object.
3、 如权利要求 2所述的本地保护节点的确定方法, 其特征在于, 所述确 定当前节点是否为本地保护节点的步骤, 具体包括:  The method for determining a local protection node according to claim 2, wherein the step of determining whether the current node is a local protection node includes:
如果当前节点接收到的每一个显示路由对象的预留字段的值都为第一预 设值, 则确定当前节点为本地保护节点;  If the value of the reserved field of each display route object received by the current node is the first preset value, it is determined that the current node is a local protection node;
如果当前节点接收到的每一个显示路由对象的预留字段的值都为第二预 设值, 则确定当前节点为非本地保护节点;  If the value of the reserved field of each display route object received by the current node is the second preset value, it is determined that the current node is a non-local protection node;
如果当前节点接收到的多个显示路由对象的预留字段的值不全为第一预 设值或第二预设值, 则确定当前节点为本地保护节点, 并不向上游节点发送路 径错误消息。  If the value of the reserved field of the plurality of display route objects received by the current node is not all the first preset value or the second preset value, it is determined that the current node is a local protection node, and the path error message is not sent to the upstream node.
4、 如权利要求 3所述的本地保护节点的确定方法, 其特征在于, 所述方 法还包括:  The method for determining a local protection node according to claim 3, wherein the method further comprises:
在当前节点设置为本地保护节点时,对经过所述当前节点的被保护链路进 行快速重路由保护。  When the current node is set as a local protection node, fast reroute protection is performed on the protected link passing through the current node.
5、 如权利要求 4所述的实现快速重路由的方法, 其特征在于, 所述对经过 当前节点的被保护标签交换路径进行快速重路由的步骤, 具体包括:  The method for implementing fast re-routing according to claim 4, wherein the step of performing fast re-routing on the protected label switching path of the current node includes:
为被保护的链路查找或创建旁路链路 ,将所述旁路链路与被保护的链路形 成快速重路由关系。  A bypass link is found or created for the protected link, and the bypass link is formed into a fast rerouting relationship with the protected link.
6、 如权利要求 1至 5任一项所述的本地保护节点的确定方法, 其特征在 于, 所述方法还包括:  The method for determining a local protection node according to any one of claims 1 to 5, wherein the method further comprises:
在上游节点, 配置显示路由对象, 并在显示路由对象中设置是否为本地保 护节点的配置项;  On the upstream node, configure the display route object, and set whether it is the configuration item of the local protection node in the display route object;
将配置的显示路由对象通过路径消息发送给隧道上的所有下游节点。 The configured display route object is sent to all downstream nodes on the tunnel through the path message.
7、 如权利要求 6所述的本地保护节点的确定方法, 其特征在于, 所述配 置显示路由对象需要满足的条件为: The method for determining a local protection node according to claim 6, wherein the condition that the configuration shows that the routing object needs to be satisfied is:
显示路由经过的节点允许被设置为本地保护节点,显示路由不经过的节点 不允许被设置为本地保护节点;  The node showing the route passing through is allowed to be set as the local protection node, and the node showing that the route does not pass is not allowed to be set as the local protection node;
对于显示路由经过的节点的多个 IP地址, 如果属于同一节点, 保证仅使 用一个 IP地址来指定该节点作为本地保护节点。  For multiple IP addresses showing the nodes through which the route passes, if they belong to the same node, it is guaranteed to use only one IP address to specify the node as a local protection node.
8、 一种路由器, 其特征在于, 包括:  8. A router, comprising:
消息接收单元, 用于接收显示路由对象, 所述显示路由对象包括设置本地 保护节点的配置项;  a message receiving unit, configured to receive a display routing object, where the display routing object includes a configuration item that sets a local protection node;
消息处理单元,用于根据所述本地保护节点的配置项确定路由器是否为本 地保护节点;  a message processing unit, configured to determine, according to a configuration item of the local protection node, whether the router locally protects the node;
路由单元, 用于在消息处理单元确定所述路由器为本地保护节点时,对经 过所述路由器的被保护链路进行快速重路由保护。  And a routing unit, configured to perform fast reroute protection on the protected link that passes the router when the message processing unit determines that the router is a local protection node.
9、 如权利要求 8所述的路由器, 其特征在于, 所述路由器还包括: 消息配置单元,用于对显示路由对象进行配置,并在显示路由对象中设置 是否为本地保护节点的配置项;  The router according to claim 8, wherein the router further comprises: a message configuration unit configured to configure a display route object, and set whether the configuration item of the local protection node is in the display route object;
消息发送单元,用于将消息配置单元配置的显示路由对象通过路径消息发 送给隧道上的所有下游节点。  And a message sending unit, configured to send the display route object configured by the message configuration unit to all downstream nodes on the tunnel by using a path message.
10、 如权利要求 8所述的路由器, 其特征在于, 所述路由单元包括: 查找创建单元, 用于为被保护的隧道查找或创建旁路隧道, 以及为被保护 的标签交换路径查找或创建旁路标签交换路径;  10. The router according to claim 8, wherein the routing unit comprises: a lookup creating unit, configured to find or create a bypass tunnel for the protected tunnel, and find or create a protected label switched path. Bypass label switching path;
切换单元,用于根据查找结果将经过当前节点的被保护隧道切换至查找得 到的旁路隧道,以及根据查找结果将经过所述当前节点的被保护标签交换路径 切换到旁路标签交换路径;或者用于将经过所述当前节点的被保护隧道切换至 所述创建的旁路隧道,以及将经过所述当前节点的被保护标签交换路径切换至 所述创建的旁路标签交换路径。  a switching unit, configured to switch the protected tunnel that passes the current node to the discovered bypass tunnel according to the search result, and switch the protected label switching path that passes the current node to the bypass label switching path according to the search result; or And for switching a protected tunnel through the current node to the created bypass tunnel and switching a protected label switched path through the current node to the created bypass label switched path.
PCT/CN2008/070941 2007-05-30 2008-05-12 A local protection node determining method and a router WO2008145046A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710105840.4 2007-05-30
CN 200710105840 CN101056268B (en) 2007-05-30 2007-05-30 Method and router for fast rerouting

Publications (1)

Publication Number Publication Date
WO2008145046A1 true WO2008145046A1 (en) 2008-12-04

Family

ID=38795881

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/070941 WO2008145046A1 (en) 2007-05-30 2008-05-12 A local protection node determining method and a router

Country Status (2)

Country Link
CN (1) CN101056268B (en)
WO (1) WO2008145046A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056268B (en) * 2007-05-30 2010-12-08 华为技术有限公司 Method and router for fast rerouting
CN101459567B (en) * 2007-12-13 2011-12-21 华为技术有限公司 Method, apparatus for establishing backup tunnel, rerouting method and system
CN101945048B (en) * 2010-09-20 2014-07-16 中兴通讯股份有限公司 Method, system and device for establishing label switch path
CN103117924B (en) * 2013-02-22 2017-08-11 新华三技术有限公司 A kind of pretection switch method and apparatus
CN103490998B (en) * 2013-09-09 2017-09-05 新华三技术有限公司 Protection path method for building up and device, flow switch method and device
CN104735046B (en) * 2014-12-02 2018-09-04 重庆晴彩科技有限公司 A kind of emergent intelligent switching system of normal/bypass mode network physical link
CN108702321B (en) 2016-02-27 2021-05-07 华为技术有限公司 System, method and apparatus for implementing fast reroute (FRR)
WO2017143958A1 (en) * 2016-02-27 2017-08-31 Huawei Technologies Co., Ltd. System, method and apparatus for implementing fast reroute (frr)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805412A (en) * 2005-01-14 2006-07-19 三星电子株式会社 Fast rerouting apparatus and method for mpls multicast
US20060221813A1 (en) * 2005-04-04 2006-10-05 Scudder John G Loop prevention techniques using encapsulation manipulation of IP/MPLS field
CN1921456A (en) * 2006-09-13 2007-02-28 华为技术有限公司 Label interchange pathway protection method and system
CN101056268A (en) * 2007-05-30 2007-10-17 华为技术有限公司 Method and router for fast rerouting

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100372337C (en) * 2004-05-31 2008-02-27 华为技术有限公司 Route selection method for implementing cross-domain constraint-based routing
CN100479459C (en) * 2005-01-27 2009-04-15 华为技术有限公司 Method for establishing return tag exchange route in multiprotocol tag exchange system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1805412A (en) * 2005-01-14 2006-07-19 三星电子株式会社 Fast rerouting apparatus and method for mpls multicast
US20060221813A1 (en) * 2005-04-04 2006-10-05 Scudder John G Loop prevention techniques using encapsulation manipulation of IP/MPLS field
CN1921456A (en) * 2006-09-13 2007-02-28 华为技术有限公司 Label interchange pathway protection method and system
CN101056268A (en) * 2007-05-30 2007-10-17 华为技术有限公司 Method and router for fast rerouting

Also Published As

Publication number Publication date
CN101056268A (en) 2007-10-17
CN101056268B (en) 2010-12-08

Similar Documents

Publication Publication Date Title
CN111385206B (en) Message forwarding method, network system, related equipment and computer storage medium
WO2019120042A1 (en) Method and node for transmitting packet in network
JP4161557B2 (en) Packet transfer method and apparatus
CN112118182B (en) IP path tunnel for traffic engineering
JP3762749B2 (en) Restoration protection method and apparatus
US8619550B2 (en) Protecting connection traffic using filters
KR20220142524A (en) Packet processing method and apparatus, network device and storage medium
US11431618B2 (en) Flexible path encoding in packet switched networks
US8040792B2 (en) Techniques for determining local repair connections
US8218432B2 (en) Routing method in a label switching network
JP5426770B2 (en) Method and apparatus in a telecommunications network
WO2008145046A1 (en) A local protection node determining method and a router
US11677658B2 (en) Packet routing based on common node protection
US9246838B1 (en) Label switched path setup using fast reroute bypass tunnel
JP2006197613A (en) Fast rerouting apparatus and method for mpls multicast
WO2012037820A1 (en) Multi-protocol label switch system, node device and method for establishing bidirectional tunnel
CN113056891B (en) Source routing tunnel ingress node protection
US8711676B2 (en) Techniques for determining optimized local repair paths
WO2006079292A1 (en) A method for creating the path for the return label in the multi-protocol label switching system
US9049142B1 (en) Method and apparatus to enable protection for selective traffic in an MPLS network
US8223629B2 (en) Core router capable of securing the output router of an autonomous system
US8176201B1 (en) Controlling the signaling of label-switched paths using a label distribution protocol employing messages which facilitate the use of external prefixes
CN115499369B (en) Path protection method and device
WO2024152527A1 (en) Routing method and apparatus therefor, storage medium, and computer program product
WO2024092288A1 (en) Segment routing (sr) binding protection

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

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

Country of ref document: EP

Kind code of ref document: A1