CN103873333A - Ring network three-layer convergence method and device - Google Patents

Ring network three-layer convergence method and device Download PDF

Info

Publication number
CN103873333A
CN103873333A CN201410097706.4A CN201410097706A CN103873333A CN 103873333 A CN103873333 A CN 103873333A CN 201410097706 A CN201410097706 A CN 201410097706A CN 103873333 A CN103873333 A CN 103873333A
Authority
CN
China
Prior art keywords
node
ring
self
link
message
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
CN201410097706.4A
Other languages
Chinese (zh)
Other versions
CN103873333B (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.)
Hangzhou 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 CN201410097706.4A priority Critical patent/CN103873333B/en
Publication of CN103873333A publication Critical patent/CN103873333A/en
Application granted granted Critical
Publication of CN103873333B publication Critical patent/CN103873333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a ring network three-layer convergence method and device. The method comprises the steps that for any node on a ring network supporting a ring topology protection protocol, when the node finds that a link down happens at a ring where the node is located, or a link restoration event happens, output port information of the node in all ARP (address resolution protocol) table entries are changed as information of all ports of the ring of the node, and all MAC (media access control) table entries of the node are removed; when the node learns one MAC table entry, the corresponding ARP table entry is updated according to the MAC table entry. The ring network three-layer convergence method and device realize three-layer flow fast convergence in the ring network.

Description

Ring network three-layer convergence method and device
Technical field
The present invention relates to looped network technical field, relate in particular to ring network three-layer convergence method and device.
Background technology
At present; the technology that solves 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 application comparative maturity, but convergence time is in level second.Fig. 1 has provided existing RRPP typical case application 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 on the convergence time of RRPP and looped network, nodes is irrelevant, can be applicable to the network that network diameter is larger.RRPP can prevent the broadcast storm that data loopback causes in the time that Ethernet ring is complete, and can recover rapidly the communication path between each node on looped network in the time that a link disconnects on Ethernet ring, possesses higher convergence rate.
As shown in Figure 1, every equipment on RRPP ring is all called a node.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, is also the policymaker of executable operations after network topology changes.
Transmission node: other all nodes on ring except host node.Transmission node is responsible for the state of the RRPP link of monitoring own place, and notifies host node by link change, then carrys out decision-making by host node and how to process.
Ring has control VLAN (VLAN, Virtual Local Area) and data vlan.Control VLAN for delivery protocol message, on node, only have the port of access ring just can access control VLAN.Data vlan is for data message transmission, and data vlan can comprise the port of access ring, also can comprise the port of non-access ring.
Each own two the port access rings of host node and transmission node, one of them is master port, 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 difference: the master port of host node is used for sending hello packet, is used for receiving this message from port.When ring is during in connected state, host node from logically blocking data VLAN of port, only allow the message of controlling VLAN to pass through; When ring is during in malfunction, host node will remove the blocked state of data vlan, the message of forwarding data VLAN from port.The master port of transmission node and as broad as long on function from port, all for encircling the transmission of upper 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 and greets (hello packet) from its master port, propagates successively through each transmission node on ring.If loop is communicated with, host node will timer expiry, receive hello packet from port, host node will keep from the blocked state of port.In the time that ring breaks down, host node timer expiry, cannot receive hello packet from port, host node will be removed data vlan at the blocked state from port, send the common all transmission nodes of forwarding database (common-flush-FDB) message notifying that refresh simultaneously, make it upgrade media 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 transmission node discovery oneself, any one belongs to the port failure (down) of ring, processing procedure is as follows:
(1) transmission node sends link failure (link down) message at once to host node.
(2) host node is received after link down message, and releasing data vlan is blocked state from port at it, and sends all transmission nodes of Common-flush-FDB message notifying.
(3) transmission node receives Common-flush-FDB message, upgrades MAC address entries and the ARP/ND list item of oneself.
After each node updates list item, data flow is switched on normal link.
Transmission node is at own any one port that belongs to ring of discovery again for after work (up) state, and processing procedure is as follows:
(1) transmission node detects the link-recovery at self place, and the port on this link is blocked in advance.
(2) host node is own to controlling the hello packet sending in VLAN from receiving from port after a linkdown, think link-recovery, again block from port, and in control VLAN, send complete forwarding database (Complete-flush-FDB) message that refreshes from master port, 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 have pre-port blocked, decontrol this pre-port blocked, to ensure there is not loop on looped network temporarily.
The most crucial advantage of RRPP is its quick Switchover mechanism, for two laminar flow amounts, can ensure to complete convergence in 50ms, for the constringency performance of three laminar flow amounts, depends on the flush mechanism of ARP list item.Like this may be because ARP list item is not updated, thus cause three layers of converting flow to recover.
Summary of the invention
The invention provides ring network three-layer convergence method and device, to realize three laminar flow amount Fast Convergents in looped network.
Technical scheme of the present invention is achieved in that
A kind of ring network three-layer convergence method, the method comprises:
For the arbitrary node on the looped network of supporting ring topology protection agreement, when the raw link failure of environment-development at this node discovery self place, or while there is link-recovery event, outbound port information in all ARP list items of self is all changed to the information of all of the port on all rings at self place, remove all media access control MAC list items of self;
In the time that this node is learnt MAC address entries, refresh corresponding ARP list item according to this MAC address entries.
Described ring topology protection agreement is rapid ring protection protocol RRPP, or rapid ring protection protocol RSTP or Multiple Spanning Tree Protocol MSTP, or Ethernet ring protection switching exchange ERPS agreement.
Described node refreshes corresponding ARP list item according to this MAC address entries and comprises:
Node, according to VLAN ID VLAN ID and target MAC (Media Access Control) address in this MAC address entries, finds corresponding ARP list item, with the outbound port information in this ARP list item of the outbound port information updating in MAC address entries.
Described method further comprises:
In the time that this node receives arp response message, according to VLAN ID and the source IP address of this message, self finding corresponding ARP list item, upgrade the MAC Address in this ARP list item with the source MAC of this response message, upgrade the outbound port information in this ARP list item with the ingress port information of this response message.
The described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
This node finds that the central link of self breaks down, or receive the central link signalling trouble that upper other node of self place ring is sent, or the central link of finding self is recovered from fault, or receive the central link recovery notice that upper other node of self place ring is sent.
In the time that described topological protection agreement is RRPP, when described node is host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
This node is receiving the hello packet that this node sends from master port from the hello timer expiry of port,
Or this node receives the link failure message that transmission node is sent,
Or this node receives the public forwarding database Common-flush-FDB message that refreshes self sending,
Or, this node ring arbitrary link failure after, from receive the hello packet that this node sends from main side from port,
Or, this node receive self send refresh forwarding database Complete-flush-FDB message completely;
In the time that described topological protection agreement is RRPP, when described node is non-host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
This node is found self, and any one belongs to the port failure of ring,
Or this node receives the link failure message that other node is sent,
Or this node receives the Common-flush-FDB message that host node sends,
Or this node finds that self any one port that belongs to ring is by recovering in fault,
Or this node receives the Complete-flush-FDB message that host node sends.
A kind of ring network three-layer convergence method, the method comprises:
For the arbitrary node on the looped network of supporting ring topology protection agreement, when the raw link failure of environment-development at this node discovery self place, or while there is link-recovery event, outbound port information in all ARP list items of self is all changed to the information of all effective ports on all rings at self place, remove all MAC address entries of self;
In the time that this node is learnt MAC address entries, refresh corresponding ARP list item according to this MAC address entries.
Described ring topology protection agreement is rapid ring protection protocol RRPP, or rapid ring protection protocol RSTP or Multiple Spanning Tree Protocol MSTP, or Ethernet ring protection switching exchange ERPS agreement.
Described method further comprises:
In the time that this node receives arp response message, according to VLAN ID and the source IP address of this message, self finding corresponding ARP list item, upgrade the MAC Address in this ARP list item with the source MAC of this response message, upgrade the outbound port information in this ARP list item with the ingress port information of this response message.
The described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
This node finds that the central link of self breaks down, or receive the central link signalling trouble that upper other node of self place ring is sent, or the central link of finding self is recovered from fault, or receive the central link recovery notice that upper other node of self place ring is sent.
In the time that described topological protection agreement is RRPP, when described node is host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
This node is receiving the hello packet that this node sends from master port from the hello timer expiry of port,
Or this node receives the link failure message that transmission node is sent,
Or this node receives the Common-flush-FDB message self sending,
Or, this node ring arbitrary link failure after, from receive the hello packet that this node sends from main side from port,
Or this node receives the Complete-flush-FDB message self sending;
In the time that described topological protection agreement is RRPP, when described node is non-host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
This node is found self, and any one belongs to the port failure of ring,
Or this node receives the link failure message that other node is sent,
Or this node receives the Common-flush-FDB message that host node sends,
Or this node finds that self any one port that belongs to ring is by recovering in fault,
Or this node receives the Complete-flush-FDB message that host node sends.
A kind of ring network three-layer convergence device, is positioned on the looped network node of supporting ring topology protection agreement, and this device comprises:
Topology is upgraded pretreatment module: when finding the raw link failure of environment-development at this node place, or while there is link-recovery event, outbound port information in all ARP list items of this node is all changed to the information of all of the port on all rings at this node place, remove all MAC address entries of this node;
List item refresh module: in the time that this node is learnt MAC address entries, refresh corresponding ARP list item according to this MAC address entries.
Described ring topology protection agreement is rapid ring protection protocol RRPP, or rapid ring protection protocol RSTP or Multiple Spanning Tree Protocol MSTP, or Ethernet ring protection switching exchange ERPS agreement.
Described list item refresh module refreshes corresponding ARP list item according to this MAC address entries and comprises:
According to VLAN ID and target MAC (Media Access Control) address in this MAC address entries, find corresponding ARP list item, with the outbound port information in this ARP list item of the outbound port information updating in MAC address entries.
Described list item refresh module is further used for,
In the time receiving arp response message, according to VLAN ID and the source IP address of this message, on this node, find corresponding ARP list item, upgrade the MAC Address in this ARP list item with the source MAC of this response message, upgrade the outbound port information in this ARP list item with the ingress port information of this response message.
The raw link failure of environment-development that described topology renewal pretreatment module is found this node place, or generation link-recovery event comprises:
The central link of finding this node breaks down, or receive the central link signalling trouble that upper other node of self place ring is sent, or the central link of finding this node is recovered from fault, or receive the central link recovery notice that upper other node of self place ring is sent.
In the time that described topological protection agreement is RRPP, when described node is host node, the raw link failure of environment-development that described topology renewal pretreatment module is found this node place, or generation link-recovery event comprises:
This node is receiving the hello packet that this node sends from master port from the hello timer expiry of port,
Or this node receives the link failure message that transmission node is sent,
Or this node receives the Common-flush-FDB message self sending,
Or, this node ring arbitrary link failure after, from receive the hello packet that this node sends from main side from port,
Or this node receives the Complete-flush-FDB message self sending;
In the time that described topological protection agreement is RRPP, when described node is non-host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
Any one belongs to the port failure of ring this section point discovery self,
Or this node receives the link failure message that other node is sent,
Or this node receives the Common-flush-FDB message that host node sends,
Or any one port that belongs to ring of this section point discovery self is by recovering in fault,
Or this node receives the Complete-flush-FDB message that host node sends.
A kind of ring network three-layer convergence device, is positioned on the looped network node of supporting ring topology protection agreement, and this device comprises:
Topology is upgraded pretreatment module: when finding the raw link failure of environment-development at this node place, or while there is link-recovery event, outbound port information in all ARP list items of this node is all changed to the information of all effective ports on all rings at this node place, remove all MAC address entries of this node;
List item refresh module: in the time that this node is learnt MAC address entries, refresh corresponding ARP list item according to this MAC address entries.
Described ring topology protection agreement is rapid ring protection protocol RRPP, or rapid ring protection protocol RSTP or Multiple Spanning Tree Protocol MSTP, or Ethernet ring protection switching exchange ERPS agreement.
Described list item refresh module is further used for,
In the time receiving arp response message, according to VLAN ID and the source IP address of this message, on this node, find corresponding ARP list item, upgrade the MAC Address in this ARP list item with the source MAC of this response message, upgrade the outbound port information in this ARP list item with the ingress port information of this response message.
The raw link failure of environment-development that described topology renewal pretreatment module is found this node place, or generation link-recovery event comprises:
The central link of finding this node breaks down, or receive the central link signalling trouble that upper other node of self place ring is sent, or the central link of finding this node is recovered from fault, or receive the central link recovery notice that upper other node of self place ring is sent.
In the time that described topological protection agreement is RRPP, when described node is host node, the raw link failure of environment-development that described topology renewal pretreatment module is found this node place, or generation link-recovery event comprises:
This node is receiving the hello packet that this node sends from master port from the hello timer expiry of port,
Or this node receives the link failure message that transmission node is sent,
Or this node receives the Common-flush-FDB message self sending,
Or, this node ring arbitrary link failure after, from receive the hello packet that this node sends from main side from port,
Or this node receives the Complete-flush-FDB message self sending;
In the time that described topological protection agreement is RRPP, when described node is non-host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
Any one belongs to the port failure of ring this section point discovery self,
Or this node receives the link failure message that other node is sent,
Or this node receives the Common-flush-FDB message that host node sends,
Or any one port that belongs to ring of this section point discovery self is by recovering in fault,
Or this node receives the Complete-flush-FDB message that host node sends.
Visible, in the present invention, when the raw link failure of environment-development by looped network or link-recovery, the outbound port information in the ARP list item of node on the ring is all changed to the information of all of the port on all rings at node place, ensured the Fast Convergent of three laminar flow amounts on ring.
Brief description of the drawings
Fig. 1 is a RRPP application networking schematic diagram;
The ring network three-layer convergence method flow chart that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 is another RRPP application networking schematic diagram;
Three layers of convergence method flow chart of RRPP ring net that Fig. 4 provides for the embodiment of the present invention;
The ring network three-layer that Fig. 5 provides for the embodiment of the present invention is restrained the composition schematic diagram of device.
Embodiment
Below in conjunction with accompanying drawing, this and application embodiment are described in further detail.
The ring network three-layer convergence method flow chart that Fig. 2 provides for one embodiment of the invention, its concrete steps can comprise:
Step 201: for the arbitrary node on the looped network of supporting ring topology protection agreement; when the raw link failure of environment-development at this node discovery self place; or while there is link-recovery event; outbound port information in all ARP list items of self is all changed to the information of all of the port on all rings at self place, remove all MAC address entries of self.
Here, ring topology protection agreement can be RRPP, RSTP, MSTP, Ethernet ring protection switching exchange (ERPS, Ethernet Ring Protection Switching) agreement etc.
Referring to Fig. 3, wherein, the port of node S4 on ring 1 is p1 and p2, node S4 finds that link failure occurs ring 1, or when link-recovery event, outbound port information in each the ARP list item of self is all changed to p1 and p2, , all ARP list items have all become dual-port from single port, like this, before ARP list item refreshes, all three layers of Ethernet messages all can forward from two of a node central port p1 and p2, the message that one of them port sends can be dropped in fault point, the message that send another port can successfully be forwarded to destination from normal link, thereby ensure that in the topological renewal process of ring, three laminar flow amounts are not interrupted.
And for example: node S3 is ring 1 and the crossing node of ring 2, it has three port p4, p5 and p6 on ring 1 and ring 2, node S3 finds ring 1(or ring 2) generation link failure, or when link-recovery event, outbound port information in each the ARP list item of self is all changed to p4, p5 and p6,, all ARP list items have all become three ports from single port.
Wherein, the raw link failure of environment-development at node discovery self place, or link-recovery event occurs can be comprised: node finds that the central link of self breaks down, or receive the central link signalling trouble that upper other node of self place ring is sent, or the central link of finding self is recovered from fault, or receive the central link recovery notice that upper other node of self place ring is sent.
Step 202: in the time that this node is learnt MAC address entries, refresh corresponding ARP list item according to this MAC address entries.
The content of MAC address entries comprises: VLAN identifies (ID), target MAC (Media Access Control) address and outbound port information.
The content of ARP list item comprises: VLAN ID, object IP address, target MAC (Media Access Control) address and outbound port information.
In the time that node is learnt MAC address entries, according to VLAN ID and target MAC (Media Access Control) address in this MAC address entries, find corresponding ARP list item, with the outbound port information in the outbound port information updating ARP list item in MAC address entries, ARP list item is recovered for single port by multiport.
Consider: ARP request-response mechanism also can refresh ARP list item.In the embodiment of the present invention, node is in the time receiving arp response message, according to VLAN ID and the source IP address of this message, self finding corresponding ARP list item, upgrade the MAC Address in this ARP list item with the source MAC of this response message, upgrade the outbound port information of this ARP list item with the ingress port information of this response message, that is, ARP list item is recovered for single port by multiport.
In addition, " the outbound port information in all ARP list items of self all being changed to the information of all of the port on all rings at self place " in step 201 can replace with: " the outbound port information in all ARP list items of self all being changed to the information of all effective ports on all rings at self place ", the node of the link occurs fault of self or recovery can reduce the use of resource like this.Wherein, effectively port refers to the normally port of forwarding data.
Three layers of convergence method flow chart of RRPP ring net that Fig. 4 provides for the embodiment of the present invention, its concrete steps can comprise:
The host node of step 401:RRPP ring is found this RRPP ring generation link failure, remove data vlan at self loop the blocked state from port, and send Common-flush-FDB message to notify all link points controlling in VLAN; Meanwhile, host node all replaces with the outbound port information of each the ARP list item of self from the master and slave port information on this ring, then removes all MAC address entries of self.
Wherein, the host node of RRPP ring finds that this RRPP ring generation link failure has two kinds of situations:
One, host node hello timer expiry, do not receive that from port master port is controlling the hello packet sending in VLAN.Wherein, host node can be periodically send hello packet from its master port controlling in VLAN, and this message is propagated on ring through each node successively, if loop is communicated with, host node will hello timer expiry, receive hello packet from port.
Two, host node is received the link down message that upper other node of ring is sent.Wherein, when any one belongs to the port down of ring when arbitrary node discovery oneself, can send link down message to host node at once.
Step 402: arbitrary node of this RRPP ring receives this Common-flush-FDB message, all changes to the outbound port information of each the ARP list item of self information of the port on all RRPP ring at self place, then removes all MAC address entries of self.
Still, taking Fig. 3 as example, establish the looped network operation RRPP shown in Fig. 3, wherein, ring 1 is main ring, and ring 2 is subring, encircles 1,2 and intersects at node S2, S3, and S3 is fringe node, and S2 is assistant edge node.If the node S5 on ring 2 finds the port p8down of self, send link down message to the host node S6 of ring 2, host node S6 receives after this link down message, in the control VLAN of ring 2, broadcast Common-flush-FDB message, this message finally can arrive ring 1, all nodes in 2, wherein, non-fringe node S1 in ring 1, S4 receives after Common-flush-FDB message, can be because the control VLAN ID in message belong to the ring 1 at this node place, and only this message is carried out to transparent transmission processing, and node S2, S3, S5, S6 receives after this Common-flush-FDB message, control VLAN ID in confirmation message belongs to the ring 2 at this node place, thereby perform an action: the information that the outbound port information of each the ARP list item of self is all changed to the port on all RRPP ring at self place, remove again all MAC address entries of self.Wherein, the ARP list item of node S2, S3 can be updated to three port list items, and the ARP list item of node S5, S6 can be updated to dual-port list item.
Step 403: the arbitrary node on this RRPP ring is learnt MAC address entries, upgrades corresponding ARP list item according to this MAC address entries.
The host node of step 404:RRPP ring is found the link-recovery of this RRPP ring, recover data vlan at self loop the blocked state from port, and send Complete-flush-FDB message from the ring master port of self controlling in VLAN; Meanwhile, host node all replaces with the outbound port information of each the ARP list item of self from the master and slave port information on this ring, then removes all MAC address entries of self.
When host node after linkdown when receive the hello packet sending in the own VLAN of control from port, think link-recovery.
Step 405: arbitrary node of this RRPP ring receives this Complete-flush-FDB message, all changes to the outbound port information of each the ARP list item of self information of the port on all RRPP ring at self place, then removes all MAC address entries of self.
During due to link-recovery, host node has first blocked from port, so before ARP list item is refreshed, although each node is received three layers of Ethernet message and can be sent by the port from all rings at self place, but finally also only have portion and be successfully forwarded to destination, ensured that in the topological renewal process of ring, three laminar flow amounts are not interrupted.
Step 406: the arbitrary node on this RRPP ring is learnt MAC address entries, upgrades corresponding ARP list item according to this MAC address entries.
Equally, consider: ARP request-response mechanism also can refresh ARP list item.In the present embodiment, node is in the time receiving arp response message, according to VLAN ID and the source IP address of this message, self finding corresponding ARP list item, upgrade the MAC Address in this ARP list item with the source MAC of this response message, upgrade the outbound port information of this ARP list item with the ingress port information of this response message, that is, ARP list item is recovered for single port by multiport.
It should be noted that, in actual applications, in order further to allow in advance three laminar flow amount convergences, for embodiment illustrated in fig. 3, can be in the time that node be found link failure or link-recovery, carry out once immediately: the outbound port information of each the ARP list item of self is all changed to the information of the port on all RRPP ring at self place, then remove all MAC address entries of self; After this, in the time receiving Common-flush-FDB that host node sends or Complete-flush-FDB, carry out once again: the outbound port information of each the ARP list item of self is all changed to the information of the port on all RRPP ring at self place, then remove all MAC address entries of self.
Particularly, for host node, under following situation, all to carry out once: the outbound port information of each the ARP list item of self is all changed to the information of the port on all RRPP ring at self place, then remove all MAC address entries of self:
1) when do not receiving the own hello packet sending from master port in control VLAN from the hello timer expiry of port time;
2) in the time receiving the link down message that node on the ring sends;
3) in the time receiving the Common-flush-FDB message self sending;
4) when after linkdown, own in the time controlling the hello packet sending in VLAN from receiving from port;
5) in the time receiving the Complete-flush-FDB message self sending.
For non-host node, under following situation, all to carry out once: the outbound port information of each the ARP list item of self is all changed to the information of the port on all RRPP ring at self place, then remove all MAC address entries of self:
1) when when discovery self, any one belongs to the port down of ring;
2) in the time receiving the link down message that other node sends;
3) in the time receiving the Common-flush-FDB message that host node sends;
4) when find self any one belong to ring port when down becomes up;
5) in the time receiving the Complete-flush-FDB message that host node sends.
The ring network three-layer that Fig. 5 provides for the embodiment of the present invention is restrained the composition schematic diagram of device, and this device is positioned on the looped network node of supporting ring topology protection agreement, and this device mainly comprises: topology is upgraded pretreatment module 51 and list item refresh module 52, wherein:
Topology is upgraded pretreatment module 51: when finding the raw link failure of environment-development at this node place, or while there is link-recovery event, outbound port information in all ARP list items of this node is all changed to the information of all of the port on all rings at this node place, remove all MAC address entries of this node.
Or, topology upgrade pretreatment module 51 for, when finding the raw link failure of arbitrary environment-development at this node place, or while there is link-recovery event, outbound port information in all ARP list items of this node is all changed to the information of all effective ports on all rings at this node place, remove all MAC address entries of this node.
List item refresh module 52: in the time that this node is learnt MAC address entries, refresh corresponding ARP list item according to this MAC address entries.
Wherein, ring topology protection agreement is RRPP, or RSTP or MSTP.
Wherein, list item refresh module 52 refreshes corresponding ARP list item according to this MAC address entries and can comprise: according to VLAN ID and target MAC (Media Access Control) address in this MAC address entries, find corresponding ARP list item, with the outbound port information in this ARP list item of the outbound port information updating in MAC address entries.
Wherein, list item refresh module 52 is further used for, in the time receiving arp response message, according to VLAN ID and the source IP address of this message, on this node, find corresponding ARP list item, upgrade the MAC Address in this ARP list item with the source MAC of this response message, upgrade the outbound port information in this ARP list item with the ingress port information of this response message.
Wherein, topology renewal pretreatment module is found the raw link failure of the environment-development at this node place, or link-recovery event occurs to be comprised: the central link of finding this node breaks down, or receive the central link signalling trouble that upper other node of self place ring is sent, or the central link of finding this node is recovered from fault, or receive the central link recovery notice that upper other node of self place ring is sent.
In the time that described topological protection agreement is RRPP, when described node is host node, the raw link failure of environment-development that described topology renewal pretreatment module is found this node place, or generation link-recovery event comprises:
This node is receiving the hello packet that this node sends from master port from the hello timer expiry of port,
Or this node receives the link failure message that transmission node is sent,
Or this node receives the Common-flush-FDB message self sending,
Or, this node ring arbitrary link failure after, from receive the hello packet that this node sends from main side from port,
Or this node receives the Complete-flush-FDB message self sending;
In the time that described topological protection agreement is RRPP, when described node is non-host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
Any one belongs to the port failure of ring this section point discovery self,
Or this node receives the link failure message that other node is sent,
Or this node receives the Common-flush-FDB message that host node sends,
Or any one port that belongs to ring of this section point discovery self is by recovering in fault,
Or this node receives the Complete-flush-FDB message that host node sends.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (22)

1. a ring network three-layer convergence method, is characterized in that, the method comprises:
For the arbitrary node on the looped network of supporting ring topology protection agreement, when the raw link failure of environment-development at this node discovery self place, or while there is link-recovery event, outbound port information in all ARP list items of self is all changed to the information of all of the port on all rings at self place, remove all media access control MAC list items of self;
In the time that this node is learnt MAC address entries, refresh corresponding ARP list item according to this MAC address entries.
2. method according to claim 1, is characterized in that, described ring topology protection agreement is rapid ring protection protocol RRPP, or rapid ring protection protocol RSTP or Multiple Spanning Tree Protocol MSTP, or Ethernet ring protection switching exchange ERPS agreement.
3. method according to claim 1, is characterized in that, described node refreshes corresponding ARP list item according to this MAC address entries and comprises:
Node, according to VLAN ID VLAN ID and target MAC (Media Access Control) address in this MAC address entries, finds corresponding ARP list item, with the outbound port information in this ARP list item of the outbound port information updating in MAC address entries.
4. method according to claim 1, is characterized in that, described method further comprises:
In the time that this node receives arp response message, according to VLAN ID and the source IP address of this message, self finding corresponding ARP list item, upgrade the MAC Address in this ARP list item with the source MAC of this response message, upgrade the outbound port information in this ARP list item with the ingress port information of this response message.
5. method according to claim 1, is characterized in that, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
This node finds that the central link of self breaks down, or receive the central link signalling trouble that upper other node of self place ring is sent, or the central link of finding self is recovered from fault, or receive the central link recovery notice that upper other node of self place ring is sent.
6. method according to claim 1, is characterized in that, in the time that described topological protection agreement is RRPP, and when described node is host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
This node is receiving the hello packet that this node sends from master port from the hello timer expiry of port,
Or this node receives the link failure message that transmission node is sent,
Or this node receives the public forwarding database Common-flush-FDB message that refreshes self sending,
Or, this node ring arbitrary link failure after, from receive the hello packet that this node sends from main side from port,
Or, this node receive self send refresh forwarding database Complete-flush-FDB message completely;
In the time that described topological protection agreement is RRPP, when described node is non-host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
This node is found self, and any one belongs to the port failure of ring,
Or this node receives the link failure message that other node is sent,
Or this node receives the Common-flush-FDB message that host node sends,
Or this node finds that self any one port that belongs to ring is by recovering in fault,
Or this node receives the Complete-flush-FDB message that host node sends.
7. a ring network three-layer convergence method, is characterized in that, the method comprises:
For the arbitrary node on the looped network of supporting ring topology protection agreement, when the raw link failure of environment-development at this node discovery self place, or while there is link-recovery event, outbound port information in all ARP list items of self is all changed to the information of all effective ports on all rings at self place, remove all MAC address entries of self;
In the time that this node is learnt MAC address entries, refresh corresponding ARP list item according to this MAC address entries.
8. method according to claim 7, is characterized in that, described ring topology protection agreement is rapid ring protection protocol RRPP, or rapid ring protection protocol RSTP or Multiple Spanning Tree Protocol MSTP, or Ethernet ring protection switching exchange ERPS agreement.
9. method according to claim 7, is characterized in that, described method further comprises:
In the time that this node receives arp response message, according to VLAN ID and the source IP address of this message, self finding corresponding ARP list item, upgrade the MAC Address in this ARP list item with the source MAC of this response message, upgrade the outbound port information in this ARP list item with the ingress port information of this response message.
10. method according to claim 7, is characterized in that, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
This node finds that the central link of self breaks down, or receive the central link signalling trouble that upper other node of self place ring is sent, or the central link of finding self is recovered from fault, or receive the central link recovery notice that upper other node of self place ring is sent.
11. methods according to claim 7, is characterized in that, in the time that described topological protection agreement is RRPP, and when described node is host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
This node is receiving the hello packet that this node sends from master port from the hello timer expiry of port,
Or this node receives the link failure message that transmission node is sent,
Or this node receives the Common-flush-FDB message self sending,
Or, this node ring arbitrary link failure after, from receive the hello packet that this node sends from main side from port,
Or this node receives the Complete-flush-FDB message self sending;
In the time that described topological protection agreement is RRPP, when described node is non-host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
This node is found self, and any one belongs to the port failure of ring,
Or this node receives the link failure message that other node is sent,
Or this node receives the Common-flush-FDB message that host node sends,
Or this node finds that self any one port that belongs to ring is by recovering in fault,
Or this node receives the Complete-flush-FDB message that host node sends.
12. 1 kinds of ring network three-layer convergence devices, are positioned on the looped network node of supporting ring topology protection agreement, it is characterized in that, this device comprises:
Topology is upgraded pretreatment module: when finding the raw link failure of environment-development at this node place, or while there is link-recovery event, outbound port information in all ARP list items of this node is all changed to the information of all of the port on all rings at this node place, remove all MAC address entries of this node;
List item refresh module: in the time that this node is learnt MAC address entries, refresh corresponding ARP list item according to this MAC address entries.
13. devices according to claim 12, is characterized in that, described ring topology protection agreement is rapid ring protection protocol RRPP, or rapid ring protection protocol RSTP or Multiple Spanning Tree Protocol MSTP, or Ethernet ring protection switching exchange ERPS agreement.
14. devices according to claim 12, is characterized in that, described list item refresh module refreshes corresponding ARP list item according to this MAC address entries and comprises:
According to VLAN ID and target MAC (Media Access Control) address in this MAC address entries, find corresponding ARP list item, with the outbound port information in this ARP list item of the outbound port information updating in MAC address entries.
15. devices according to claim 12, is characterized in that, described list item refresh module is further used for,
In the time receiving arp response message, according to VLAN ID and the source IP address of this message, on this node, find corresponding ARP list item, upgrade the MAC Address in this ARP list item with the source MAC of this response message, upgrade the outbound port information in this ARP list item with the ingress port information of this response message.
16. devices according to claim 12, is characterized in that, the raw link failure of environment-development that described topology renewal pretreatment module is found this node place, or generation link-recovery event comprises:
The central link of finding this node breaks down, or receive the central link signalling trouble that upper other node of self place ring is sent, or the central link of finding this node is recovered from fault, or receive the central link recovery notice that upper other node of self place ring is sent.
17. devices according to claim 12; it is characterized in that, in the time that described topology protection agreement is RRPP, when described node is host node; the raw link failure of environment-development that described topology renewal pretreatment module is found this node place, or generation link-recovery event comprises:
This node is receiving the hello packet that this node sends from master port from the hello timer expiry of port,
Or this node receives the link failure message that transmission node is sent,
Or this node receives the Common-flush-FDB message self sending,
Or, this node ring arbitrary link failure after, from receive the hello packet that this node sends from main side from port,
Or this node receives the Complete-flush-FDB message self sending;
In the time that described topological protection agreement is RRPP, when described node is non-host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
Any one belongs to the port failure of ring this section point discovery self,
Or this node receives the link failure message that other node is sent,
Or this node receives the Common-flush-FDB message that host node sends,
Or any one port that belongs to ring of this section point discovery self is by recovering in fault,
Or this node receives the Complete-flush-FDB message that host node sends.
18. 1 kinds of ring network three-layer convergence devices, are positioned on the looped network node of supporting ring topology protection agreement, it is characterized in that, this device comprises:
Topology is upgraded pretreatment module: when finding the raw link failure of environment-development at this node place, or while there is link-recovery event, outbound port information in all ARP list items of this node is all changed to the information of all effective ports on all rings at this node place, remove all MAC address entries of this node;
List item refresh module: in the time that this node is learnt MAC address entries, refresh corresponding ARP list item according to this MAC address entries.
19. devices according to claim 18, is characterized in that, described ring topology protection agreement is rapid ring protection protocol RRPP, or rapid ring protection protocol RSTP or Multiple Spanning Tree Protocol MSTP, or Ethernet ring protection switching exchange ERPS agreement.
20. devices according to claim 18, is characterized in that, described list item refresh module is further used for,
In the time receiving arp response message, according to VLAN ID and the source IP address of this message, on this node, find corresponding ARP list item, upgrade the MAC Address in this ARP list item with the source MAC of this response message, upgrade the outbound port information in this ARP list item with the ingress port information of this response message.
21. devices according to claim 18, is characterized in that, the raw link failure of environment-development that described topology renewal pretreatment module is found this node place, or generation link-recovery event comprises:
The central link of finding this node breaks down, or receive the central link signalling trouble that upper other node of self place ring is sent, or the central link of finding this node is recovered from fault, or receive the central link recovery notice that upper other node of self place ring is sent.
22. devices according to claim 18; it is characterized in that, in the time that described topology protection agreement is RRPP, when described node is host node; the raw link failure of environment-development that described topology renewal pretreatment module is found this node place, or generation link-recovery event comprises:
This node is receiving the hello packet that this node sends from master port from the hello timer expiry of port,
Or this node receives the link failure message that transmission node is sent,
Or this node receives the Common-flush-FDB message self sending,
Or, this node ring arbitrary link failure after, from receive the hello packet that this node sends from main side from port,
Or this node receives the Complete-flush-FDB message self sending;
In the time that described topological protection agreement is RRPP, when described node is non-host node, the described raw link failure of environment-development when this node discovery self place, or generation link-recovery event comprises:
Any one belongs to the port failure of ring this section point discovery self,
Or this node receives the link failure message that other node is sent,
Or this node receives the Common-flush-FDB message that host node sends,
Or any one port that belongs to ring of this section point discovery self is by recovering in fault,
Or this node receives the Complete-flush-FDB message that host node sends.
CN201410097706.4A 2014-03-17 2014-03-17 Ring network three-layer convergence method and device Active CN103873333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410097706.4A CN103873333B (en) 2014-03-17 2014-03-17 Ring network three-layer convergence method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410097706.4A CN103873333B (en) 2014-03-17 2014-03-17 Ring network three-layer convergence method and device

Publications (2)

Publication Number Publication Date
CN103873333A true CN103873333A (en) 2014-06-18
CN103873333B CN103873333B (en) 2017-10-27

Family

ID=50911476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410097706.4A Active CN103873333B (en) 2014-03-17 2014-03-17 Ring network three-layer convergence method and device

Country Status (1)

Country Link
CN (1) CN103873333B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338127A (en) * 2014-07-18 2016-02-17 华为技术有限公司 Media access control MAC address table updating method, switch and system
CN106330646A (en) * 2016-08-19 2017-01-11 浙江宇视科技有限公司 Networking control method, apparatus and system
CN108574648A (en) * 2018-02-27 2018-09-25 上海兆越通讯技术有限公司 A kind of industrial ethernet switch
CN111030910A (en) * 2019-12-20 2020-04-17 国网上海市电力公司 Method and system for monitoring communication state of ring network node, measurement and control device and local module
CN111526078A (en) * 2019-06-26 2020-08-11 上海自恒信息科技有限公司 Sub-ring network redundancy expansion protocol applied to diversified network topology
CN114124805A (en) * 2021-09-18 2022-03-01 重庆金美通信有限责任公司 Method for transmitting data by one skip in non-token ring network
CN115277190A (en) * 2022-07-27 2022-11-01 北京国领科技有限公司 Method for realizing neighbor discovery on network by link layer transparent encryption system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022390A (en) * 2007-03-21 2007-08-22 华为技术有限公司 Method, system and equipment for protecting double-return switch-in RRPP loop network
CN101610221A (en) * 2009-07-23 2009-12-23 杭州华三通信技术有限公司 IP unicast took over seamlessly when a kind of STP switched method and device
CN102118290A (en) * 2011-02-24 2011-07-06 杭州华三通信技术有限公司 Method and device for reducing service flow interruption time
CN102170384A (en) * 2011-04-15 2011-08-31 杭州华三通信技术有限公司 Method for processing faults of intersected Ethernet ring and nodes
CN102255757A (en) * 2011-08-08 2011-11-23 杭州华三通信技术有限公司 Link switching method and device
US20120250695A1 (en) * 2011-03-31 2012-10-04 Nokia Siemens Networks Ethernet Solutions Ltd. Hitless node insertion for ethernet networks
CN102821050A (en) * 2012-08-15 2012-12-12 南京南瑞继保电气有限公司 Processing method for applying rapid spanning tree protocol to monocyclic network topology

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022390A (en) * 2007-03-21 2007-08-22 华为技术有限公司 Method, system and equipment for protecting double-return switch-in RRPP loop network
CN101610221A (en) * 2009-07-23 2009-12-23 杭州华三通信技术有限公司 IP unicast took over seamlessly when a kind of STP switched method and device
CN102118290A (en) * 2011-02-24 2011-07-06 杭州华三通信技术有限公司 Method and device for reducing service flow interruption time
US20120250695A1 (en) * 2011-03-31 2012-10-04 Nokia Siemens Networks Ethernet Solutions Ltd. Hitless node insertion for ethernet networks
CN102170384A (en) * 2011-04-15 2011-08-31 杭州华三通信技术有限公司 Method for processing faults of intersected Ethernet ring and nodes
CN102255757A (en) * 2011-08-08 2011-11-23 杭州华三通信技术有限公司 Link switching method and device
CN102821050A (en) * 2012-08-15 2012-12-12 南京南瑞继保电气有限公司 Processing method for applying rapid spanning tree protocol to monocyclic network topology

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338127A (en) * 2014-07-18 2016-02-17 华为技术有限公司 Media access control MAC address table updating method, switch and system
CN105338127B (en) * 2014-07-18 2018-12-07 华为技术有限公司 MAC address table updating method, interchanger and system
CN106330646A (en) * 2016-08-19 2017-01-11 浙江宇视科技有限公司 Networking control method, apparatus and system
CN106330646B (en) * 2016-08-19 2020-04-10 浙江宇视科技有限公司 Networking control method, device and system
CN108574648A (en) * 2018-02-27 2018-09-25 上海兆越通讯技术有限公司 A kind of industrial ethernet switch
CN111526078A (en) * 2019-06-26 2020-08-11 上海自恒信息科技有限公司 Sub-ring network redundancy expansion protocol applied to diversified network topology
CN111030910A (en) * 2019-12-20 2020-04-17 国网上海市电力公司 Method and system for monitoring communication state of ring network node, measurement and control device and local module
CN114124805A (en) * 2021-09-18 2022-03-01 重庆金美通信有限责任公司 Method for transmitting data by one skip in non-token ring network
CN114124805B (en) * 2021-09-18 2023-09-12 重庆金美通信有限责任公司 Method for forwarding data in non-token ring network in one hop
CN115277190A (en) * 2022-07-27 2022-11-01 北京国领科技有限公司 Method for realizing neighbor discovery on network by link layer transparent encryption system
CN115277190B (en) * 2022-07-27 2023-08-15 北京国领科技有限公司 Method for realizing neighbor discovery on network by link layer transparent encryption system

Also Published As

Publication number Publication date
CN103873333B (en) 2017-10-27

Similar Documents

Publication Publication Date Title
CN103873333A (en) Ring network three-layer convergence method and device
JP5369228B2 (en) Method and apparatus for restoring unicast traffic
US8179788B2 (en) Protection switching method and apparatus for use in ring network
CN102014001B (en) Method and exchange equipment for realizing fast Ethernet ring
EP2339791B1 (en) Method for forwarding protocol frames in spanning rings and a shared node of multi-rings in the ethernet
CN101841450B (en) Method and system for realizing stable communication by forming multiple ring topologies into intersecting ring
CN102130912B (en) Rapid ring protection protocol (RRPP)-based multiple virtual local area network (VLAN) register protocol (MVRP) realization method and equipment
US9800521B2 (en) Network switching systems and methods
WO2016116050A1 (en) Failure protection method, device and system for ring protection link
CN102780615B (en) Link backup method and routing forwarding device
CN102255757A (en) Link switching method and device
CN102055658B (en) Method and equipment for realizing failure protection in rapid ring protection protocol single-ring networking
CN101483571B (en) RRPP configuring method, system and device
JP5491623B2 (en) Address refresh method and system
CN102170384B (en) Method for processing faults of intersected Ethernet ring and nodes
CN101641915B (en) Method for reconfiguring a communication network
CN112995002B (en) Switch ring network design method, switch and storage medium
CN102487348B (en) Method and system for realizing looped network uplink protection
CN102412984A (en) Management method and equipment for forwarded table entry
CN103746912B (en) Data message transmission method and equipment based on subring link
CN102104533B (en) Method for optimizing RRPP (rapid ring protection protocol) single ring network data transmitting path and ring network node
CN101557333B (en) Processing method of loop fault in dual-homing networking and node device
WO2012123953A1 (en) A method and system for managing a communication network
CN101656664B (en) Ethernet ring network system and border node thereof and Ethernet ring network realization method
CN103414591A (en) Method and system for fast converging when port failure is recovered

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant 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

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant