CN101815029B - Address refreshing method of sub-loop virtual channel - Google Patents

Address refreshing method of sub-loop virtual channel Download PDF

Info

Publication number
CN101815029B
CN101815029B CN200910105538.8A CN200910105538A CN101815029B CN 101815029 B CN101815029 B CN 101815029B CN 200910105538 A CN200910105538 A CN 200910105538A CN 101815029 B CN101815029 B CN 101815029B
Authority
CN
China
Prior art keywords
address
message
subring
node
flush
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.)
Active
Application number
CN200910105538.8A
Other languages
Chinese (zh)
Other versions
CN101815029A (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.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200910105538.8A priority Critical patent/CN101815029B/en
Publication of CN101815029A publication Critical patent/CN101815029A/en
Application granted granted Critical
Publication of CN101815029B publication Critical patent/CN101815029B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an address refreshing method for a sub-loop virtual channel, which comprises the following steps of: when a sub-loop interconnection node collects an SF message carrying address refreshing information from a control VLAN of a sub-loop of the sub-loop interconnection node, refreshing a local address forwarding list according to the SF message and constructing an FLUSH message, searching the corresponding exit port in the local address forwarding list and forwarding the FLUSH message to the virtual channel of the sub-loop from the corresponding exit port; when other interconnection nodes on the virtual channel receive the FLUSH message, searching the corresponding exit port, forwarding the FLUSH message from the corresponding exit port and then updating the local address forwarding list according to the LFUSH message; and when non-interconnection nodes of the virtual channel of the sub-loop receive the FLUSH message, forwarding the FLUSH message in a multicast VLAN mode and updating the local address forwarding list according to the FLUSH message. When the method is used, the diffusion of the LFUSH message on the virtual channel can be greatly reduced and the addresses of all the nodes on the virtual channel avoid being refreshed.

Description

The address flush method of one sub-loop virtual channel
Technical field
The present invention relates to data communication field, relate more specifically to the address flush method of a sub-loop virtual channel.
Background technology
In the practical application of Ethernet, extensively adopted various resist technologies, realize the redundancy backup between primary path and backup path.When primary path and backup path are while being all intact, block the protected data forwarding capability of backup path, the protected data between network is transmitted on primary path; When primary path goes wrong; open the protected data forwarding capability of backup path; protected data between network is switched on backup path to be transmitted; realize under network normal condition and prevent that protected data is repeated and forms broadcast storm; when breaking down, enables the primary path of network backup path transmission protected data; improve the fault-resistant ability of Ethernet, and meet the high real-time requirement that convergence time while switching is less than 50ms.
Many ring protections of Ethernet technology for example, as shown in Figure 1, node S1 to S6 is Ethernet switch, and network B is connected with node S2, and network A is connected with node S5.Between network A and network B, communicate.Between network A and network B, there are four physical pathways, that is: network A <-> node S5<-> node S3<-> node S2<-> network B, network A <-> node S5<-> node S3<-> node S4<-> node S1<-> node S2<-> network B, network A <-> node S5<-> node S6<-> node S4<-> node S3<-> node S2<-> network B, network A <-> node S5<-> node S6<-> node S4<-> node S1<-> node S2<-> network B.
Resist technology for the many rings of Ethernet; the standard of formulating in the world (as ITU G.8032) should comprise ring and subring in the protecting network thinking to encircle too much;; ring (Ring) is a complete ether ring; subring (Sub-Ring) is a kind of ether ring being connected with other ring or network by interconnecting nodes (Interconnection Node), and interconnecting nodes (Interconnection Node) is the common node that simultaneously belongs to two or more ether rings.As shown in Figure 2 a, comprise a ring and a subring in figure, Ring1 is ring, and Ring2 is subring.The node that Ring1 comprises has S1, S2, S3 and S4, the link comprising has: <S1, S2>, <S2, S3>, <S3, S4> and <S4, S1>; The node that Ring2 comprises has S3, S5, S6 and S4, and the link comprising has: <S3, S5>, <S5, S6> and <S6, S4>.Needing ben is <S3, and S4> link belongs to Ring1 and do not belong to Ring2.In looped network; in the trouble-free situation of looped network; in a ring; need to have one section of link to the forwarding of data message in blocked state to prevent into ring; this section of link is commonly referred to as ring protection link and (or often blocks link; Deng), the switching of primary path and Protection path in encircling by this section of ring protection link participation.The node that has ring protection link, controls node referred to herein as ring protection link.As shown in Figure 2 a, in Ring1, node S1 is that ring protection link is controlled node, with the 11 direct port connection links of the node S1 ring protection link that is Ring1.In Ring2, node S6 is that ring protection link is controlled node, with the 62 direct port connection links of the node S6 ring protection link that is Ring2.Under normal circumstances, the ring protection link of Ring1 and Ring2 is controlled node and is blocked their be connected with ring protection link forwardings of data message (data message of civilian middle finger protection business) of port, prevents that protected data is repeated to forward and formation broadcast storm.
When the link in ether multi-ring network is all intact, the ring protection link of ring and subring is controlled node and is blocked the protected data forwarding capability from port.As shown in Figure 2 a; node S1 has blocked the protected data forwarding capability of port one 1; node S6 has blocked the protected data forwarding capability of port 62, and the communication path of network B and A is: network B <-> node S2<->S3<-GreatT. GreaT.GTS5<-> network A.
When the link of ether multi-ring network breaks down; if faulty link is not ring protection link; ring protection link is controlled the protected data forwarding capability that node is opened ring protection link adjacent port, and each node also wants refresh address to transmit, and between network, communicates by letter according to new path transmission.As shown in Figure 2 b, there is fault in the node S2 on ring Ring1 and the link between S3, node S2 detects after link failure, the data retransmission function of port blocked 22, notify other node links that fault has occurred, node S1 receives after signalling trouble, open the protected data forwarding capability of port one 1, each node on Ring1 also wants refresh address to transmit in addition, the communication path that network B and A are new is: network B <-> node S2<-> node S1<-> node S4<-> node S3<-> node S5<-> network A.
During link-recovery in ether multi-ring network, recover to switch, transmission path when Internet Transmission returns to normal condition, due to path changing, node also needs to carry out refreshing of addresses forwarding table.
When ether multi-ring network being safeguarded and protect switching; need to propagate a large amount of control messages; these control message is automatically in protection control channel, to propagate; automatically protection control channel has two classes; one class is corresponding to ring; the control channel that is called ring, another kind of is corresponding to subring, is called the control channel of subring.The control channel of ring is configured in ring.The control channel of subring comprises part and the tunnel (Virtual Channel) being configured in subring.Tunnel is to be configured in other network between interconnection point or other ring (comprising other subring) to provide the control channel of the subring of transmission channel for sub-loop protocol message.As shown in Figure 3, it is upper that the control channel of subring Ring2 is not only configured in subring Ring2, but also it is upper to be configured in ring Ring1, is configured in part on ring Ring1 and is the tunnel that the protocol massages for subring Ring2 provides.Due to the existence of tunnel, the protocol massages of subring can arrive any one node in subring.
To the address flush problem of subring in ether multi-ring network be discussed below:
For example, in Fig. 4, when ether multi-ring network fault-free, the communication path of network B and A is: network B <-> node S2<->S3<--GreatT .GreaT.GTS5<-> network A.When the link occurs fault of subring Ring2; as shown in Figure 4; the link <S3 of Ring2; there is fault in S5>; after node S5 detects port 51 respective links and breaks down, refresh address is transmitted, the protected data forwarding capability of port blocked 51; open the protected data forwarding capability of port 52, and outwards send malfunction frame.Node S6 receives that after malfunction frame, refresh address is transmitted, and forms new transmission path between network A and network B.After node S5 and node S6 refresh address are transmitted, network A is issued the protected data of network B by the broadcast of node S5 and node S6, finally can arrive network B, the address that each node is learnt network A simultaneously.But, before network A is issued network B data, if network B sends data to network A, will there are so a large amount of packet loss phenomenons.This is not transmit because node S2 also has refresh address, entry before switch in addresses forwarding table or path, it is wrong address entry, the protected data that network B is sent to network A still forwards according to wrong addresses forwarding table, from the outbound port 22 of node S2, send, these data are in fact because link failure and port block can not arrive network A, only have the switches learn of wait to arrive after the address outbound port of correct network A, just can reach network B, therefore the flow that whether has network A to be sent to network B is depended in the path that network B is sent to network A switching time, this time even surpasses 50ms sometimes.When the protection recovering at Ethernet Circle is switched, also there is similar problem in the communication between network A and B.
As can be seen from the above analysis, when the link occurs fault of subring, subring need to send protocol massages to other network beyond this subring by interconnecting nodes and notify the node refresh address of other network to transmit.
G.8032v2, existing ITU-T to the solution of this problem is: when subring topology changes, if and only if interconnecting nodes is received with the protocol massages of address flush information and refreshing self addresses forwarding table from subring, this interconnecting nodes is just constructed new address flush protocol massages, and continuous 3 times this protocol massages is forwarded on the tunnel between interconnecting nodes, node in other ring or subring is received after this protocol frame, refreshes addresses forwarding table separately.
Although existing subring address flush scheme can guarantee that the node on sub-loop virtual channel obtains address flush, but but there is diffusion in the address flush message of subring interconnecting nodes structure on tunnel, this will cause that all node refresh addresses on tunnel transmit, cause the broadcast storm that moment occurs in ring that ether multi-ring network is all and subring, greatly affected the overall performance of ether multi-ring network.As shown in Figure 5 a, Ring1, Ring2, Ring3 and Ring4 form ether multi-ring network.Ring2 is a complete closed loop, the node comprising has S2, S6, S7 and S3, the link comprising has: <S2, S6>, <S6, S7>, <S7, S3> and <S3, S2>, controlling node (or claiming ring protection link owner) is S3 node, and what be connected with 32 ports is ring protection link; Ring1 is subring, the node comprising has S2, S1, S5 and S6, the link comprising has: <S2, S1>, <S1, S5> and <S5, S6>, controlling node is S5 node, what be connected with 51 ports is ring protection link; Ring3 is subring, the node comprising has S3, S4, S8 and S7, the link comprising has: <S3, S4>, <S4, S8> and <S8, S7>, controlling node is S4 node, what be connected with 42 ports is ring protection link; Ring4 is subring, the node comprising has S5, S9, S10, S11 and S8, the link comprising has: <S5, S9>, <S9, S10>, <S10, S11> and <S11, S8>, controlling node is S10 node, and what be connected with 102 ports is ring protection link; In Fig. 5 a, the link <S10 of subring, there is fault in S11>, node S10 blocks the data message forwarding function of 101 ports, and periodically outwards send SF message (signalling trouble message) by 102 ports, node S11 blocks the data message forwarding function of 112 ports, and periodically outwards sends SF message (signalling trouble message) by 111 ports.Interconnecting nodes S5 and S8 receive respectively after the SF message with address flush information that node S10 and S11 send first, refresh addresses forwarding table separately, then construct respectively FLUSH message, to tunnel (tunnel of subring Ring4 is configured on Ring1, Ring2 and Ring3), send continuously 3 times.These FLUSH messages spread on tunnel, have refreshed all addresss of node on tunnel and have transmitted, and this is by the moment broadcast storm causing on tunnel.
In fact all other rings between refresh all interconnecting nodes or the address of node in subring are transmitted completely and be there is no need.For example, in Fig. 5 b, on subring Ring4, there is no fault, control the forwarding capability of the 102 port block data messages of node S10.Communication path between network A and networking B is: networking B<->S4<-GreatT.G reaT.GTS3<->S2<->S6<->S7LEssT.L TssT.LT->S8<->S 11<->S10<-GreatT .GreaT.GT networking A.In Fig. 5 c, the link <S10 of subring Ring4, there is fault in S11>, and node S10 blocks the data message forwarding function of 101 ports, opens the data message forwarding function of 102 ports.Node S11 blocks the data message forwarding function of 112 ports.Communication path between network A and networking B is changed into: networking B<->S4<-GreatT.G reaT.GTS3<->S2<->S1<->S5LEssT.L TssT.LT->S9<->S 10<-> networking A.Comparing cell A and networking B two forward-paths in Fig. 5 b and Fig. 5 c, can find that two paths have common path: S4<->S3<-GreatT. GreaT.GTS2, in other words at subring link <S10, when S11> breaks down, node S3 and S4 needn't transmit by refresh address, only refreshing address of node on the unobstructed path (S5<->S1<-GreatT. GreaT.GTS2<->S6<->S7<->S8) between interconnecting nodes transmits and just can guarantee that data can not forward along wrong path.
Therefore, the transmission path that proposes a kind of FLUSH message that interconnecting nodes is sent to tunnel is limited on a unobstructed path between interconnection contact, to the moment broadcast storm reducing on tunnel, is very significant with improving network performance.
Summary of the invention
Technical problem to be solved by this invention is to provide the address flush method of a sub-loop virtual channel, avoids the interconnecting nodes refresh all addresses forwarding table on tunnel, improves network performance.
For solving the problems of the technologies described above, the present invention has adopted following solution:
The address flush method of one sub-loop virtual channel, comprising:
When subring interconnecting nodes is when the control virtual LAN VLAN of its subring is received the signalling trouble message that carries address flush information, refresh accordingly local addresses forwarding table and construct FLUSH message, then according to the target MAC (Media Access Control) address of address update and VLAN ID, in local addresses forwarding table, search corresponding outbound port, address flush message is forwarded to the tunnel of subring from corresponding outbound port;
In the transmitting procedure of described address flush message, when other interconnecting nodes on the tunnel of described subring receives address flush message, according to its target MAC (Media Access Control) address and VLAN ID, in local addresses forwarding table, search corresponding outbound port, address flush message is forwarded from corresponding outbound port, according to address update, upgrade local addresses forwarding table afterwards; When the non-interconnecting nodes on the tunnel of described subring receives described address flush message, it is forwarded in M-VLAN mode, and upgrade accordingly local addresses forwarding table.
In said method, the source MAC of described address flush message and target MAC (Media Access Control) address all with described in to carry the target MAC (Media Access Control) address of signalling trouble message of address flush information identical, and the ID of the VLAN ID of described address flush message and the control VLAN of described subring is identical.
Said method also comprises: in the transmitting procedure of described address flush message, described subring interconnecting nodes receives source MAC and target MAC (Media Access Control) address all during the protocol massages identical with the target MAC (Media Access Control) address of described signalling trouble message, abandons this protocol massages.
Said method also comprises: described subring interconnecting nodes periodically sends multicast message on the tunnel of described subring, and the source MAC of described multicast message is all identical with the target MAC (Media Access Control) address of described signalling trouble message with target MAC (Media Access Control) address.
In said method, the transmission cycle of described multicast message is less than the digestion period of MAC Address.
In said method, the mode that described subring interconnecting nodes sends address flush message is: continuous 3 tunnels to subring send.
The present invention has following beneficial effect:
Adopt the present invention, the address flush message (FLUSH message) that can make interconnecting nodes send to tunnel only refreshes the node on a unobstructed path on tunnel, greatly reduce the diffusion of FLUSH message on tunnel, avoid all nodes on tunnel to be refreshed address, improved network performance.
Accompanying drawing explanation
Fig. 1 is the topological diagram of ether multi-ring network;
Fig. 2 a is the communication path topology figure of ether multi-ring network link when intact;
Communication path topology figure when Fig. 2 b is ether multi-ring network link fault;
Fig. 3 is the schematic diagram that VLAN is controlled in subring;
Fig. 4 is that subring breaks down need to be to the instance graph of tunnel refresh address;
Fig. 5 a is the propagation path of FLUSH message in tunnel in traditional scheme;
Fig. 5 b is network A under non-failure conditions and the communication path of network B;
Fig. 5 c is break down network A in situation and the communication path of network B of subring;
Fig. 6 is the address flush method flow chart of sub-loop virtual channel of the present invention;
Fig. 7 be in embodiments of the invention FLUSH message at the propagation path of tunnel.
Embodiment
Core concept of the present invention is: when the topology of subring changes and when interconnecting nodes need to send address flush message (FLUSH message) to tunnel, described address flush message only refreshes between subring interconnecting nodes address of node on unobstructed path and transmits.Concrete methods of realizing is:
1) when subring interconnecting nodes is when the control VLAN of its subring receives the SF message that carries address flush information, refresh accordingly local addresses forwarding table (VLAN ID in FLUSH message corresponding address forwarding entry except) and construct FLUSH message, then according to the target MAC (Media Access Control) address of FLUSH message and VLAN ID, search local addresses forwarding table, if find, FLUSH message is forwarded to the tunnel of subring from corresponding outbound port, otherwise it is sent in M-VLAN mode;
2) in the transmitting procedure of FLUSH message, when other interconnecting nodes on the tunnel of subring is received FLUSH message, according to the target MAC (Media Access Control) address of FLUSH message and VLAN ID, search local addresses forwarding table, if find, FLUSH message is forwarded to the tunnel of subring from corresponding outbound port, otherwise it is sent in M-VLAN mode; According to FLUSH message, upgrade local addresses forwarding table (VLAN ID in FLUSH message corresponding address forwarding entry except) afterwards.When the non-interconnecting nodes on the tunnel of described subring receives FLUSH message, it is forwarded in M-VLAN mode, and upgrade accordingly local addresses forwarding table (VLAN ID in FLUSH message corresponding address forwarding entry except).Subring interconnecting nodes is received when the MAC Address of protocol massages that source MAC is identical with target MAC (Media Access Control) address and these MAC Address and SF message is identical, is abandoned this protocol massages.
In order to make other interconnecting nodes on sub-loop virtual channel can find at local addresses forwarding table the corresponding outbound port of FLUSH message, two subring interconnecting nodes also periodically send multicast message (target MAC (Media Access Control) address of these messages is identical with the multicast mac address of described SF message with source MAC) on the tunnel of the control channel of subring, these messages are propagated on the control VLAN of described subring, so that other interconnecting nodes on sub-loop virtual channel can carry out MAC address learning.
In order to describe the solution of the present invention in detail, be further described below (as shown in Figure 6):
Step 601, is divided into two classes by the node on ether multi-ring network, and a class is the interconnecting nodes of ring or subring, and this category node forms set 1, and another kind of is non-interconnecting nodes, and this category node forms set 2.
Step 602, for any two interconnecting nodes in set 1, if they are interconnecting nodes that certain subring accesses other ring or subring, two described interconnecting nodes periodically send multicast message (target MAC (Media Access Control) address of these messages is identical with the multicast mac address of the protocol massages of described subring with source MAC) to described subring on the tunnel of the control channel of described subring, and object is to make interconnecting nodes on tunnel before MAC address aging, learn to arrive the MAC Address of described sub-loop protocol message.The transmission cycle of these messages is less than the digestion period of MAC Address.
Step 603, when (node receives ring or the protocol massages of subring, the target MAC (Media Access Control) address of message drops on [01-19-A7-00-00-01,01-19-A7-00-00-EF] in interval, MAC Address in this interval is the multicast mac address of ITU-T protocol massages G.8032) time, process in two kinds of situation: situation 1, the node of receiving this protocol massages is non-interconnecting nodes, proceeds to step 604.Situation 2, the node of receiving this protocol massages is interconnecting nodes, proceeds to step 606.
Step 604, when non-interconnecting nodes is received ring or sub-loop protocol message, adopt the retransmission method of common VLAN multicast packet,, the protocol massages receiving described in this node forwards to other all of the port beyond (in the control VLAN of described ring or subring) inbound port, a this protocol massages of copy is processed for described non-interconnecting nodes simultaneously.
Step 505, if this protocol massages is FLUSH message, this node refresh address is transmitted (VLAN ID in FLUSH message corresponding address forwarding entry except).
Step 606, when interconnecting nodes is received described protocol massages, this interconnecting nodes is analyzed last byte of this message target MAC (Media Access Control) address, obtain the ring number of the affiliated ring of this protocol massages or subring, read the VLAN ID in protocol massages simultaneously, then divide 3 kinds of situations to process: situation 1, this interconnecting nodes is furnished with 2 ring upper port having in the ring of described ring number or subring, proceeds to step 607.Situation 2, this interconnecting nodes does not have configured port having in the ring of described ring number or subring, proceeds to step 609.Situation 3, this interconnecting nodes is only furnished with 1 ring upper port in the subring that has described ring number, proceeds to step 611.
Step 607, when described interconnecting nodes is having while being furnished with 2 ring upper port in the ring of described ring number or subring, this interconnecting nodes adopts the retransmission method of common VLAN multicast packet,, the protocol massages receiving described in this interconnecting nodes forwards to other all of the port beyond (the VLAN ID of described protocol massages definite VLAN in) inbound port, a this protocol massages of copy is processed for described interconnecting nodes simultaneously, proceeds to step 608.
Step 608, if the copy of this protocol massages is FLUSH message, this node refresh address is transmitted (VLAN ID in FLUSH message corresponding address forwarding entry except).
Step 609, when described interconnecting nodes is having while there is no configured port in the ring of described ring number or subring, this interconnecting nodes copy is a to this node analysis, according to the target MAC (Media Access Control) address in this protocol massages and VLAN ID, table look-up (removing the address entry that inbound port is corresponding), if found, just this protocol massages is sent from corresponding port simultaneously, otherwise, in M-VLAN mode, send, that is: from removing inbound port (in VLAN) other port repeat in addition, proceed to step 610.
Step 610, if the copy of this protocol massages is FLUSH message, this node refresh address is transmitted (VLAN ID in FLUSH message corresponding address forwarding entry except).
Step 611, while being only furnished with 1 ring upper port on this interconnecting nodes is having the subring of described ring number, process in two kinds of situation: situation 1, this interconnecting nodes is that the port from having the subring of described ring number receives described protocol massages, proceeds to step 612.Situation 2, this interconnecting nodes is to receive described protocol massages from removing other port of the ring upper port of the subring that has described ring number, proceeds to step 614.
Step 612, a this protocol massages of this interconnecting nodes copy is given this node analysis, simultaneously according to the target MAC (Media Access Control) address in this protocol massages and VLAN ID table look-up (removing the address entry that inbound port is corresponding), if found, just this protocol massages is sent from corresponding port, otherwise, in M-VLAN mode, send.Proceed to step 613.
Step 613, if the copy of this protocol massages carries address flush information (this protocol massages is not the follow-up protocol massages that carries address flush information), this interconnecting nodes refresh address is transmitted (the VLAN ID of this protocol massages corresponding address forwarding entry except), construct FLUSH message (FLUSH message can only transmit in tunnel) simultaneously, the target MAC (Media Access Control) address of FLUSH message and source MAC with described in the target MAC (Media Access Control) address of the protocol massages received the same.The mode that FLUSH message sends is to send 3 times continuously to tunnel.
Step 614, whether the target MAC (Media Access Control) address of judging protocol massages and source MAC identical with the MAC Address of protocol massages of subring that has described ring number, if identical, just abandon, otherwise by this protocol massages to the port repeat that has the subring of described ring number.
Embodiment mono-, the address flush process of sub-loop protocol message in tunnel in ether multi-ring network:
Fig. 7 is the transmission schematic diagram of ether multi-ring network sub-loop protocol message in subring control channel, and the control channel of the subring in figure is realized by VLAN, but be not limited to VLAN, realizes, and makes a concrete analysis of as follows:
As shown in Figure 7, Ring1, Ring2, Ring3 and Ring4 form ether multi-ring network.Ring2 is a complete closed loop, the node comprising has S2, S6, S7 and S3, the link comprising has: <S2, S6>, <S6, S7>, <S7, S3> and <S3, S2>, controlling node (or claiming ring protection link owner) is S3 node; Ring1 is subring, and the node comprising has S2, S1, S5 and S6, and the link comprising has: <S2, S1>, <S1, S5> and <S5, S6>, controlling node is S5 node; Ring3 is subring, and the node comprising has S3, S4, S8 and S7, and the link comprising has: <S3, S4>, <S4, S8> and <S8, S7>, controlling node is S4 node; Ring4 is subring, the node comprising has S5, S9, S10, S11 and S8, the link comprising has: <S5, S9>, <S9, S10>, <S10, S11> and <S11, S8>, controlling node is S10 node.
The control channel of subring Ring4 is divided into two parts, tunnel (tunnel of subring Ring4 is configured on Ring1, Ring2 and Ring3) and subring part.Control node S3 on tunnel, control node S5 and control node S4 have blocking action to the protocol massages of subring Ring4.
S5 and S8 node are the interconnecting nodes that subring Ring4 accesses other ring or subring, and node S5 periodically sends protocol massages (the object MAC of these messages is the same with the target MAC (Media Access Control) address of the protocol massages of subring Ring4 with source MAC) to subring Ring4 with S8 on the tunnel of subring control VLAN.
The link <S10 of subring Ring4 in figure, there is fault in S11>, control the data retransmission function that node S10 opens 102 ports, the data retransmission function of blocking 101 ports, and outwards periodically send SF message (fault warning message) along 102 ports.Node S11 blocks the data retransmission function of 112 ports, and outwards periodically sends SF message along 111 ports.
When interconnecting nodes S5 receives while controlling the SF message with address flush information (and this message is not follow-up SF message) that node S10 sends, interconnecting nodes S5 checks the MAC Address of this message, discovery is that multicast protocol message address (drops on [01-19-A7-00-00-01,01-19-A7-00-00-EF] interval interior), then from last 1 byte of this MAC Address, read ring number, discovery is the protocol massages that subring Ring4 sends under node S5, and this interconnecting nodes refresh address is transmitted (VLAN ID in protocol massages corresponding address forwarding entry except).Meanwhile, interconnecting nodes S5 structure FLUSH message, this message (the source and destination MAC Address of this FLUSH message is the same with the target MAC (Media Access Control) address of the protocol massages of subring Ring4).Then, interconnecting nodes S5 is according to target MAC (Media Access Control) address and the VLAN ID of FLUSH message table look-up (port of subring Ring4 corresponding address entry except), if find outbound port, be 52 ports, just the FLUSH message of structure is gone out from 52 port repeats, otherwise just to other all of the port beyond (VLAN ID in the SF protocol massages receiving definite VLAN in) 51 inbound ports, send FLUSH message.The mode that FLUSH message sends is that interconnecting nodes sends to tunnel for continuous 3 times.
Interconnecting nodes S2, S6 on tunnel and S7 receive after the FLUSH message that interconnecting nodes S5 sends, check the MAC Address of this message, discovery is multicast protocol message address, then from last 1 byte of this MAC Address, read ring number, find it is not the protocol massages that the affiliated ring of this node or subring are sent, copy portion is given node analysis.Simultaneously, described interconnecting nodes is with target MAC (Media Access Control) address in this protocol massages and VLAN ID table look-up (protocol massages inbound port corresponding address entry except), if find outbound port, just by described protocol massages from then on port repeat go out, otherwise just to other all of the port beyond (the VLAN ID of described protocol massages definite VLAN in) inbound port, forward this protocol massages.This node checks the type of this message in addition, and discovery is FLUSH message, and then refresh address is transmitted (VLAN ID in FLUSH message corresponding address forwarding entry except).
Interconnecting nodes S8 is from 82 ports are received this protocol massages, check the MAC Address of this message, discovery is multicast protocol message address, then from last 1 byte of this MAC Address, read ring number, discovery is that the protocol massages of the subring Ring4 under this node and this protocol massages are from its non-subring Ring4 upper port.If the target MAC (Media Access Control) address of this message is identical with source MAC, S8 node abandons this protocol massages, otherwise S8 node by this message from the port repeat of Ring4 to subring.
Non-interlink node S1 receives after this protocol massages, check the MAC Address of this message, discovery is multicast protocol message address, this node forwards this protocol massages to other all of the port beyond (the VLAN ID of described protocol massages definite VLAN in) inbound port, and a this protocol massages of copy is processed for interconnecting nodes S1 simultaneously.Interconnecting nodes S1 analyzes the type of this protocol massages, and discovery is FLUSH message, and then refresh address is transmitted (VLAN ID in FLUSH message corresponding address forwarding entry except).
For enter the FLUSH message of tunnel from interconnecting nodes S8, node S5, S2, S6, S5 and S8 are the same to its forward process with the FLUSH message that is entered tunnel by interconnecting nodes S5.
By analysis above, the FLUSH message that can find out subring Ring4 refreshes along a unobstructed path S5<->S1<-GreatT. GreaT.GTS2<->S6<->S7<->S8 in tunnel, node S3 and S4 on tunnel do not have refresh address to transmit, and have greatly reduced the quantity of the node that the refresh address in the tunnel of subring Ring4 transmits.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, only with reference to preferred embodiment, the present invention is had been described in detail.Those of ordinary skill in the art should be appreciated that and can modify or be equal to replacement technical scheme of the present invention, and do not depart from the spirit and scope of technical solution of the present invention, all should be encompassed in the middle of claim scope of the present invention.

Claims (6)

1. the address flush method of a sub-loop virtual channel, is characterized in that, the method comprises:
When subring interconnecting nodes is when the control virtual LAN VLAN of its subring is received the signalling trouble message that carries address flush information, refresh accordingly local addresses forwarding table and construct address flush message, then according to the target MAC (Media Access Control) address of address update and VLANID, in local addresses forwarding table, search corresponding outbound port, address flush message is forwarded to the tunnel of subring from corresponding outbound port;
In the transmitting procedure of described address flush message, when other interconnecting nodes on the tunnel of described subring receives address flush message, according to its target MAC (Media Access Control) address and VLANID, in local addresses forwarding table, search corresponding outbound port, address flush message is forwarded from corresponding outbound port, according to address update, upgrade local addresses forwarding table afterwards; When the non-interconnecting nodes on the tunnel of described subring receives described address flush message, it is forwarded in M-VLAN mode, and upgrade accordingly local addresses forwarding table.
2. the address flush method of sub-loop virtual channel as claimed in claim 1, it is characterized in that, in described method, the source MAC of described address flush message and target MAC (Media Access Control) address all with described in to carry the target MAC (Media Access Control) address of signalling trouble message of address flush information identical, and the VLANID of described address flush message is identical with the ID of the control VLAN of described subring.
3. the address flush method of sub-loop virtual channel as claimed in claim 2, it is characterized in that, described method also comprises: in the transmitting procedure of described address flush message, described subring interconnecting nodes receives source MAC and target MAC (Media Access Control) address all during the protocol massages identical with the target MAC (Media Access Control) address of described signalling trouble message, abandons this protocol massages.
4. the address flush method of the sub-loop virtual channel as described in as arbitrary in claims 1 to 3, it is characterized in that, described method also comprises: described subring interconnecting nodes periodically sends multicast message on the tunnel of described subring, and the source MAC of described multicast message is all identical with the target MAC (Media Access Control) address of described signalling trouble message with target MAC (Media Access Control) address.
5. the address flush method of sub-loop virtual channel as claimed in claim 4, is characterized in that, the transmission cycle of described multicast message is less than the digestion period of source MAC.
6. the address flush method of sub-loop virtual channel as claimed in claim 1, is characterized in that, the mode that described subring interconnecting nodes sends address flush message is: continuous 3 tunnels to subring send.
CN200910105538.8A 2009-02-19 2009-02-19 Address refreshing method of sub-loop virtual channel Active CN101815029B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910105538.8A CN101815029B (en) 2009-02-19 2009-02-19 Address refreshing method of sub-loop virtual channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910105538.8A CN101815029B (en) 2009-02-19 2009-02-19 Address refreshing method of sub-loop virtual channel

Publications (2)

Publication Number Publication Date
CN101815029A CN101815029A (en) 2010-08-25
CN101815029B true CN101815029B (en) 2014-09-10

Family

ID=42622151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910105538.8A Active CN101815029B (en) 2009-02-19 2009-02-19 Address refreshing method of sub-loop virtual channel

Country Status (1)

Country Link
CN (1) CN101815029B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977135B (en) * 2010-09-27 2012-08-15 南京邮电大学 Address updating method of subring without virtual channel
CN103272349A (en) * 2013-05-03 2013-09-04 国家电网公司 Automatic fire extinguisher for automobile spontaneous combustion
CN105591919B (en) * 2015-08-31 2018-11-27 新华三技术有限公司 A kind of processing method and equipment of FLUSH message
CN107181693A (en) * 2017-07-15 2017-09-19 深圳市华琥技术有限公司 A kind of method and system for preventing from repeatedly refreshing forward table
CN108600097B (en) * 2018-04-20 2020-09-22 闫晓峰 Communication equipment capable of transmitting data in multiple paths, data communication network system and data communication method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801496B1 (en) * 1999-01-15 2004-10-05 Cisco Technology, Inc. Network addressing scheme for reducing protocol overhead in an optical network
CN1645834A (en) * 2005-02-02 2005-07-27 周旭扬 Method and device for loop discovery, space reuse and protection conversion in MAC bridge connecting network
CN101094190A (en) * 2007-08-20 2007-12-26 中兴通讯股份有限公司 Method for transmitting protective controlled message in Ethernet ring net

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801496B1 (en) * 1999-01-15 2004-10-05 Cisco Technology, Inc. Network addressing scheme for reducing protocol overhead in an optical network
CN1645834A (en) * 2005-02-02 2005-07-27 周旭扬 Method and device for loop discovery, space reuse and protection conversion in MAC bridge connecting network
CN101094190A (en) * 2007-08-20 2007-12-26 中兴通讯股份有限公司 Method for transmitting protective controlled message in Ethernet ring net

Also Published As

Publication number Publication date
CN101815029A (en) 2010-08-25

Similar Documents

Publication Publication Date Title
EP2339791B1 (en) Method for forwarding protocol frames in spanning rings and a shared node of multi-rings in the ethernet
JP5369228B2 (en) Method and apparatus for restoring unicast traffic
CN101662421B (en) Method and device for transmitting control message based on ethernet multi-ring network
CN101815029B (en) Address refreshing method of sub-loop virtual channel
CN101714939A (en) Fault treatment method for Ethernet ring network host node and corresponding Ethernet ring network
CN101072237A (en) Eth-loop intelligent protection method
CN101841450B (en) Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring
CN101834774A (en) Address refreshing method of switching node port in Ethernet ring network and switching node
CN103873333A (en) Ring network three-layer convergence method and device
CN101834770B (en) Ethernet multiple-ring network address refreshing method and device
JP2003258822A (en) Packet ring network and inter-packet ring network connection method used in the same
US8681604B2 (en) Address refresh method and system
KR101302815B1 (en) Method and system for blocking protocol messages at a sub-ring control channel without virtual channel
CN100550812C (en) Improve method, system and the node device of dependability of fast looped network
CN101815023B (en) Method for transmitting sub-loop protocol message in virtual channel
EP2400697A1 (en) Implementation method for protocol channel in ethernet protection
CN101888322B (en) Method for preventing repeated refresh of sub-ring outer domain address
CN101834830B (en) Regional address refreshing method of Ethernet ring network
CN102055661B (en) Ethernet multi-ring network protection method under multipoint fault condition and interconnected nodes
CN102088493B (en) Selective address refreshing method and system of Ethernet multi-ring network
CN101677281B (en) Ether multiple ring control channel allocation and message transmission method thereof
CN101888340A (en) Method for refreshing regional addresses of subring
CN102088492A (en) Selective address refreshing method and system of Ethernet ring network
CN101895454A (en) Multi-layer subring-based address flush method
CN101895588B (en) Address refreshing method based on address refreshing message transmission source node set

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