CN102480409B - Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device - Google Patents

Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device Download PDF

Info

Publication number
CN102480409B
CN102480409B CN201010557259.8A CN201010557259A CN102480409B CN 102480409 B CN102480409 B CN 102480409B CN 201010557259 A CN201010557259 A CN 201010557259A CN 102480409 B CN102480409 B CN 102480409B
Authority
CN
China
Prior art keywords
host node
hello packet
node
port
common
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.)
Expired - Fee Related
Application number
CN201010557259.8A
Other languages
Chinese (zh)
Other versions
CN102480409A (en
Inventor
顾雷雷
王军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201010557259.8A priority Critical patent/CN102480409B/en
Publication of CN102480409A publication Critical patent/CN102480409A/en
Application granted granted Critical
Publication of CN102480409B publication Critical patent/CN102480409B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, an RRPP loop and a device, wherein the method comprises the steps as follows: determining a master node agent in the RRPP loop, switching a secondary vice port of the master node agent into a blocked state on a data virtual local area network (VLAN), transmitting a master node agent Hello message through a secondary master port after the master node agent receives a common Hello message from a master node through the secondary vice port, switching the vice port into a forward state on a data VLAN after the master node receives the master node agent Hello message through the vice port, transmitting a common address refreshing (Common-Flush-FDB (filtering database)) message through the master port and the vice port, and refreshing a media access control (MAC) address forwarding table by a transmission mode according to the message. In the invention, the resource utilization rate of the RRPP loop can be improved.

Description

Realize up method, RRPP ring and the device of RRPP ring shunt
Technical field
The present invention relates to quick ring protection agreement (RRPP, Rapid Ring Protoction Protocol) technical field, relate in particular to and realize up method, RRPP ring and the device of RRPP ring shunt.
Background technology
RRPP is the link layer protocol that is specifically designed to Ethernet ring, it can prevent the broadcast storm that data loopback causes in the time that ether ring is complete, and can recover rapidly the communication link between each node on looped network in the time that arbitrary link disconnects on ether ring, the ether ring that has conventionally enabled RRPP is called RRPP ring.
On a common RRPP ring, mainly comprise host node and transmission node, wherein, host node is the main running node of initiating loop detection and carrying out loop prevention, its master port sends loop probe messages (as hello packet) according to the fixing duration in the timing cycle interval of Hello timer on RRPP ring, if secondary port according to the timing cycle of Fail timer within the time of setting (be generally Hello timer timing cycle 3 times) do not receive loop probe messages, determine that the link on RRPP ring breaks down.When link on RRPP ring does not have fault, the secondary port of host node is set to blocked state (but remain at the forwarding state of controlling on VLAN, to guarantee to receive loop probe messages) on data vlan, cannot forwarding data, in the time that transmission node perceives self institute's connected link and breaks down, send link failure (Link_down) message to host node, host node receives after Link_down message, the secondary port of host node is switched to forwarding state on data vlan, carry out the forwarding of data message, thereby the transmission node on guarantee RRPP ring can receive data message, and send common address flush (Common_Flush_FDB) message by Primary port and secondary port, each transmission node receives after Common_Flush_FDB message, refresh the mac address forwarding table of self, thereby change the data transfer direction on follow-up RRPP ring.
Monitoring RRPP ring is a kind of special RRPP ring, is applied to the video monitoring in the fields such as highway at present more.Monitoring RRPP ring comprises a host node and multiple encoder, and wherein encoder is served as transmission node.If Fig. 1 is existing a kind of structural representation of monitoring RRPP ring, comprise host node and encoder A-K.In Fig. 1, the transmission direction of the monitoring flow that the direction shown in arrow produces for each encoder.Monitoring flow belongs to bursty nature flow, and on ring, the monitoring flow of all encoder bursty nature is all up along same direction, and this just causes the buffer memory pressure of the encoder that more approaches host node larger, and the load of link that more approaches host node is larger; And all flows are all up from the same port of host node, also there is certain pressure in this concerning host node.Visible, there is performance bottleneck in existing monitoring RRPP ring, cannot make full use of the efficient resource in ring.
If for common RRPP ring, in prior art, can adopt the many case technologies of RRPP to solve the problems referred to above.But the many case technologies of RRPP are not suitable for monitoring RRPP, this is not support outlet to play VLAN label because serve as the encoder of RRPP ring transmission node, cannot meet the requirement of the many examples of RRPP; And in general monitoring RRPP is applied to highway etc., and each equipment belongs to a VLAN networking, and the RRPP of encoder realization is simple, cannot move multiple RRPP examples simultaneously.
Summary of the invention
The invention provides a kind of up method of RRPP ring shunt that realizes, can improve the resource utilization of RRPP ring.
The present invention also proposes a kind of RRPP ring, host node and transmission node, and the shunt that can realize RRPP ring is up, improves the resource utilization of RRPP ring.
Technical scheme of the present invention is achieved in that
Realize the up method of RRPP ring shunt, be applied to the RRPP ring that comprises a host node and multiple transmission nodes, on described host node, Primary port and secondary port is set, it is characterized in that, described method comprises:
Host node is searched apart from host node transmission node farthest, and this transmission node is defined as to host node agency; Send and select along separate routes hello packet, this message to carry described host node agency's mark by master port;
Transmission node receives described shunt and selects hello packet, judge according to the mark of the host node agency in this message whether self is host node agency, if, the port that receives this message is defined as to time secondary port, another port is defined as to time master port, inferior secondary port is switched to blocked state on data vlan;
When host node agency receives the common hello packet of autonomous node by inferior secondary port, send host node by inferior master port and act on behalf of hello packet;
Host node receives described host node by secondary port and acts on behalf of after hello packet, described secondary port is switched to forwarding state on data vlan, and send Common_Flush_FDB message by Primary port and secondary port.
A kind of RRPP ring, comprises a host node and multiple transmission node, it is characterized in that:
Described host node, for searching apart from host node transmission node farthest, is defined as host node agency by this transmission node; Send and select along separate routes hello packet, this message to carry described host node agency's mark by master port; Receive from described host node agency's host node and act on behalf of after hello packet by secondary port, described secondary port is switched to forwarding state on data vlan, and send common address flush Common_Flush_FDB message by Primary port and secondary port;
Described transmission node, be used for receiving described shunt and select hello packet, judge according to the mark of the host node agency in this message whether self is host node agency, if, the port that receives this message is defined as to time secondary port, another port is defined as to time master port, inferior secondary port is switched to blocked state on data virtual local area network (LAN) VLAN; While receiving the common hello packet of autonomous node by inferior secondary port, send host node by inferior master port and act on behalf of hello packet.
A kind of host node, is applied to the RRPP ring that comprises a host node and multiple transmission nodes, it is characterized in that, described host node comprises determination module, notification agent module and handover module; Wherein,
Described determination module, for searching apart from host node transmission node farthest, is defined as host node agency by this transmission node;
Described notification agent module, selects hello packet, this shunt to select hello packet to carry the determined host node agency's of described determination module mark for sending by master port along separate routes;
Described handover module, act on behalf of after hello packet for receiving by secondary port from described host node agency's host node, described secondary port is switched to forwarding state on data vlan, and send Common_Flush_FDB message by Primary port and secondary port.
A kind of transmission node, is applied to the RRPP ring that comprises a host node and multiple transmission nodes, it is characterized in that, described transmission node comprises judge module, module is set, confirms proxy module and address flush module; Wherein,
Described judge module, selects hello packet for receiving from the shunt of described host node, judges according to the mark of the host node agency in this message whether self is host node agency, and if so, instruction arranges module setting;
The described module that arranges, for according to the instruction of judge module, selects the port of hello packet to be defined as time secondary port by receiving this shunt, and another port is defined as to time master port, and inferior secondary port is switched to blocked state on data vlan;
Described confirmation proxy module, in the time receiving the common hello packet of autonomous node by inferior secondary port, sends host node by inferior master port and acts on behalf of hello packet;
Described address flush module, in the time receiving the Common_Flush_FDB message of autonomous node, refreshes the media access control MAC addresses forwarding table of described transmission node.
Visible, along separate routes up method, RRPP ring and device of what the present invention proposed realize RRPP ring, the Primary port and secondary port of RRPP ring middle distance host node all transmission node is farthest set to host node agency; Afterwards, the secondary port of host node is set to forwarding state on data vlan, host node agency's inferior secondary port is set to blocked state on data vlan; Host node sends Common_Flush_FDB message by Primary port and secondary port, and the transmission node in loop is received after this Common_Flush_FDB message, refreshed the mac address forwarding table of self.By the way, the shunt that realizes RRPP ring is up, improves the resource utilization of RRPP ring.
Brief description of the drawings
Fig. 1 is existing a kind of structural representation of monitoring RRPP ring;
Fig. 2 be the present invention propose realize along separate routes up method flow diagram of RRPP ring;
Fig. 3 is that the embodiment of the present invention realizes the up method flow diagram of monitoring RRPP ring shunt;
Fig. 4 adopts the embodiment of the present invention to realize the structural representation of up along separate routes monitoring RRPP ring;
Fig. 5 is the structural representation of the host node that proposes of the present invention;
Fig. 6 is the structural representation of the transmission node that proposes of the present invention.
Embodiment
The present invention proposes a kind of up method of RRPP ring shunt that realizes, and is applied to the RRPP ring that comprises a host node and multiple transmission nodes, and this host node comprises Primary port and secondary port; As Fig. 2 be the present invention propose realize along separate routes up method flow diagram of RRPP ring, the method comprises:
Step 201: host node is searched apart from host node transmission node farthest, is defined as host node agency by this transmission node.
Step 202: host node is sent and selected along separate routes hello packet, this shunt to select hello packet to carry described host node agency's mark by master port;
Step 203: transmission node receives described shunt and selects hello packet, judge according to the host node agent identification in this message whether self is host node agency, if, the port that receives this message is defined as to time secondary port, another port is defined as to time master port, inferior secondary port is switched to blocked state on data vlan; Otherwise, continue to forward this shunt and select hello packet;
Step 204: when host node agency receives the common hello packet of autonomous node by inferior secondary port, send host node by inferior master port and act on behalf of hello packet;
Step 205: host node receives described host node by secondary port and acts on behalf of after hello packet switches to forwarding state by described secondary port, and sends Common_Flush_FDB message by Primary port and secondary port on data vlan.
After said method step 205, may further include:
Step 206: transmission node receives this Common_Flush_FDB message, refreshes the mac address forwarding table of self according to this message.
By said process, the flow that can realize RRPP ring divides two-way up, that is, flow goes upward to host node by a host node agency point two-way.The prerequisite of this establishment is that host node is the outlet of the upper flow of ring.
In above-mentioned steps 201, host node is searched apart from the mode of host node transmission node farthest and can is:
Host node sends collecting topology hello packet by master port;
When each transmission node in RRPP ring receives collecting topology hello packet, the mark of self is packed into this collecting topology hello packet, and continues to forward this collecting topology hello packet;
Host node receives collecting topology hello packet by secondary port, obtains the mark of the each transmission node carrying in this collecting topology hello packet, searches apart from all transmission nodes farthest of the Primary port and secondary port of host node according to described mark.
Have 2 apart from host node transmission node farthest if found, host node can be defined as wherein any one host node agency.
In above-mentioned steps 203, transmission node is judged after acting on behalf of as host node, may further include: host node is set and acts on behalf of hello packet timer, the timing cycle that described host node is acted on behalf of the timing cycle of hello packet timer and the common hello packet timer of host node is identical;
Like this, when host node agency receives first common hello packet in host node is acted on behalf of the timing cycle of hello packet timer, can send host node by inferior master port and act on behalf of hello packet; If also receive follow-up common hello packet in this timing cycle, no longer trigger its transmission host node and act on behalf of hello packet.
Host node receives first host node while acting on behalf of hello packet processing procedure that what above-mentioned steps 205 was described is; Once after secondary port is switched to forwarding state and sends Common_Flush_FDB message, when receiving host node subsequent cycle and acting on behalf of hello packet, host node only need maintain current state, and need not perform step the process described in 205.
In said process, collecting topology hello packet, along separate routes select hello packet and host node to act on behalf of hello packet in the reserved field of self, to identify respectively.These three kinds of hello packet are special hello packet that the present invention defines, and in addition, also periodically send common hello packet in system.Below various hello packet are elaborated:
Common hello packet---in reserved field, selecting 4bit territory is common hello packet for identifying this message, and reserved field value is 0000; Be common loop probe messages, send by acquiescence detect cycle, not affected by other flow processs;
Collecting topology hello packet---in reserved field, selecting 4bit territory is collecting topology hello packet for identifying this message, and reserved field can value be 0001, collects for encircling upper topology, periodically sends, and the cycle can be set to 30 minutes;
Select along separate routes hello packet---in reserved field, select 4bit territory for identifying this message for selecting along separate routes hello packet, reserved field can value be 0010, notify the transmission node farthest of choosing (being host node agency) for host node, in this hello packet, carry the mark of the transmission node of choosing.Other transmission nodes are received rear transparent transmission, only have selected transmission node to receive that rear discovery, to oneself, just can process;
Host node is acted on behalf of hello packet---and in reserved field, selecting 4bit territory is that host node is acted on behalf of hello packet for identifying this message, reserved field can value be 0011, the hello packet that host node agency sends, for notifying host node that secondary port is switched to forwarding state on data vlan.
After above-mentioned steps, when RRPP ring there is link failure or because of RRPP ring on increase new node cause loop disconnect time, further carry out following steps:
In the time that host node is received Link_down message or host node and is not received host node act on behalf of hello packet in the timing cycle of continuous three common Hello timers by master port or secondary port, the secondary port of host node still keeps forwarding state on data vlan, but the state of RRPP ring is set to failure (Failed) state, to remind network management personnel to check loop;
Or, in the time that host node agency receives Link_down message, inferior secondary port is switched to forwarding state on data vlan, and recover the transmission node identity of self,, receive by inferior secondary port after the common hello packet of autonomous node, no longer common hello packet is processed, but common hello packet described in direct transparent transmission.
After loop fault is disengaged and lays equal stress on and newly set up RRPP ring, repeat above-mentioned steps 201, reselect host node agency, realize flow on RRPP ring up along separate routes.
The method that the present invention proposes is applicable to RRPP ring, is particularly useful for monitoring RRPP ring.Below lift the application of specific embodiment explanation the present invention in monitoring RRPP ring, the present embodiment adopts the monitoring RRPP ring shown in Fig. 1.If Fig. 3 is that the embodiment of the present invention realizes the up method flow diagram of monitoring RRPP ring shunt, comprise the following steps:
Step 301: host node sends collecting topology hello packet by master port, the reserved field value of this collecting topology hello packet is 0001, this collecting topology hello packet transmits in RRPP ring.
Step 302: collecting topology hello packet transfers to encoder A-K successively, when encoder A-K receives collecting topology hello packet, is packed into this collecting topology hello packet by the mark of self, and continues to forward.
Step 303: host node receives collecting topology hello packet by secondary port, obtain the mark of the each encoder carrying in this message, determine apart from all encoders farthest of the Primary port and secondary port of host node by these marks, be assumed to encoder F, encoder F is defined as to host node agency.
Step 304: host node is sent along separate routes and selected hello packet by master port, and this shunt selects to carry in hello packet the mark of encoder F, and the reserved field value of this message is 0010.
Step 305: select hello packet to transfer to successively encoder A-F along separate routes;
For encoder A-E, in the time receiving that hello packet is selected in shunt, judging according to the mark of the encoder F wherein carrying self is not the host node agency that host node is selected, and continues to forward and selects along separate routes hello packet;
For encoder F, in the time receiving that hello packet is selected in shunt, judging according to the mark of the encoder F wherein carrying self is the host node agency that host node is selected, the port that receives this message is defined as to time secondary port, another port is defined as to time master port, inferior master port is switched to blocked state on data vlan, and host node is set acts on behalf of hello packet timer.Wherein, to act on behalf of the timing cycle of the timing cycle of hello packet timer and the common hello packet timer of host node identical for host node.
Step 306: encoder F receives by inferior secondary port after the common hello packet of autonomous node, no longer this common hello packet of transparent transmission; But in host node is acted on behalf of the timing cycle of hello packet timer, in the time receiving common hello packet for the first time, send host node by inferior master port and act on behalf of hello packet, the reserved field value of this message is 0011.
Step 307: host node is acted on behalf of hello packet and transferred to host node by encoder G-K, host node receives this host node by secondary port and acts on behalf of after hello packet, secondary port is switched to forwarding state on data vlan, but on host node, the state of RRPP ring is still closed loop state, the relieving that is secondary port on RRPP host node is not because receive Link_down message, but owing to continuing to receive that host node acts on behalf of hello packet; Host node also sends Common_Flush_FDB message by Primary port and secondary port.
Step 308: when each encoder in loop receives this Common_Flush_FDB message, refresh the mac address forwarding table of self.
So far, realized the shunt of monitoring RRPP ring flow up.Fig. 4 adopts the embodiment of the present invention to realize the structural representation of up along separate routes monitoring RRPP ring.As shown in the arrow in Fig. 4, by encoder F, through left and right, two links go upward to host node to flow respectively, thereby have avoided all flows to transmit via a direction, avoid performance bottleneck.
After this,, in the time that link failure appears in monitoring RRPP ring or increase new node on RRPP ring and cause loop to disconnect because of monitoring, host node Proxy Restore need to be become to common encoder, and propose alarm by host node to webmaster.Specifically comprise the following steps:
Step 309: in the time that host node is received Link_down message or host node and do not received host node act on behalf of hello packet in the timing cycle of continuous three common Hello timers by master port or secondary port, think that network breaks down, the secondary port of host node still keeps forwarding state on data vlan, but the state of RRPP ring is set to Failed state, to remind network management personnel to check loop.
Step 310: in the time that encoder F also receives Link_down message, inferior secondary port is switched to forwarding state on data vlan, and recover the transmission node identity of self,, receive by inferior secondary port after the common hello packet of autonomous node, no longer common hello packet is processed, but direct this common hello packet of transparent transmission.
Certainly, above-mentioned steps 309 and 310 is actions that host node and encoder F carry out respectively, there is no fixing sequencing.
After link failure is removed, re-establish monitoring RRPP ring, repeat above-mentioned steps, determine that monitoring flow is acted on behalf of and realized to new host node up along separate routes.
The present invention also proposes a kind of RRPP ring, comprises a host node and multiple transmission node, wherein:
Described host node, for searching apart from host node transmission node farthest, is defined as host node agency by this transmission node; Send and select along separate routes hello packet, this message to carry described host node agency's mark by master port; Receive from described host node agency's host node and act on behalf of after hello packet by secondary port, described secondary port is switched to forwarding state on data vlan, and send Common_Flush_FDB message by Primary port and secondary port;
Described transmission node, be used for receiving described shunt and select hello packet, judge according to the mark of the host node agency in this message whether self is host node agency, if, the port that receives this message is defined as to time secondary port, another port is defined as to time master port, inferior secondary port is switched to blocked state on data virtual local area network (LAN) VLAN; While receiving the common hello packet of autonomous node by inferior secondary port, send host node by inferior master port and act on behalf of hello packet.
The present invention also proposes a kind of host node, be applied to the RRPP ring that comprises a host node and multiple transmission nodes, if Fig. 5 is the structural representation of the host node that proposes of the present invention, this host node comprises: determination module 501, notification agent module 502 and handover module 503; Wherein,
Described determination module 501, for searching apart from host node transmission node farthest, is defined as host node agency by this transmission node;
Described notification agent module 502, selects hello packet, this shunt to select hello packet to carry the determined host node agency's of described determination module 501 mark for sending by master port along separate routes;
Described handover module 503, act on behalf of after hello packet for receiving by secondary port from described host node agency's host node, described secondary port is switched to forwarding state on data vlan, and send Common_Flush_FDB message by Primary port and secondary port.
In above-mentioned host node, determination module 501 is searched apart from the mode of host node transmission node farthest and is: send collecting topology hello packet by master port; Receive the collecting topology hello packet after forwarding through each transmission node in RRPP ring by secondary port, self the mark that described collecting topology hello packet carries that each transmission node fills; The collecting topology hello packet receiving from secondary port, obtain the mark of each transmission node, search apart from all transmission nodes farthest of the Primary port and secondary port of host node according to this mark.
Above-mentioned host node can also comprise alarm module 504, for in the time that host node is received Link_down message or host node and do not received host node act on behalf of hello packet in the timing cycle of continuous three common Hello timers by master port or secondary port, the state of RRPP ring is set to status of fail.
The present invention also proposes a kind of transmission node, be applied to the RRPP ring that comprises a host node and multiple transmission nodes, if Fig. 6 is the structural representation of the transmission node that proposes of the present invention, this transmission node comprises judge module 601, module 602 is set, confirms proxy module 603 and address flush module 604; Wherein,
Described judge module 601, selects hello packet for receiving from the shunt of described host node, judge according to the mark of the host node agency in this message whether self is host node agency, if so, indicates module 602 is set arranges;
The described module 602 that arranges, for according to the instruction of judge module 601, selects the port of hello packet to be defined as time secondary port by receiving this shunt, and another port is defined as to time master port, and inferior secondary port is switched to blocked state on data vlan;
Described confirmation proxy module 603, in the time receiving the common hello packet of autonomous node by inferior secondary port, sends host node by inferior master port and acts on behalf of hello packet;
Described address flush module 604, in the time receiving the Common_Flush_FDB message of autonomous node, refreshes the mac address forwarding table of described transmission node.
Above-mentioned transmission node also comprises can identify interpolation module 605, in the time receiving the collecting topology hello packet of autonomous node, the mark of described transmission node is packed into this collecting topology hello packet, and continues to forward this collecting topology hello packet.
Above-mentioned transmission node may further include recovering state module 606, for in the time receiving Link_down message, inferior secondary port is switched to forwarding state on data vlan, receive by inferior secondary port after the common hello packet of autonomous node, common hello packet described in transparent transmission.
As fully visible, along separate routes up method, RRPP ring and device of what the present invention proposed realize RRPP ring, the Primary port and secondary port of selecting RRPP ring middle distance host node all transmission node is farthest acted on behalf of as host node; The secondary port of host node is set to forwarding state on data vlan, host node agency's inferior secondary port is set to blocked state on data vlan; Host node sends Common_Flush_FDB message by Primary port and secondary port, makes the transmission node in loop refresh the mac address forwarding table of self according to this message.By the way, the shunt that realizes RRPP ring is up, avoids all flows to transmit via a direction, has effectively utilized the available bandwidth on RRPP ring, and can solve the buffer memory pressure of the transmission node of close host node in original RRPP networking, make full use of the buffer memory of major and minor port.Visible, the present invention can avoid performance bottleneck, optimizes the performance of RRPP ring.When network break down or RRPP ring on while increasing new transmission node, host node agency can associated treatment Link_down message, removes the blocked state of time secondary port, accelerates loop switch speed.
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 (13)

1. realize the up method of quick ring protection agreement RRPP ring shunt, be applied to the RRPP ring that comprises a host node and multiple transmission nodes, on described host node, Primary port and secondary port is set, it is characterized in that, described method comprises:
Host node is searched apart from host node transmission node farthest, and this transmission node is defined as to host node agency; Send and select along separate routes hello packet, this message to carry described host node agency's mark by master port;
Transmission node receives described shunt and selects hello packet, judge according to the mark of the host node agency in this message whether self is host node agency, if, the port that receives this message is defined as to time secondary port, another port is defined as to time master port, inferior secondary port is switched to blocked state on data virtual local area network (LAN) VLAN;
When host node agency receives the common hello packet of autonomous node by inferior secondary port, send host node by inferior master port and act on behalf of hello packet;
Host node receives described host node by secondary port and acts on behalf of after hello packet, and described secondary port is switched to forwarding state on data vlan, and sends common address flush Common_Flush_FDB message by Primary port and secondary port.
2. method according to claim 1, is characterized in that, described host node further comprises after sending common address flush Common_Flush_FDB message:
Transmission node receives described Common_Flush_FDB message, refreshes the media access control MAC addresses forwarding table of self according to this message.
3. method according to claim 1, is characterized in that, described host node is searched apart from the mode of host node transmission node farthest and is:
Host node sends collecting topology hello packet by master port;
When each transmission node in RRPP ring receives collecting topology hello packet, the mark of self is packed into this collecting topology hello packet, and continues to forward this collecting topology hello packet;
Host node receives collecting topology hello packet by secondary port, obtains the mark of the each transmission node carrying in this collecting topology hello packet, searches apart from all transmission nodes farthest of the Primary port and secondary port of host node according to described mark.
4. according to the method described in claims 1 to 3 any one, it is characterized in that, described transmission node is judged after acting on behalf of as host node, further comprise: host node is set and acts on behalf of hello packet timer, the timing cycle that described host node is acted on behalf of the timing cycle of hello packet timer and the common hello packet timer of host node is identical;
When described host node agency receives the common hello packet of autonomous node by inferior secondary port, sending host node by inferior master port acts on behalf of the mode of hello packet and is: when described host node agency receives first common hello packet in host node is acted on behalf of the timing cycle of hello packet timer, send host node act on behalf of hello packet by inferior master port.
5. according to the method described in claims 1 to 3 any one, it is characterized in that, described method further comprises:
In the time that host node is received link failure Link_down message or host node and do not received host node act on behalf of hello packet in the timing cycle of continuous three common Hello timers by master port or secondary port, the state of RRPP ring is set to status of fail.
6. according to the method described in claims 1 to 3 any one, it is characterized in that, described method further comprises:
In the time that host node agency receives Link_down message, inferior secondary port is switched to forwarding state on data vlan;
Host node agency receives after the common hello packet of autonomous node by inferior secondary port, common hello packet described in transparent transmission.
7. a quick ring protection agreement RRPP ring, comprises a host node and multiple transmission node, it is characterized in that:
Described host node, for searching apart from host node transmission node farthest, is defined as host node agency by this transmission node; Send and select along separate routes hello packet, this message to carry described host node agency's mark by master port; Receive from described host node agency's host node and act on behalf of after hello packet by secondary port, described secondary port is switched to forwarding state on data virtual local area network (LAN) VLAN, and send common address flush Common_Flush_FDB message by Primary port and secondary port;
Described transmission node, be used for receiving described shunt and select hello packet, judge according to the mark of the host node agency in this message whether self is host node agency, if, the port that receives this message is defined as to time secondary port, another port is defined as to time master port, inferior secondary port is switched to blocked state on data virtual local area network (LAN) VLAN; While receiving the common hello packet of autonomous node by inferior secondary port, send host node by inferior master port and act on behalf of hello packet.
8. a host node, is applied to the quick ring protection agreement RRPP ring that comprises a host node and multiple transmission nodes, it is characterized in that, described host node comprises determination module, notification agent module and handover module; Wherein,
Described determination module, for searching apart from host node transmission node farthest, is defined as host node agency by this transmission node;
Described notification agent module, selects hello packet, this shunt to select hello packet to carry the determined host node agency's of described determination module mark for sending by master port along separate routes;
Described handover module, act on behalf of after hello packet for receiving by secondary port from described host node agency's host node, described secondary port is switched to forwarding state on data virtual local area network (LAN) VLAN, and send common address flush Common_Flush_FDB message by Primary port and secondary port.
9. want the host node described in 8 according to right, it is characterized in that, described determination module is searched apart from the mode of host node transmission node farthest and is: send collecting topology hello packet by master port; Receive the collecting topology hello packet after forwarding through each transmission node in RRPP ring by secondary port, self the mark that described collecting topology hello packet carries that each transmission node fills; The collecting topology hello packet receiving from secondary port, obtain the mark of each transmission node, search apart from all transmission nodes farthest of the Primary port and secondary port of host node according to this mark.
10. host node according to claim 8 or claim 9, it is characterized in that, described host node also comprises alarm module, for in the time that host node is received link failure Link_down message or host node and do not received host node act on behalf of hello packet in the timing cycle of continuous three common Hello timers by master port or secondary port, the state of RRPP ring is set to status of fail.
11. 1 kinds of transmission nodes, are applied to the quick ring protection agreement RRPP ring that comprises a host node and multiple transmission nodes, it is characterized in that, described transmission node comprises judge module, module is set, confirms proxy module and address flush module; Wherein,
Described judge module, selects hello packet for receiving from the shunt of described host node, judges according to the mark of the host node agency in this message whether self is host node agency, and if so, instruction arranges module setting;
The described module that arranges, for according to the instruction of judge module, selects the port of hello packet to be defined as time secondary port by receiving this shunt, and another port is defined as to time master port, and inferior secondary port is switched to blocked state on data virtual local area network (LAN) VLAN;
Described confirmation proxy module, in the time receiving the common hello packet of autonomous node by inferior secondary port, sends host node by inferior master port and acts on behalf of hello packet;
Described address flush module, in the time receiving the Common_Flush_FDB message of autonomous node, refreshes the media access control MAC addresses forwarding table of described transmission node.
12. transmission nodes according to claim 11, it is characterized in that, described transmission node also comprises mark interpolation module, for in the time receiving the collecting topology hello packet of autonomous node, the mark of described transmission node is packed into this collecting topology hello packet, and continues to forward this collecting topology hello packet.
13. according to the transmission node described in claim 11 or 12, it is characterized in that, described transmission node further comprises recovering state module, for in the time receiving link failure Link_down message, inferior secondary port is switched to forwarding state on data vlan, receive after the common hello packet of autonomous node common hello packet described in transparent transmission by inferior secondary port.
CN201010557259.8A 2010-11-22 2010-11-22 Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device Expired - Fee Related CN102480409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010557259.8A CN102480409B (en) 2010-11-22 2010-11-22 Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010557259.8A CN102480409B (en) 2010-11-22 2010-11-22 Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device

Publications (2)

Publication Number Publication Date
CN102480409A CN102480409A (en) 2012-05-30
CN102480409B true CN102480409B (en) 2014-10-22

Family

ID=46092893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010557259.8A Expired - Fee Related CN102480409B (en) 2010-11-22 2010-11-22 Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device

Country Status (1)

Country Link
CN (1) CN102480409B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868605B (en) * 2012-09-05 2016-02-03 浙江宇视科技有限公司 A kind of looped network data guard method and device
CN103414604B (en) * 2013-08-09 2016-07-20 杭州华三通信技术有限公司 Based on leakage protection VLAN detection method and device in the ethernet ring network of RRPP
CN104427385A (en) * 2013-08-22 2015-03-18 北京卓越信通电子股份有限公司 Video coding device, vehicle-mounted video playing system and ring network operation method
CN104144129B (en) * 2014-06-27 2017-11-28 新华三技术有限公司 A kind of transmission method and equipment of Fast hello packet
CN104113481A (en) * 2014-07-04 2014-10-22 北京华为数字技术有限公司 MAC address list refreshing method and device based on control port switching event
CN106130783B (en) * 2016-07-18 2020-12-11 新华三技术有限公司 Port fault processing method and device
CN106357832B (en) * 2016-08-24 2019-10-18 浙江宇视科技有限公司 Looped network address list item update mechanism method and device
CN108600001B (en) * 2018-04-13 2022-01-18 联想(北京)有限公司 Network management method, switch and network management system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100409634C (en) * 2006-01-23 2008-08-06 杭州华三通信技术有限公司 Fast ring network protecting method and system
CN100450036C (en) * 2006-08-18 2009-01-07 华为技术有限公司 Method and apparatus for preventing loop when RRPP and partial STP network damage recovery
CN101695046B (en) * 2009-10-16 2012-01-04 杭州华三通信技术有限公司 Method and equipment for arranging RRPP block points

Also Published As

Publication number Publication date
CN102480409A (en) 2012-05-30

Similar Documents

Publication Publication Date Title
CN102480409B (en) Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device
CN103534982B (en) The protection method of service reliability, equipment and network virtualization system
CN101582834B (en) Updating method and system of forwarding table during service transmission of Ethernet
US8320236B2 (en) Method for processing ethernet ring message and an ethernet ring protection system using the method
CN100484034C (en) Method and system for access user by virtual router redundance protocol
US8570858B2 (en) Control method for protecting failure recovery of ethernet ring and ethernet ring nodes
CN101399737A (en) Protection method and apparatus used for link convergence group of loop Ethernet
CN103607293B (en) A kind of flow rate protecting method and equipment
CN101854283A (en) Communication method and equipment of RPR (Resilient Packet Ring) looped network
CN102904610B (en) Node recovering method and equipment for power line communication
CN102255757A (en) Link switching method and device
CN101873244A (en) Automatic multi-loop protection method
JP5491623B2 (en) Address refresh method and system
CN102223312A (en) Flow control method and equipment based on link status
WO2010031295A1 (en) Control method for ethernet failure recovery
CN103731303A (en) Method and device of vertical converged framework for achieving multi-active detection
WO2010102478A1 (en) Method and device for classifying media access control address based on ethernet ring network
WO2011097893A1 (en) Method, device and system for transmitting e1 bidirectional looped network data
CN101621443B (en) Failure recovery method of Ethernet ring protection system
CN102957588A (en) Method and system for protecting looped network from broadcast storm
CN103414642A (en) Maintaining method and device of information forwarding
CN101136838A (en) Bridge mode elastic grouping ring transannular bridge equipment redundancy protecting method
CN101237319A (en) Time synchronization method in Ethernet ring network and Ethernet ring system
CN101938395B (en) Method and system for refreshing single ring address of Ethernet ring network
CN101141367A (en) Method, system and node equipment for improving dependability of fast looped network

Legal Events

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

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

Patentee after: Xinhua three Technology Co., Ltd.

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

Patentee before: Huasan Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141022

Termination date: 20191122