CN102170384A - Method for processing faults of intersected Ethernet ring and nodes - Google Patents

Method for processing faults of intersected Ethernet ring and nodes Download PDF

Info

Publication number
CN102170384A
CN102170384A CN2011100959486A CN201110095948A CN102170384A CN 102170384 A CN102170384 A CN 102170384A CN 2011100959486 A CN2011100959486 A CN 2011100959486A CN 201110095948 A CN201110095948 A CN 201110095948A CN 102170384 A CN102170384 A CN 102170384A
Authority
CN
China
Prior art keywords
ring
node
message
port
shared link
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN2011100959486A
Other languages
Chinese (zh)
Other versions
CN102170384B (en
Inventor
陈锦军
桂永忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201110095948.6A priority Critical patent/CN102170384B/en
Publication of CN102170384A publication Critical patent/CN102170384A/en
Priority to PCT/CN2012/074091 priority patent/WO2012139531A1/en
Priority to EP12771779.1A priority patent/EP2697940A4/en
Application granted granted Critical
Publication of CN102170384B publication Critical patent/CN102170384B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4637Interconnected ring systems

Abstract

The invention discloses a method for processing faults of an intersected Ethernet ring and nodes. The method comprises the following steps: when a sharing link of the intersected Ethernet rings has faults, for all rings of the sharing link, all nodes of a ring with the maximum ring number are used as transmission nodes to be respectively added into rings with non-maximum ring numbers, and meanwhile, a slave port of a main node with the ring with the maximum ring number is released. The intersected Ethernet ring comprises n rings, i.e. rings 1-n, any two adjacent rings, a ring m and a ring m+1, are intersected at one sharing link, and each ring comprises one main node and a plurality of transmission nodes, wherein n is more than or equal to 2, m is more than or equal to 1 and is less than or equal to n-1. The invention realizes the construction and the fault processing of the intersected Ethernet ring.

Description

Interworking Ethernet ring network fault handling method and node
Technical field
The present invention relates to the looped network technical field, be specifically related to the host node of interworking Ethernet ring network fault handling method and interworking Ethernet ring network, shared node, transmission node.
Background technology
Metropolitan area network and enterprise network adopt looped network to make up so that high reliability to be provided mostly, but ring is gone up any one node and broken down and all can influence business.The technology that looped network adopts generally is Resilient Packet Ring (RPR, Resilient Packet Ring) or Ethernet ring.RPR needs specialized hardware, so cost is higher.And the Ethernet ring technology reaches its maturity and is with low cost, and metropolitan area network and enterprise network adopt the trend of Ethernet ring more and more obvious.
At present; the technology that solves the double layer network loop problem has: RSTP (RSTP; Rapid Spanning Tree Protocol), every vlan spanning-tree (PVST; Per-VLAN Spanning Tree), Multiple Spanning Tree Protocol (MSTP; Multi Spanning Tree Protocol) and rapid ring protection protocol (RRPP, Rapid Ring Protection Protocol).RSTP, PVST, MSTP use comparative maturity, but convergence time is in level second.Fig. 1 has provided existing RRPP typical case and has used networking diagram, and RRPP is the link layer protocol that is specifically applied to Ethernet ring, has the convergence rate faster than RSTP, PVST, MSTP.And the node number is irrelevant on the convergence time of RRPP and the looped network, can be applicable to the bigger network of network diameter.RRPP can prevent the broadcast storm that data loopback causes when Ethernet ring is complete, and can recover the communication path between each node on the looped network rapidly when a link disconnects on the Ethernet ring, possesses higher convergence rate.
As shown in Figure 1, every equipment on the RRPP ring all is called a node.The node role is decided by user's configuration, is divided into following several:
Host node: have and only have a host node on each ring.Host node is the promoter of looped network state active detecting mechanism, also is the policymaker of executable operations after network topology changes.
Transmission node: all nodes of other on the ring except that host node.Transmission node is responsible for monitoring the state of the RRPP link at own place, and notifies host node with link change, is made a strategic decision by host node then and how to handle.
Ring has control VLAN (VLAN, Virtual Local Area) and data vlan.Control VLAN is used to transmit protocol massages, has only the port of access ring just can add control VLAN on the node.Data vlan is used for data message transmission, and data vlan can comprise the port of access ring, also can comprise the port of non-access ring.
Host node and transmission node each have two port access rings, and one of them is a master port, and another is from port.The role of port is decided by user's configuration.The master port of host node and from port on function to some extent the difference: the master port of host node is used to send hello packet, is used for receiving this message from port.When ring is in connected state, host node from port blocking data VLAN logically, only allow the message of control VLAN to pass through; When ring is in malfunction, host node will remove the blocked state of data vlan from port, transmit the message of data vlan.The master port of transmission node and as broad as long on function from port all is used to encircle the transmission of protocol massages and data message.
The host node of ring is by the connected state of polling mechanism active detecting looped network.Host node cycle ground sends from its master port and greets (hello packet), propagates on ring through each transmission node successively.If loop is communicated with, host node will before timer expiry, receive hello packet from port, host node will keep the blocked state from port.When fault is given birth in environment-development, host node before timer expiry, can't receive hello packet from port, host node will be removed data vlan at the blocked state from port, send to refresh simultaneously and transmit all transmission nodes of (common-flush-FDB) message notifying, make its renewal medium access control (MAC separately, Media Access Control) list item and address resolution protocol (ARP, Address Resolution Protocol)/neighbours find (ND, Neighbor Discovery) list item.
When any one belonged to the port failure (down) of ring when transmission node discovery oneself, processing procedure was as follows:
(1) transmission node sends link failure (link down) message at once and gives host node.
(2) after host node is received link down message, remove data vlan, and send all transmission nodes of Common-flush-FDB message notifying at its blocked state from port.
(3) transmission node receives the Common-flush-FDB message, upgrades MAC address entries and the ARP/ND list item of oneself.
Behind each node updates list item, data flow then switches on the normal link.
Again for behind work (up) state, processing procedure is as follows at own any one port that belongs to ring of discovery for transmission node:
(1) transmission node detects the link-recovery at self place, and the port on this link is blocked in advance.
(2) host node is being controlled the hello packet that sends in the VLAN from receive oneself from port behind one linkdown, then think link-recovery, again block from port, and in control VLAN, send looped network from master port and recover to refresh to transmit (complete-flush FDB) message, with notification transmission node updates MAC/ARP/ND list item.
(3) transmission node receives complete-flush FDB message, upgrades the MAC/ARP/ND list item of self, and if self there is pre-port blocked, then decontrols this pre-port blocked, to guarantee can not have loop on the looped network temporarily.
Current scheme has only realized several simple annular networkings such as monocycle, tangent rings, phase cross ring, for the large-scale metropolitan area network annular networking of then being unrealized.
Summary of the invention
The invention provides the host node of interworking Ethernet ring network fault handling method and interworking Ethernet ring network, shared node, transmission node, to realize the troubleshooting of interworking Ethernet ring network.
Technical scheme of the present invention is achieved in that
A kind of interworking Ethernet ring network fault handling method, this method comprises:
Described interworking Ethernet ring network comprises first ethernet ring network and second ethernet ring network, described first ethernet ring network comprises host node and transmission node, described second ethernet ring network comprises host node and transmission node, described first ethernet ring network and second ethernet ring network intersect at one and share link, when described shared link breaks down, host node at second ethernet ring network is not when sharing node, the host node of second ethernet ring network receives shares the shared link fault message that node sends, the host node of described second ethernet ring network self joins first ethernet ring network as the transmission node of first ethernet ring network, and notifies other each nodes on second ethernet ring network to join first ethernet ring network as the transmission node of first ethernet ring network.
The host node of described second ethernet ring network self joins first ethernet ring network as the transmission node of first ethernet ring network and further comprises: what the host node of second ethernet ring network will block originally decontrols from port.
Described shared link fault message comprises the information of first ethernet ring network, the host node of described second ethernet ring network self joins first ethernet ring network as the transmission node of first ethernet ring network, and notify other each nodes on second ethernet ring network to join first ethernet ring network as the transmission node of first ethernet ring network to comprise: the host node of second ethernet ring network is according to the information of first ethernet ring network, self function setting become and the function of the transmission node of first ethernet ring network consistent, and transmission ring amplifying message is to other each nodes of second ethernet ring network, carry the information of first ethernet ring network in this ring amplifying message, this ring amplifying message in order to indicate described other each nodes self function setting become and the function of the transmission node of first ethernet ring network consistent.
Described shared link fault message is sent at regular intervals by shared node, and shared link fault message just is stopped transmission after shared node is received the ring amplifying message; Described ring amplifying message is continued to send at interval by described host node, no longer receives shared link fault message up to described host node within a preset time interval.
When the host node of second ethernet ring network is known the shared link fault recovery, the host node of described second ethernet ring network self withdraws from first ethernet ring network of adding, and notifies interior other nodes that add first ethernet ring network of this looped network to withdraw from first ethernet ring network of adding.
First ethernet ring network that the host node of described second ethernet ring network self withdraws from adding comprises: what will be in the relieving state returns to blocked state from port.
The host node of second ethernet ring network knows that the shared link fault recovery comprises: receive and share the shared link recovery message that node sends, when sharing node transmission shared link recovery message, pre-Extended Capabilities Port of blocking self is decontroled pre-Extended Capabilities Port of blocking when receiving the update of described host node transmission.
First ethernet ring network that the host node of described first ethernet ring network notifies the node of adding first ethernet ring network in other these looped networks to withdraw from adding comprises: the host node of described second ethernet ring network sends to encircle deletes message, adds the function cancellation of the node setting before of first ethernet ring network before in order to indication.
A kind of interworking Ethernet ring network fault handling method, this method comprises:
For each ring under this shared link, all nodes of the ring of ring sequence number maximum are joined respectively on off-peak each ring of ring sequence number as transmission node, simultaneously, decontrol ring sequence number maximum ring host node from port;
Described interworking Ethernet ring network comprises n ring: ring 1~n, wherein any two adjacent ring: ring m and ring m+1 intersect at a shared link, each ring has a host node and a plurality of transmission node, each ring has control VLAN and the data vlan of oneself, for arbitrary ring: ring m+1, the port on this ring also will add the control VLAN and the data vlan that encircle 1~m except the control VLAN and data vlan that add this ring, n 〉=2,1≤m≤n-1.
All nodes of the described ring that will encircle the sequence number maximum join respectively on off-peak each ring of ring sequence number as transmission node, simultaneously, decontrol the comprising from port of host node of the ring of ring sequence number maximum:
Described host node receives shared link fault message, decontrols from port, and transmits message from sending to refresh in the control VLAN of this ring from port, with each node updates forwarding-table item separately in the notice ring; Simultaneously, host node joins self respectively in each expanded ring as transmission node, and from master and slave port transmission ring amplifying message in this ring control VLAN, the ring ID that has comprised each expanded ring in this message, so that each transmission node receive the ring amplifying message after, this node is joined respectively in each expanded ring as transmission node;
Wherein, described shared link fault message is: the shared node perceived on the shared link is after this shared link fault, send to the host node of the ring of the ring sequence number maximum at this shared link place, comprised each expanded ring information in this shared link fault message, wherein, expanded ring is the off-peak ring of ring sequence number at this shared link place.
Described host node further comprises from master and slave port sends the ring amplifying message in this ring control VLAN after:
Host node does not receive the ring amplifying message that oneself sends in a preset number ring amplifying message sends at interval, then stop to send the ring amplifying message.
When described shared node was host node, the shared node perceived on the described shared link further comprised to this shared link fault:
Shared node as master port, continues Extended Capabilities Port to send hello packet at regular intervals from master port, and described Extended Capabilities Port is the port of last ring under pointing on the described shared node.
Described method further comprises:
When shared link recovered, for each ring under this shared link, all nodes that do not belong to this shared link on the ring with ring sequence number maximum withdrawed from from the off-peak ring of each ring sequence number, simultaneously, the host node of the ring of choke ring sequence number maximum from port.
Described each ring under this shared link, all nodes that do not belong to this shared link on the ring with ring sequence number maximum withdraw from from the off-peak ring of each ring sequence number, simultaneously, the comprising of the host node of the ring of choke ring sequence number maximum from port:
Host node receives shared link and recovers message, self is withdrawed from from described each expanded ring, the transmission looped network recovers to refresh and transmits message and encircle the deletion message in the control VLAN of this ring, wherein, looped network recovers to refresh to be transmitted message and is used for each node updates forwarding-table item of notice ring, and ring deletion message comprises each expanded ring information; So that after the transmission node on the non-described shared link received ring deletion message, each the expanded ring information according to this message comprises withdrawed from self from each expanded ring;
Described shared link recovers message: when the shared node perceived on the shared link is recovered to this shared link, send to the host node of the ring of described ring sequence number maximum, comprise each expanded ring information in this message, the off-peak ring of ring sequence number that described each expanded ring is this shared link place; Simultaneously, this shared node blocks in advance to Extended Capabilities Port, and Extended Capabilities Port is withdrawed from from the off-peak ring of each ring sequence number, and upgrades the forwarding-table item of self.
Described host node sends looped network and recovers to refresh and further comprise after transmitting message and ring deletion message in the control VLAN of this ring:
Described shared node receives looped network and recovers to refresh to transmit message, decontrols Extended Capabilities Port.
Described host node withdraws from self and comprises from described each expanded ring:
Ring ID, the control VLAN ID of each expanded ring of host node deletion self record and the mapping relations of data vlan ID withdraw from each port simultaneously from each expanded ring;
Transmission node on the described non-described shared link withdraws from self and comprises from each expanded ring:
Ring ID, the control VLAN ID of each expanded ring of transmission node deletion self record and the mapping relations of data vlan ID withdraw from each port simultaneously from each expanded ring.
Comprising of the host node of the ring of described choke ring sequence number maximum from port:
When the host node of the ring of described ring sequence number maximum after the described shared link fault, when receiving the own hello packet that in this ring is controlled VLAN, sends from port, block from port again.
Host node in a kind of interworking Ethernet ring network, this host node comprises: first module, be used to receive the shared link fault message that the shared node on the shared link is sent, each the expanded ring information that comprises according to this message, this node is joined in each expanded ring as transmission node, simultaneously, decontrol from port, wherein, expanded ring is the off-peak ring of ring sequence number at described shared link place.
Described first module comprises:
First submodule: receive the shared link fault message that the shared node on the shared link is sent, this message is transmitted to second submodule;
Second submodule: receive shared link fault message, decontrol, and transmit message, with each node updates forwarding-table item separately in the notice ring from the control VLAN of this ring, sending to refresh from port from port; Simultaneously, each the expanded ring information that comprises according to shared link fault message, this node is joined respectively in each expanded ring as transmission node, and from master and slave port transmission ring amplifying message in this ring control VLAN, the ring ID that has comprised each expanded ring in this message, so that after each transmission node receives this ring amplifying message, this node is joined respectively in each expanded ring as transmission node.
Described first module comprises:
The 3rd submodule: receive the shared link fault message that the shared node on the shared link is sent, this message is transmitted to the 4th submodule;
The 4th submodule: receive shared link fault message, decontrol, and transmit message, with each node updates forwarding-table item separately in the notice ring from the control VLAN of this ring, sending to refresh from port from port; Simultaneously, each the expanded ring information that comprises according to shared link fault message, create each expanded ring respectively, write down ring ID, the control VLAN ID of each expanded ring and the mapping relations of data vlan ID, and the master and slave port of this node joined in each expanded ring, and from master and slave port transmission ring amplifying message in this ring control VLAN, the ring ID that has comprised each expanded ring in this message, so that after each transmission node receives this ring amplifying message, this node is joined respectively in each expanded ring as transmission node.
Described host node further comprises: second module, be used to receive the shared link recovery message that the shared node on the shared link is sent, each the expanded ring information according to this message comprises withdraws from this node from each expanded ring, simultaneously, block this node from port.
Described second module comprises:
The 5th submodule: receive the shared link recovery message that the shared node on the shared link is sent, this message is transmitted to the 6th submodule;
The 6th submodule: receive shared link and recover message, this node is withdrawed from from described each expanded ring, the transmission looped network recovers to refresh and transmits message and encircle the deletion message in the control VLAN of this ring, wherein, looped network recovers to refresh to be transmitted message and is used for each node updates forwarding-table item of notice ring, ring deletion message comprises each expanded ring information, withdraws from from each expanded ring to notify each transmission node.
Shared node in a kind of interworking Ethernet ring network, should share node comprises: first module, be used for when perceiving this shared link fault, host node to the ring of the ring sequence number maximum at this shared link place sends shared link fault message, comprised each expanded ring information in the message, wherein, expanded ring is the off-peak ring of ring sequence number at this shared link place; When receiving the ring amplifying message of host node transmission, the receiving port that encircles amplifying message is joined on each expanded ring.
When described shared node is host node, described first module is further used for, when perceiving this shared link fault, with Extended Capabilities Port as master port, continuation sends hello packet at regular intervals from master port, and described Extended Capabilities Port is the port of the ring of the ring sequence number maximum under pointing on the described shared node.
Described shared node further comprises: second module is used for Extended Capabilities Port being blocked in advance, and Extended Capabilities Port being withdrawed from from each expanded ring, and upgrade the forwarding-table item of this node when perceiving the shared link recovery; The host node of while to the ring of the ring sequence number maximum at this shared link place sends shared link recovery message, comprises each expanded ring information in this message; When receiving the complete-flush FDB message that host node sends, decontrol Extended Capabilities Port.
Transmission node in a kind of interworking Ethernet ring network, this transmission node comprises: first module, be used for when receiving the ring amplifying message that host node sends, each the expanded ring information according to this message comprises joins this node respectively in each expanded ring as transmission node.
Described first module comprises:
First submodule: receive shared link fault message, notify second submodule with the receiving port number of message; Receive the ring amplifying message, message is transmitted to second submodule;
Second submodule: the receiving port number that receives and write down shared link fault message; Receive the ring amplifying message, each the expanded ring information that comprises according to this message, create each expanded ring respectively, write down ring ID, the control VLAN ID of each expanded ring and the mapping relations of data vlan ID, the receiving port of shared link fault message with the ring amplifying message joined in each expanded ring.
Described transmission node further comprises: second module, be used to receive the ring deletion message that host node is sent, and each the expanded ring information according to this message comprises withdraws from this node from each expanded ring.
Compared with prior art, the present invention has realized the troubleshooting of interworking Ethernet ring network, when shared link breaks down, has guaranteed the complete of ring by the expansion that encircles, thereby has guaranteed the stability of data forwarding.
Description of drawings
Fig. 1 is that existing RRPP typical case uses networking diagram intention;
Fig. 2 is the exemplary plot of the interworking Ethernet ring network in the embodiment of the invention;
The process flow figure of the common linkdown in the interworking Ethernet ring network that Fig. 3 provides for the embodiment of the invention;
The processing exemplary plot of embodiment of the invention when Fig. 4 is a common linkdown in the interworking Ethernet ring network;
The process flow figure of shared link down in the interworking Ethernet ring network that Fig. 5 provides for the embodiment of the invention;
The processing exemplary plot of embodiment of the invention when Fig. 6 is shared link CD down in the interworking Ethernet ring network;
When being shared link CD down in the interworking Ethernet ring network, adopts Fig. 7 the interworking Ethernet ring network networking diagram after the embodiment of the invention expansion;
Fig. 8 is behind shared link CD down, the interworking Ethernet ring network networking diagram during sharing E F down after the expansion;
The process flow figure of common link-recovery in the interworking Ethernet ring network that Fig. 9 provides for the embodiment of the invention;
The process flow figure that shared link recovers in the interworking Ethernet ring network that Figure 10 provides for the embodiment of the invention;
Figure 11 is the processing exemplary plot of the embodiment of the invention when recovering of the shared link EF in the interworking Ethernet ring network;
The composition diagram of the host node in the interworking Ethernet ring network that Figure 12 provides for the embodiment of the invention.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The present invention mainly provides the linkdown of interworking Ethernet ring network and the solution of recovery:
Fig. 2 has provided the exemplary plot of the interworking Ethernet ring network in the embodiment of the invention, and as shown in Figure 2, the structure of interworking Ethernet ring network is as follows:
In interworking Ethernet ring network, there is the individual ring of n (n 〉=2).Any two adjacent ring: ring m, (1≤m≤n-1) intersects at a shared link to ring m+1.Wherein, each ring has unique ring ID.Each ring all has the control VLAN (VLAN, Virtual Local Area Network) of oneself, and the data vlan of each ring can be the same or different.For any one ring: ring m+1, the port on this ring also will add control VLAN and the data vlan that encircles 1~m except the control VLAN that adds this ring and data vlan, encircle control VLAN and the data vlan that port on 1 only adds this ring and get final product.
When making up interworking Ethernet ring network, need carry out following configuration and appointment:
One, main (master) node of configuration and transmission (transit) node.
Each ring has oneself a unique master node and an a plurality of transit node.Under initial condition, the master node of each ring sends greeting (hello) message on the master port in the control VLAN of this ring respectively at regular intervals, and is monitoring hello packet from port, when blocking from port when port listens to hello packet; And the transit node is only transmitted hello packet.
Two, specify shared node and shared port.
Two crossing links of ring are shared link, and the port that connects shared link is a shared port, and the node at place, shared link two ends is for sharing node.When initial, share node and carry out the shared link detection of connectivity by sending shared link greeting (share link hello) message at regular intervals, just the shared node in two ends all sends share link hello packet at regular intervals from shared port, the opposite end is shared node and is received that share link hello packet returns from receiving port again, if transmit port does not receive that at 3 share link hello share link hello packet will think shared link down at interval.
Wherein, the form of share link hello packet is as shown in table 1:
Figure BSA00000475821500111
The form of table 1 share link hello packet
Wherein, main field implication is as follows:
1, Ethernet ring protection mechanism version (Ethernet ring protection mechanism VER): Ethernet ring protection mechanism version number, value 2 in the embodiment of the invention, to distinguish with existing Ethernet ring protection mechanism version;
2, Ethernet ring protection mechanism type (Ethernet ring protection mechanism TYPE): type of message, here, but value is 0x11, is expressed as share link hello packet;
3, message length: be the total length of message;
4, ring ID (Ring ID): be the ring ID of the ring of ring sequence number maximum in the ring at shared link place.
Three, specify Extended Capabilities Port.
Port towards big ring one side of ring sequence number on the shared node is an Extended Capabilities Port.
The interworking Ethernet ring network initial condition is the up state, and the master node of each ring sends hello packet by master port, when when receiving this hello packet from port, blocks from port, to guarantee not having loop in the network.Simultaneously, send the shared link hello packet between the shared node at shared link two ends and carry out the shared link detection of connectivity.
Will cause corresponding ring to enter the Fail state when in the interworking Ethernet ring network linkdown being arranged, and linkdown can be divided into common linkdown and shared link down, it is different handling for both of these case.
The process flow figure of the common linkdown in the interworking Ethernet ring network that Fig. 3 provides for the embodiment of the invention, as shown in Figure 3, its key step is as follows:
Step 301: the common linkdown of a node perceived on the interworking Ethernet ring network sends link failure (link down) message in the state at this link place is the control VLAN of ring of up.
Step 302: the master node of ring receives link down message, decontrols from port, and transmit (common-flush-FDB) message from sending to refresh from port in the control VLAN of this ring.
Step 303: the Transit node of ring receives the common-flush-FDB message, upgrades the MAC/ARP/ND list item of self according to this message.
So far, the state of the common link place of down ring is converted to down from up.
As seen, when the common linkdown on the interworking Ethernet ring network, processing mode is identical with the processing mode of existing RRPP agreement.
The processing exemplary plot of embodiment of the invention when Fig. 4 has provided common linkdown in the interworking Ethernet ring network, as shown in Figure 4, linkdown between Node B, C, Node B and C perceive the back only can send link down message in the control VLAN of main ring 1, decontrol after the Master node of ring 1 is received this message from port; Linkdown between node C, F, node C and F perceive the back and only send link down message in the control VLAN of subring 2, decontrol from port after the master node of ring 2 is received this message.Handle roughly the same during the common linkdown of ring 3,4.
The process flow figure of shared link down in the interworking Ethernet ring network that Fig. 5 provides for the embodiment of the invention, 1,2,3 in the present embodiment, the ring ID that supposes ring 1~n is with to encircle sequence number identical, and the ring ID that promptly encircles 1~n is followed successively by: ..., n, as shown in Figure 5, its key step is as follows:
Step 501: one on the interworking Ethernet ring network shared the shared link down of node perceived to self place, beginning sends a share link down message from Extended Capabilities Port to the master node of the ring of the ID at this shared link place maximum at interval every a share link down, the ring ID of each expanded ring, the control VLAN ID and the data vlan ID of each expanded ring have been comprised in the message, wherein, expanded ring is the off-peak ring of ID at this shared link place.
The form of share link down message is identical with share link hello packet.Wherein, the value of Ethernet ring protection mechanism TYPE can be 0x12, is expressed as share link down message; Ring ID is the ring of the ID maximum at shared link place.
When sharing node perceived to the shared link down at self place, shared node determines that the state of ring of the ring ID maximum at self place becomes fail.
Shared node can not send share link down message to the master node of the off-peak ring of the ID at this shared link place.
If the shared node in this step is the master node, then sharing node also can be with Extended Capabilities Port as master port, and continues to send hello packet at regular intervals from master port.
Step 502:transit node receives share link down message, the receiving port number of recorded message, and the master node of Xiang Benhuan is transmitted this message.
When the transit node receives share link down message, determine that the state of this ring becomes fail.
Step 503:master node receives share link down message, decontrols from port, and from sending the common-flush-FDB message from port in the control VLAN of this ring, goes up all node updates MAC/ARP/ND list item separately to notify this ring.
When the master node receives share link down message, determine that the state of this ring becomes fail.
Behind each node updates MAC/ARP/ND list item separately, the data flow of this ring then switches on the normal link.
The ring of each expanded ring ID that step 504:master node establishment share link down message comprises, the ring ID of each expanded ring that record is created and the control VLAN ID of this ring, the mapping relations of data vlan ID, and promptly with the master port of oneself and each expanded ring of joining establishment from port, set up master port number, from the mapping relations of the ring ID of each expanded ring of port numbers and establishment, in this ring control VLAN, send ring expansion (ring extend) message from master and slave port at regular intervals then, comprised the ring ID of each expanded ring in this message.
The form of ring extend message is as shown in table 2:
Figure BSA00000475821500141
The form of table 2 ring extend message
As shown in table 2, compare with share link hello packet, mainly increased Ring List Length and Ring List field, wherein:
The Ethernet ring protection mechanism type: but value is 0x14 here, is expressed as ring extend message;
Circular row table: the ring ID of expression expanded ring.
Step 505: node receives ring extend message in the ring, the ring of each expanded ring ID that the establishment message comprises, and with the receiving port of ring extend message and the receiving port of the share link down message of preserving before join on each expanded ring of establishment promptly, the mapping relations of the ring ID of the receiving port number of the share link down message of set up the receiving port number of ring extend message, preserving before and each expanded ring of establishment continue to transmit ring extend message simultaneously in the control VLAN of this ring.
When the shared node on the shared link of down receives the ring extend message of master node transmission, stop to send share link down message, and directly the receiving port of ring extend message is joined on the ring of each expanded ring ID that ring extend message comprises promptly, set up the mapping relations of receiving port number and each expanded ring ID that ring extend message comprises of ring extend message.
If the master node is not also received share link down message at 3 times share link down at interval, think that then the ring expansion finishes and stops to send ring extend message.
Embodiment illustrated in fig. 5 by Extended ID circlet on the big ring of ID, thus kept ID circlet state constant.
The processing exemplary plot of embodiment of the invention when Fig. 6 has provided the shared link CD down in the interworking Ethernet ring network, as shown in Figure 6, processing procedure is specific as follows:
Step 01: share node C, D and perceived shared link CD down, ring to the ring ID at shared link CD place maximum: the master node E of ring 2 sends share link down message, and message comprises expanded ring: the ring ID of ring 1 and control VLAN ID and the data vlan ID that encircles 1.
Step 02:transit node F receives share link down message, and the receiving port number of recorded message is also transmitted this message.
Step 03:share link down message arrives master node E, master node E at first decontrols from port, and from encircling at this: send the common-flush-FDB message in the control VLAN of ring 2 from port, create the ring of the expanded ring ID that message comprises then: ring 1, and with oneself master port and join the expanded ring of new establishment from port: on the ring 1, send ring extend message at regular intervals from master port with from port, ring extend message comprises the ring ID of ring 1 and control VLAN ID, the data vlan ID that encircles 1.
Step 04:transit node F receives ring extend message, creates the ring of the expanded ring ID that message comprises: ring 1, and with the receiving port of ring extend message and before the receiving port of the share link down message of record join and encircle in 1.
Step 05: share node C, D and receive ring extend message, stop to send share link down message, and the receiving port of ring extend message is joined the ring of the expanded ring ID that ring extend message comprises: on the ring 1.
So far finished and encircled 1 expansion to ring 2.
When having provided the shared link CD down in the interworking Ethernet ring network, adopts Fig. 7 the interworking Ethernet ring network networking diagram after the embodiment of the invention is expanded, as shown in Figure 7, node in the ring 2 becomes the Transit node of ring 1, and all behaviors are the same with the behavior of Node B, and encircle the variation less than ring1 of 1 master node perceived.At this moment, ring 1 state is up, and encircle 2 since link CD down its state be fail.
In like manner, when shared link EF down, can realize encircling 2 expansions afterwards to ring 3.Fig. 8 has provided behind shared link CD down, interworking Ethernet ring network networking diagram during sharing E F down after the expansion, as shown in Figure 8, ring 1 is finished the expansion to ring 2 behind shared link CD down, shared link EF becomes ring 1 so, the shared link of ring 2 and ring 3, if shared link EF down afterwards, share node E so, F only can be to the ring of ring ID maximum: the master of ring 3 sends share link down message, and only comprise ring 1 in the message, the ring ID of ring 2, and encircle 1, ring 2 control VLANID and data vlan ID separately, so last ring 1 and ring 2 continue to expand in the ring 3, but encircle 2,3 state is that to encircle 1 state be up to fail.
When common linkdown appearred in the ring after the expansion, processing mode was with embodiment illustrated in fig. 4 identical.
Corresponding with the interworking Ethernet ring network linkdown, the interworking Ethernet ring network link-recovery is divided into common link-recovery and shared link recovers, and it is different handling for both of these case.
The process flow figure of common link-recovery in the interworking Ethernet ring network that Fig. 9 provides for the embodiment of the invention, as shown in Figure 9, its concrete steps are as follows:
Step 901: a transit node detection of interworking Ethernet ring network is blocked the port on this link in advance to a common link-recovery at self place.
Step 902:master node behind the common linkdown from receive the own hello packet that in this ring is controlled VLAN, sends from port, then think common link-recovery, again block from port, and in the control VLAN of this ring, send looped network from master port and recover to refresh and transmit (complete-flush FDB) message, with notice transit node updates MAC/ARP/ND list item.
Step 903:transit node receives complete-flush FDB message, upgrades the MAC/ARP/ND list item of self, and if self there is pre-port blocked, then decontrols this pre-port blocked, to guarantee can not have loop on the looped network temporarily.
The process flow figure that shared link recovers in the interworking Ethernet ring network that Figure 10 provides for the embodiment of the invention, 1,2,3 in the present embodiment, the ring ID that supposes ring 1~n is with to encircle sequence number identical, and the ring ID that promptly encircles 1~n is followed successively by: ..., n, as shown in figure 10, its concrete steps are as follows:
Shared node on the shared link of step 1001:down receives the share link hello packet that oneself sends, think that this shared link recovers, Extended Capabilities Port is blocked in advance, and Extended Capabilities Port withdrawed from from off-peak each ring of the ring ID at this shared link place, and upgrade the MAC/ARP/ND list item of self; The master node of while to the ring of the ring ID at this shared link place maximum sends share link up message, comprises each expanded ring ID in the message promptly, ring ID of off-peak each ring of the ring ID at this shared link place.
The form of share link up message is identical with share link hello packet.Wherein, the value of Ethernet ring protection mechanism TYPE can be 0x13, is expressed as share link up message; Ring ID is the ring of the ID maximum at shared link place.
In this step, when sharing node and receive the share link hello packet of own transmission, think that the state of ring of ring ID maximum at shared link place becomes up by fail.
If the shared node in this step is the master node, also needs master port is moved on the shared port from Extended Capabilities Port, and continue on master port, to send at regular intervals hello packet.
Step 1002:master node is being shared the share link up message that node sends from receiving the own hello packet that sends from port or receive in this ring control VLAN behind the shared link down, think that then the shared link of this ring recovers, according to expanded ring ID promptly, the ring ID of off-peak each ring of the ring ID at this shared link place, delete all information corresponding with each expanded ring ID, and in the control VLAN of this ring, send the complete-flush-FDB message and encircle deletion (delete ring message), wherein, comprised each expanded ring ID in the delete ring message.
The form of delete ring message is identical with ring extend.Wherein, but Ethernet ring protection mechanism TYPE value is 0x15, is expressed as delete ring message.
When the master node behind the shared link down when receiving the own hello packet that in this ring control VLAN, sends from port or receive the share link up message of sharing the node transmission, think that the state of this ring becomes up by fail.
When the master node behind the shared link down when receiving the own hello packet that in this ring is controlled VLAN, sends from port, can block from port again.
Here, the information of deletion comprises: the mapping relations of the port numbers of the control VLAN ID of each expanded ring ID, each expanded ring ID and this ring and the mapping relations of data vlan ID, each expanded ring ID and this ring of adding.
Step 1003: the transit node on the shared link of non-down receives complete-flush FDB message, upgrades the MAC/ARP/ND list item of self according to this message; Receive delete ring message, each the expanded ring ID according to this message comprises deletes all information corresponding with this expanded ring ID.
When the transit node receives complete-flush FDB message or delete ring message, think that the state of this ring becomes up by fail.
Here, the information of deletion comprises: the mapping relations of the port numbers of the mapping relations of each expanded ring ID, each the expanded ring ID that delete ring message comprises and the control VLAN ID of this ring and data vlan ID, each expanded ring ID and this ring of adding.
When the shared node on the shared link of down receives complete-flush FDB message, also need decontrol Extended Capabilities Port.
Figure 11 has provided the processing exemplary plot of the embodiment of the invention when shared link EF in the interworking Ethernet ring network recovers, and as shown in figure 11, processing procedure is specific as follows:
Step 01: share node E, F and perceive shared link EF recovery, with Extended Capabilities Port from encircling 1, withdrawing from the ring 2, Extended Capabilities Port is blocked in advance, and upgrade self MAC/ARP/ND list item, simultaneously to the ring of the ring ID at shared link EF place maximum: the master node G of ring 3 sends share link up message, and message comprises expanded ring: the ring ID of ring 1 and ring 2.
The Extended Capabilities Port of sharing node E, F has withdrawed from from encircling 1,2, but still belongs to ring 3, therefore, block in advance Extended Capabilities Port.
Step 02:master node G receives share link up message, deletion with encircle 1,2 all corresponding information, and at this ring: transmission complete-flush-FDB message and delete ring message in the control VLAN of ring 3, wherein, comprised in the delete ring message and encircled 1 and ring 2 ring ID.
Step 03:transit node H receives complete-flush FDB message, upgrades the MAC/ARP/ND list item of self according to this message; Receive delete ring message, deletion is with ring 1 and encircle all corresponding information of ring ID of 2; Share node E, F and receive complete-flush FDB message, decontrol Extended Capabilities Port.
So far finished and encircled 1, encircled 2 retraction, the state of ring 3 becomes up by fail.
After shared link EF recovers, when shared link CD also recovers, processing procedure is specific as follows:
01: share node C, D Extended Capabilities Port is withdrawed from from encircling 1, Extended Capabilities Port is blocked in advance, and upgrade the MAC/ARP/ND list item of self, send share link up message to the master node E of ring 2 simultaneously, message comprises expanded ring: the ring ID of ring 1.
Step 02:master node E receives share link up message, deletion with encircle 1 all corresponding information, and at this ring: transmission complete-flush-FDB message and delete ring message in the control VLAN of ring 2 wherein, have comprised in the delete ring message and have encircled 1 ring ID.
Step 03:transit node F receives complete-flush FDB message, upgrades the MAC/ARP/ND list item of self according to this message; 1 all corresponding information are deleted and encircled to reception delete ring message; Share node C, D and receive complete-flush FDB message, decontrol Extended Capabilities Port.
So far, the state of ring 1,2,3 all is up.
The composition diagram of the host node in the interworking Ethernet ring network that Figure 12 provides for the embodiment of the invention, as shown in figure 12, this host node comprises: first module, second module and three module, wherein:
First module: receive the shared link fault message that the shared node on the shared link is sent, each the expanded ring information that comprises according to this message, with each expanded ring information stores in three module, this node is joined in each expanded ring as transmission node, simultaneously, relieving is from port, and wherein, expanded ring is the interlocutory ring at described shared link place.
Second module: receive the shared link recovery message that the shared node on the shared link is sent, each expanded ring information according to this message comprises withdraws from this node from each expanded ring, delete each the expanded ring information in the three module, simultaneously, block this node from port.
Three module: store each expanded ring information.
First module can comprise: first submodule and second submodule, wherein:
First submodule: receive the shared link fault message that the shared node on the shared link is sent, this message is transmitted to second submodule.
Second submodule: receive the shared link fault message that first submodule is sent, decontrol from port, and from the control VLAN of this ring, sending the common-flush-FDB message from port, with each node updates forwarding-table item separately in the notice ring; Simultaneously, each the expanded ring information that comprises according to shared link fault message, this node is joined respectively in each expanded ring as transmission node, and from master and slave port transmission ring amplifying message in this ring control VLAN, the ring ID that has comprised each expanded ring in this message, so that after each transmission node receives this ring amplifying message, this node is joined respectively in each expanded ring as transmission node.
Perhaps, first module can comprise: the 3rd submodule and the 4th submodule, wherein:
The 3rd submodule: receive the shared link fault message that the shared node on the shared link is sent, this message is transmitted to the 4th submodule.
The 4th submodule: receive the shared link fault message that the 3rd submodule is sent, decontrol from port, and from the control VLAN of this ring, sending the common-flush-FDB message from port, with each node updates forwarding-table item separately in the notice ring; Simultaneously, each the expanded ring information that comprises according to shared link fault message, create each expanded ring respectively, write down ring ID, the control VLAN ID of each expanded ring and the mapping relations of data vlan ID, and the master and slave port of this node joined in each expanded ring, and from master and slave port transmission ring amplifying message in this ring control VLAN, the ring ID that has comprised each expanded ring in this message, so that after each transmission node receives this ring amplifying message, this node is joined respectively in each expanded ring as transmission node.
Second module can comprise: the 5th submodule and the 6th submodule, wherein:
The 5th submodule: receive the shared link recovery message that the shared node on the shared link is sent, this message is transmitted to the 6th submodule.
The 6th submodule: receive the shared link recovery message that the 5th submodule is sent, this node is withdrawed from from described each expanded ring, in the control VLAN of this ring, send complete-flush-FDB message and ring deletion message, wherein, the complete-flush-FDB message is used for each node updates forwarding-table item of notice ring, ring deletion message comprises each expanded ring information, withdraws from from each expanded ring to notify each transmission node.
Below provide the composition of the shared node in the interworking Ethernet ring network, comprising: first module and second module, wherein:
First module: when perceiving this shared link fault, send shared link fault message to the host node of last ring at this shared link place, comprised each expanded ring information in the message, wherein, expanded ring is the interlocutory ring at this shared link place; When receiving the ring amplifying message of host node transmission, the receiving port that encircles amplifying message is joined on each expanded ring.
When shared node is host node, first module is further used for, when perceiving this shared link fault, with Extended Capabilities Port as master port, continuation sends hello packet at regular intervals from master port, and described Extended Capabilities Port is the port of last ring under pointing on the described shared node.
Second module: when perceiving the shared link recovery, Extended Capabilities Port is blocked in advance, and Extended Capabilities Port is withdrawed from from each expanded ring, and upgrade the forwarding-table item of this node; The host node of while to last ring at this shared link place sends shared link recovery message, comprises each expanded ring information in this message; When receiving the complete-flush FDB message that host node sends, decontrol Extended Capabilities Port.
Below provide the composition of the transmission node in the interworking Ethernet ring network, comprising: first module and second module, wherein:
First module: when receiving the ring amplifying message that host node sends, each the expanded ring information according to this message comprises joins this node respectively in each expanded ring as transmission node.
Second module: receive the ring deletion message that host node is sent, each the expanded ring information according to this message comprises withdraws from this node from each expanded ring.
First module can comprise: first submodule and second submodule, wherein:
First submodule: receive shared link fault message, notify second submodule with the receiving port number of message; Receive the ring amplifying message, message is transmitted to second submodule.
Second submodule: the receiving port number that receives and write down the shared link fault message that first submodule sends; Receive the ring amplifying message, each extend information that comprises according to this message, create each expanded ring respectively, write down ring ID, the control VLAN ID of each expanded ring and the mapping relations of data vlan ID, the receiving port of shared link fault message with the ring amplifying message joined in each expanded ring.
Below provide the composition of the host node in the intersecting ring network that the embodiment of the invention provides, it mainly comprises: processor and memory, wherein:
Processor: be used for communicating the computer program code in the execute store with memory.
Memory: storage computation machine program code, completing steps when this code is carried out by processor: receive the shared link fault message that the shared node on the shared link is sent, each the expanded ring information that comprises according to this message, this host node is joined in each expanded ring as transmission node, simultaneously, relieving is from port, and wherein, expanded ring is the off-peak ring of ring sequence number at described shared link place.
Described code is further used for completing steps: when the shared link fault message that the shared node that receives on the shared link is sent is also decontroled behind port, transmit message from the control VLAN of this ring, sending to refresh, with each node updates forwarding-table item separately in the notice ring from port; Simultaneously, in this ring control VLAN, send the ring amplifying message, comprised the ring ID of each expanded ring in this message, so that after each transmission node receives this ring amplifying message, this node is joined respectively in each expanded ring as transmission node from master and slave port.
Described code is further used for completing steps: each the expanded ring information that comprises according to shared link fault message, create each expanded ring respectively, write down ring ID, the control VLAN ID of each expanded ring and the mapping relations of data vlan ID, and the master and slave port of this node is joined in each expanded ring.
Described code is further used for completing steps: receive the shared link that the shared node on the shared link sends and recover message, each the expanded ring information according to this message comprises withdraws from this node from each expanded ring, simultaneously, block this node from port.
Described code is further used for completing steps: after this node is withdrawed from from described each expanded ring, the transmission looped network recovers to refresh and transmits message and encircle the deletion message in the control VLAN of this ring, wherein, looped network recovers to refresh to be transmitted message and is used for each node updates forwarding-table item of notice ring, ring deletion message comprises each expanded ring information, withdraws from from each expanded ring to notify each transmission node.
Below provide the composition of the shared node in the interworking Ethernet ring network that the embodiment of the invention provides, this shared node comprises: processor and memory, wherein:
Processor: be used for communicating the computer program code in the execute store with memory.
Memory: storage computation machine program code, completing steps when this code is carried out by processor: when perceiving this shared link fault, host node to the ring of the ring sequence number maximum at this shared link place sends shared link fault message, comprised each expanded ring information in the message, wherein, expanded ring is the off-peak ring of ring sequence number at this shared link place; When receiving the ring amplifying message of host node transmission, the receiving port that encircles amplifying message is joined on each expanded ring.
When described shared node is host node, described code is further used for completing steps: when perceiving this shared link fault, with Extended Capabilities Port as master port, continuation sends hello packet at regular intervals from master port, and described Extended Capabilities Port is the port of the ring of the ring sequence number maximum under pointing on the described shared node.
Described code is further used for completing steps: when perceiving the shared link recovery, Extended Capabilities Port is blocked in advance, and Extended Capabilities Port is withdrawed from from each expanded ring, and upgrade the forwarding-table item of this node; The host node of while to the ring of the ring sequence number maximum at this shared link place sends shared link recovery message, comprises each expanded ring information in this message; When receiving the complete-flush FDB message that host node sends, decontrol Extended Capabilities Port.
Below provide the composition of the transmission node in the interworking Ethernet ring network that the embodiment of the invention provides, this transmission node comprises: processor and memory, wherein:
Processor: be used for communicating the computer program code in the execute store with memory.
Memory: storage computation machine program code, completing steps when this code is carried out by processor: when receiving the ring amplifying message that host node sends, each expanded ring information according to this message comprises joins this node respectively in each expanded ring as transmission node.
Described code is further used for completing steps: receive shared link fault message, the receiving port number of record shared link fault message; Each the expanded ring information that comprises according to the ring amplifying message that receives, create each expanded ring respectively, write down ring ID, the control VLAN ID of each expanded ring and the mapping relations of data vlan ID, the receiving port of shared link fault message with the ring amplifying message joined in each expanded ring.
Described code is further used for completing steps: receive the ring deletion message that host node is sent, each the expanded ring information according to this message comprises withdraws from this node from each expanded ring.
The memory that the embodiment of the invention is mentioned comprises floppy disk, hard disk, magneto optical disk, CD (as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), tape, Nonvolatile memory card and ROM.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (28)

1. an interworking Ethernet ring network fault handling method is characterized in that, this method comprises:
Described interworking Ethernet ring network comprises first ethernet ring network and second ethernet ring network, described first ethernet ring network comprises host node and transmission node, described second ethernet ring network comprises host node and transmission node, described first ethernet ring network and second ethernet ring network intersect at one and share link, when described shared link breaks down, host node at second ethernet ring network is not when sharing node, the host node of second ethernet ring network receives shares the shared link fault message that node sends, the host node of described second ethernet ring network self joins first ethernet ring network as the transmission node of first ethernet ring network, and notifies other each nodes on second ethernet ring network to join first ethernet ring network as the transmission node of first ethernet ring network.
2. method according to claim 1, it is characterized in that the host node of described second ethernet ring network self joins first ethernet ring network as the transmission node of first ethernet ring network and further comprises: what the host node of second ethernet ring network will block originally decontrols from port.
3. method according to claim 2, it is characterized in that, described shared link fault message comprises the information of first ethernet ring network, the host node of described second ethernet ring network self joins first ethernet ring network as the transmission node of first ethernet ring network, and notify other each nodes on second ethernet ring network to join first ethernet ring network as the transmission node of first ethernet ring network to comprise: the host node of second ethernet ring network is according to the information of first ethernet ring network, self function setting become and the function of the transmission node of first ethernet ring network consistent, and transmission ring amplifying message is to other each nodes of second ethernet ring network, carry the information of first ethernet ring network in this ring amplifying message, this ring amplifying message in order to indicate described other each nodes self function setting become and the function of the transmission node of first ethernet ring network consistent.
4. method according to claim 1 is characterized in that, described shared link fault message is sent at regular intervals by shared node, and shared link fault message just is stopped transmission after shared node is received the ring amplifying message; Described ring amplifying message is continued to send at interval by described host node, no longer receives shared link fault message up to described host node within a preset time interval.
5. method according to claim 1, it is characterized in that, when the host node of second ethernet ring network is known the shared link fault recovery, the host node of described second ethernet ring network self withdraws from first ethernet ring network of adding, and notifies interior other nodes that add first ethernet ring network of this looped network to withdraw from first ethernet ring network of adding.
6. method according to claim 1 is characterized in that, first ethernet ring network that the host node of described second ethernet ring network self withdraws from adding comprises: what will be in the relieving state returns to blocked state from port.
7. method according to claim 1, it is characterized in that, the host node of second ethernet ring network knows that the shared link fault recovery comprises: receive and share the shared link recovery message that node sends, when sharing node transmission shared link recovery message, pre-Extended Capabilities Port of blocking self is decontroled pre-Extended Capabilities Port of blocking when receiving the update of described host node transmission.
8. method according to claim 6, it is characterized in that: first ethernet ring network that the host node of described first ethernet ring network notifies the node of adding first ethernet ring network in other these looped networks to withdraw from adding comprises: the host node of described second ethernet ring network sends to encircle deletes message, adds the function cancellation of the node setting before of first ethernet ring network before in order to indication.
9. an interworking Ethernet ring network fault handling method is characterized in that, this method comprises:
For each ring under this shared link, all nodes of the ring of ring sequence number maximum are joined respectively on off-peak each ring of ring sequence number as transmission node, simultaneously, decontrol ring sequence number maximum ring host node from port;
Described interworking Ethernet ring network comprises n ring: ring 1~n, wherein any two adjacent ring: ring m and ring m+1 intersect at a shared link, each ring has a host node and a plurality of transmission node, each ring has control VLAN and the data vlan of oneself, for arbitrary ring: ring m+1, the port on this ring also will add the control VLAN and the data vlan that encircle 1~m except the control VLAN and data vlan that add this ring, n 〉=2,1≤m≤n-1.
10. method according to claim 9 is characterized in that, all nodes of the described ring that will encircle the sequence number maximum join respectively on off-peak each ring of ring sequence number as transmission node, simultaneously, decontrols the comprising from port of host node of the ring of ring sequence number maximum:
Described host node receives shared link fault message, decontrols from port, and transmits message from sending to refresh in the control VLAN of this ring from port, with each node updates forwarding-table item separately in the notice ring; Simultaneously, host node joins self respectively in each expanded ring as transmission node, and from master and slave port transmission ring amplifying message in this ring control VLAN, the ring ID that has comprised each expanded ring in this message, so that each transmission node receive the ring amplifying message after, this node is joined respectively in each expanded ring as transmission node;
Wherein, described shared link fault message is: the shared node perceived on the shared link is after this shared link fault, send to the host node of the ring of the ring sequence number maximum at this shared link place, comprised each expanded ring information in this shared link fault message, wherein, expanded ring is the off-peak ring of ring sequence number at this shared link place.
11. method according to claim 10 is characterized in that, described host node further comprises from master and slave port sends the ring amplifying message in this ring control VLAN after:
Host node does not receive the ring amplifying message that oneself sends in a preset number ring amplifying message sends at interval, then stop to send the ring amplifying message.
12. method according to claim 10 is characterized in that, when described shared node was host node, the shared node perceived on the described shared link further comprised to this shared link fault:
Shared node as master port, continues Extended Capabilities Port to send hello packet at regular intervals from master port, and described Extended Capabilities Port is the port of last ring under pointing on the described shared node.
13. method according to claim 9 is characterized in that, described method further comprises:
When shared link recovered, for each ring under this shared link, all nodes that do not belong to this shared link on the ring with ring sequence number maximum withdrawed from from the off-peak ring of each ring sequence number, simultaneously, the host node of the ring of choke ring sequence number maximum from port.
14. method according to claim 13, it is characterized in that, described for each ring under this shared link, all nodes that do not belong to this shared link on the ring with ring sequence number maximum withdraw from from the off-peak ring of each ring sequence number, simultaneously, comprising of the host node of the ring of choke ring sequence number maximum from port:
Host node receives shared link and recovers message, self is withdrawed from from described each expanded ring, the transmission looped network recovers to refresh and transmits message and encircle the deletion message in the control VLAN of this ring, wherein, looped network recovers to refresh to be transmitted message and is used for each node updates forwarding-table item of notice ring, and ring deletion message comprises each expanded ring information; So that after the transmission node on the non-described shared link received ring deletion message, each the expanded ring information according to this message comprises withdrawed from self from each expanded ring;
Described shared link recovers message: when the shared node perceived on the shared link is recovered to this shared link, send to the host node of the ring of described ring sequence number maximum, comprise each expanded ring information in this message, the off-peak ring of ring sequence number that described each expanded ring is this shared link place; Simultaneously, this shared node blocks in advance to Extended Capabilities Port, and Extended Capabilities Port is withdrawed from from the off-peak ring of each ring sequence number, and upgrades the forwarding-table item of self.
15. method according to claim 14 is characterized in that, described host node sends looped network and recovers to refresh and further comprise after transmitting message and ring deletion message in the control VLAN of this ring:
Described shared node receives looped network and recovers to refresh to transmit message, decontrols Extended Capabilities Port.
16. method according to claim 13 is characterized in that, described host node withdraws from self and comprises from described each expanded ring:
Ring ID, the control VLAN ID of each expanded ring of host node deletion self record and the mapping relations of data vlan ID withdraw from each port simultaneously from each expanded ring;
Transmission node on the described non-described shared link withdraws from self and comprises from each expanded ring:
Ring ID, the control VLAN ID of each expanded ring of transmission node deletion self record and the mapping relations of data vlan ID withdraw from each port simultaneously from each expanded ring.
17. method according to claim 13 is characterized in that, the comprising from port of the host node of the ring of described choke ring sequence number maximum:
When the host node of the ring of described ring sequence number maximum after the described shared link fault, when receiving the own hello packet that in this ring is controlled VLAN, sends from port, block from port again.
18. the host node in the interworking Ethernet ring network, it is characterized in that, this host node comprises: first module, be used to receive the shared link fault message that the shared node on the shared link is sent, each the expanded ring information according to this message comprises joins this node in each expanded ring as transmission node, simultaneously, relieving is from port, and wherein, expanded ring is the off-peak ring of ring sequence number at described shared link place.
19. host node according to claim 18 is characterized in that, described first module comprises:
First submodule: receive the shared link fault message that the shared node on the shared link is sent, this message is transmitted to second submodule;
Second submodule: receive shared link fault message, decontrol, and transmit message, with each node updates forwarding-table item separately in the notice ring from the control VLAN of this ring, sending to refresh from port from port; Simultaneously, each the expanded ring information that comprises according to shared link fault message, this node is joined respectively in each expanded ring as transmission node, and from master and slave port transmission ring amplifying message in this ring control VLAN, the ring ID that has comprised each expanded ring in this message, so that after each transmission node receives this ring amplifying message, this node is joined respectively in each expanded ring as transmission node.
20. host node according to claim 18 is characterized in that, described first module comprises:
The 3rd submodule: receive the shared link fault message that the shared node on the shared link is sent, this message is transmitted to the 4th submodule;
The 4th submodule: receive shared link fault message, decontrol, and transmit message, with each node updates forwarding-table item separately in the notice ring from the control VLAN of this ring, sending to refresh from port from port; Simultaneously, each the expanded ring information that comprises according to shared link fault message, create each expanded ring respectively, write down ring ID, the control VLAN ID of each expanded ring and the mapping relations of data vlan ID, and the master and slave port of this node joined in each expanded ring, and from master and slave port transmission ring amplifying message in this ring control VLAN, the ring ID that has comprised each expanded ring in this message, so that after each transmission node receives this ring amplifying message, this node is joined respectively in each expanded ring as transmission node.
21. host node according to claim 18, it is characterized in that, described host node further comprises: second module, be used to receive the shared link recovery message that the shared node on the shared link is sent, each the expanded ring information that comprises according to this message, this node is withdrawed from from each expanded ring, simultaneously, block this node from port.
22. host node according to claim 21 is characterized in that, described second module comprises:
The 5th submodule: receive the shared link recovery message that the shared node on the shared link is sent, this message is transmitted to the 6th submodule;
The 6th submodule: receive shared link and recover message, this node is withdrawed from from described each expanded ring, the transmission looped network recovers to refresh and transmits message and encircle the deletion message in the control VLAN of this ring, wherein, looped network recovers to refresh to be transmitted message and is used for each node updates forwarding-table item of notice ring, ring deletion message comprises each expanded ring information, withdraws from from each expanded ring to notify each transmission node.
23. the shared node in the interworking Ethernet ring network, it is characterized in that, should share node comprises: first module, be used for when perceiving this shared link fault, host node to the ring of the ring sequence number maximum at this shared link place sends shared link fault message, comprised each expanded ring information in the message, wherein, expanded ring is the off-peak ring of ring sequence number at this shared link place; When receiving the ring amplifying message of host node transmission, the receiving port that encircles amplifying message is joined on each expanded ring.
24. shared node according to claim 23, it is characterized in that, when described shared node is host node, described first module is further used for, when perceiving this shared link fault, Extended Capabilities Port as master port, is continued to send hello packet at regular intervals from master port, and described Extended Capabilities Port is the port of the ring of the ring sequence number maximum under pointing on the described shared node.
25. shared node according to claim 23 is characterized in that, described shared node further comprises: second module, be used for when perceiving the shared link recovery, Extended Capabilities Port is blocked in advance, and Extended Capabilities Port is withdrawed from from each expanded ring, and upgrade the forwarding-table item of this node; The host node of while to the ring of the ring sequence number maximum at this shared link place sends shared link recovery message, comprises each expanded ring information in this message; When receiving the complete-flush FDB message that host node sends, decontrol Extended Capabilities Port.
26. the transmission node in the interworking Ethernet ring network, it is characterized in that this transmission node comprises: first module is used for when receiving the ring amplifying message that host node sends, each expanded ring information according to this message comprises joins this node respectively in each expanded ring as transmission node.
27. transmission node according to claim 26 is characterized in that, described first module comprises:
First submodule: receive shared link fault message, notify second submodule with the receiving port number of message; Receive the ring amplifying message, message is transmitted to second submodule;
Second submodule: the receiving port number that receives and write down shared link fault message; Receive the ring amplifying message, each the expanded ring information that comprises according to this message, create each expanded ring respectively, write down ring ID, the control VLAN ID of each expanded ring and the mapping relations of data vlan ID, the receiving port of shared link fault message with the ring amplifying message joined in each expanded ring.
28. transmission node according to claim 26, it is characterized in that described transmission node further comprises: second module is used to receive the ring deletion message that host node is sent, each expanded ring information according to this message comprises withdraws from this node from each expanded ring.
CN201110095948.6A 2011-04-15 2011-04-15 Method for processing faults of intersected Ethernet ring and nodes Active CN102170384B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201110095948.6A CN102170384B (en) 2011-04-15 2011-04-15 Method for processing faults of intersected Ethernet ring and nodes
PCT/CN2012/074091 WO2012139531A1 (en) 2011-04-15 2012-04-16 Handling a fault in an ethernet ring network
EP12771779.1A EP2697940A4 (en) 2011-04-15 2012-04-16 Handling a fault in an ethernet ring network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110095948.6A CN102170384B (en) 2011-04-15 2011-04-15 Method for processing faults of intersected Ethernet ring and nodes

Publications (2)

Publication Number Publication Date
CN102170384A true CN102170384A (en) 2011-08-31
CN102170384B CN102170384B (en) 2014-06-11

Family

ID=44491368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110095948.6A Active CN102170384B (en) 2011-04-15 2011-04-15 Method for processing faults of intersected Ethernet ring and nodes

Country Status (3)

Country Link
EP (1) EP2697940A4 (en)
CN (1) CN102170384B (en)
WO (1) WO2012139531A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012139531A1 (en) * 2011-04-15 2012-10-18 Hangzhou H3C Technologies Co., Ltd. Handling a fault in an ethernet ring network
CN103873333A (en) * 2014-03-17 2014-06-18 杭州华三通信技术有限公司 Ring network three-layer convergence method and device
CN104486190A (en) * 2014-12-23 2015-04-01 上海斐讯数据通信技术有限公司 Method for Ethernet multi-network switching
CN108449251A (en) * 2018-05-17 2018-08-24 马鞍山钢铁股份有限公司 A kind of communication wheel seeks system and method
CN114598569A (en) * 2022-02-25 2022-06-07 中铁第四勘察设计院集团有限公司 Network architecture
CN115695082A (en) * 2022-10-30 2023-02-03 重庆长安汽车股份有限公司 Vehicle-mounted Ethernet ring protection switching method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812361A (en) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 Fast ring network protecting method and system
CN1938997A (en) * 2004-04-06 2007-03-28 北电网络有限公司 Differential forwarding in address-based carrier networks
CN101677281A (en) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 Ether multiple ring control channel allocation and message transmission method thereof
CN101741672A (en) * 2008-11-07 2010-06-16 中兴通讯股份有限公司 Switching method and device for automatic protection channel
CN101986615A (en) * 2010-11-09 2011-03-16 中兴通讯股份有限公司 Multiple-ring Ethernet and protection method thereof

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
JP2005269059A (en) * 2004-03-17 2005-09-29 Fujitsu Ltd Data repeater, repeating method and program
CN100454880C (en) * 2006-11-01 2009-01-21 华为技术有限公司 Method and system of realizing rig network protection
CN101232427A (en) * 2007-01-23 2008-07-30 华为技术有限公司 Ethernet loop protection method and apparatus
WO2008120931A1 (en) * 2007-03-30 2008-10-09 Electronics And Telecommunications Research Institute Method for protection switching in ethernet ring network
JP2009206891A (en) 2008-02-28 2009-09-10 Nec Corp Layer 2 ring network system and management method therefor
CN101534232B (en) 2008-03-10 2012-12-19 中兴通讯股份有限公司 Method for preventing internet storm occurring in Ether multi-ring network
CN102170384B (en) * 2011-04-15 2014-06-11 杭州华三通信技术有限公司 Method for processing faults of intersected Ethernet ring and nodes

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1938997A (en) * 2004-04-06 2007-03-28 北电网络有限公司 Differential forwarding in address-based carrier networks
CN1812361A (en) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 Fast ring network protecting method and system
CN101677281A (en) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 Ether multiple ring control channel allocation and message transmission method thereof
CN101741672A (en) * 2008-11-07 2010-06-16 中兴通讯股份有限公司 Switching method and device for automatic protection channel
CN101986615A (en) * 2010-11-09 2011-03-16 中兴通讯股份有限公司 Multiple-ring Ethernet and protection method thereof

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012139531A1 (en) * 2011-04-15 2012-10-18 Hangzhou H3C Technologies Co., Ltd. Handling a fault in an ethernet ring network
CN103873333A (en) * 2014-03-17 2014-06-18 杭州华三通信技术有限公司 Ring network three-layer convergence method and device
CN103873333B (en) * 2014-03-17 2017-10-27 新华三技术有限公司 Ring network three-layer convergence method and device
CN104486190A (en) * 2014-12-23 2015-04-01 上海斐讯数据通信技术有限公司 Method for Ethernet multi-network switching
CN104486190B (en) * 2014-12-23 2020-02-18 上海斐讯数据通信技术有限公司 Ethernet multi-network switching method
CN108449251A (en) * 2018-05-17 2018-08-24 马鞍山钢铁股份有限公司 A kind of communication wheel seeks system and method
CN108449251B (en) * 2018-05-17 2023-09-26 马鞍山钢铁股份有限公司 Communication round-robin system and method
CN114598569A (en) * 2022-02-25 2022-06-07 中铁第四勘察设计院集团有限公司 Network architecture
CN114598569B (en) * 2022-02-25 2023-10-03 中铁第四勘察设计院集团有限公司 Network architecture
CN115695082A (en) * 2022-10-30 2023-02-03 重庆长安汽车股份有限公司 Vehicle-mounted Ethernet ring protection switching method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
EP2697940A4 (en) 2014-12-17
WO2012139531A1 (en) 2012-10-18
CN102170384B (en) 2014-06-11
EP2697940A1 (en) 2014-02-19

Similar Documents

Publication Publication Date Title
CN101022390B (en) Method, system and equipment for protecting double-return switch-in RRPP loop network
CN102170384B (en) Method for processing faults of intersected Ethernet ring and nodes
CN101652963B (en) Method for reconfiguring a communications network
CN101610193B (en) Method for automatically discovering Ethernet ring and generating ring
CN101345683B (en) Protocol packet transmission control method of Ethernet automatic protection switch system
CN102232279A (en) Method for detecting loop position in Ethernet, and Ethernet switching device
CN101072154B (en) Loop Ethernet switching method
CN106992931B (en) Switch redundancy backup method based on double-loop and double-loop system
CN103873333A (en) Ring network three-layer convergence method and device
CN101841450A (en) Method and topological structure for realizing stable communication by forming multiple ring topologies into intersecting ring
EP2533470B1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
WO2010031295A1 (en) Control method for ethernet failure recovery
CN101483571A (en) RRPP configuring method, system and device
CN102118291B (en) Ring network link failure processing method, device and ring network
JP5491623B2 (en) Address refresh method and system
CN102158383A (en) Data transmission method, device and system for E1 bidirectional ring network
CN101641915B (en) Method for reconfiguring a communication network
CN112995002B (en) Switch ring network design method, switch and storage medium
CN101557333B (en) Processing method of loop fault in dual-homing networking and node device
CN100550812C (en) Improve method, system and the node device of dependability of fast looped network
CN101848128A (en) Method, system and topological structure for realizing stabilized communication among multi-ring topologies
CN102148693B (en) Shared granularity method, node and shared granularity system
CN102025561B (en) Method and system for refreshing MAC (Medium Access Controller) in Ethernet ring
CN108833247B (en) Method and device for re-switching after link failure recovery
CN107196832B (en) Rapid ring network protection method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address