WO2010031295A1 - Procédé de contrôle pour reprise après une panne ethernet - Google Patents

Procédé de contrôle pour reprise après une panne ethernet Download PDF

Info

Publication number
WO2010031295A1
WO2010031295A1 PCT/CN2009/073452 CN2009073452W WO2010031295A1 WO 2010031295 A1 WO2010031295 A1 WO 2010031295A1 CN 2009073452 W CN2009073452 W CN 2009073452W WO 2010031295 A1 WO2010031295 A1 WO 2010031295A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
node
link
port
vlan
Prior art date
Application number
PCT/CN2009/073452
Other languages
English (en)
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 WO2010031295A1 publication Critical patent/WO2010031295A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2002Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where interconnections or communication control functionality are redundant
    • G06F11/2007Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where interconnections or communication control functionality are redundant using redundant communication media

Definitions

  • the present invention relates to an Ethernet fault recovery technology, and more particularly to a control method for Ethernet ring network fault recovery.
  • Ethernet loop structure is widely used in both the metropolitan area network and the enterprise network to improve the reliability of the network.
  • One ring physically corresponds to a ring-connected Ethernet topology, which is a set of Ethernet connected to each other. Switch collection.
  • the Ethernet loop protection protocol defines the roles of each node on the loop.
  • the master node is the main decision and control node on the ring.
  • Each ring must have one and only one master node.
  • the ring has other than the master node.
  • Nodes are all transit nodes.
  • Each node uses a virtual local area network (VLAN) to transmit protocol packets and cooperate with each other to protect the loops.
  • the protected packets are transmitted through the protected VLANs.
  • the data packets and control packets are isolated from each other through different VLANs. When a link is disconnected, the loop protection mechanism is enabled to resume communication between nodes on the ring network.
  • VLAN virtual local area network
  • Each of the transit nodes on the loop monitors the link status of the port in real time.
  • the nodes at both ends of the link detect the port DOWN.
  • the corresponding control protocol packet should be sent from another faultless port.
  • the master node is notified of the change.
  • the master node opens the slave port data forwarding function, and notifies each of the transit nodes on the ring to refresh their respective media access control (MAC, Media Access Control) addresses.
  • MAC Media Access Control
  • the master node has an alternate detection mechanism. If the HELLO packet is not received within the specified time, the link network is considered to have a link fault.
  • the HELLO packet is A health test is a slogan.
  • the technical problem to be solved by the present invention is to provide a control method for the recovery of the fault of the Ethernet ring network, which solves the problem that the slave port of the master node and the port after the fault link is restored are connected to each other to form a data packet after the fault recovery of a link of the ring network is completed.
  • the problem with the broadcast loop is to provide a control method for the recovery of the fault of the Ethernet ring network, which solves the problem that the slave port of the master node and the port after the fault link is restored are connected to each other to form a data packet after the fault recovery of a link of the ring network is completed.
  • the present invention provides a control method for Ethernet ring network failure recovery, the method comprising:
  • the method further includes:
  • the transmitting node receives the packet, and determines that the received packet is prohibited from being forwarded when the VLAN TAG of the received packet is inconsistent with the control protocol VLAN identifier preset by the loop protection protocol in the pre-forwarding state.
  • the method further includes:
  • the transmitting node receives the packet, and when the received packet is determined to be a packet that does not identify the U TAG, the forwarded message is prohibited from being forwarded.
  • the method further includes:
  • the receiving node receives the packet, and determines that the VLAN TAG of the received packet is consistent with the preset control protocol VLAN identifier in the pre-forwarding state, and forwards the packet according to the destination address of the received packet. Or send the message to the CPU for processing.
  • the packet received by the transit node is sent by the primary node in the ring network on the primary port; and after the step B, the method further includes the step C:
  • the master node After the master node receives the packet forwarded by the transport node from its own slave port, Determining the link failure recovery, blocking the data packet forwarding function of the slave port protection VLAN that is opened when the link is faulty, and sending a control protocol packet from the master port to notify all the transmission node links on the Ethernet ring to recover. And notify all the transmitting nodes on the Ethernet ring to refresh their respective media access control MAC address tables.
  • the method further comprises:
  • the transit node migrates the port corresponding to the forwarding node to the forwarding state.
  • the application of the present invention enables the node to set the port corresponding to the faulty link to the pre-forward state when detecting the link failure recovery, that is, blocking the protection of the VLAN data packet, but the control protocol packet can be Therefore, the HELLO packet used for ring health detection can be returned to the slave port of the master node through the port in the pre-forward state.
  • the master node re-blocks the slave port after receiving the HELLO packet from the slave port, and uses the corresponding control protocol.
  • the transmitting node on the ring informs the ring node to refresh the MAC address.
  • the neighboring link of the faulty link ends the pre-forwarding state, migrates to the forwarding state, and updates its own MAC address. It can be seen that the method can reasonably complete the faulty link recovery switching and avoid the instantaneous loop caused by the link recovery.
  • Figure 1 is a schematic diagram of the fault-free state of the Ethernet ring network
  • Figure 2 is a schematic diagram of the fault condition of the Ethernet ring link
  • Figure 3a and Figure 3b are schematic diagrams of two phases of fault recovery of the ring network link
  • FIG. 4 is a flow chart of a control method for Ethernet ring network failure recovery in the present invention.
  • FIG. 1 is a schematic diagram of the fault-free state of the Ethernet ring network, where S2 is configured as the primary node of the Ethernet loop, and the remaining nodes are all transit nodes.
  • the master node should block its data packet forwarding function from the protected VLAN of port 22, so that the data in the protected VLAN cannot pass through the port.
  • the primary node will cycle from it
  • the master port 21 sends a HELLO message, passes through each transport node in turn, and finally returns from the slave port of the master node to the master node.
  • the primary node S2 sends a HELLO packet periodically. Because the loop is faultless, the HELLO packet passes through the loop to the slave port of the master node and returns to the master node.
  • FIG 2 is a schematic diagram of the link failure of the Ethernet ring link.
  • the transit nodes on the Ethernet ring monitor the link status of the port in real time.
  • the nodes at both ends of the link detect the port DOWN.
  • the corresponding control protocol message should be sent from another faultless port immediately to notify the master node of this change.
  • the link between the nodes S5 and S6 is faulty.
  • the nodes S5 and S6 block the corresponding port of the faulty link and send corresponding protocol packets from the other port to notify the master node.
  • the master node considers that the loop is faulty, and then opens the data packet forwarding function of the protected VLAN of the slave port of the master node, and notifies each transit node on the ring to refresh its MAC address table.
  • Figure 3 is a schematic diagram of the recovery of the Ethernet ring link failure, where
  • Figure 3a shows that when a neighboring node detects a link failure recovery, it immediately blocks the data packet forwarding function of the protected VLAN of the slave port of the restored master node and enters the pre-forward state.
  • the pre-forwarding state is a state in which the control protocol packet can be forwarded and the data packet of the protected VLAN cannot be forwarded, so that the HELLO packet sent by the master node can be returned to the slave port of the master node through the loop; The status of a data packet that can forward control protocol packets and forward protected VLANs.
  • Figure 3b shows the master node receiving the HELLO packet sent by the slave port.
  • the link is recovered, the data packet forwarding function of the protection VLAN of the slave port of the master node is re-blocked, and the control protocol packet is sent from the master port.
  • the transit node on the notification ring recovers and refreshes its respective MAC address.
  • the port in the pre-forward state receives the packet and sets its pre-forward state to the forwarding state.
  • the method of the present invention can set the adjacent port of the faulty link to the pre-forward state when the corresponding link of the faulty port is detected on the transit node, and the faulty link is obtained after receiving the control protocol packet sent by the master node.
  • the state of the adjacent port moves to the forwarding state.
  • the control protocol message sent by the master node is used to notify the transit node of the address ring to refresh and the corresponding port state switch.
  • the main idea of the present invention is: when the transit node detects the fault recovery of the adjacent link, the corresponding packet detection mechanism is started, and the VLAN TAG is detected for all the received packets, for example, the VLAN TAG and the loop of the packet are determined.
  • the control protocol VLAN ID set by the protection protocol is inconsistent or the report If the packet is a U TAG (unidentified) packet, the packet is forbidden to be forwarded. If the VLAN TAG of the packet is consistent with the VLAN ID of the control protocol, the packet is forwarded according to the destination address of the packet. Or send the message to the CPU for processing.
  • an Ethernet ring network fault recovery control method includes the following steps: Step 41: The process starts, the Ethernet ring network transmission node detects the adjacent link fault recovery; Step 42: The transit node starts packet detection. The mechanism is: detecting the received packet, determining whether the received packet is a TAG packet, if yes, executing step 43, otherwise, performing step 44;
  • Step 43 Detecting the VLAN TAG of the received packet, determining whether the VLAN identifier is the same as the control protocol VLAN identifier preset by the ring network protection protocol, and if yes, executing step 45, otherwise performing step 44;
  • Step 44 Disabling the forwarding of the packet on the corresponding port, ending the detection process of the packet, and performing the detection of the next new text;
  • the packet detection function is that the packet is a U TAG packet or the packet VLAN ID is different from the preset control protocol VLAN ID, the packet is forbidden to be forwarded on the corresponding port.
  • Step 45 Forward the packet according to the destination address of the packet or send the packet to the CPU for processing; at this time, the VLAN identifier of the received packet is consistent with the preset control protocol VLAN identifier, according to the packet
  • the destination address forwards the packet or sends the packet to the CPU for processing (the destination address is local).
  • Step 46 The master node sends a HELLO protocol packet on the primary port. If the HELLO protocol packet passes the faulty link neighboring node to the master node at the slave port, the master node determines that the link fault is recovered, and re-blocks the slave port. Protect the data forwarding function of the VLAN, and send the control protocol packet from the primary port to notify the transit node of the ring to recover and refresh the media access control MAC address table of each transport node;
  • the HELLO packet belongs to one type of protocol control packet, so its VLAN TAG must also be the same as the set control VLAN flag.
  • Step 47 The transit node receives the control protocol packet sent by the master node, and learns that the master node is blocked.
  • the data packet forwarding function of the slave port disables the packet detection mechanism that implements the pre-forward state, ends the pre-forwarding state, and the port of the transit node enters the forwarding state, and the process ends.
  • the invention can enable the node to set the port corresponding to the faulty link to the pre-forward state when detecting the link failure recovery, that is, blocking the protection of the VLAN data packet, but the control protocol packet can pass, so that the ring network health detection is used.
  • the HELLO packet can be returned to the slave port of the master node through the port in the pre-forward state.
  • the master node After receiving the HELLO packet from the slave port, the master node re-blocks the slave port and uses the corresponding control protocol packet to notify the ring node of the ring to refresh the MAC address. Address, the adjacent link of the faulty link receives the packet, ends the pre-forwarding state, migrates to the forwarding state, and updates its own MAC address. It can be seen that the method can reasonably complete the faulty link recovery switching and avoid the instantaneous loop caused by the link recovery, so it has strong industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)

Abstract

L’invention concerne un procédé de contrôle pour la reprise après une panne d’anneau Ethernet. Le procédé comprend les étapes suivantes : quand les nœuds de transmission adjacents de la liaison défaillante détectent que la liaison défaillante redevient normale, ils transfèrent les ports qui leur correspondent à un état de pré-retransmission afin de leur permettre de retransmettre les messages de protocole de contrôle de l’anneau Ethernet et interdisent la retransmission des messages de données du réseau local virtuel de protection VLAN. La commutation de rétablissement de liaison défaillante peut être réalisée grâce à l’invention et la boucle instantanée qui est réalisée au moment du rétablissement de liaison peut être évitée.
PCT/CN2009/073452 2008-09-22 2009-08-24 Procédé de contrôle pour reprise après une panne ethernet WO2010031295A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810149688 2008-09-22
CN200810149688.4 2008-09-22

Publications (1)

Publication Number Publication Date
WO2010031295A1 true WO2010031295A1 (fr) 2010-03-25

Family

ID=42039086

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073452 WO2010031295A1 (fr) 2008-09-22 2009-08-24 Procédé de contrôle pour reprise après une panne ethernet

Country Status (2)

Country Link
CN (1) CN101686167A (fr)
WO (1) WO2010031295A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794657A (zh) * 2021-09-14 2021-12-14 迈普通信技术股份有限公司 Mac地址迁移处理方法、装置及交换设备
CN115412424A (zh) * 2022-08-17 2022-11-29 浪潮思科网络科技有限公司 一种mlag环境下双主设备检测方法及设备

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315987B (zh) * 2011-09-13 2017-05-10 中兴通讯股份有限公司 环网保护组链路回切方法及装置
CN103533567B (zh) * 2012-09-29 2016-08-03 深圳友讯达科技股份有限公司 备用节点的确定方法及节点
CN105591860B (zh) * 2015-09-25 2019-03-12 新华三技术有限公司 基于rrpp的环网保护方法及装置
CN108833247B (zh) * 2018-05-18 2021-02-09 新华三技术有限公司 链路故障恢复后的再切换方法及装置
CN112995006A (zh) * 2019-12-17 2021-06-18 中兴通讯股份有限公司 报文处理方法及模块、检测方法、交换设备、存储介质
CN113285826B (zh) * 2021-05-18 2022-11-29 南京信息职业技术学院 一种基于角色转换的环网保护切换方法
CN115865637B (zh) * 2022-11-29 2024-06-25 重庆长安汽车股份有限公司 车载以太环网保护切换方法、装置、设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1575221A1 (fr) * 2004-03-08 2005-09-14 Extreme Networks Commutation de protection automatique pour ethernet
CN1812361A (zh) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 快速环网保护方法及系统
CN101141365A (zh) * 2006-09-06 2008-03-12 杭州华三通信技术有限公司 网络节点及其所在以太环网的故障恢复方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1575221A1 (fr) * 2004-03-08 2005-09-14 Extreme Networks Commutation de protection automatique pour ethernet
CN1812361A (zh) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 快速环网保护方法及系统
CN101141365A (zh) * 2006-09-06 2008-03-12 杭州华三通信技术有限公司 网络节点及其所在以太环网的故障恢复方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794657A (zh) * 2021-09-14 2021-12-14 迈普通信技术股份有限公司 Mac地址迁移处理方法、装置及交换设备
CN113794657B (zh) * 2021-09-14 2023-10-31 迈普通信技术股份有限公司 Mac地址迁移处理方法、装置及交换设备
CN115412424A (zh) * 2022-08-17 2022-11-29 浪潮思科网络科技有限公司 一种mlag环境下双主设备检测方法及设备
CN115412424B (zh) * 2022-08-17 2024-03-26 浪潮思科网络科技有限公司 一种mlag环境下双主设备检测方法及设备

Also Published As

Publication number Publication date
CN101686167A (zh) 2010-03-31

Similar Documents

Publication Publication Date Title
EP2277290B9 (fr) Accès à commutation de protection automatique ethernet redondant à des services de réseau local privé virtuel
WO2010031295A1 (fr) Procédé de contrôle pour reprise après une panne ethernet
EP2194676B1 (fr) Système de réseau en anneau ethernet, noeud principal de celui-ci et procédé d'initialisation de ce noeud
EP2352253B1 (fr) Procédé et appareil destinés à protéger un groupe d'agrégation de liaisons d'un réseau en anneau ethernet
CN100369436C (zh) 环网及其保护方法
WO2008089614A1 (fr) Procédé, système et dispositif de protection d'une liaison en anneau
CN101345683B (zh) 以太网自动保护切换系统中的协议报文传输控制方法
CN101652963B (zh) 重配通信网络的方法
US8570858B2 (en) Control method for protecting failure recovery of ethernet ring and ethernet ring nodes
WO2008089701A1 (fr) Procédé, dispositif et système de protection d'anneau
WO2009039697A1 (fr) Système de réseau en anneau ethernet, noeud d'émission de réseau en anneau ethernet et procédé d'initialisation de celui-ci
US20090147672A1 (en) Protection switching method and apparatus for use in ring network
CN101094190B (zh) 以太环网保护控制报文的传输方法
CN101227371B (zh) 同级交换机设备间的备份切换方法和装置
WO2016116050A1 (fr) Procédé, dispositif et système de protection contre les défaillances pour liaison de protection annulaire
WO2012162946A1 (fr) Procédé et système de traitement de message
JP2003258822A (ja) パケットリングネットワーク及びそれに用いるパケットリングネットワーク間の接続方法
CN110635940B (zh) 一种eaps以太环网的主备倒换方法
CN101534234B (zh) 一种相交以太环网保护方法和系统
CN102238067A (zh) 一种快速环网保护协议环上的切换方法和装置
WO2010139173A1 (fr) Procédé et système de rafraîchissement d'adresse
CN101641915B (zh) 重构通信网络的方法
CN100550812C (zh) 提高快速环网可靠性的方法、系统和节点设备
WO2012071905A1 (fr) Procédé et système de protection d'une liaison montante de réseau en anneau
CN101848128A (zh) 在多个环形拓扑间实现稳定通信的方法、系统及拓扑结构

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

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

Country of ref document: EP

Kind code of ref document: A1