WO2013189456A2 - 生成树备份端口快速恢复的方法及装置 - Google Patents

生成树备份端口快速恢复的方法及装置 Download PDF

Info

Publication number
WO2013189456A2
WO2013189456A2 PCT/CN2013/082603 CN2013082603W WO2013189456A2 WO 2013189456 A2 WO2013189456 A2 WO 2013189456A2 CN 2013082603 W CN2013082603 W CN 2013082603W WO 2013189456 A2 WO2013189456 A2 WO 2013189456A2
Authority
WO
WIPO (PCT)
Prior art keywords
port
backup
faulty
spanning tree
main
Prior art date
Application number
PCT/CN2013/082603
Other languages
English (en)
French (fr)
Other versions
WO2013189456A3 (zh
Inventor
贾书瑞
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US14/652,863 priority Critical patent/US9806990B2/en
Priority to EP13807157.6A priority patent/EP2922247B1/en
Publication of WO2013189456A2 publication Critical patent/WO2013189456A2/zh
Publication of WO2013189456A3 publication Critical patent/WO2013189456A3/zh

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/48Routing tree calculation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for quickly recovering a spanning tree backup port.
  • the backup of the important network connection is provided, and the physical connection of the network is looped, causing a broadcast storm.
  • the Spanning-Tree Protocol (STP) is used to eliminate the Layer 2 network loop.
  • the spanning tree protocol blocks the redundant link, so that the entire network is topologyd into a tree structure. Communication between any two points exists. Only one link exists to avoid the occurrence of broadcast storms. At the same time, when the link fails, the blocked redundant link The road can automatically resume forwarding, achieving the purpose of the chain.
  • Figure 1 is a typical application scenario of a backup port as a link backup.
  • the user edge device CE, Custom Edge
  • PE Provider Edge
  • RSTP Spanning Tree Protocol
  • MSTP Spanning Tree Protocol
  • the PB is received through the pseudowire (PW, Pseudo). Wire) is transparently transmitted on the carrier network. The effect is as if the two ports of the CE are directly connected to Port 1 and Port 2. When the network is normal, Port 2 is blocked as the backup port.
  • Port 1 of the primary port of the CE When Port1 of the primary port of the CE is faulty, Port 2 of the backup port cannot be aware of it. It can only wait for the BPDU packet to be aged out, and then forward the forwarding delay to the forwarding delay.
  • the port recovery time is 50s. Left and right, for network users, the time of disconnecting the network for 50s is unacceptable.
  • the embodiments of the present invention are directed to a method and a device for quickly recovering a spanning tree backup port, which can be used to recover and restore a port only after waiting for the packet information of the backup port to age.
  • a long time problem
  • An embodiment of the present invention provides a method for quickly recovering a spanning tree backup port, where the method includes:
  • a device in the sensing spanning tree has a port failure.
  • the device determines whether there is a backup port with the faulty port as the master port, and determines that the backup port is the master port when the faulty port is the backup port of the master port.
  • the method further includes: after the backup port is changed to the primary port, setting the status of the primary port to a forwarding state.
  • the method further includes:
  • the port identification number ID of the failed port is recorded.
  • the determining whether there is a backup port that is a faulty port as a primary port includes:
  • the port priority vector determine whether there is a port ID of the specified port field of the port. When the ID of the faulty port is the same, and it is determined that the port ID of the designated port field of the port is the same as the ID of the faulty port, it is determined that the port is a backup port with the faulty port as the primary port.
  • the method further includes:
  • the device of the present invention further provides a device for quickly recovering a spanning tree backup port, where the device includes:
  • the sensing unit is configured to trigger the determining unit when the port of the spanning tree device is faulty; the determining unit is configured to determine whether there is a backup port with the faulty port as the primary port in the device, and trigger the processing unit when it is determined to exist;
  • the processing unit is configured to change the backup port to a primary port.
  • the processing unit is further configured to: after the backup port is changed to the primary port, set the primary port state to a forwarding state.
  • the sensing unit is configured to record the port identity number ID of the faulty port when the device that detects the spanning tree has a port failure.
  • the determining unit is configured to:
  • the port priority vector it is determined whether the port ID of the designated port field of the port is the same as the ID of the faulty port, and if it is determined that the port ID of the designated port field of the port is the same as the ID of the faulty port,
  • the port is a backup port with the faulty port as the primary port and triggers the processing unit.
  • the determining unit is further configured to determine whether the number of the backup ports that are the faulty port as the primary port is one or more; and determine the number of the backup ports that are the faulty port as the primary port. When there are multiple, the backup port having the highest port priority is selected as the faulty port and the processing unit is triggered.
  • the embodiment of the invention can significantly shorten the recovery time of the backup port and greatly improve the performance of link recovery.
  • FIG. 1 is a schematic diagram of a typical application scenario of a backup port as a link
  • FIG. 2 is a schematic flowchart of a method for quickly recovering a spanning tree backup port according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a spanning tree backup port fast recovery apparatus according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a method for quickly recovering a spanning tree backup port according to an embodiment of the present invention.
  • the schematic diagram of the process may specifically include the following steps:
  • Step 201 The device in the spanning tree senses that the device has a port fault.
  • Step 202 Determine whether there is a backup port with the faulty port as the primary port in the device, and determine that the backup port is the backup port. When the port is used, the backup port is changed to the primary port.
  • the embodiment of the present invention takes the scenario shown in FIG. 1 as an example, that is, the CE is connected to different PEs, and the CE runs RSTP or MSTP.
  • FIG. 3 is a schematic diagram of a specific embodiment of a method for quickly recovering a spanning tree backup port according to the present disclosure, which may specifically include:
  • Step 301 The port of the CE-aware device is faulty, and the port ID (ID, IDentity) of the port is recorded.
  • Step 302 The port fault causes the spanning tree to be recalculated
  • Step 303 traversing the ports of the CE, and determining whether there is a backup port with the faulty port Port1 as the primary port, specifically determining whether the port-specific port field port_ID is the same as the port_ID recorded in step 301 in the port priority vector; Occasionally, the port having the same field as the port_ID recorded in step 301 is the backup port of the faulty port Port1 as the primary port, and step 304 is continued; if not, step 307 is performed;
  • Step 306 Obtain the number of the VRRP port with the faulty port Port1 as the main port, and determine whether the number of the VRRP port is one or more. If it is determined to be multiple, proceed to step 305, otherwise, go to step 306;
  • Step 305 If there are multiple backup ports with the fault port Port1 as the master port, the port with the highest port priority is selected as the backup port according to the priority rule in the port priority vector.
  • Step 306 Convert the role of the unique backup port in step 304 or the backup port with the highest priority selected in step 305 to the specified one, and upgrade the original backup port to a primary port, and setting the primary port status to a forwarding state;
  • Step 307 The process ends.
  • the fast-switching mechanism of the backup port is also applicable to the quick-on scenario where other backup ports are backup.
  • FIG. 4 is a schematic structural diagram of a configuration of a spanning tree backup port fast recovery device according to an embodiment of the present invention, which may include: a sensing unit 41, a determining unit 42, and a processing unit 43, which are specifically described below. Description.
  • the sensing unit 41 is configured to trigger the determining unit 42 when the device that senses the spanning tree has a port failure;
  • the determining unit 42 is configured to determine whether there is a backup port with the faulty port as the primary port, and determine that the processing unit 43 is triggered when the backup port exists;
  • the processing unit 43 is configured to change the backup port to a primary port
  • the processing unit 43 is further configured to set the backup port status to a forwarding state after the backup port is changed to the primary port.
  • the sensing unit 41 is specifically configured to record the port ID of the faulty port when the device that detects the spanning tree has a port failure.
  • the determining unit 42 is specifically configured to traverse the ports of the device and determine each port:
  • the port priority vector of the device it is determined whether the port_ID of the designated port field of the port is the same as the port_ID of the recorded failed port; it is determined that sometimes, the port having the same field as the recorded port_ID is determined to be the fault.
  • the port is the backup port of the primary port. And obtaining the number of the backup ports that are the faulty port as the primary port;
  • the backup port is the only backup port of the faulty port as the primary port and triggers the processing unit 43;
  • the determining unit 42 selects the port with the highest port priority as the backup port of the faulty port and triggers the processing unit 43.
  • the sensing unit 41, the determining unit 42 and the processing unit 43 may each be a central processing unit (CPU), or a digital signal processing (DSP), or a field programmable gate array (FPGA).
  • CPU central processing unit
  • DSP digital signal processing
  • FPGA field programmable gate array
  • the Field Programmable Gate Array or the like is implemented; the CPU, the DSP, and the FPGA may be built in a device of the spanning tree, and the device of the spanning tree may be located on the network side.
  • the embodiment of the present invention provides a method and a device for quickly recovering a spanning tree backup port.
  • the technical solution provided by the foregoing embodiment of the present invention can be seen that, because the device is the packet information received through the port, The device can be aware of whether the port is faulty, so that the information can be used to speed up the recovery time of the backup port without causing a loop.
  • the technical solution of the embodiment of the present invention can significantly reduce the recovery of the backup port. Time, greatly improving the performance of the link recovery in the link backup scenario provided by the backup port.

Landscapes

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

Abstract

本发明公开了一种生成树备份端口快速恢复的方法及装置,该方法包括:感知生成树中的设备有端口发生故障;判断所述设备中是否存在以故障端口为主端口的备份端口,在经过判断确定存在以所述故障端口为主端口的备份端口时,将所述备份端口改为主端口;同时,本发明还公开了一种生成树备份端口快速恢复的装置。利用本发明的技术方案,可以显著缩短Backup端口的恢复时间,大幅提高链路恢复的性能。

Description

生成树备份端口快速恢复的方法及装置 技术领域
本发明涉及通信技术领域, 尤其涉及一种生成树备份端口快速恢复的 方法及装置。
背景技术
目前, 随着网络在社会上的广泛应用, 用户对于网络的可靠性也提出 了越来越高的要求, 而对重要的网络连接, 提供备份链路是一种较常用的 方法。
在二层网络中, 为重要网络连接提供备份, 使网络物理连接存在环路, 引起广播风暴, 生成树协议 STP ( Spanning-Tree Protocol )用于消除二层网 络环路。
生成树协议通过阻塞冗余链路, 使整个网络拓朴成树形结构, 任意两 点间通信, 只存在一条链路, 避免了广播风暴的产生; 同时当链路发生故 障时, 阻塞的冗余链路可以自动恢复转发, 达到链 ί ^份的目的。
现有技术中, 当与 Backup端口 (备份端口) 间接相连(中间有其它设 备连接, 桥接协议数据单元 ( BPDU, Bridge Protocol Data Unit) 报文在这 些设备中透传) 的主端口故障时, 标准中没有相应的快速恢复机制, 只能 通过等待 Backup端口的报文信息老化( Maxage )。
例如, 如图 1所示, 图 1是 Backup端口作为链路备份的一种典型应用 场景示意图, 用户边缘设备(CE, Custom Edge )与不同的运营商边缘设备 ( PE, Provider Edge )相连, CE上运行快速生成树协议( RSTP, Rapid Spanning Tree Protocol或多生成树十办议 ( MSTP, Multiple Spanning Tree Protocol ), PEl与 PE2上收到生成树 BPDU报文, 通过伪线(PW, Pseudo Wire )在运营商网络中透传 ,达到的效果就好像 CE的两个端口 Port 1和 Port2 直连, 网络正常时, Port2作为 Backup端口处于阻塞状态。
当 CE的主端口 Portl发生故障, 作为 Backup端口的 Port2无法感知, 只能等待 BPDU报文信息老化,然后再经过 2倍转发时延 Forward Delay的 时间, 才能进入转发, 这样端口恢复的时间在 50s左右, 对于网络用户, 断 网 50s的时间, 是难以接受的。
发明内容
鉴于上述的分析, 本发明实施例旨在提供一种生成树备份端口快速恢 复的方法及装置, 用以解决现有技术中只能通过等待 Backup端口的报文信 息老化才可以进行端口恢复且恢复时间比较长的问题。
本发明实施例的目的主要是通过以下技术方案实现的:
本发明实施例提供了一种生成树备份端口快速恢复的方法, 所述方法 包括:
感知生成树中的设备有端口发生故障;
判断所述设备中是否存在以故障端口为主端口的备份端口, 判断为存 在以所述故障端口为主端口的备份端口时, 将所述备份端口改为主端口。
上述方案中, 所述方法还包括: 当将所述备份端口改为主端口后, 设 置所述主端口状态为转发状态。
上述方案中, 所述方法还包括:
当感知到生成树的设备有端口发生故障时, 记录所述故障端口的端口 身份标识号 ID。
上述方案中, 所述判断是否存在以故障端口为主端口的备份端口, 包 括:
在端口优先级向量中, 判断是否有端口的指定端口字段的端口 ID与所 述故障端口的 ID相同, 判断为有端口的指定端口字段的端口 ID与所述故 障端口的 ID相同时,确定所述端口为以所述故障端口为主端口的备份端口。
上述方案中, 所述方法还包括:
判断以所述故障端口为主端口的备份端口的个数为一个还是为多个; 判断为以所述故障端口为主端口的备份端口的个数为多个时, 选取端 口优先级最高的作为所述故障端口的备份端口。
本发明实施例还提供了一种生成树备份端口快速恢复的装置, 所述装 置包括:
感知单元, 配置为感知生成树设备有端口发生故障时触发判断单元; 判断单元, 配置为判断所述设备中是否存在有以故障端口为主端口的 备份端口, 判断为存在时触发处理单元;
处理单元, 配置为将所述备份端口改为主端口。
上述方案中, 所述处理单元还配置为, 当将所述备份端口改为主端口 后, 设置所述主端口状态为转发状态。
上述方案中, 所述感知单元配置为, 当感知到生成树的设备有端口发 生故障时, 记录所述故障端口的端口身份标识号 ID。
上述方案中, 所述判断单元配置为:
在端口优先级向量中, 判断是否有端口的指定端口字段的端口 ID与所 述故障端口的 ID相同, 判断为有端口的指定端口字段的端口 ID与所述故 障端口的 ID相同时, 确定所述端口为以所述故障端口为主端口的备份端口 并触发所述处理单元。
上述方案中, 所述判断单元还配置为, 判断以所述故障端口为主端口 的备份端口的个数为一个还是为多个; 判断为以所述故障端口为主端口的 备份端口的个数为多个时, 选取端口优先级最高的作为所述故障端口的备 份端口并触发所述处理单元。 本发明实施例的有益效果如下:
本发明实施例可以显著缩短 Backup端口的恢复时间, 大幅提高链路恢 复的性能。
本发明实施例的其他特征和优点将在随后的说明书中阐述, 并且, 部 分的从说明书中变得显而易见, 或者通过实施本发明而了解。 本发明实施 例的目的和其他优点可通过在所写的说明书、 权利要求书、 以及附图中所 特别指出的结构来实现和获得。
附图说明
图 1为 Backup端口作为链 份的一种典型应用场景示意图; 图 2为本发明实施例的生成树备份端口快速恢复方法的流程示意图; 图 3为本发明的生成树备份端口快速恢复方法的一具体实施例示意图; 图 4为本发明实施例的生成树备份端口快速恢复装置的组成结构示意 图。
具体实施方式
下面结合附图来具体描述本发明的优选实施例, 其中, 附图构成本申 请一部分, 并与本发明的实施例一起用于阐释本发明的原理。 应当理解, 此处所描述的具体实施例仅用以解释本发明, 并不用于限定本发明。 需要 说明的是, 在不沖突的情况下, 本申请中的实施例及实施例中的特征可以 相互任意组合。
首先结合附图 1到 3对本发明实施例的生成树备份端口快速恢复方法 进行详细说明。
如图 2所示, 图 2为本发明实施例的生成树备份端口快速恢复方法的 流程示意图, 具体可以包括如下步驟:
步驟 201: 生成树中的设备感知到所述设备有端口发生故障; 步驟 202: 判断所述设备中是否存在以故障端口为主端口的备份端口, 确定存在以所述故障端口为主端口的备份端口时, 将所述备份端口改为主 端口。
本发明实施例将以图 1所示场景为例, 即 CE与不同的 PE相连, CE 上运行 RSTP或 MSTP。
如图 3所示, 图 3为本发明的生成树备份端口快速恢复方法的一具体 实施例示意图, 具体可以包括:
步驟 301: CE感知设备的端口 Portl故障, 记录下此端口的身份标识 号 port—ID ( ID, IDentity );
步驟 302: 端口故障引起生成树重新计算;
步驟 303: 遍历 CE的各个端口, 判断是否存在以故障端口 Portl为主 端口的 Backup端口, 具体为在端口优先级向量中判断是否有端口的指定端 口字段 port_ID与步驟 301中记录的 port_ID相同; 判断为有时, 确定具有 与步驟 301中记录的 port_ID相同字段的端口是以故障端口 Portl为主端口 的 Backup端口, 继续执行步驟 304; 判断为没有时, 执行步驟 307;
步驟 304: 获取以故障端口 Portl为主端口的 Backup端口个数, 判断 所述 Backup端口个数为一个还是多个, 判断为多个时继续执行步驟 305, 否则执行步驟 306;
步驟 305: 存在多个以故障端口 Portl为主端口的 Backup端口, 则按 照所述端口优先级向量中的优先级规则, 选取端口优先级最高的一个端口 作为 Backup端口;
步驟 306: 将步驟 304中的唯一 Backup端口, 或步驟 305中选取的优 先级最高的 Backup端口, 角色转换为指定, 即将原来的 Backup端口升为 主端口, 并设置所述主端口状态为转发状态;
步驟 307: 流程结束。
需要说明的是, 上述本发明方法实施例仅以 CE双规 PE的组网环境为 例, 所述 Backup端口快速导通机制还适用于其它 Backup端口为备份的快 速导通场景。 比如通过集线器 Hub或者起了 STP报文透传功能的交换机, 使两个交换机端口间接相连的场景。
接下来结合附图 4对本发明实施例的生成树备份端口快速恢复装置进 行评细说明。
如图 4所示, 图 4为本发明实施例的生成树备份端口快速恢复装置的 组成结构示意图, 具体可以包括: 感知单元 41、 判断单元 42以及处理单元 43 , 以下将对各个功能单元予以具体说明。
所述感知单元 41 , 配置为感知生成树的设备有端口发生故障时触发所 述判断单元 42;
所述判断单元 42, 配置为判断是否存在有以故障端口为主端口的备份 端口, 并判断为存在所述备份端口时触发所述处理单元 43;
所述处理单元 43 , 配置为将所述备份端口改为主端口;
所述处理单元 43还配置为, 在将所述备份端口改为主端口后, 设置所 述备份端口状态为转发状态。
作为本发明优选的装置实施例, 所述感知单元 41具体配置为, 当感知 到生成树的设备有端口发生故障时, 记录该故障端口的端口 ID。
所述判断单元 42具体配置为, 遍历该设备各个端口, 对每个端口进行 判断:
在该设备的端口优先级向量中, 判断是否有端口的指定端口字段的 port_ID与所记录的故障端口的 port_ID相同; 判断为有时, 确定具有与所 记录的 port_ID相同字段的端口是以所述故障端口为主端口的 Backup端口; 并获取以所述故障端口为主端口的 Backup端口个数;
判断为该 Backup端口个数为一个时, 确定该 Backup端口是以所述故 障端口为主端口的唯——个备份端口并触发所述处理单元 43;
判断为以所述故障端口为主端口的 Backup端口个数为多个时, 所述判 断单元 42选取端口优先级最高的端口为所述故障端口的备份端口并触发所 述处理单元 43。
实际应用中, 所述感知单元 41、 判断单元 42以及处理单元 43均可由 中央处理单元(CPU, Central Processing Unit ), 或数字信号处理(DSP, Digital Signal Processor ),或现场可编程门阵列(FPGA, Field Programmable Gate Array )等来实现; 所述 CPU、 DSP 、 FPGA均可内置于生成树的设备 中, 所述生成树的设备可位于网络侧。
对于本发明装置实施例的具体实现过程, 由于上述方法中已有详细说 明, 故此处不再赘述。
综上所述, 本发明实施例提供了一种生成树备份端口快速恢复的方法 及装置, 由上述本发明实施例提供的技术方案可以看出, 由于设备是通过 端口收到的报文信息, 而自身的端口是否发生了故障该设备是可以感知的, 从而可以利用这一信息, 加快 Backup端口的恢复时间, 又不会引起环路; 本发明实施例的技术方案可以显著缩短 Backup端口的恢复时间, 大幅提高 Backup端口提供链路备份场景中的链路恢复的性能。
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并 不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本 发明的保护范围应该以权利要求书的保护范围为准。

Claims

权利要求书
1、 一种生成树备份端口快速恢复的方法, 所述方法包括:
感知生成树中的设备有端口发生故障;
判断所述设备中是否存在以故障端口为主端口的备份端口, 判断为存 在以所述故障端口为主端口的备份端口时, 将所述备份端口改为主端口。
2、 根据权利要求 1所述的生成树备份端口快速恢复的方法, 其中, 所 述方法还包括:
将所述备份端口改为主端口后, 设置所述主端口状态为转发状态。
3、 根据权利要求 1所述的生成树备份端口快速恢复的方法, 其中, 所 述方法还包括:
当感知到生成树的设备有端口发生故障时, 记录故障端口的端口身份 标识号 ID。
4、 根据权利要求 3所述的生成树备份端口快速恢复的方法, 其中, 所 述判断是否存在以故障端口为主端口的备份端口, 包括:
在端口优先级向量中, 判断是否有端口的指定端口字段的端口 ID与所 述故障端口的 ID相同, 判断为有端口的指定端口字段的端口 ID与所述故 障端口的 ID相同时,确定所述端口为以所述故障端口为主端口的备份端口。
5、 根据权利要求 1至 4中任意一项所述的生成树备份端口快速恢复的 方法, 其中, 所述方法还包括:
判断以所述故障端口为主端口的备份端口的个数为一个还是为多个; 判断为以所述故障端口为主端口的备份端口的个数为多个时, 选取端 口优先级最高的作为所述故障端口的备份端口。
6、 一种生成树备份端口快速恢复的装置, 所述装置包括:
感知单元, 配置为感知生成树设备有端口发生故障时触发判断单元; 判断单元, 配置为判断所述设备中是否存在有以故障端口为主端口的 备份端口, 判断为存在时触发处理单元;
处理单元, 配置为将所述备份端口改为主端口。
7、 根据权利要求 6所述的生成树备份端口快速恢复的装置, 其中, 所 述处理单元还配置为, 当将所述备份端口改为主端口后, 设置所述主端口 状态为转发状态。
8、 根据权利要求 6所述的生成树备份端口快速恢复的装置, 其中, 所 述感知单元配置为, 当感知到生成树的设备有端口发生故障时, 记录故障 端口的端口身份标识号 ID。
9、 根据权利要求 8所述的生成树备份端口快速恢复的装置, 其中, 所 述判断单元配置为:
在端口优先级向量中, 判断是否有端口的指定端口字段的端口 ID与所 述故障端口的 ID相同, 判断为有端口的指定端口字段的端口 ID与所述故 障端口的 ID相同时, 确定所述端口为以所述故障端口为主端口的备份端口 并触发所述处理单元。
10、 根据权利要求 6至 9中任意一项所述的生成树备份端口快速恢复 的装置, 其中, 所述判断单元还配置为, 判断以所述故障端口为主端口的 备份端口的个数为一个还是为多个; 判断为以所述故障端口为主端口的备 份端口的个数为多个时, 选取端口优先级最高的作为所述故障端口的备份 端口并触发所述处理单元。
PCT/CN2013/082603 2012-12-19 2013-08-29 生成树备份端口快速恢复的方法及装置 WO2013189456A2 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/652,863 US9806990B2 (en) 2012-12-19 2013-08-29 Fast recovery method and device for STP-based backup port
EP13807157.6A EP2922247B1 (en) 2012-12-19 2013-08-29 Method and apparatus for rapidly restoring spanning tree backup port

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2012105531440A CN103067274A (zh) 2012-12-19 2012-12-19 生成树备份端口快速恢复的方法及装置
CN201210553144.0 2012-12-19

Publications (2)

Publication Number Publication Date
WO2013189456A2 true WO2013189456A2 (zh) 2013-12-27
WO2013189456A3 WO2013189456A3 (zh) 2014-02-13

Family

ID=48109742

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/082603 WO2013189456A2 (zh) 2012-12-19 2013-08-29 生成树备份端口快速恢复的方法及装置

Country Status (4)

Country Link
US (1) US9806990B2 (zh)
EP (1) EP2922247B1 (zh)
CN (1) CN103067274A (zh)
WO (1) WO2013189456A2 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017215503A1 (zh) * 2016-06-16 2017-12-21 中兴通讯股份有限公司 一种业务质量测量方法及装置
CN110995498A (zh) * 2019-12-12 2020-04-10 迈普通信技术股份有限公司 一种端口的启动方法及装置

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067274A (zh) * 2012-12-19 2013-04-24 中兴通讯股份有限公司 生成树备份端口快速恢复的方法及装置
US9608859B2 (en) * 2013-10-25 2017-03-28 Aruba Networks, Inc. System, apparatus and method for reducing failover time through redundancy using virtual access points
CN105141451A (zh) * 2015-07-30 2015-12-09 积成电子股份有限公司 具有自动修复功能的mstp通信网络及其自动修复方法
US10193789B2 (en) * 2015-10-07 2019-01-29 Arris Enterprises Llc Handling port identifier overflow in spanning tree protocol
US11265239B1 (en) * 2019-09-10 2022-03-01 Cisco Technology, Inc. Extended network node provisioning in software defined access fabric networks
CN111464436B (zh) * 2020-04-03 2022-02-01 中电科航空电子有限公司 一种解决rstp协议单端口环路的方法
CN114024907A (zh) * 2021-11-15 2022-02-08 中国电信集团系统集成有限责任公司 一种多口字环形结构下的流量调度方法和系统

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6976088B1 (en) 1997-12-24 2005-12-13 Cisco Technology, Inc. Method and apparatus for rapidly reconfiguring bridged networks using a spanning tree algorithm
US6032194A (en) 1997-12-24 2000-02-29 Cisco Technology, Inc. Method and apparatus for rapidly reconfiguring computer networks
CA2459286C (en) * 2001-09-04 2010-07-20 Rumi Sheryar Gonda Method for supporting sdh/sonet aps on ethernet
US20060171302A1 (en) 2005-02-03 2006-08-03 Cisco Technology, Inc. Data transmission in a network comprising bridges
WO2009155996A1 (en) * 2008-06-27 2009-12-30 Telefonaktiebolaget L M Ericsson (Publ) Method and system for link aggregation
CN101562552B (zh) * 2009-05-27 2011-09-14 华为技术有限公司 一种虚拟专用局域网环路检测的方法、系统和设备
EP2484060B1 (en) * 2009-10-02 2013-07-10 Telefonaktiebolaget LM Ericsson (publ) Technique for controlling data forwarding in computer networks
CN101771705B (zh) * 2010-02-01 2013-01-16 杭州华三通信技术有限公司 一种基于rrpp的处理方法及装置
GB2494385B (en) * 2011-08-31 2018-06-06 Metaswitch Networks Ltd Transmitting and forwarding data
CN103067274A (zh) 2012-12-19 2013-04-24 中兴通讯股份有限公司 生成树备份端口快速恢复的方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
None

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017215503A1 (zh) * 2016-06-16 2017-12-21 中兴通讯股份有限公司 一种业务质量测量方法及装置
CN110995498A (zh) * 2019-12-12 2020-04-10 迈普通信技术股份有限公司 一种端口的启动方法及装置

Also Published As

Publication number Publication date
EP2922247B1 (en) 2018-10-31
US9806990B2 (en) 2017-10-31
WO2013189456A3 (zh) 2014-02-13
CN103067274A (zh) 2013-04-24
US20150341256A1 (en) 2015-11-26
EP2922247A2 (en) 2015-09-23
EP2922247A4 (en) 2016-01-20

Similar Documents

Publication Publication Date Title
WO2013189456A2 (zh) 生成树备份端口快速恢复的方法及装置
US9608903B2 (en) Systems and methods for recovery from network changes
EP2555467B1 (en) Method, apparatus and system for dual-homing protection switching
JP5566463B2 (ja) コンピュータネットワークにおけるデータ転送の技術
US9800432B2 (en) Using ethernet ring protection switching with computer networks
JP4542045B2 (ja) データ通信装置およびその方法
US8681605B2 (en) Method and apparatus for using G.8031 extensions to enable coexistence of G.8031-based protection and LAG-like loadsharing for ethernet paths
EP2256995B1 (en) Loop detection method, system, and device in virtual private local area network
EP2360880B1 (en) Optimized fast re-route in MPLS-TP ring topologies
US8982691B2 (en) System and method providing standby bypass for double failure protection in MPLS network
WO2013053276A1 (zh) 一种网络路由收敛处理方法和装置
WO2014026512A1 (zh) 一种快速生成树协议应用于单环网拓扑的处理方法
WO2011022910A1 (zh) 一种以太网路径保护的切换方法及系统
WO2007131402A1 (fr) Procédé et dispositif permettant d'améliorer la fiabilité de la passerelle de trajet le plus court
WO2016034127A1 (zh) 一种实现双节点互联伪线的系统及方法
WO2012142888A1 (zh) 基于多协议标签交换网络的隧道组保护实现方法及装置
WO2009009985A1 (fr) Procédé et appareil pour accélérer la convergence de liaison
WO2012146097A1 (zh) Vpls网络和以太环网的倒换方法及装置
WO2008095360A1 (fr) Méthode et système de commutation rapide en cas de défaillance d'une liaison d'un réseau privé virtuel
WO2015039456A1 (zh) 网络数据自环回的控制方法及装置
WO2013086858A1 (zh) 一种恢复用户业务的方法和装置
WO2016169214A1 (zh) 一种隧道保护切换的方法和装置
WO2010045838A1 (zh) 报文处理的方法和装置
US20160065450A1 (en) Network connectivity
WO2016061943A1 (zh) 实现生成树协议保护倒换的方法、装置及计算机存储介质

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 14652863

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2013807157

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13807157

Country of ref document: EP

Kind code of ref document: A2