WO2009039698A1 - Système de réseau en anneau ethernet, noeud principal de celui-ci et procédé d'initialisation de ce noeud - Google Patents

Système de réseau en anneau ethernet, noeud principal de celui-ci et procédé d'initialisation de ce noeud Download PDF

Info

Publication number
WO2009039698A1
WO2009039698A1 PCT/CN2007/003812 CN2007003812W WO2009039698A1 WO 2009039698 A1 WO2009039698 A1 WO 2009039698A1 CN 2007003812 W CN2007003812 W CN 2007003812W WO 2009039698 A1 WO2009039698 A1 WO 2009039698A1
Authority
WO
WIPO (PCT)
Prior art keywords
ring network
port
ring
link
master node
Prior art date
Application number
PCT/CN2007/003812
Other languages
English (en)
French (fr)
Inventor
Shaoyong Wu
Original Assignee
Zte Corporation
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 Zte Corporation filed Critical Zte Corporation
Priority to US12/680,187 priority Critical patent/US8208369B2/en
Priority to EP07855814.5A priority patent/EP2194676B1/en
Publication of WO2009039698A1 publication Critical patent/WO2009039698A1/zh

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/18Loop-free operations
    • 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

Definitions

  • the present invention relates to the field of Ethernet ring network automatic protection technologies, and in particular, to an Ethernet ring network automatic protection system, a master node thereof, and a method for initializing the same. Background technique
  • the Ethernet ring protection system in RFC3619 is connected by multiple nodes to form a ring, and multiple Ethernet ring protection domains can be defined on the ring.
  • a domain includes a primary node and a number of transit nodes, and a set of protected virtual local area networks (VLANs) for user data forwarding.
  • VLANs virtual local area networks
  • the two ports on the ring of the master node are defined as the master port and the slave port respectively.
  • the protected service VLAN is defined as the protection service VLAN.
  • the Ethernet ring protection control packet is the communication and control between the nodes in the domain. When the node blocks the port, the ring network control can still pass.
  • each node on the ring records the current ring state as intact (UP) or fault (DOWN).
  • the Ethernet ring network automatic protection system in the normal state in the prior art is composed of nodes S1, S2, S3, and S4, and an Ethernet ring protection domain is configured on the ring composed of the four nodes.
  • the master node (MASTER) in the domain is S2, and the remaining nodes S1, S3, and S4 are transit nodes (Transit).
  • the two ring ports on the master node S2 are the master port and the slave port, respectively, where port 2 is the master port (P) and port 1 is the slave port (S).
  • the protection service VLAN is defined in J or in the ring. Each port on the ring is configured in the protection service VLAN.
  • the master node S2 releases the data forwarding function of the protection service VLAN from port 1, so that the data in the service VLAN is reconnected.
  • the primary node sends a ring link health detection packet (HELLO) to the primary port.
  • HELLO ring link health detection packet
  • the HELLO 4 message passes through each transmission node in turn, and reaches the slave port of the master node.
  • the HELLO text can pass through the master.
  • the node's blocking slave port is received by the master node. If the master node is If the HELLO packet is not received within the specified time, the link on the ring is considered to be faulty.
  • the transmitting node When the transmitting node detects that the adjacent link is faulty, it sends a link fault alarm packet (LINK-DOW), and the LINK-DOWN packet reaches the master node through the transmission of the ring link. If the master node slave port is in the blocked state. LINK-DOWN 4 ⁇ also passes through the master node slave port and reaches the master node. When the master node receives the LINK-DOWN 4 message on the primary port or the secondary port, the master node considers that the link on the ring is faulty.
  • LINK-DOW link fault alarm packet
  • the master node When the master node detects that the link on the ring is faulty, record the ring network status as DOWN, release the protection service VLAN forwarding function of the slave port, update the media access control (MAC, Media Access Control) address table of the ring port, and send The ring network fault notification packet (FLUSH-DOWN) notifies other nodes on the ring to perform link failover. After receiving the FLUSH-DOWN, the transit node records the ring network status as DOWN, updates the MAC address table of the ring port, and protects the service VLAN. The data begins to be transmitted through the new path. When the node detects that the adjacent link is faulty, it blocks the protection service VLAN forwarding function of the corresponding port.
  • MAC Media Access Control
  • the protection service VLAN forwarding function of the port is not released temporarily, and the PREFORWARD state is entered.
  • the master node still sends HELLO packets from the primary port. If the link fault disappears, the HELLO packets can pass through the blocked port and the link where the fault disappears.
  • the ring link is restored, the ring network status is UP, the protection service VLAN forwarding function of the slave port is re-blocked, the MAC address table of the ring port is updated, and the ring is sent to the ring.
  • the network recovery notification message (FLUSH-UP) notifies other nodes on the ring to perform link recovery switching.
  • the transit node After receiving the FLUSH-UP, the transit node records the ring state as UP, updates the port MAC address table on the ring, and the transport node also releases the protection service VLAN forwarding function in the PREFORWARD state port, and the data in the protection service VLAN starts to pass the new one.
  • the path is transmitted.
  • the master node is configured to protect the Ethernet ring network
  • the initial state does not know that the current ring network status is UP or DOWN, and therefore cannot enter the correct state.
  • the ring network status is UP
  • nodes S1, S3, and S4 have been configured as transit nodes of the ring protection domain.
  • the main object of the present invention is to provide an Ethernet ring network system, a master node thereof, and an initialization processing method thereof, which avoids entering an error state when the master node in the Ethernet ring domain is initialized, and prevents the ring network protection operation error from being improved.
  • the present invention defines the state of the ring network that has been recorded as the initialization state (INIT) when the primary node of the Ethernet ring network does not know the true state of the ring network.
  • the master node detects the true ring state, it is determined by INIT ⁇
  • the 1 state enters the correct ring state.
  • the node is initialized, it blocks the protection service VLAN function of the port on the ring to prevent loops.
  • the present invention provides a method for initializing an active node of an Ethernet ring network system, including the following steps: Step 1: The node on the ring generates an active node of the Ethernet ring protection domain; Step 2: The master node detects the link status of the primary port and the slave port: If the node detects that there is no fault between the primary port and the secondary port, the status of the ring network is recorded as the initial state, and the slave port is blocked. Step 3: The master node periodically sends link health detection to the ring network.
  • Step 4 Whether the master node receives the link health check packet within the specified time: If yes, the status of the ring network is intact, and the slave port continues to be blocked, and the ring network recovery notification is sent to the ring network to notify other nodes of the ring network status. In order to complete, the initialization of the master node is achieved.
  • step 2 If the master node detects a link failure on the primary port and/or the secondary port, the blocked port is blocked, the ring network status is marked as fault, and the ring network failure notification is sent to notify other transmission node rings. The network status is faulty, thereby implementing initialization of the master node.
  • step 4 If the master node does not receive the link health check message, record the ring network status as fault, release the blocked slave port, and send a ring network failure notification message to the ring network to notify other transit nodes of the ring network status. Fault, thus achieving initialization of the master node.
  • the criterion for determining that the ring network status is faulty in the fourth step further includes: the master node receives the link fault alarm message sent by the transit node or detects the link fault of the ring network port.
  • the present invention also provides an Ethernet ring network system, including: an on-ring node, configured to generate an Ethernet ring protection domain master node; wherein, the master node includes: a detection module, configured to detect a master port and a slave port link state: a recording module, configured to: if the primary port and the secondary port link are detected to be faulty, the packet is in an initial state, blocking the secondary port; and the sending module is configured to periodically send the link health detection to the ring network.
  • the master node includes: a detection module, configured to detect a master port and a slave port link state: a recording module, configured to: if the primary port and the secondary port link are detected to be faulty, the packet is in an initial state, blocking the secondary port; and the sending module is configured to periodically send the link health detection to the ring network.
  • the present invention also provides a master node, which is a ring node of a protection domain of a ring network system, and includes: a detection module, configured to detect a link state of a master port and a slave port: an i record module, configured to detect If there is no fault between the primary port and the secondary port, the status of the ring network is recorded as the initial state, and the slave port is blocked.
  • the sending module is configured to periodically send the link health detection packet to the ring network, and the check module is used to Check the link health check message within the specified time:
  • the notification module is used to record the ring network status as intact, continue to block the slave port, and send the ring network recovery notification to the ring network. The status is intact.
  • the Ethernet ring network system, the master node and the initialization method thereof are provided. When the master node is initialized, the blocked port avoids the loop generation, detects the true ring network state, and quickly enters the correct ring network state and protocol operation flow. The loop or open circuit caused by the master node not knowing the true ring state at the initial 4 ⁇ is prevented, and the fault resistance capability of the ring network protection system is improved.
  • FIG. 1 is a schematic diagram of an Ethernet ring protection system in the prior art
  • FIG. 2 is a schematic diagram of a failure of a primary node of an Ethernet ring protection system in the prior art
  • FIG. 3 is an Ethernet ring network according to the present invention
  • the method for initializing the active node of the Ethernet ring network system of the present invention comprises the following steps: Step 301, the ring network node generates an active node of the Ethernet ring protection domain. In step 302, the master node detects the link status of the master port and the slave port.
  • Step 303 If the primary port and/or the secondary port of the primary node are faulty, the faulty port is blocked, and the ring state is DOWN. The FLUSH-DOWN packet is sent to notify other transit nodes that the ring network status is DOWN.
  • step 304 if there is no fault on the port on the ring, the slave port is blocked, and the state of the ring network is recorded as INIT, and the HELLO message is sent out in the period.
  • Step 305 If the master node receives the HELLO packet sent within the specified time, the status of the ring network is UP, and the slave port continues to be blocked, and the FLUSH-UP packet is sent to notify other transit nodes that the ring network status is UP. .
  • Step 306 If the master node does not receive the HELLO packet, or receives the LINK-DOWN packet, or detects that the link corresponding to the ring port fails, the loop state is considered to be DOWN.
  • the port sends a FLUSH-DOWN message to the ring to notify other transit nodes that the ring network status is DOWN.
  • the master node enters the correct ring network.
  • the Ethernet ring master node generates no loops during initialization and quickly enters the correct ring network state, effectively preventing the wrong judgment of the ring network state when the master node is initialized, and improving the stability of the Ethernet ring network protection system. According to an embodiment of the present invention, as shown in FIG.
  • the primary node there are three transmission nodes and one master node on the ring.
  • the link on the ring is intact, and the transmission nodes are all configured.
  • the primary node starts to initialize.
  • the master node blocks the slave port, prevents loops on the network, records the ring state as INIT, and sends HELLO 4 messages to the ring.
  • the HELLO 4 message arrives at the master node after passing through each transit node.
  • the master node After receiving the HELLO packet, the master node considers that the ring network status is UP, continues to block the slave port, and notifies other nodes that the ring state is UP.
  • the INIT state enters the correct ring state and no loop is generated during initialization.
  • Another application example of the present invention as shown in FIG. 5, has three transit nodes and one master node on the ring, and the link between two transit nodes on the ring is faulty, and the transit nodes have been configured and configured.
  • the master node After the master node, the master node starts initialization. When the master node initializes, it blocks the slave port, records the ring state as INIT, and sends a HELLO message to the ring. The HELLO packet cannot reach the master node through the faulty link. The master node does not receive the HELLO packet within the specified time.
  • the loop state is DOWN, the slave port is released, and the other node ring status is DOWN.
  • an embodiment of the present invention provides an Ethernet ring network system, including: an on-ring node, configured to generate an Ethernet ring network protection i or a master node; wherein, the master node includes: a detection module, configured to detect the master port and the slave port Link status: a recording module, configured to record a ring network state as an initialization state and block a slave port if it detects that there is no fault between the master port and the slave port link; and send a module, configured to periodically send a link to the ring network a health check message; and a check module, configured to check the link health check message within a specified time: the notification module is configured to record the ring network status as intact, continue to block the slave port, and send the ring network to the ring network The notification message is restored to notify other nodes that the ring network status is intact.
  • the master node includes: a detection module, configured to detect the master port and the slave port Link status: a recording module, configured to record a ring network state as an initialization state
  • the embodiment of the present invention further provides a master node, which is a ring node of the protection domain of the Ethernet ring system, and includes: a detection module, configured to detect a link state of the master port and the slave port: a recording module, if used to detect If there is no fault between the primary port and the secondary port, the ring state is recorded as the initial state, and the slave port is blocked.
  • the sending module is configured to periodically send the link health check packet to the ring network; and the check module is used to Checking the link health check message within the specified time:
  • the notification module is configured to record the ring network status as intact, continue to block the slave port, and send a ring network recovery notification message to the ring network to notify other nodes that the ring network status is intact.
  • the present invention proposes a trunking network system, a master node thereof and an initialization method thereof, which define an initialization state of the master node, block a port to prevent loops when the master node is initialized, and detect the loop network and enter the correct ring network state.
  • the fault caused by the wrong judgment of the state of the ring network during the initialization of the master node is prevented, and the reliability and stability of the system are improved.
  • the invention can be used in a variety of Ethernet ring protection technologies.

Landscapes

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

Description

以太环网系统、 其主节点及其初始化方法 技术领域 本发明涉及以太环网自动保护技术领域,具体涉及了一种以太环网自动 保护系统、 其主节点及其初始化的方法。 背景技术
RFC3619 中的以太环网保护系统由多个节点相连构成环, 环上可以定 义多个以太环网保护域。 一个域中包括了一个主节点和若干传输节点, 以及 一组被保护的用于用户数据转发的业务虚拟局域网 (VLAN, Virtual Local Area Network )。 其中主节点在环上的两个端口分別定义为主端口和从端口, 被保护的业务 VLAN定义为保护业务 VLAN。 当环上链路完好时主节点阻塞 从端口的保护业务 VLAN转发功能, 网絡中无环路产生, 防止了由于网络环 路引起的 "广播风暴"; 当环上链路发生故障时主节点放开从端口的保护业务 VLAN转发功能, 用户数据可以在主节点的从端口通过, 保障业务的连通。 以太环网保护控制报文是域中节点之间的通信和控制 4艮文, 当节点阻塞端口 时, 环网控制 4艮文不受影响仍然可以通过。 以太环网保护系统正常运行时, 环上每个节点记录了当前的环网状态为完好 (UP )或者故障 (DOWN )。 现有技术中处于正常运行状态的以太环网自动保护系统, 如图 1所示, 由节点 Sl、 S2、 S3和 S4组成, 在这四个节点組成的环上配置了一个以太环 网保护域, 域中的主节点 (MASTER ) 是 S2, 其余节点 Sl、 S3和 S4是传 输节点( TRANSIT )。 主节点 S2的两个环上端口分别是主端口和从端口, 其 中端口 2是主端口 (P ), 端口 1是从端口 (S )。 另外 J或中还定义了保护业务 VLAN, 环上每个端口都配置在保护业务 VLAN中。 当环上链路完好时, 主 节点 S2阻塞从端口 1的保护业务 VLAN数据转发功能, 防止网络中形成环 路, 避免了 "广播风暴" 的发生; 当环上链路出现故障时, 主节点 S2放开 从端口 1 的保护业务 VLAN数据转发功能, 使得业务 VLAN中的数据重新 连通。 主节点周期的向主端口发送环网链路健康检测报文(HELLO ), 当环上 链路完好时, HELLO 4艮文依次经过各传输节点, 到达主节点的从端口, HELLO 文可以通过主节点的阻塞从端口, 被主节点收到。 如果主节点在 规定的时间内收不到 HELLO报文, 就认为环上链路发生故障。 传输节点检测到相邻的链路发生故障时, 发送链路故障告警报文 ( LINK-DOW ), LINK-DOWN 艮文经过环上链路的传输到达主节点, 主节 点从端口如果处于阻塞状态, LINK-DOWN 4艮文也穿过主节点从端口, 到达 主节点。 主节点在主端口或者从端口收到 LINK-DOWN 4艮文时, 认为环上链 路发生了故障。 当主节点检测到环上链路发生故障时, 记录环网状态为 DOWN, 放开 从端口的保护业务 VLAN转发功能, 更新环上端口的介质访问控制 ( MAC, Media Access Control )地址表, 并发送环网故障通知报文 ( FLUSH-DOWN ) 通知环上其他节点进行链路故障切换, 传输节点收到 FLUSH-DOWN后, 记 录环网状态为 DOWN, 更新环上端口 MAC地址表,保护业务 VLAN中的数 据开始通过新的路径进行传输。 在节点检测到相邻的链路发生故障时,阻塞对应端口的保护业务 VLAN 转发功能; 当故障消失时, 暂时不放开端口的保护业务 VLAN转发功能, 进 入预放开 (PREFORWARD ) 状态。 在链路故障期间, 主节点仍然从主端口 向外发送 HELLO报文, 如果链路故障消失, HELLO报文可以穿过阻塞的端 口和故障消失的链路。 当在从端口收到 HELLO -文时, 就认为环上链路恢 复, 记录环网状态为 UP, 重新阻塞从端口的保护业务 VLAN转发功能, 更 新环上端口 MAC地址表, 向环上发送环网恢复通知报文(FLUSH-UP ), 通 知环上其他节点进行链路恢复切换。 传输节点收到 FLUSH-UP后, 记录环网 状态为 UP,更新环上端口 MAC地址表,传输节点也放开处于 PREFORWARD 状态端口的保护业务 VLAN转发功能, 保护业务 VLAN 中的数据开始通过 新的路径进行传输。 主节点在配置以太环网保护 i或时,初始化阶段并不知道当前环网状态为 UP或者 DOWN, 因此无法进入正确的状态。 如图 2所示, 环网状态为 UP , 节点 Sl、 S3和 S4已经配置为环网保护域的传输节点, 将节点 S2配置为主 节点后, 节点 S2开始初始化, 但是节点 S2并不知道当前的环网状态, 如果 节点 S2将环网状态设置为 DOWN, 放开从端口 1和主端口 2, 则整个环网 在配置主节点后会产生环路, "广播风暴" 持续存在。 发明内容 本发明的主要目的在于提出一种以太环网系统、其主节点及其初始化的 处理方法, 避免以太环网域中主节点初始化时进入错误的状态, 防止环网保 护运行错误, 提高在实际组网中以太环网的抗故障能力。 为了达到上述目的,本发明将以太环网主节点初始化不知道环网真正状 态时 i己录的环网状态定义为初始化状态 ( INIT ), 当主节点检测到真正的环 网状态后, 由 INIT ^1 态进入正确的环网状态。 节点在初始化时, 阻塞一个 环上端口的保护业务 VLAN功能防止环路。 本发明提出一种以太环网系统主节点初始化方法, 包括以下步骤: 步骤 一, 环上节点产生以太环网保护域主节点; 步骤二, 主节点检测主端口和从 端口链路状态: 如果主节点检测到主端口和从端口链路都没有故障, 则记录 环网状态为初始化状态, 阻塞从端口; 步驟三, 主节点周期性地向环网发送 链路健康检测 4艮文; 步驟四, 主节点在规定的时间内是否收到链路健康检测 报文: 如果是则记录环网状态为完好, 继续阻塞从端口, 向环网发送环网恢 复通知 4艮文, 通知其他节点环网状态为完好, 从而实现主节点的初始化。 在步驟二中: 如果主节点检测到主端口和 /或从端口出现链路故障, 则 阻塞发生故障的端口, 将环网状态标记为故障, 发送环网故障通知 ^艮文通知 其它传输节点环网状态为故障, 从而实现主节点的初始化。 在步骤四中: 如果主节点没有收到链路健康检测 艮文, 则记录环网状态 为故障, 放开阻塞从端口, 向环网发送环网故障通知报文通知其他传输节点 环网状态为故障, 从而实现主节点的初始化。 在步骤四中判断环网状态为故障的标准还包括:主节点收到传输节点发 送的链路故障告警报文或检测到环网端口对应链路故障。 本发明还提供了一种以太环网系统, 包括: 环上节点, 用于产生以太环 网保护域主节点; 其中, 主节点包括: 检测模块, 用于检测主端口和从端口 链路状态: 记录模块, 用于如果检测到主端口和从端口链路都没有故障, 贝' J 记录环网状态为初始化状态, 阻塞从端口; 发送模块, 用于周期性地向环网 发送链路健康检测报文; 以及查收模块, 用于在规定的时间内查收链路健康 检测 艮文: 通知模块, 用于如果是则记录环网状态为完好, 继续阻塞从端口, 向环网发送环网恢复通知 4艮文, 通知其他节点环网^ ^态为完好。 本发明还提供了一种主节点, 其是以太环网系统保护域的环上节点, 包 括: 检测模块, 用于检测主端口和从端口链路状态: i己录模块, 用于如果检 测到主端口和从端口链路都没有故障, 则记录环网状态为初始化状态 , 阻塞 从端口; 发送模块, 用于周期性地向环网发送链路健康检测报文; 以及查收 模块, 用于在规定的时间内查收链路健康检测报文: 通知模块, 用于如果是 则记录环网状态为完好, 继续阻塞从端口, 向环网发送环网恢复通知 4艮文, 通 口其他节点环网状态为完好。 本发明提出的以太环网系统、其主节点及其初始化方法, 当主节点初始 化时, 阻塞端口避免了环路的产生, 探测真正的环网状态, 快速进入正确的 环网状态和协议运算流程, 防止了由于主节点在初始 4匕时不知道真正的环网 状态导致的环路或者断路, 提高了环网保护系统的抗故障能力。 附图说明 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1为现有技术中以太环网保护系统示意图; 图 2 为现有技术中以太环网保护系统主节点初始化时出现故障的示意 图; 图 3为本发明一种以太环网系统主节点初始化方法的步骤流程图; 图 4为本发明实施例一中环网链路无故障的示意图; 以及 图 5为本发明实施例一中环网链路有故障的示意图。 具体实施方式 下面参考附图, 详细说明本发明的具体实施方式。 本发明的以太环网系统主节点初始化方法包括以下步驟: 步據 301 , 环网节点产生以太环网保护域主节点。 步 302 , 主节点检测主端口和从端口链路状态。 步骤 303 , 如果主节点主端口和 /或从端口出现故障, 则阻塞发生故障的 端口, 认为环状态为 DOWN, 并向外发送 FLUSH-DOWN报文通知其他传 输节点环网状态为 DOWN。 步骤 304,如果环上端口没有故障, 阻塞从端口,记录环网状态为 INIT, 周期的向外发送 HELLO报文。 步骤 305 , 主节点如果在规定的时间内收到了发出的 HELLO报文, 则 标记环网状态为 UP, 继续阻塞从端口, 并向外发送 FLUSH-UP报文通知其 他传输节点环网状态为 UP。 步骤 306 , 如果主节点在规定的时间内没有收到 HELLO报文、 或者收 到 LINK-DOWN报文、或者检测到环上端口对应链路发生故障, 则认为环网 态为 DOWN, 放开从端口, 向环上发送 FLUSH-DOWN 4艮文通知其他传 输节点环网状态为 DOWN。 步骤 307, 主节点进入正确的环网^ _态。 以太环网主节点在初始化时无环路产生 , 并快速进入正确的环网状态, 有效防止了主节点初始化时对环网状态的错误判断, 提高了以太环网保护系 统的稳定性。 本发明的一个实施例,如图 4所示,环上有 3个传输节点和 1个主节点, 环上链路完好,传输节点都已经配置完毕, 配置主节点后主节点开始初始化。 主节点初始化时阻塞了从端口,防止网络上产生环路,记录环网状态为 INIT, 并向环上发送 HELLO 4艮文。 环上链路完好, HELLO 4艮文经过各个传输节点 后到达主节点, 主节点收到 HELLO报文后认为环网状态为 UP, 继续阻塞从 端口,通知其他节点环状态为 UP,主节点由 INIT状态进入正确的环网状态, 并且初始化时无环路产生。 本发明的另一个应用举例, 如图 5 所示, 在环上有 3 个传输节点和 1 个主节点, 环上某两个传输节点之间链路有故障,传输节点都已经配置完毕, 配置主节点后主节点开始初始化。 主节点初始化时阻塞了从端口, 记录环网 4犬态为 INIT, 并向环上发送 HELLO报文。 HELLO报文无法经过故障链路 到达主节点, 主节点在规定的时间内收不到 HELLO报文, 认为环网状态为 DOWN, 放开从端口, 通知其他节点环状态为 DOWN, 主节点由 INIT状态 进入正确的环网状态, 初始化完成后, 环上两个节点之间正常通信。 另外, 本发明实施例提供了一种以太环网系统, 包括: 环上节点, 用于 产生以太环网保护 i或主节点; 其中, 主节点包括: 检测模块, 用于检测主端 口和从端口链路状态: 记录模块, 用于如果检测到主端口和从端口链路都没 有故障, 则记录环网状态为初始化状态, 阻塞从端口; 发送模块, 用于周期 性地向环网发送链路健康检测报文; 以及查收模块, 用于在规定的时间内查 收链路健康检测报文: 通知模块, 用于如果是则记录环网状态为完好, 继续 阻塞从端口, 向环网发送环网恢复通知报文,通知其他节点环网状态为完好。 本发明实施例还提供了一种主节点,其是以太环网系统保护域的环上节 点, 包括: 检测模块, 用于检测主端口和从端口链路状态: 记录模块, 用于 如果检测到主端口和从端口链路都没有故障,则记录环网状态为初始化状态, 阻塞从端口; 发送模块, 用于周期性地向环网发送链路健康检测报文; 以及 查收模块, 用于在规定的时间内查收链路健康检测报文: 通知模块, 用于如 果是则记录环网状态为完好, 继续阻塞从端口, 向环网发送环网恢复通知艮 文, 通知其他节点环网状态为完好。 本发明提出的以.太环网系统、其主节点及其初始化方法, 定义了主节点 的初始化状态, 在主节点初始化时阻塞一个端口防止环路, 并探测环网后进 入正确的环网状态, 防止了主节点初始化时对环网状态的错误判断导致的故 障,提高了系统的可靠性和稳定性。本发明可用于多种以太环网保护技术中。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。

Claims

权 利 要 求 书 一种以太环网系统主节点初始 方法, 其特征在于, 包括以下步骤: 步骤一, 环上节点产生以太环网保护域主节点;
步骤二, 所述主节点检测主端口和从端口链路状态:
如果所述主节点检测到主端口和从端口链路都没有故障, 则 i己录环网状态为初始化状态, 阻塞所述从端口;
步骤三, 所述主节点周期性地向环网发送链路健康检测报文; 以及 步驟四,所述主节点在规定的时间内是否收到所述链路健康检测 艮 文:
如果是则记录环网状态为完好, 继续阻塞所述从端口, 向环 网发送环网恢复通知报文, 通知其他节点环网状态为完好, 从而 实现所述主节点的初始化。 根据权利要求 1所述的以太环网系统主节点初始化方法, 其特征在于, 在所述步驟二中:
如果所述主节点检测到主端口和 /或从端口出现链路故障, 则阻塞 发生故障的端口, 将环网状态标记为故障, 发送环网故障通知报文通知 其它传输节点环网状态为故障, 从而实现所述主节点的初始化。 才艮据权利要求 1所述的以太环网系统主节点初始 4 方法, 其特征在于, 在所述步碌四中:
如果所述主节点没有收到所述链路健康检测报文 ,则记录环网状态 为故障, 放开阻塞所述从端口, 向环网发送环网故障通知报文通知其他 传输节点环网状态为故障, 从而实现所述主节点的初始化。 才艮据权利要求 3所述的以太环网系统主节点初始化方法, 其特征在于, 在所述步 四中判断所述环网状态为故障的标准还包括:
所述主节点收到传输节点发送的链路故障告警报文或检 测到环网端口对应链路故障。
5. 一种以太环网系统, 其特征在于, 包括:
环上节点, 用于产生以太环网保护 i或主节点;
其中, 所述主节点包括:
检测模块 , 用于检测主端口和从端口链路状态:
记录模块, 用于如果检测到主端口和从端口链路都没有故障, 则 i己录环网^)犬态为初始化状态, 阻塞所述从端口;
发送模块, 用于周期性地向环网发送链路健康检测报文; 以 及
查收模块, 用于在规定的时间内查收所述链路健康检测报文: 通知模块, 用于如果是则记录环网状态为完好, 继续阻塞所 述从端口, 向环网发送环网恢复通知 4艮文, 通知其他节点环网状 态为完好。
6. 一种主节点, 其是以太环网系统保护域的环上节点, 其特征在于, 包括: 检测模块 , 用于检测主端口和从端口链路 ^!夂态:
记录模块, 用于如果检测到主端口和从端口链路都没有故障, 则记 录环网^ i态为初始 ^b^ 态 , 阻塞所述从端口;
发送模块, 用于周期性地向环网发送链路健康检测报文; 以及 查收模块, 用于在规定的时间内查收所述链路健康检测报文: 通知模块, 用于如果是则记录环网状态为完好, 继续阻塞所述从端 口, 向环网发送环网恢复通知报文, 通知其他节点环网状态为完好。
PCT/CN2007/003812 2007-09-25 2007-12-26 Système de réseau en anneau ethernet, noeud principal de celui-ci et procédé d'initialisation de ce noeud WO2009039698A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US12/680,187 US8208369B2 (en) 2007-09-25 2007-12-26 Ethernet ring system and a master node and an initialization method thereof
EP07855814.5A EP2194676B1 (en) 2007-09-25 2007-12-26 Ethernet ring system, its main node and intialization method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2007101518709A CN101127675A (zh) 2007-09-25 2007-09-25 以太环网系统主节点初始化方法
CN200710151870.9 2007-09-25

Publications (1)

Publication Number Publication Date
WO2009039698A1 true WO2009039698A1 (fr) 2009-04-02

Family

ID=39095605

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/003812 WO2009039698A1 (fr) 2007-09-25 2007-12-26 Système de réseau en anneau ethernet, noeud principal de celui-ci et procédé d'initialisation de ce noeud

Country Status (4)

Country Link
US (1) US8208369B2 (zh)
EP (1) EP2194676B1 (zh)
CN (1) CN101127675A (zh)
WO (1) WO2009039698A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130028076A1 (en) * 2010-02-05 2013-01-31 Zte Corporation Method and Device for Preventing Repeated Refreshing of Address Table of Ethernet Ring Network Node

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483571B (zh) * 2009-02-26 2011-06-29 杭州华三通信技术有限公司 一种rrpp的配置方法、系统及设备
CN102055661B (zh) * 2009-11-06 2014-03-19 中兴通讯股份有限公司 一种多点故障下的以太多环网保护方法和互连节点
CN101764731B (zh) * 2009-12-09 2011-11-30 熊伟 一种以太网环网算法切换方法
CN101958831B (zh) * 2010-06-10 2013-03-13 福建星网锐捷网络有限公司 以太环网故障恢复方法、以太环网及交换设备
CN102136928B (zh) * 2010-07-02 2013-10-09 华为技术有限公司 拓扑发现方法及装置
DE102011004064A1 (de) * 2011-02-14 2012-08-16 Siemens Aktiengesellschaft Zwischennetzwerk in Ringtopologie und Verfahren zum Herstellen einer Netzwerkverbindung zwischen zwei Netzwerkdomänen
CN102739466B (zh) * 2011-04-13 2017-10-17 中兴通讯股份有限公司 一种设置以太网节点检测帧超时时长的方法及系统
CN102209037B (zh) * 2011-06-15 2014-03-26 华为技术有限公司 媒体访问控制地址的切换方法、网络设备和用户设备
US9356799B2 (en) * 2011-06-28 2016-05-31 Broadcom Corporation Ethernet ring protection without MAC table flushing
CN102291290A (zh) * 2011-08-08 2011-12-21 浙江中控技术股份有限公司 以太环网故障检测、连接的方法和系统
CN102710482B (zh) * 2012-03-29 2015-03-18 浙江宇视科技有限公司 一种环网保护的方法及装置
WO2013143096A1 (en) * 2012-03-29 2013-10-03 Telefonaktiebolaget L M Ericsson Mac copy in nodes detecting failure in a ring protection communication network
CN103001799B (zh) * 2012-11-23 2015-06-24 北京东土科技股份有限公司 基于链状网络的冗余实现方法及节点
CN104301027B (zh) * 2013-07-16 2018-10-26 南京中兴新软件有限责任公司 光突发交换环网中实现自动保护倒换的方法、系统及节点
CN103957538B (zh) * 2014-04-04 2017-11-28 新华三技术有限公司 一种网络质量探测方法和设备
CN104539505A (zh) * 2015-01-15 2015-04-22 盛科网络(苏州)有限公司 Eaps通过统计错误报文实现自动切换的方法及系统
JP6554405B2 (ja) * 2015-11-26 2019-07-31 株式会社日立製作所 リングネットワークシステム、及び、ネットワークノード
CN108243027B (zh) * 2016-12-23 2020-04-07 大唐移动通信设备有限公司 一种端口初始化方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791049A (zh) * 2005-12-16 2006-06-21 杭州华为三康技术有限公司 环网及其保护方法
CN1812361A (zh) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 快速环网保护方法及系统
CN1909496A (zh) * 2006-08-24 2007-02-07 杭州华为三康技术有限公司 相交以太环网及其自动保护方法、以及环网节点设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030154285A1 (en) * 2002-02-13 2003-08-14 International Business Machines Corporation Method and system for assigning network addreses
US6717922B2 (en) * 2002-03-04 2004-04-06 Foundry Networks, Inc. Network configuration protocol and method for rapid traffic recovery and loop avoidance in ring topologies
US6928050B2 (en) * 2003-05-06 2005-08-09 Overture Networks, Inc. Protected switching ring
US8520507B1 (en) * 2004-03-08 2013-08-27 Extreme Networks, Inc. Ethernet automatic protection switching
JP2005269059A (ja) * 2004-03-17 2005-09-29 Fujitsu Ltd データ中継装置、データ中継方法およびデータ中継プログラム

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791049A (zh) * 2005-12-16 2006-06-21 杭州华为三康技术有限公司 环网及其保护方法
CN1812361A (zh) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 快速环网保护方法及系统
CN1909496A (zh) * 2006-08-24 2007-02-07 杭州华为三康技术有限公司 相交以太环网及其自动保护方法、以及环网节点设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2194676A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130028076A1 (en) * 2010-02-05 2013-01-31 Zte Corporation Method and Device for Preventing Repeated Refreshing of Address Table of Ethernet Ring Network Node
US8948002B2 (en) * 2010-02-05 2015-02-03 Zte Corporation Method and device for preventing repeated refreshing of address table of Ethernet ring network node

Also Published As

Publication number Publication date
US20100260040A1 (en) 2010-10-14
EP2194676A1 (en) 2010-06-09
CN101127675A (zh) 2008-02-20
EP2194676B1 (en) 2020-03-04
EP2194676A4 (en) 2010-09-29
US8208369B2 (en) 2012-06-26

Similar Documents

Publication Publication Date Title
WO2009039698A1 (fr) Système de réseau en anneau ethernet, noeud principal de celui-ci et procédé d'initialisation de ce noeud
WO2009039697A1 (en) Ethernet ring network systerm, transmission node of ethernet ring network and initialization method thereof
US10469366B2 (en) Redundant ethernet automatic protection switching access to virtual private LAN services
JP5508289B2 (ja) 多重リンク障害からのネットワーク回復システム及び方法
US7911938B2 (en) System and method for preventing loops in the presence of control plane failures
US7440397B2 (en) Protection that automatic and speedily restore of Ethernet ring network
US8411690B2 (en) Preventing data traffic connectivity between endpoints of a network segment
WO2008089614A1 (fr) Procédé, système et dispositif de protection d'une liaison en anneau
WO2010045832A1 (zh) 用于以太环网的链路聚合组的保护方法及装置
WO2009046591A1 (fr) Procédé de traitement de traitement de panne de port esclave de nœud maître dans un système de réseau ethernet en anneau
WO2009111969A1 (zh) 以太环网中边缘端口阻塞的方法、以太环网系统和设备
JP2005260927A (ja) イーサネット自動保護スイッチング
WO2010031296A1 (zh) 以太网环路保护故障恢复的控制方法及以太网环路节点
WO2012162946A1 (zh) 一种报文处理方法及系统
WO2010031295A1 (zh) 一种以太网故障恢复的控制方法
JP2003258822A (ja) パケットリングネットワーク及びそれに用いるパケットリングネットワーク間の接続方法
WO2012071905A1 (zh) 一种环网上行链路保护的实现方法和系统
WO2012068866A1 (zh) 一种以太环网中刷新mac的方法及系统
CN101815021B (zh) 一种以太网保护中协议通道的实现方法
JP2015136079A (ja) 通信ノード装置及びネットワークシステム

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2007855814

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 12680187

Country of ref document: US