WO2014026512A1 - Processing method for applying rapid spanning tree protocol to single ring network topology - Google Patents

Processing method for applying rapid spanning tree protocol to single ring network topology Download PDF

Info

Publication number
WO2014026512A1
WO2014026512A1 PCT/CN2013/078554 CN2013078554W WO2014026512A1 WO 2014026512 A1 WO2014026512 A1 WO 2014026512A1 CN 2013078554 W CN2013078554 W CN 2013078554W WO 2014026512 A1 WO2014026512 A1 WO 2014026512A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
ring network
topology
bpdu
topology change
Prior art date
Application number
PCT/CN2013/078554
Other languages
French (fr)
Chinese (zh)
Inventor
王文龙
周旭峰
杨贵
刘明慧
Original Assignee
南京南瑞继保电气有限公司
南京南瑞继保工程技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 南京南瑞继保电气有限公司, 南京南瑞继保工程技术有限公司 filed Critical 南京南瑞继保电气有限公司
Publication of WO2014026512A1 publication Critical patent/WO2014026512A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Definitions

  • the present invention relates to communication network redundancy technologies, and in particular, to a fast spanning tree protocol applied to a single ring network topology. Background technique
  • STP Spanning Tree Protocol
  • RSTP Rapid Spanning Tree Protocol
  • MSTP Multiple Spanning Tree Protocol
  • the Layer 2 switch runs the spanning tree protocol and sends the Bridge Protocol Data Unit (BPDU) to each other.
  • the main information in the BPDU includes the STP version, the BPDU type, the identifier field, the root bridge ID, the root path cost, and the specified bridge ID.
  • the port ID and the time value are specified.
  • the root bridge ID, the root path cost, the specified bridge ID, and the specified port ID form the message priority vector, which is the main basis for RSTP comparison and calculation.
  • the switch obtains the information in the BPDU and uses the spanning tree algorithm (SPA) to tailor the network topology to eliminate loops and form redundant paths.
  • SPA spanning tree algorithm
  • STP can use redundant paths to restore normal communication services.
  • Running the spanning tree protocol through the Layer 2 switch can eliminate loops in the communication network to avoid network storms and implement redundant backup of links.
  • the Rapid Spanning Tree Protocol is an improvement to the spanning tree protocol.
  • the P/A mechanism the Proposal/Agreement mechanism
  • the neighboring switches can quickly negotiate to tailor the network topology.
  • the stable network topology is formed.
  • it can achieve a recovery speed of about 1-2 seconds.
  • the Rapid Spanning Tree Protocol applies to any network topology in accordance with the spanning tree algorithm and the P/A Negotiation Machine.
  • the switch receives the BPDU, it first collects the useful information in the BPDU, and then performs the calculation according to the spanning tree algorithm to determine the port role, including the root port, the designated port, the alternate port, and the alternate port. (Backup Port) and the status of the port, including the block.
  • the state in which the port does not forward packets and does not learn the address is called Discarding, which is equivalent to the Block state in STP.
  • the state is called blocking state, learning, forwarding, and finally sending BPDUs to the opposite side to complete the negotiation process.
  • the process grows between switches on the network, such as trees, from tree roots to leaves, and sequentially between the two, thus forming a tree-like topology with no loops.
  • the implementation of the fast spanning tree algorithm in the switch is accomplished through a set of state machines that work together. There are a total of 10 state machines. Each state machine contains several "states", operations within each "state”, and conditions for entering "state”. When in a "state”, the program performs the predetermined operation under the "state”. After the execution is completed, Check if there are other "states” that meet the entry conditions, and if so, move to the "state", otherwise keep the current "state” and wait for the next condition check. The state machines interact with each other through shared variables to affect the "state” migration conditions.
  • the ring network is a widely used network topology with clear structure and redundant backup function to provide single point link failure protection.
  • the ring network has many forms, such as a single ring network, a double ring network, a tangent ring, and the like.
  • single-loop network topology has a wide range of applications, taking into account factors such as fault protection capability and cost.
  • the characteristics are:
  • the switches on the ring each use two ports to connect with adjacent switches.
  • the other ports are connected to the non-spanning tree port on the terminal node or other switch (that is, the port does not belong to any spanning tree).
  • the topology has one and only one redundant link.
  • RSTP sends a BPDU with the Topology Change flag set.
  • the address update operation is required.
  • the address update operation takes a certain amount of time, usually several milliseconds or even ten milliseconds per station. From the above analysis of the fast spanning tree state machine implementation, this delay will affect the execution of the entire state machine sequence, significantly affecting the link recovery time. For applications such as TCP and UDP, the recovery time of 50ms can meet the requirements. For the industrial field, it is basically real-time communication, and the recovery time is very high.
  • the real-time communication is mainly based on multicast messages (which are broadcasted in the group) or broadcast messages, and does not need to update the address table to restore communication.
  • the ring network has a longer self-healing time and cannot meet the requirements of fast self-healing of the ring network.
  • the object of the present invention is to provide a method for processing a fast spanning tree protocol applied to a single ring network topology, which can shorten the ring network self-healing time when the link fails in a single ring network topology, and can be automatically compatible with the standard RSTP. Requirements for various communication services.
  • the solution of the present invention is:
  • a fast spanning tree protocol is applied to a single ring network topology processing method.
  • the BPDU is extended, and two additional protocol fields are added: field 1 indicates the protocol type, and field 2 indicates the topology change information. If the port fails, the value of the field 2 is set. True, otherwise false;
  • the above topology change identifier is Boolean, and the value is true or false. When there is a port failure, it is set to true, otherwise it is false; the topology change timer is 1-2 seconds.
  • the switch After receiving the extended BPDU, the switch determines whether the neighboring switch works in the single ring network by matching the field 1 to further determine the working mode of the switch on the entire ring network; when one or more switches do not support Or not configured as a single ring network working mode, all other switches on the network automatically run the standard fast spanning tree protocol to work together; on the other hand, determine the value of field two, if true, the RSTP state machine sends the field value The true BPDU informs the peer switch that there is a link failure on the network, and each switch performs a fast recovery.
  • the method for quickly recovering the above faults includes the following contents:
  • the topology change timer of the port is started immediately, and the fault type is distinguished according to the port role: Type 1, the alternate port fails; Type 2, the non-alternative port (ie, the root port or the designated port) fails, and the The other ring port of the switch where the port is located is an alternate port; type 3, the non-alternative port is invalid, and the other ring port of the switch where the port is located is not an alternate port;
  • the RSTP state machine When the type 2 is faulty, the RSTP state machine quickly puts the alternate port of the local machine into the forwarding state, and the fault is instantaneously restored.
  • the topology change identifier of the other ringed port that is in the connected state is set to true, and the connection port is The RSTP state machine variable newlnf 0 is true, and the topology change timer of the connection port is started at the same time.
  • the port state is converted to Block;
  • the topology change timer of the port is started immediately.
  • the state machine checks. If the port is an alternate port, Immediately convert to the forwarding state; otherwise check another ring port, if it is an alternate port, convert to the forwarding state; if there is no alternate port, set the topology change identifier and newlnfo flag of the other port;
  • a fast spanning tree single ring network processing method further includes:
  • the port transmission state machine is first executed, so that the port transmission state machine can detect the change of the port variable newlnfo at the first time.
  • the txRstp() function uses the The topology change of the port identifies the BPDU additional field 2, topology change information, and immediately sends a BPDU to notify the peer switch of the topology change event.
  • the function is to fill the BPDU with each variable of the port and send a fast spanning tree BPDU.
  • the Topology Change state machine (IEEE 802. 1D-2004 17. 31) detects a topology change or receives a topology change flag (Topology Change flag, IEEE 802. 1D-2004 9. 3. 3)
  • the port variable fdbFlush (IEEE 802. ID- 2004 17. 19. 7) to clear the port address table, so that the switch can learn the MAC address again, that is, the address update, to restore the communication service.
  • the address update process is separated from the internal operations of the RSTP topology change state machine and a separate address updater is used to detect the fdbFlush state.
  • fdbFlush When fdbFlush is set, the address update program immediately resets fdbFlush, but after a certain delay, the address update operation is performed. The length of the delay depends on the size of the network, typically 20ms.
  • the invention has the following characteristics:
  • the alternate port is directly changed to the forwarding state, and the network communication service is quickly restored.
  • the RSTP port is sent to the state machine.
  • the RSTP state machine sends a BPDU to the opposite switch at the first time to quickly propagate the fault information to the entire network.
  • 1 is a schematic diagram of an extended fast spanning tree BPDU format
  • FIG. 2 is a schematic diagram of a single ring network topology
  • FIG. 3 is a schematic diagram of the flow of the RSTP single ring network processing method. detailed description
  • the Rapid Spanning Tree BPDU (RST BPDU) is extended to transmit topology change information.
  • RST BPDU Rapid Spanning Tree BPDU
  • the length is 1 byte
  • the 7-bit (most significant bit) indicates the topology change identifier, called RT (:, the remaining bits (6-0 bits) indicate the protocol type
  • RT the remaining bits (6-0 bits) indicate the protocol type
  • RST BPDU format and meaning of the RTypc extension are shown in Figure 1.
  • the fast spanning tree single ring network processing mode opening switch is set to a Boolean variable RRING, and the variable is used to control whether the fast spanning tree single ring network processing method is enabled.
  • RRING When ⁇ G is false, the standard RSTP protocol is run; when RRING is true: The port receives the BPDU, first determines the BPDU protocol version identifier, and if it is the fast spanning tree protocol version, it determines whether the RType of the additional protocol field is equal to the specified type, and satisfies the above two The RTC field is processed when the condition is met. Otherwise, considering the interoperability with switches of different manufacturers, the switch should automatically set RRING to false and compatible with the standard RSTP protocol.
  • RSTP calculates the topology of a single ring network by selecting a bridge ID (consisting of 16-bit bridge priority and 48-bit MAC address).
  • the smallest switch is used as the root bridge, and the other switches are designated bridges.
  • the root path cost is the smallest (the distance to the root bridge is the shortest)
  • the topology extends from the root bridge to the designated bridges on both sides, and the root path cost increases one by one.
  • the P/A mechanism between the switches ensures that no temporary loops occur.
  • the number of switches on the ring network is N, and the path cost of each switch is 1.
  • the maximum path cost of the switch on the ring is (N/2).
  • the ring is disconnected by the alternate port in the blocked state at the switch where the root path cost is equal to the maximum.
  • the root path cost of the switch is the most The small port is the root port; the port that connects to the downstream network and acts as the path of the downstream network to the root bridge is the designated port; the alternate port is the alternate port of the root port, and when the root port is unavailable, the alternate port can be converted to the root port .
  • the topology is stable, one or only one of the alternate ports in the ring network is blocked.
  • the other ports are root ports or designated ports and are in the forwarding state.
  • a single ring network consisting of four switches is shown in Figure 2.
  • a stable network topology is formed: swl is the root bridge, and sw2-4 is the designated bridge; the p2 port of sw4 is the alternate port, which is in the blocking state, and the other port is the root port or the designated port, and is in the forwarding state; For redundant links, user traffic is not forwarded, and other links are links used for normal communication.
  • link C fails, the sw4-p2 port role is an alternate port, and link C is a redundant link, which is logically disabled.
  • the RSTP state machine can instantaneously converge without affecting the normal operation of other links.
  • the other ring port p2 of sw4 acts as an alternate port and can be restored to the root port immediately.
  • the RSTP state machine can also converge instantaneously.
  • RSTP state machine When link A or C fails, the RSTP state machine must recalculate the topology. Since RSTP treats the ring network as a normal network, there is no significant difference in self-healing time from the general network.
  • the fast spanning tree single ring network processing method takes into account the characteristics of the single ring network. The following steps are used to shorten the network self-healing time.
  • the port recovery is detected. Considering that there is a complete and stable topology, and the port is restored in the single ring network structure, the temporary topology is incomplete due to unsuccessful P/A negotiation. Regardless of the port role that the recovery port will be converted, RSTP can negotiate successfully in a short period of time, and the topology converges. Therefore, no special processing is required in this case.
  • the port needs to go through two forwarding delays. Can enter the forwarding state. The analysis shows that the location of the port is only on the opposite side of the alternate port. The link connecting the two ports is a redundant link. Whether the port is in the forwarding state does not affect the normal operation of the network.
  • the PTT timer of the port is started immediately.
  • the timing is recommended to be 1-2 seconds.
  • the port B receives the BPDU.
  • the PTT timer of the port is 0, the RTC identifier field of the packet is detected.
  • the txRstp O function fills the RTC field of the port BPDU according to the PTC identifier of each port, that is, the value of the RTC field of the BPDU is equal to the value of the port PTC, and the RType field, and then sends a BPDU.
  • 301-307 constitutes the port state detection process to detect in real time whether the state of the ring network port has changed.
  • 308-311, 306, and 307 form a receiving process of the BPDU. Both of the above processes are triggered by events, and therefore, the response speed of the RSTP program to the event significantly affects the implementation effect of the present invention.
  • the embodiment of the present invention adopts a real-time operating system and sets the RSTP task to a higher priority to ensure good response speed and sufficient execution time.
  • Both the port status change event and the BPDU receive event use the interrupt mode to notify the RSTP program to improve the overall performance of the system.
  • the key process for rapid self-healing of the ring network is to quickly find an alternate port and convert it to a forwarding state.
  • the alternate port has two locations for the switch where the fault is located: local and other switches. If the RSTP program is considered to have a good event response speed, the process can be completed instantaneously when the alternate port is a local port; if the alternate port is on another switch, the alternate port must be found by the BPDU propagation.
  • the length of the fast spanning tree BPDU is 36 bytes, and the additional protocol field is 1 byte (see Figure 1).
  • the BPDU header adds 6 bytes of destination address, 6 bytes of source address, and 2 characters of length.
  • the delay of the part is not considered relative to other processing delays; RSTP runs on the second layer, and the protocol delay is very small; therefore, the transmission delay of the BPDU mainly comes from The delay calculated by the state machine of RSTP itself.
  • the port sending state machine is placed in the first place of the RSTP state machine list, and once the port newlnfo flag is set, the BPDU is sent immediately. In this way, the delay from the RSTP state machine calculation during BPDU propagation can be minimized.
  • the port PTC identifier is set at the same time as the newlnfo flag, so that the PTC identifier can be sent with the BPDU at the first time, and the original or forwarding speed is improved, thereby effectively reducing the ring network self-healing time.
  • the embodiment of the present invention further delays the RSTP address update operation according to the different requirements of different communication services for the ring network self-healing time and the characteristics of different message transmission modes, and accelerates the calculation process of the RSTP state machine.
  • the communication services based on different message types meet the requirements for different self-healing times of the ring network.
  • the address update operation is pushed into the delay task processing queue, fdbFlush is immediately cleared, and the delay time is 20 milliseconds.
  • the address update operation is performed. This separates the RSTP calculation process and the address update operation process, and avoids the address update operation taking up the calculation time of the RSTP state machine.
  • the communication physical link has been quickly restored, and the broadcast and multicast packets are forwarded normally.
  • the communication services based on these two types of packets only lose a small amount of packets.
  • the address update operation is performed. In 50ms, services such as TCP can be restored to meet the needs of other applications.
  • the embodiment of the invention provides a fast spanning tree single ring network processing method, which can significantly shorten the ring network self-healing time when the link fails in the single ring network topology, and can be automatically compatible with the standard RSTP to meet the requirements of various communication services. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

Disclosed is a processing method for applying a rapid spanning tree protocol to a single ring network topology, comprising: adding two additional protocol fields in a BPDU: field 1 indicating the protocol type, field 2 indicating topology change information, if a port is invalid, setting the value of the field 2 to be true; otherwise setting it to be false; a switch, after receiving the expanded BPDU, on the one hand, matching the field 1, and when one or more switches do not support or are not configured into a single ring network operating mode, all the other switches on the network automatically operating the standard rapid spanning tree protocol so as to cooperatively work; and on the other hand, judging the value of the field 2, if the value is true, an RSTP state machine sending the BPDU with the true field value so as to notify a counter-side switch of link failure on the network, and each switch conducting rapid fault restoration. The method can shorten the self-healing time of a ring network when a link in a single ring network topology is invalid, and at the same time can be automatically compatible with a standard RSTP, thereby meeting the requirements of various communication services.

Description

一种快速生成树协议应用于单环网拓扑的处理方法  A fast spanning tree protocol applied to a single ring network topology processing method
技术领域 Technical field
本发明涉及通信网络冗余技术,特别涉及一种应用于单环网拓扑的快速生成树协议。 背景技术  The present invention relates to communication network redundancy technologies, and in particular, to a fast spanning tree protocol applied to a single ring network topology. Background technique
生成树协议 (STP) 、 快速生成树协议 (RSTP) 和多生成树协议 (MSTP) 是应用于二 层通信网络的拓扑管理协议。 二层交换机运行生成树协议, 相互发送桥协议数据单元 (Bridge Protocol Data Unit, BPDU) , BPDU中的主要信息包括, STP版本、 BPDU类型、 标识字段、 根桥 ID、 根路径开销、 指定桥 ID、 指定端口 ID以及各时间值, 其中根桥 ID、 根路径开销、 指定桥 ID、 指定端口 ID构成消息优先级向量, 是 RSTP进行比较、 计算的 主要依据。 交换机获取 BPDU中的信息, 通过生成树算法 (SPA) , 裁剪网络拓扑, 达到 消除环路, 同时形成冗余路径的目的。 当有网络链路发生故障时, STP可以使用冗余路径 恢复正常的通讯业务。 通过二层交换机运行生成树协议可以消除通信网络中的环路避免 网络风暴, 同时实现链路的冗余备份功能。  Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), and Multiple Spanning Tree Protocol (MSTP) are topological management protocols that apply to Layer 2 communication networks. The Layer 2 switch runs the spanning tree protocol and sends the Bridge Protocol Data Unit (BPDU) to each other. The main information in the BPDU includes the STP version, the BPDU type, the identifier field, the root bridge ID, the root path cost, and the specified bridge ID. The port ID and the time value are specified. The root bridge ID, the root path cost, the specified bridge ID, and the specified port ID form the message priority vector, which is the main basis for RSTP comparison and calculation. The switch obtains the information in the BPDU and uses the spanning tree algorithm (SPA) to tailor the network topology to eliminate loops and form redundant paths. When a network link fails, STP can use redundant paths to restore normal communication services. Running the spanning tree protocol through the Layer 2 switch can eliminate loops in the communication network to avoid network storms and implement redundant backup of links.
快速生成树协议是对生成树协议的改进, 通过引入 Proposal/Agreement机制(简称 P/A机制), 在相邻交换机之间快速协商以裁剪网络拓扑, 较生成树协议形成稳定网络拓 扑的时间有大幅提升, 可达到 1-2秒左右的恢复速度。  The Rapid Spanning Tree Protocol is an improvement to the spanning tree protocol. By introducing the Proposal/Agreement mechanism (referred to as the P/A mechanism), the neighboring switches can quickly negotiate to tailor the network topology. Compared with the spanning tree protocol, the stable network topology is formed. Significantly improved, it can achieve a recovery speed of about 1-2 seconds.
为不失一般性, 快速生成树协议应用于任意网络拓扑时都按照生成树算法以及 P/A 协商机制裁剪网络。 当交换机收到 BPDU时, 首先收集 BPDU中的有用信息, 然后按照生 成树算法进行计算确定端口角色,包括根端口( Root Port )、指定端口(Designated Port )、 替代端口(Alternate Port )、备用端口(Backup Port ) ,以及端口状态,包括阻塞(Block) (RSTP将端口不转发报文同时不学习地址的状态称为 Discarding, 即丢弃状态, 其等同 于 STP中的 Block状态,为方便描述,本文统一称该状态为阻塞状态)、学习(Learning)、 转发 (Forwarding) , 最后向对侧发出 BPDU, 完成协商过程。 该过程在网络上的交换机 之间如树的生长一般, 从树根到树叶, 两两之间依次进行, 如此形成最终无环路的树形 拓扑结构。  For the sake of generality, the Rapid Spanning Tree Protocol applies to any network topology in accordance with the spanning tree algorithm and the P/A Negotiation Machine. When the switch receives the BPDU, it first collects the useful information in the BPDU, and then performs the calculation according to the spanning tree algorithm to determine the port role, including the root port, the designated port, the alternate port, and the alternate port. (Backup Port) and the status of the port, including the block. The state in which the port does not forward packets and does not learn the address is called Discarding, which is equivalent to the Block state in STP. The state is called blocking state, learning, forwarding, and finally sending BPDUs to the opposite side to complete the negotiation process. The process grows between switches on the network, such as trees, from tree roots to leaves, and sequentially between the two, thus forming a tree-like topology with no loops.
交换机中快速生成树算法的实现是通过一组协同工作的状态机来完成的, 总共有 10 种状态机。 每个状态机内部包含若干个 "状态" 、 各 "状态" 内部的操作以及进入 "状 态"的条件。 当处于某个 "状态"时, 程序执行该 "状态"下预定的操作。 执行完成后, 检查是否有其它 "状态"满足进入条件, 如果有, 则迁移到该 "状态" , 否则保持当前 "状态", 等待下次条件检查。 状态机之间通过共享的变量相互影响 "状态"迁移条件, 完成协同工作。 The implementation of the fast spanning tree algorithm in the switch is accomplished through a set of state machines that work together. There are a total of 10 state machines. Each state machine contains several "states", operations within each "state", and conditions for entering "state". When in a "state", the program performs the predetermined operation under the "state". After the execution is completed, Check if there are other "states" that meet the entry conditions, and if so, move to the "state", otherwise keep the current "state" and wait for the next condition check. The state machines interact with each other through shared variables to affect the "state" migration conditions.
由软件实现快速生成树算法时, 由于程序顺序执行的原因, 多个状态机只能按一定 顺序依次执行。 当有条件发生变化影响到一个状态机时, 程序必须从头检查一遍状态机 的迁移条件, 在大多数时候, 这个检查过程都会引入一定的处理延时。 另一方面, 当有 多个状态机都要进行处理时, 一旦有状态机中具有耗时较大的操作, 将影响到后续所有 状态机的执行。  When the fast spanning tree algorithm is implemented by software, multiple state machines can only be executed in a certain order because of the sequence execution of the program. When a conditional change affects a state machine, the program must check the state machine's migration condition from the beginning. Most of the time, this check process introduces a certain processing delay. On the other hand, when there are multiple state machines to process, once a state machine has a time-consuming operation, it will affect the execution of all subsequent state machines.
环形网络是广泛应用的一种网络拓扑, 结构清晰同时具有冗余备份功能, 可提供单 点链路故障的保护。 环形网络具有多种形式, 如单环网、 双环网、 相切环等。 实际工程 中, 包括通讯以及其它工业领域, 考虑到故障保护能力以及成本等因素, 单环网拓扑有 着广泛的应用, 其特点是: 位于环上的交换机各用两个端口与相邻交换机相连, 而其它 端口都与终端节点或其他交换机上的非生成树端口 (即该端口不属于任何一个生成树) 相连, 该拓扑有且只有一条冗余链路。  The ring network is a widely used network topology with clear structure and redundant backup function to provide single point link failure protection. The ring network has many forms, such as a single ring network, a double ring network, a tangent ring, and the like. In actual engineering, including communication and other industrial fields, single-loop network topology has a wide range of applications, taking into account factors such as fault protection capability and cost. The characteristics are: The switches on the ring each use two ports to connect with adjacent switches. The other ports are connected to the non-spanning tree port on the terminal node or other switch (that is, the port does not belong to any spanning tree). The topology has one and only one redundant link.
在单环网中应用 RSTP, 当有链路失效时, RSTP为保证不形成瞬时环路, 必须先阻塞 交换机生成树端口, 然后向相邻交换机发送 BPDU, 当相邻交换机满足条件并回复报文通 知或经转发延时 (Forwarding Delay ) 后才能依次将本机阻塞端口转换为学习和转发状 态, 如此延伸到整个网络, 最严重条件下, 需经过环上一半数量的交换机协商和反复阻 塞、 开放端口才能恢复通讯业务, 用户数据流在该过程中将中断。  RSTP is applied to a single ring network. When a link fails, RSTP ensures that no transient loop is formed. The switch must first block the spanning tree port and then send BPDUs to neighboring switches. When the neighboring switch meets the conditions and replies with the packet. After the notification or forwarding delay (Forwarding Delay), the local blocked port can be converted into the learning and forwarding state in turn, thus extending to the entire network. Under the most severe conditions, half of the switches on the ring need to negotiate and repeatedly block and open. The port can recover the communication service, and the user data stream will be interrupted during the process.
上述过程确保了拓扑重构过程中不会形成环路以致网络风暴。 但考虑到单环网的特 点: 有且只有一条冗余链路, 那么在 RSTP稳定后, 如任意一条链路失效, 则一定不可能 形成环路。 RSTP在单环网链路故障时的协商过程虽完备, 却不够快速。  The above process ensures that loops are not formed during topology reconstruction, resulting in network storms. However, considering the characteristics of a single ring network: There is only one redundant link, then after RSTP is stabilized, if any link fails, it is impossible to form a loop. The negotiation process of RSTP in the case of single-ring network link failure is complete but not fast enough.
在拓扑变化时, RSTP会发出拓扑变化标识 ( Topology Change flag) 置位的 BPDU, 当其它交换机收到拓扑变化消息时, 需要进行地址更新操作。 根据统计, 地址更新操作 需要消耗一定的时间, 通常每台需要几毫秒甚至十几毫秒。 由上文对快速生成树状态机 实现的分析可知, 该延时将影响到整个状态机序列的执行过程, 显著影响了链路的恢复 时间。 对于 TCP、 UDP等应用, 50ms级的恢复时间是可以满足要求的。 对于工业领域, 基 本为实时通讯, 恢复时间要求很高, 而实时通讯主要基于组播报文 (其在组内以广播型 式发送) 或广播报文, 并不需要更新地址表来恢复通讯。  When the topology changes, RSTP sends a BPDU with the Topology Change flag set. When other switches receive the topology change message, the address update operation is required. According to statistics, the address update operation takes a certain amount of time, usually several milliseconds or even ten milliseconds per station. From the above analysis of the fast spanning tree state machine implementation, this delay will affect the execution of the entire state machine sequence, significantly affecting the link recovery time. For applications such as TCP and UDP, the recovery time of 50ms can meet the requirements. For the industrial field, it is basically real-time communication, and the recovery time is very high. The real-time communication is mainly based on multicast messages (which are broadcasted in the group) or broadcast messages, and does not need to update the address table to restore communication.
由此可见, 使用 RSTP协议管理单环网拓扑时, 保证了网络的完整和安全, 但并不能 根据环网拓扑以及不同类型报文的特点进行处理, 导致环网自愈时间较长, 不能满足环 网快速自愈的要求。 发明内容 It can be seen that when the single ring network topology is managed by using the RSTP protocol, the integrity and security of the network are guaranteed, but it cannot be According to the ring network topology and the characteristics of different types of packets, the ring network has a longer self-healing time and cannot meet the requirements of fast self-healing of the ring network. Summary of the invention
本发明的目的, 在于提供一种快速生成树协议应用于单环网拓扑的处理方法, 其可 缩短单环网拓扑中链路失效时的环网自愈时间, 同时可以自动兼容标准 RSTP, 满足各种 通讯业务的要求。  The object of the present invention is to provide a method for processing a fast spanning tree protocol applied to a single ring network topology, which can shorten the ring network self-healing time when the link fails in a single ring network topology, and can be automatically compatible with the standard RSTP. Requirements for various communication services.
为了达成上述目的, 本发明的解决方案是:  In order to achieve the above object, the solution of the present invention is:
一种快速生成树协议应用于单环网拓扑的处理方法, 扩展 BPDU, 在其中添加两个附 加协议字段: 字段一表示协议类型, 字段二表示拓扑变化信息, 如果端口失效, 字段二 的值设置为真, 否则为假;  A fast spanning tree protocol is applied to a single ring network topology processing method. The BPDU is extended, and two additional protocol fields are added: field 1 indicates the protocol type, and field 2 indicates the topology change information. If the port fails, the value of the field 2 is set. True, otherwise false;
上述拓扑变化标识为布尔型, 取值为真或假, 当有端口失效时, 设置为真, 否则为 假; 拓扑变化计时器的计时时长为 1-2秒。  The above topology change identifier is Boolean, and the value is true or false. When there is a port failure, it is set to true, otherwise it is false; the topology change timer is 1-2 seconds.
交换机收到扩展后的 BPDU后,一方面通过匹配字段一确定相邻交换机是否工作于单 环网的处理方式下, 更进一步确定整个环网上交换机的工作模式; 当有一台及以上的交 换机不支持或没有配置为单环网工作模式, 网络上所有其它交换机都自动运行标准的快 速生成树协议以协同工作; 另一方面, 判断字段二的值, 若为真, RSTP状态机发送该字 段值为真的 BPDU告知对侧交换机网络上有链路失效, 各交换机进行故障快速恢复。  After receiving the extended BPDU, the switch determines whether the neighboring switch works in the single ring network by matching the field 1 to further determine the working mode of the switch on the entire ring network; when one or more switches do not support Or not configured as a single ring network working mode, all other switches on the network automatically run the standard fast spanning tree protocol to work together; on the other hand, determine the value of field two, if true, the RSTP state machine sends the field value The true BPDU informs the peer switch that there is a link failure on the network, and each switch performs a fast recovery.
上述故障快速恢复的方法包括如下内容:  The method for quickly recovering the above faults includes the following contents:
( 1 ) 对每个环网端口增加两个变量: 拓扑变化标识和拓扑变化计时器;  (1) Add two variables to each ring network port: topology change identifier and topology change timer;
( 2 )检测端口状态, 当端口连接恢复时, 考虑到必须确保不出现瞬时环路, 使用标 准的 RSTP状态机进行处理;  (2) Detecting the port status. When the port connection is restored, it is necessary to ensure that no instantaneous loop occurs, and the standard RSTP state machine is used for processing;
当端口连接失效时, 立即启动本端口的拓扑变化计时器, 并根据端口角色区分故障 类型: 类型一, 替代端口失效; 类型二, 非替代端口 (即, 根端口或指定端口) 失效, 而该端口所在交换机的另一个环网端口为替代端口; 类型三, 非替代端口失效, 且该端 口所在交换机的另一个环网端口也不是替代端口;  When the port connection fails, the topology change timer of the port is started immediately, and the fault type is distinguished according to the port role: Type 1, the alternate port fails; Type 2, the non-alternative port (ie, the root port or the designated port) fails, and the The other ring port of the switch where the port is located is an alternate port; type 3, the non-alternative port is invalid, and the other ring port of the switch where the port is located is not an alternate port;
类型一故障时, 由于是冗余链路失效, 该故障不会导致拓扑变化;  When a type 1 fails, the fault does not cause a topology change because it is a redundant link failure.
类型二故障时, RSTP状态机迅速使本机的替代端口进入转发状态, 故障瞬间恢复; 类型三故障时, 设置另一个处于连接状态的环网端口的拓扑变化标识为真, 以及该 连接端口的 RSTP状态机变量 newlnf 0为真, 同时启动该连接端口的拓扑变化计时器, 失 效端口状态转换为 Block; When the type 2 is faulty, the RSTP state machine quickly puts the alternate port of the local machine into the forwarding state, and the fault is instantaneously restored. When the type 3 fails, the topology change identifier of the other ringed port that is in the connected state is set to true, and the connection port is The RSTP state machine variable newlnf 0 is true, and the topology change timer of the connection port is started at the same time. The port state is converted to Block;
上述 newlnfo变量定义参见 IEEE 802. ID- 2004 17. 19. 16, 布尔型, 取值为真或假。 为真时表示有新信息需要通过 BPDU发送, 将启动端口发送状态机(Port Transmit state machine, IEEE 802. 1D-2004 17. 26) 。  For the definition of the above newlnfo variable, see IEEE 802. ID-2004 17. 19. 16, Boolean, the value is true or false. When it is true, it indicates that new information needs to be sent through the BPDU, and the port Transmit state machine (IEEE 802. 1D-2004 17. 26) will be started.
( 3) 当交换机收到的 BPDU中, 拓扑变化信息字段置位, 表明网络中有链路失效, 立即启动该端口的拓扑变化计时器, 同时, 状态机进行检查, 如果本端口为替代端口, 立即转换为转发状态; 否则检查另一个环网端口, 如果为替代端口, 转换为转发状态; 如果没有替代端口, 则将其另一端口的拓扑变化标识和 newlnfo标识都置位;  (3) When the topology change information field is set in the BPDU received by the switch, indicating that the link in the network is invalid, the topology change timer of the port is started immediately. At the same time, the state machine checks. If the port is an alternate port, Immediately convert to the forwarding state; otherwise check another ring port, if it is an alternate port, convert to the forwarding state; if there is no alternate port, set the topology change identifier and newlnfo flag of the other port;
(4) 当端口的拓扑变化计时器不为 0 时: RSTP程序不检查本端口状态, 不再处理 BPDU中置位的拓扑变化信息字段; RSTP端口状态转换状态机 (Port State Transition state machine, IEEE 802. 1D-2004 17. 30) 不进行本端口的状态转换。  (4) When the topology change timer of the port is not 0: The RSTP program does not check the status of the port, and does not process the topology change information field set in the BPDU. The RSTP port state transition state machine (IEEE) 802. 1D-2004 17. 30) The state transition of this port is not performed.
一种快速生成树单环网处理方法还包括:  A fast spanning tree single ring network processing method further includes:
( 1 ) RSTP程序执行各状态机时, 首先执行端口发送状态机, 这样使端口发送状态机 可在第一时间检测到端口变量 newlnfo的变化, 当该变量为真时, txRstp ()函数使用该 端口的拓扑变化标识填充 BPDU附加字段二, 拓扑变化信息, 并立即发送 BPDU, 通知对侧 交换机拓扑变化事件。  (1) When the RSTP program executes each state machine, the port transmission state machine is first executed, so that the port transmission state machine can detect the change of the port variable newlnfo at the first time. When the variable is true, the txRstp() function uses the The topology change of the port identifies the BPDU additional field 2, topology change information, and immediately sends a BPDU to notify the peer switch of the topology change event.
上述 txRstp O函数定义参见 IEEE 802. 1D-2004 17. 21. 20, 功能为使用端口的各变 量填充 BPDU, 并发送一个快速生成树 BPDU。  For the definition of the above txRstp O function, see IEEE 802. 1D-2004 17. 21. 20, the function is to fill the BPDU with each variable of the port and send a fast spanning tree BPDU.
( 2) RSTP拓扑变化状态机 (Topology Change state machine, IEEE 802. 1D-2004 17. 31 )在检测到拓扑变化或收到拓扑变化标识(Topology Change flag, IEEE 802. 1D-2004 9. 3. 3) 置位的 BPDU时将端口变量 fdbFlush ( IEEE 802. ID- 2004 17. 19. 7) 置位, 要求 清除端口地址表, 使交换机重新学习 MAC地址, 即地址更新, 以恢复通讯业务。 将地址 更新过程从 RSTP拓扑变化状态机的内部操作中分离出来,使用单独的地址更新程序检测 fdbFlush状态。 当 fdbFlush置位, 地址更新程序立即复位 fdbFlush, 但经过一定延时 后再进行地址更新操作。 延时长度可视网络规模而定, 一般为 20ms。  (2) The Topology Change state machine (IEEE 802. 1D-2004 17. 31) detects a topology change or receives a topology change flag (Topology Change flag, IEEE 802. 1D-2004 9. 3. 3) When setting the BPDU, set the port variable fdbFlush (IEEE 802. ID- 2004 17. 19. 7) to clear the port address table, so that the switch can learn the MAC address again, that is, the address update, to restore the communication service. The address update process is separated from the internal operations of the RSTP topology change state machine and a separate address updater is used to detect the fdbFlush state. When fdbFlush is set, the address update program immediately resets fdbFlush, but after a certain delay, the address update operation is performed. The length of the delay depends on the size of the network, typically 20ms.
采用上述方案后, 本发明具有以下特点:  After adopting the above scheme, the invention has the following characteristics:
( 1 )在 BPDU中添加字段传输拓扑变化信息, 使 RSTP程序可直接通过该字段获得网 络故障信息, 不经状态机的复杂计算就可以做出响应;  (1) Add field transmission topology change information to the BPDU, so that the RSTP program can directly obtain the network failure information through the field, and can respond without complicated calculation of the state machine;
( 2)充分利用了单环网有且只有一条冗余链路的特点, 在检测到故障的情况下, 直 接使替代端口变为转发状态, 快速恢复网络通讯业务; ( 3 ) 首先执行 RSTP端口发送状态机, 当端口拓扑变化标识和 newlnfo标识置位, RSTP状态机在第一时间发出 BPDU通知对侧交换机, 迅速将故障信息传播到整个网络;(2) Make full use of the characteristics that the single ring network has one and only one redundant link. When the fault is detected, the alternate port is directly changed to the forwarding state, and the network communication service is quickly restored. (3) First, the RSTP port is sent to the state machine. When the port topology change identifier and the newlnfo flag are set, the RSTP state machine sends a BPDU to the opposite switch at the first time to quickly propagate the fault information to the entire network.
( 4)使用独立的地址更新程序进行地址更新操作, 避免地址更新过程的耗时对状态 机的计算过程产生影响, 在满足各种通讯业务对网络自愈时间要求的前提下, 同时加快 了在链路失效和链路恢复情况下 RSTP的收敛速度。 附图说明 (4) Using an independent address update program for address update operation, avoiding the time-consuming process of the address update process affecting the calculation process of the state machine, and satisfying the requirements of various communication services for the network self-healing time, and simultaneously speeding up The convergence speed of RSTP in the case of link failure and link recovery. DRAWINGS
图 1是扩展的快速生成树 BPDU格式示意图;  1 is a schematic diagram of an extended fast spanning tree BPDU format;
图 2是单环网拓扑的示意图;  2 is a schematic diagram of a single ring network topology;
图 3是 RSTP单环网处理方法流程的示意图。 具体实施方式  Figure 3 is a schematic diagram of the flow of the RSTP single ring network processing method. detailed description
为使本发明的技术方案与特点更加明确, 下面结合附图对本发明作进一步的阐述。 本发明实施例中, 为传输拓扑变化信息, 对快速生成树 BPDU ( RST BPDU) 进行了扩 展。 为兼容标准 BPDU, 达成不同交换机之间的互操作, 不改变 RST BPDU的现有字段、 含 义及其在 BPDU中位置, 仅在 RST BPDU尾部增加一个附加协议字段, 长度为 1个字节, 第 7位 (最高位)表示拓扑变化标识, 称为 RT (:, 其余位 (6-0位) 表示协议类型, 称为 RTypc 扩展的 RST BPDU格式及含义如图 1所示。  In order to make the technical solutions and features of the present invention more clear, the present invention will be further described below in conjunction with the accompanying drawings. In the embodiment of the present invention, the Rapid Spanning Tree BPDU (RST BPDU) is extended to transmit topology change information. To be compatible with standard BPDUs, to achieve interoperability between different switches, without changing the existing fields, meanings, and locations of the RST BPDUs, only add an additional protocol field at the end of the RST BPDU, the length is 1 byte, The 7-bit (most significant bit) indicates the topology change identifier, called RT (:, the remaining bits (6-0 bits) indicate the protocol type, and the RST BPDU format and meaning of the RTypc extension are shown in Figure 1.
本发明实施例中,设置快速生成树单环网处理方式开启开关为布尔型变量 RRING,通 过该变量控制快速生成树单环网处理方法是否启用。 匪 G为假时运行标准 RSTP协议; RRING为真时: 端口收到 BPDU, 首先判断 BPDU协议版本标识, 如果是快速生成树协议版 本, 再判断附加协议字段的 RType是否等于指定类型, 满足上述两条件时再处理 RTC字 段, 否则, 考虑到与不同厂家交换机之间的互操作性, 本交换机应自动设置 RRING为假, 兼容标准的 RSTP协议。  In the embodiment of the present invention, the fast spanning tree single ring network processing mode opening switch is set to a Boolean variable RRING, and the variable is used to control whether the fast spanning tree single ring network processing method is enabled. When 匪G is false, the standard RSTP protocol is run; when RRING is true: The port receives the BPDU, first determines the BPDU protocol version identifier, and if it is the fast spanning tree protocol version, it determines whether the RType of the additional protocol field is equal to the specified type, and satisfies the above two The RTC field is processed when the condition is met. Otherwise, considering the interoperability with switches of different manufacturers, the switch should automatically set RRING to false and compatible with the standard RSTP protocol.
RSTP通过如下方法计算单环网的拓扑:选择一个桥 ID(由 16位桥优先级和 48位 MAC 地址构成) 最小的交换机作为根桥 (Root Bridge ) , 其他交换机为指定桥。 按照根路径 开销最小的原则 (到根桥距离最短) , 拓扑从根桥向其两侧指定桥延伸, 根路径开销逐 台增大。交换机两两之间通过 P/A机制确保不出现临时环路。设环网上的交换机数量为 N, 每一台交换机的路径开销为 1, 那么环上交换机根路径开销最大值为 (N/2 ) 取整。 环在 根路径开销等于最大值的交换机处由阻塞状态的替代端口断开。 交换机上根路径开销最 小的端口为根端口; 连接到下游网络, 并且作为下游网络通向根桥的路径的端口为指定 端口; 替代端口是根端口的备用端口, 当根端口不可用时, 替代端口可转换为根端口。 拓扑稳定后, 环网中有且只有一个替代端口处于阻塞状态, 其它端口为根端口或指定端 口, 处于转发状态。 RSTP calculates the topology of a single ring network by selecting a bridge ID (consisting of 16-bit bridge priority and 48-bit MAC address). The smallest switch is used as the root bridge, and the other switches are designated bridges. According to the principle that the root path cost is the smallest (the distance to the root bridge is the shortest), the topology extends from the root bridge to the designated bridges on both sides, and the root path cost increases one by one. The P/A mechanism between the switches ensures that no temporary loops occur. The number of switches on the ring network is N, and the path cost of each switch is 1. The maximum path cost of the switch on the ring is (N/2). The ring is disconnected by the alternate port in the blocked state at the switch where the root path cost is equal to the maximum. The root path cost of the switch is the most The small port is the root port; the port that connects to the downstream network and acts as the path of the downstream network to the root bridge is the designated port; the alternate port is the alternate port of the root port, and when the root port is unavailable, the alternate port can be converted to the root port . After the topology is stable, one or only one of the alternate ports in the ring network is blocked. The other ports are root ports or designated ports and are in the forwarding state.
由 4台交换机组成的单环网如图 2所示。 按照上述方法形成了稳定的网络拓扑: swl 为根桥, sw2-4为指定桥; sw4的 p2端口为替代端口, 处于阻塞状态, 其他端口为根端 口或指定端口, 处于转发状态; 链路 C为冗余链路, 不转发用户流量, 其他链路为正常 通讯使用的链路。  A single ring network consisting of four switches is shown in Figure 2. According to the above method, a stable network topology is formed: swl is the root bridge, and sw2-4 is the designated bridge; the p2 port of sw4 is the alternate port, which is in the blocking state, and the other port is the root port or the designated port, and is in the forwarding state; For redundant links, user traffic is not forwarded, and other links are links used for normal communication.
下面分析各链路发生故障时, RSTP的处理方法。  The following is an analysis of the RSTP processing method when each link fails.
当链路 C故障时, 由于 sw4-p2端口角色为替代端口, 链路 C为冗余链路, 逻辑上是 失效的, RSTP状态机可瞬间收敛, 并且不影响其它链路的正常工作。  When link C fails, the sw4-p2 port role is an alternate port, and link C is a redundant link, which is logically disabled. The RSTP state machine can instantaneously converge without affecting the normal operation of other links.
当链路 B故障时, 由于 sw4的另一个环网端口 p2角色为替代端口, 可马上恢复为根 端口, RSTP状态机同样可以瞬间收敛。  When link B fails, the other ring port p2 of sw4 acts as an alternate port and can be restored to the root port immediately. The RSTP state machine can also converge instantaneously.
当链路 A或 C故障时, RSTP状态机必须重新计算拓扑。由于 RSTP将环网亦视作普通 网络, 故自愈时间上与一般性网络没有明显区别。  When link A or C fails, the RSTP state machine must recalculate the topology. Since RSTP treats the ring network as a normal network, there is no significant difference in self-healing time from the general network.
快速生成树单环网处理方法考虑到了单环网的特点, 采用下述步骤缩短了网络的自 愈时间。  The fast spanning tree single ring network processing method takes into account the characteristics of the single ring network. The following steps are used to shorten the network self-healing time.
本发明实施例对每个环网端口增设 2个变量: 拓扑变化标识, 称为 PT (:, 取值为真或 假; 拓扑变化变化计时器, 称为 PTT。 为方便描述, 交换机的两个环网端口分别称为 Α、 In the embodiment of the present invention, two variables are added to each ring network port: a topology change identifier, which is called PT (:, the value is true or false; the topology change timer is called PTT. For convenience of description, two switches Ring ports are called Α,
Β端口。 Β port.
下面以 Α端口失效或收到 BPDU为例, 阐述处理过程, B端口的处理完全一致。 详细 流程如图 3所示, 解释如下:  The following takes the failure of the port or the receipt of the BPDU as an example to explain the processing. The processing of the B port is completely consistent. The detailed process is shown in Figure 3 and explained as follows:
301: 初始化交换机 A、 B端口的 PTC标识、 PTT计时器。 PTC标识初始化为假, PTT 计时器初始化为 0。  301: Initialize the PTC identifier and PTT timer of the A and B ports of the switch. The PTC flag is initialized to false and the PTT timer is initialized to 0.
302: PTT计时器为 0时, 检测环网端口状态是否发生变化。  302: When the PTT timer is 0, it detects whether the status of the ring network port changes.
303: 检测到端口恢复, 考虑到当前存在完整、 稳定的拓扑, 且在单环网结构中端口 恢复时不会出现因 P/A协商不成功导致临时性拓扑不完整的情况。 无论恢复端口将转化 什么端口角色, RSTP都可以在很短的时间内协商成功, 使拓扑收敛, 因此这种情况下无 需特殊处理。  303: The port recovery is detected. Considering that there is a complete and stable topology, and the port is restored in the single ring network structure, the temporary topology is incomplete due to unsuccessful P/A negotiation. Regardless of the port role that the recovery port will be converted, RSTP can negotiate successfully in a short period of time, and the topology converges. Therefore, no special processing is required in this case.
在环网结构中, 存在 P/A协商不成功的可能, 端口需经过两个 forwarding delay才 能进入转发状态。 分析可知, 该端口的位置只会在替代端口的对侧, 连接这两端口的链 路本身就是冗余链路, 该端口是否是转发状态, 不影响网络的正常工作。 In the ring network structure, there is a possibility that the P/A negotiation is unsuccessful. The port needs to go through two forwarding delays. Can enter the forwarding state. The analysis shows that the location of the port is only on the opposite side of the alternate port. The link connecting the two ports is a redundant link. Whether the port is in the forwarding state does not affect the normal operation of the network.
304、 310: 检测到端口失效, 或者收到 RTC标识置位的 BPDU,立即启动本端口的 PTT 计时器, 计时时长建议 1-2秒。  304, 310: If the port is detected to be invalid, or the BPDU with the RTC flag is set, the PTT timer of the port is started immediately. The timing is recommended to be 1-2 seconds.
305: 如果 A端口失效且为替代端口, 状态机本身可以快速收敛, 无特别处理。  305: If the A port fails and is an alternate port, the state machine itself can converge quickly without special handling.
306: A端口不是替代端口时, 如 B端口为替代端口, 则 B端口转换为转发状态, 同 时启动 B端口 PTT计时器, 然后执行 RSTP状态机。  306: When the A port is not an alternate port, if the B port is an alternate port, the B port is converted to the forwarding state, and the B port PTT timer is started, and then the RSTP state machine is executed.
307: 当 B端口也不是替代端口, 则将 B端口的 PTC和 newlnfo标识置位, 启动 PTT 计时器。 A端口转换为阻塞状态, 最后执行 RSTP状态机。  307: When the B port is not an alternate port, set the PTC and newlnfo flags of the B port to start the PTT timer. The A port is switched to the blocking state, and finally the RSTP state machine is executed.
308: A端口收到 BPDU, 当该端口 PTT计时器为 0时, 检测报文的 RTC标识字段。  308: The port B receives the BPDU. When the PTT timer of the port is 0, the RTC identifier field of the packet is detected.
309: 如 A端口收到的 BPDU的 RTC没有置位, 表明无拓扑变化事件, 执行 RSTP状态 机进行正常处理。  309: If the RTC of the BPDU received by the A port is not set, it indicates that there is no topology change event, and the RSTP state machine is executed for normal processing.
310: 同 304。  310: Same as 304.
311: 当收到的 BPDU的 RTC标识置位时, 如果 A端口为替代端口, 端口转为转发状 态, 然后执行 RSTP状态机。 否则转到 306执行。  311: When the received RTC flag of the BPDU is set, if the A port is an alternate port, the port transits to the forwarding state, and then the RSTP state machine is executed. Otherwise go to 306 to execute.
320: txRstp O函数依据各端口的 PTC标识, 填充端口 BPDU的 RTC字段, 即 BPDU的 RTC字段的值等于端口 PTC的值, 以及 RType字段, 然后发出 BPDU。  320: The txRstp O function fills the RTC field of the port BPDU according to the PTC identifier of each port, that is, the value of the RTC field of the BPDU is equal to the value of the port PTC, and the RType field, and then sends a BPDU.
从图 3可以看出: 301-307组成了端口状态检测过程,实时检测环网端口的状态是否 发生变化。 308-311、 306、 307组成了 BPDU的接收处理过程。 上述两个过程都是由事件 触发, 因此, RSTP程序对事件的响应速度显著影响到本发明的实施效果。  It can be seen from Figure 3 that 301-307 constitutes the port state detection process to detect in real time whether the state of the ring network port has changed. 308-311, 306, and 307 form a receiving process of the BPDU. Both of the above processes are triggered by events, and therefore, the response speed of the RSTP program to the event significantly affects the implementation effect of the present invention.
本发明实施例为提高程序对事件的响应速度, 采用了实时操作系统, 并设置 RSTP任 务为较高的优先级,保证其良好的响应速度和充分的执行时间。端口状态变化事件和 BPDU 的接收事件都采用中断方式通知 RSTP程序, 提高系统的整体性能。  In order to improve the response speed of the program to the event, the embodiment of the present invention adopts a real-time operating system and sets the RSTP task to a higher priority to ensure good response speed and sufficient execution time. Both the port status change event and the BPDU receive event use the interrupt mode to notify the RSTP program to improve the overall performance of the system.
由图 3还可知, 环网快速自愈的关键过程在于: 迅速找到替代端口, 使其转换为转 发状态。 替代端口对于故障所在交换机有两个位置: 本地和其它交换机。 如认为 RSTP程 序已具备很好的事件响应速度, 当替代端口为本地端口时, 可以瞬时完成该过程; 如替 代端口在其它交换机上时, 则必须通过 BPDU的传播来找到替代端口。  It can also be seen from Figure 3 that the key process for rapid self-healing of the ring network is to quickly find an alternate port and convert it to a forwarding state. The alternate port has two locations for the switch where the fault is located: local and other switches. If the RSTP program is considered to have a good event response speed, the process can be completed instantaneously when the alternate port is a local port; if the alternate port is on another switch, the alternate port must be found by the BPDU propagation.
快速生成树 BPDU的长度为 36字节, 附加协议字段 1字节(见图 1 ), 当组成以太网 报文时, BPDU头部增加目的地址 6字节、 源地址 6字节、 长度 2字节、 LLC字段 3字节, 共计 54字节, 补齐最小以太网帧, 共 64字节, 网络传播延时非常小 (100Mbps连接时, 传输时长 6. 72微秒), 当网络规模不是太大时,该部分延时相对其它处理延时可不考虑; RSTP运行于二层, 协议桟延时非常小; 故 BPDU的传输延时主要来自于 RSTP本身状态机 计算的延时。 The length of the fast spanning tree BPDU is 36 bytes, and the additional protocol field is 1 byte (see Figure 1). When an Ethernet packet is formed, the BPDU header adds 6 bytes of destination address, 6 bytes of source address, and 2 characters of length. Section, LLC field 3 bytes, total 54 bytes, fill the minimum Ethernet frame, a total of 64 bytes, network propagation delay is very small (100Mbps connection, The transmission time is 6.72 microseconds. When the network size is not too large, the delay of the part is not considered relative to other processing delays; RSTP runs on the second layer, and the protocol delay is very small; therefore, the transmission delay of the BPDU mainly comes from The delay calculated by the state machine of RSTP itself.
本发明实施例中,将端口发送状态机置于 RSTP状态机列表的首位,一旦端口 newlnfo 标识置位, 立即发送 BPDU。 这样 BPDU传播过程中源自 RSTP状态机计算的延时可降至最 小。根据图 3步骤 307, 端口 PTC标识与 newlnfo标识同时置位, 那么可以保证 PTC标识 在第一时间随 BPDU发出, 无论原发或转发速度都得到提高, 有效缩短环网自愈时间。  In the embodiment of the present invention, the port sending state machine is placed in the first place of the RSTP state machine list, and once the port newlnfo flag is set, the BPDU is sent immediately. In this way, the delay from the RSTP state machine calculation during BPDU propagation can be minimized. According to step 307 of Figure 3, the port PTC identifier is set at the same time as the newlnfo flag, so that the PTC identifier can be sent with the BPDU at the first time, and the original or forwarding speed is improved, thereby effectively reducing the ring network self-healing time.
本发明实施例为避免 RSTP状态机在计算过程中进行不必要的端口状态转换提供的解 决方法是:  The solution provided by the embodiment of the present invention to prevent the RSTP state machine from performing unnecessary port state transitions in the calculation process is:
当 RRING为假, 或者端口 PTT计时器为 0时, 才能进行端口状态转换的实际操作, 但上述条件不应影响 RSTP端口状态转换状态机的状态迁移过程。这样在检测到拓扑变化 事件后至 PTT计时结束, RSTP状态机都不会进行实际的端口状态转换操作。合理配置 PTT 计时器值就可以躲过 RSTP的拓扑重新计算的过程。 这样在不影响 RSTP状态机正常工作 的情况下, 节约了端口状态转换的时间, 加快了链路的恢复速度。  When RRING is false, or the port PTT timer is 0, the actual operation of the port state transition can be performed, but the above conditions should not affect the state transition process of the RSTP port state transition state machine. In this way, after the topology change event is detected and the PTT timer expires, the RSTP state machine will not perform the actual port state transition operation. Properly configuring the PTT timer value can avoid the RSTP topology recalculation process. This saves the port state transition time and speeds up the link recovery without affecting the normal operation of the RSTP state machine.
本发明实施例还根据不同通讯服务对环网自愈时间要求的不同, 以及不同报文传输 方式的特点, 对 RSTP地址更新操作进行适当的延时, 一方面加快了 RSTP状态机的计算 过程, 另一方面满足了基于不同报文类型的通讯业务对环网自愈时间各不相同的要求。  The embodiment of the present invention further delays the RSTP address update operation according to the different requirements of different communication services for the ring network self-healing time and the characteristics of different message transmission modes, and accelerates the calculation process of the RSTP state machine. On the other hand, the communication services based on different message types meet the requirements for different self-healing times of the ring network.
当端口的 fdbFlush标识置位时, 将地址更新操作压入延时任务处理队列, fdbFlush 立即清除, 延时时间为 20毫秒。 当延时满, 地址更新操作执行。 这样就分离了 RSTP的 计算过程和地址更新操作过程, 避免地址更新操作占用 RSTP状态机的计算时间。在延时 期间, 通讯物理链路已经快速恢复, 广播和组播的报文转发正常, 基于这两类报文的通 讯业务只丢失了很少量的报文; 延时过后再进行地址更新操作, 50ms内可以使 TCP等服 务恢复, 满足其它应用的需求。  When the port's fdbFlush flag is set, the address update operation is pushed into the delay task processing queue, fdbFlush is immediately cleared, and the delay time is 20 milliseconds. When the delay is full, the address update operation is performed. This separates the RSTP calculation process and the address update operation process, and avoids the address update operation taking up the calculation time of the RSTP state machine. During the delay period, the communication physical link has been quickly restored, and the broadcast and multicast packets are forwarded normally. The communication services based on these two types of packets only lose a small amount of packets. After the delay, the address update operation is performed. In 50ms, services such as TCP can be restored to meet the needs of other applications.
本发明实施例提供了一种快速生成树单环网处理方法, 可以显著缩短单环网拓扑中 链路失效时的环网自愈时间, 同时可以自动兼容标准 RSTP, 满足各种通讯业务的要求。  The embodiment of the invention provides a fast spanning tree single ring network processing method, which can significantly shorten the ring network self-healing time when the link fails in the single ring network topology, and can be automatically compatible with the standard RSTP to meet the requirements of various communication services. .
以上实施例仅为说明本发明的技术思想, 不能以此限定本发明的保护范围, 凡是按 照本发明提出的技术思想, 在技术方案基础上所做的任何改动, 均落入本发明保护范围 之内。  The above embodiments are only for explaining the technical idea of the present invention, and the scope of protection of the present invention is not limited thereto. Any changes made based on the technical solutions according to the technical idea of the present invention fall within the protection scope of the present invention. Inside.

Claims

权利要求书 claims
1、 一种快速生成树协议应用于单环网拓扑的处理方法, 其特征在于: 扩展 BPDU, 在 其中添加两个附加协议字段: 字段一表示协议类型, 字段二表示拓扑变化信息, 如果端 口失效, 字段二的值设置为真, 否则为假; 1. A processing method for rapid spanning tree protocol applied to single ring network topology, which is characterized by: extending BPDU and adding two additional protocol fields: field one represents the protocol type, and field two represents topology change information. If the port fails , the value of field two is set to true, otherwise it is false;
交换机收到扩展后的 BPDU后, 一方面通过匹配字段一确定相邻交换机是否工作于单 环网的处理方式下, 当有一台及以上的交换机不支持或没有配置为单环网工作模式, 网 络上所有其它交换机都自动运行标准的快速生成树协议以协同工作; 另一方面, 判断字 段二的值, 若为真, RSTP状态机发送该字段值为真的 BPDU告知对侧交换机网络上有链路 失效, 各交换机进行故障快速恢复。 After the switch receives the extended BPDU, on the one hand, it determines whether the adjacent switch is working in the single-ring network processing mode through matching field 1. When one or more switches do not support or are not configured for the single-ring network working mode, the network All other switches on the network automatically run the standard Rapid Spanning Tree Protocol to work together; on the other hand, determine the value of field two. If it is true, the RSTP state machine sends a BPDU with a true value in this field to inform the opposite switch that there is a link on the network. If the path fails, each switch will quickly recover from the failure.
2、 如权利要求 1 所述的一种快速生成树协议应用于单环网拓扑的处理方法, 其特征 在于: 所述拓扑变化标识为布尔型, 取值为真或假, 当有端口失效时, 设置为真, 否则 为假; 拓扑变化计时器的计时时长为 1-2秒。 2. A processing method for rapid spanning tree protocol applied to single-ring network topology as claimed in claim 1, characterized in that: the topology change identifier is a Boolean type, and the value is true or false, when a port fails , set to true, otherwise false; the topology change timer lasts for 1-2 seconds.
3、 如权利要求 1 所述的一种快速生成树协议应用于单环网拓扑的处理方法, 其特征 在于: 所述故障快速恢复的方法包括如下内容: 3. A processing method for rapid spanning tree protocol applied to single ring network topology as claimed in claim 1, characterized in that: the method for rapid fault recovery includes the following:
( 1 ) 对每个环网端口增加两个变量: 拓扑变化标识和拓扑变化计时器; (1) Add two variables to each ring port: topology change identifier and topology change timer;
( 2 ) 检测端口状态, 当端口连接恢复时, 使用标准的 RSTP状态机进行处理; 当端口连接失效时, 立即启动本端口的拓扑变化计时器, 并根据端口角色区分故障 类型: 类型一, 替代端口失效; 类型二, 非替代端口失效, 而该端口所在交换机的另一 个环网端口为替代端口; 类型三, 非替代端口失效, 且该端口所在交换机的另一个环网 端口也不是替代端口; (2) Detect the port status. When the port connection is restored, use the standard RSTP state machine for processing; when the port connection fails, immediately start the topology change timer of this port and distinguish the fault type according to the port role: Type 1, replacement Port failure; Type 2, the non-replacement port fails, and the other ring network port of the switch where the port is located is a replacement port; Type 3, the non-replacement port fails, and the other ring network port of the switch where the port is located is not a replacement port;
类型一故障时, 由于是冗余链路失效, 该故障不会导致拓扑变化; When a Type 1 failure occurs, since the redundant link fails, the failure will not cause topology changes;
类型二故障时, RSTP状态机迅速使本机的替代端口进入转发状态, 故障瞬间恢复; 类型三故障时, 设置另一个处于连接状态的环网端口的拓扑变化标识为真, 以及该 连接端口的 RSTP状态机变量 newlnfo为真, 同时启动该连接端口的拓扑变化计时器, 失 效端口状态转换为 Block; When a Type 2 fault occurs, the RSTP state machine quickly puts the local alternative port into the forwarding state, and the fault recovers instantly; when a Type 3 fault occurs, the topology change flag of another ring network port in the connected state is set to true, and the connection port's topology change flag is set to true. The RSTP state machine variable newlnfo is true, and the topology change timer of the connection port is started at the same time, and the failed port status is converted to Block;
( 3 ) 当交换机收到的 BPDU 中, 拓扑变化信息字段置位, 表明网络中有链路失效, 立即启动该端口的拓扑变化计时器, 同时, 状态机进行检查, 如果本端口为替代端口, 立即转换为转发状态; 否则检查另一个环网端口, 如果为替代端口, 转换为转发状态; 如果没有替代端口, 则将其另一端口的拓扑变化标识和 newlnfo标识都置位; (3) When the switch receives the BPDU, the topology change information field is set, indicating that a link in the network fails, and immediately starts the topology change timer of the port. At the same time, the state machine checks. If this port is a replacement port, Immediately transition to the forwarding state; otherwise, check another ring network port, and if it is a substitute port, transition to the forwarding state; if there is no substitute port, set the topology change flag and newlnfo flag of the other port;
( 4 ) 当端口的拓扑变化计时器不为 0 时: RSTP 程序不检查本端口状态, 不再处理 BPDU中置位的拓扑变化信息字段; RSTP端口状态转换状态机不进行本端口的状态转换。 (4) When the topology change timer of the port is not 0: The RSTP program does not check the status of the port and does not process it anymore. Topology change information field set in BPDU; RSTP port state transition state machine does not perform state transition of this port.
4、 如权利要求 1 所述的一种快速生成树协议应用于单环网拓扑的处理方法, 其特征 在于: 所述处理方法还包括以下内容: 4. The processing method of rapid spanning tree protocol applied to single ring network topology as claimed in claim 1, characterized in that: the processing method also includes the following:
RSTP 程序执行各状态机时, 首先执行端口发送状态机, 使端口发送状态机在第一时 间检测到端口变量 newlnfo 的变化, 当该变量为真时, txRstp ()函数使用该端口的拓扑 变化标识填充 BPDU附加字段二, 并立即发送 BPDU, 通知对侧交换机拓扑变化事件; 将地址更新操作从拓扑变化状态机的内部操作中分离出来, 使用单独的地址更新程 序检测端口的 fdbFlush 标识状态, 当 fdbFlush 置位, 地址更新程序立即复位 fdbFlush, 延时进行地址更新操作。 When the RSTP program executes each state machine, it first executes the port sending state machine, so that the port sending state machine detects the change of the port variable newlnfo at the first time. When this variable is true, the txRstp () function uses the topology change identifier of the port. Fill in the BPDU additional field two, and immediately send the BPDU to notify the opposite switch of the topology change event; separate the address update operation from the internal operation of the topology change state machine, and use a separate address update program to detect the fdbFlush identification status of the port. When fdbFlush If set, the address update program immediately resets fdbFlush and delays the address update operation.
PCT/CN2013/078554 2012-08-15 2013-07-01 Processing method for applying rapid spanning tree protocol to single ring network topology WO2014026512A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210291080.1 2012-08-15
CN201210291080.1A CN102821050B (en) 2012-08-15 2012-08-15 A kind of RSTP is applied to the processing method of Single-ring network topology

Publications (1)

Publication Number Publication Date
WO2014026512A1 true WO2014026512A1 (en) 2014-02-20

Family

ID=47304911

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078554 WO2014026512A1 (en) 2012-08-15 2013-07-01 Processing method for applying rapid spanning tree protocol to single ring network topology

Country Status (2)

Country Link
CN (1) CN102821050B (en)
WO (1) WO2014026512A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510315A (en) * 2019-04-24 2020-08-07 上海自恒信息科技有限公司 Ring network redundancy protocol based on proprietary switching chip network pipe type industrial switch
CN111898925A (en) * 2020-08-13 2020-11-06 国网湖南省电力有限公司 Area protection power supply risk analysis method based on event tree
CN112769763A (en) * 2020-12-22 2021-05-07 荆门汇易佳信息科技有限公司 Election method of cluster master controller in software defined network
CN113709068A (en) * 2021-08-26 2021-11-26 北京东土科技股份有限公司 Switch system and execution processing method of switch
CN113904980A (en) * 2021-09-30 2022-01-07 北京东土科技股份有限公司 Channel switching method, device, switch and storage medium
CN114124805A (en) * 2021-09-18 2022-03-01 重庆金美通信有限责任公司 Method for transmitting data by one skip in non-token ring network

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821050B (en) * 2012-08-15 2015-07-29 南京南瑞继保电气有限公司 A kind of RSTP is applied to the processing method of Single-ring network topology
CN104144062B (en) * 2013-05-07 2017-11-24 上海斐讯数据通信技术有限公司 The change statistical method and device of tree topology
CN103873333B (en) * 2014-03-17 2017-10-27 新华三技术有限公司 Ring network three-layer convergence method and device
EP3251303B1 (en) * 2015-01-29 2021-03-10 Robert Bosch GmbH Method for running a computer network and computer network
TWI561034B (en) * 2015-07-03 2016-12-01 Estinet Technologies Inc Method for constituting hybrid network spanning tree, method of redundancy, and control system thereof
CN107294856B (en) * 2016-03-31 2020-01-21 华为技术有限公司 Method, equipment and system for determining topology change
CN106789264B (en) * 2016-12-26 2019-12-03 北京东土军悦科技有限公司 A kind of method and apparatus that link aggregation group channel is switched fast
CN108881071B (en) * 2017-05-16 2020-02-14 华为技术有限公司 Data packet transmission method and device storage medium under Ethernet content-centric networking mixing
CN108418716B (en) * 2018-03-02 2022-01-11 广东工业大学 Network connection recovery method, device and system and readable storage medium
KR102543905B1 (en) * 2018-08-13 2023-06-15 삼성전자 주식회사 Method and apparatus for providing 5g ethernet service
CN112543142B (en) * 2019-09-20 2023-05-12 南京南瑞继保电气有限公司 Method and device for realizing RSTP ring network protocol based on FPGA
CN111478778B (en) * 2020-04-03 2021-11-02 中电科航空电子有限公司 Method for reducing RSTP looped network power consumption and application thereof
CN111585797B (en) * 2020-04-27 2023-04-07 深圳震有科技股份有限公司 Ethernet link switching method, device, equipment and computer readable storage medium
CN113938419B (en) * 2021-10-15 2023-03-24 湖南八零二三科技有限公司 Switch RSTP convergence enhancing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022402A (en) * 2006-02-15 2007-08-22 中兴通讯股份有限公司 Network bridge protocol data unit message transmitting method and device thereof
CN101534211A (en) * 2008-03-13 2009-09-16 华为技术有限公司 Network convergence method, network bridges and system
CN102571520A (en) * 2011-12-31 2012-07-11 北京格林伟迪科技有限公司 Method for realizing rapid convergence in looped network
WO2012098498A1 (en) * 2011-01-17 2012-07-26 Telefonaktiebolaget L M Ericsson (Publ) Method, apparatus and computer program product for fast retransmission of proposal messages
CN102821050A (en) * 2012-08-15 2012-12-12 南京南瑞继保电气有限公司 Processing method for applying rapid spanning tree protocol to monocyclic network topology

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8248920B2 (en) * 2006-07-25 2012-08-21 Cisco Technology, Inc. Alternate spanning tree for faster indirect link failure recovery

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022402A (en) * 2006-02-15 2007-08-22 中兴通讯股份有限公司 Network bridge protocol data unit message transmitting method and device thereof
CN101534211A (en) * 2008-03-13 2009-09-16 华为技术有限公司 Network convergence method, network bridges and system
WO2012098498A1 (en) * 2011-01-17 2012-07-26 Telefonaktiebolaget L M Ericsson (Publ) Method, apparatus and computer program product for fast retransmission of proposal messages
CN102571520A (en) * 2011-12-31 2012-07-11 北京格林伟迪科技有限公司 Method for realizing rapid convergence in looped network
CN102821050A (en) * 2012-08-15 2012-12-12 南京南瑞继保电气有限公司 Processing method for applying rapid spanning tree protocol to monocyclic network topology

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510315A (en) * 2019-04-24 2020-08-07 上海自恒信息科技有限公司 Ring network redundancy protocol based on proprietary switching chip network pipe type industrial switch
CN111898925A (en) * 2020-08-13 2020-11-06 国网湖南省电力有限公司 Area protection power supply risk analysis method based on event tree
CN111898925B (en) * 2020-08-13 2022-08-05 国网湖南省电力有限公司 Area protection power supply risk analysis method based on event tree
CN112769763A (en) * 2020-12-22 2021-05-07 荆门汇易佳信息科技有限公司 Election method of cluster master controller in software defined network
CN113709068A (en) * 2021-08-26 2021-11-26 北京东土科技股份有限公司 Switch system and execution processing method of switch
CN113709068B (en) * 2021-08-26 2023-08-15 北京东土科技股份有限公司 Switch system and execution processing method of switch
CN114124805A (en) * 2021-09-18 2022-03-01 重庆金美通信有限责任公司 Method for transmitting data by one skip in non-token ring network
CN114124805B (en) * 2021-09-18 2023-09-12 重庆金美通信有限责任公司 Method for forwarding data in non-token ring network in one hop
CN113904980A (en) * 2021-09-30 2022-01-07 北京东土科技股份有限公司 Channel switching method, device, switch and storage medium
CN113904980B (en) * 2021-09-30 2023-07-18 北京东土科技股份有限公司 Channel switching method, device, switch and storage medium

Also Published As

Publication number Publication date
CN102821050A (en) 2012-12-12
CN102821050B (en) 2015-07-29

Similar Documents

Publication Publication Date Title
WO2014026512A1 (en) Processing method for applying rapid spanning tree protocol to single ring network topology
EP3525405B1 (en) Packet sending method and network device
JP5566463B2 (en) Data transfer technology in computer networks
CA2566005C (en) Protected switching ring
US7924702B2 (en) Method for reconfiguring a communication network
EP2245472B1 (en) System and method for network recovery from multiple link failures
EP2027676B1 (en) Technique for providing interconnection between communication networks
JP4526423B2 (en) Ring connection method and apparatus
US9641396B2 (en) Packet processing method and system
WO2006073945A2 (en) Rapid detection of unidirectional breaks in network rings
WO2010045832A1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
WO2006072003A1 (en) Multipoint protected switching ring
WO2009036705A1 (en) Method for detecting interface failure and network node equipment
WO2008057932A1 (en) Ring rapid multiple spanning tree protocol method, computer readable medium, network device and network system
WO2011022905A1 (en) Method and system for re-building single ring network topology
WO2010022576A1 (en) A control packet transmission method and apparatus based on multi-ring ethernet
JP2002330152A (en) Spanning tree controller and method at the time of trouble/increase
WO2012171378A1 (en) Method and router for preventing flow interruption caused by failover from vpls to l3
CN112995002B (en) Switch ring network design method, switch and storage medium
JP2009004855A (en) Communication system and communication method
WO2011011934A1 (en) Method and apparatus for ethernet tunnel segmentation protection
WO2008064585A1 (en) A method, system and resilient packet ring device for avoiding loop after fault recovery
CN103840965A (en) Method for enhancing quick fault convergence in RSTP
CN111510315A (en) Ring network redundancy protocol based on proprietary switching chip network pipe type industrial switch
JP3717802B2 (en) Network relay device and ring network system

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

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

Country of ref document: EP

Kind code of ref document: A1