CN102480409A - 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
CN102480409A
CN102480409A CN2010105572598A CN201010557259A CN102480409A CN 102480409 A CN102480409 A CN 102480409A CN 2010105572598 A CN2010105572598 A CN 2010105572598A CN 201010557259 A CN201010557259 A CN 201010557259A CN 102480409 A CN102480409 A CN 102480409A
Authority
CN
China
Prior art keywords
host node
node
hello packet
port
transmission
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
CN2010105572598A
Other languages
Chinese (zh)
Other versions
CN102480409B (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

Images

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 method, RRPP ring and device that RRPP ring is up along separate routes
Technical field
The present invention relates to quick ring protection agreement (RRPP, Rapid Ring Protoction Protocol) technical field, relate in particular to method, RRPP ring and the device of realizing that RRPP ring is up along separate routes.
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 when the ether ring is complete; And when arbitrary link breaks off on the ether ring, can recover the communication link between each node on the looped network rapidly, the ether ring that has enabled RRPP usually is called RRPP ring.
Mainly comprise host node and transmission node on the common RRPP ring; Wherein, Host node is to initiate the main running node that loop prevention was surveyed and carried out to loop; Its master port sends loop probe messages (like hello packet) according to the timing cycle fixed interval duration of Hello timer on RRPP ring; If secondary port does not receive the loop probe messages according to the timing cycle of Fail timer in the time of setting (be generally Hello timer timing cycle 3 times), confirm that then the link on the RRPP ring breaks down.When the link on RRPP ring did not have fault, the secondary port of host node can't be transmitted data being set to blocked state (but remain at the forwarding state of control on the VLAN, to guarantee to receive the loop probe messages) on the data vlan; When transmission node perceives self institute's connected link when breaking down; Send link failure (Link_down) message to host node, after host node receives the 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 the assurance RRPP ring can receive data message, and sends common address flush (Common_Flush_FDB) message through Primary port and secondary port, after each transmission node receives the Common_Flush_FDB message; Refresh the mac address forwarding table of self, thereby change the data transfer direction on the follow-up RRPP ring.
The monitoring RRPP ring is a kind of special RRPP ring, is applied at present the video monitoring in field such as highway more.The monitoring RRPP ring comprises a host node and a plurality of encoder, and wherein encoder is served as transmission node.Like Fig. 1 is existing a kind of structural representation of monitoring RRPP ring, comprises host node and encoder A-K.In Fig. 1, the direction shown in the arrow is the transmission direction of the monitoring flow that each encoder produced.The monitoring flow belongs to the bursty nature flow, and the monitoring flow of all encoder bursty nature is all up along same direction on the ring, and this just causes more near the buffer memory pressure of the encoder of host node big more, and the load near the link of host node is big more more; And all flows are all up from the same port of host node, and also there is certain pressure in this concerning host node.It is thus clear that there is performance bottleneck in existing monitoring RRPP ring, can't make full use of the efficient resource in the ring.
If, can adopt the many case technologies of RRPP to solve the problems referred to above in the prior art to common RRPP ring.But the many case technologies of RRPP are not suitable for monitoring RRPP, and this is not support outlet to play the VLAN label because serve as the encoder of RRPP ring transmission node, can't satisfy the requirement of the many instances 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 realizes simply can't moving a plurality of RRPP instances simultaneously.
Summary of the invention
The invention provides a kind of method that realizes that RRPP ring is up along separate routes, can improve the resource utilization of RRPP ring.
The present invention also proposes a kind of RRPP ring, host node and transmission node, can realize that the shunt of RRPP ring is up, improves the resource utilization of RRPP ring.
Technical scheme of the present invention is achieved in that
A kind of method that realizes that RRPP ring is along separate routes up is applied to comprise the RRPP ring of a host node and a plurality of transmission nodes on the said host node Primary port and secondary port is set, and it is characterized in that said method comprises:
Host node is searched apart from host node transmission node farthest, and this transmission node is confirmed as the host node agency; Sending shunt through master port selects hello packet, this message to carry said host node agency's sign;
Transmission node receives said shunt and selects hello packet; Judge according to the agency's of the host node in this message sign whether self is the host node agency; If; The port that then will receive this message is confirmed as time secondary port, and another port is confirmed as time master port, and inferior secondary port is switched to blocked state on data vlan;
When the host node agency receives the common hello packet of autonomous node through inferior secondary port, send host node through inferior master port and act on behalf of hello packet;
Host node receives after said host node acts on behalf of hello packet through secondary port, said secondary port is switched to forwarding state on data vlan, and send the Common_Flush_FDB message through Primary port and secondary port.
A kind of RRPP ring comprises a host node and a plurality of transmission node, it is characterized in that:
Said host node is used to search apart from host node transmission node farthest, and this transmission node is confirmed as the host node agency; Sending shunt through master port selects hello packet, this message to carry said host node agency's sign; Through secondary port receive act on behalf of hello packet from said host node agency's host node after, said secondary port is switched to forwarding state on data vlan, and sends common address flush Common_Flush_FDB message through Primary port and secondary port;
Said transmission node; Be used to receive said shunt and select hello packet; Judge according to the agency's of the host node in this message sign whether self is the host node agency, if the port that then will receive this message is confirmed as time secondary port; Another port is confirmed as time master port, inferior secondary port is switched to blocked state on data virtual local area network (LAN) VLAN; When receiving the common hello packet of autonomous node, send host node through inferior master port and act on behalf of hello packet through inferior secondary port.
A kind of host node is applied to comprise the RRPP ring of a host node and a plurality of transmission nodes it is characterized in that said host node comprises determination module, notification agent module and handover module; Wherein,
Said determination module is used to search apart from host node transmission node farthest, and this transmission node is confirmed as the host node agency;
Said notification agent module is used for sending shunt through master port and selects hello packet, and this selects hello packet to carry the determined host node agency's of said determination module sign along separate routes;
Said handover module; Be used for through secondary port receive act on behalf of hello packet from said host node agency's host node after; Said secondary port is switched to forwarding state on data vlan, and send the Common_Flush_FDB message through Primary port and secondary port.
A kind of transmission node is applied to comprise it is characterized in that the RRPP ring of a host node and a plurality of transmission nodes, and said transmission node comprises judge module, module is set, confirms proxy module and address flush module; Wherein,
Said judge module, hello packet is selected in the shunt that is used to receive from said host node, judges according to the agency's of the host node in this message sign whether self is the host node agency, if then indication is provided with module setting;
The said module that is provided with is used for the indication according to judge module, selects the port of hello packet to confirm as time secondary port along separate routes with receiving this, and another port is confirmed as time master port, and inferior secondary port is switched to blocked state on data vlan;
Said affirmation proxy module is used for when receiving the common hello packet of autonomous node through inferior secondary port, sends host node through inferior master port and acts on behalf of hello packet;
Said address flush module is used for when receiving the Common_Flush_FDB message of autonomous node, refreshing the media access control MAC addresses forwarding table of said transmission node.
It is thus clear that method, RRPP ring and device that the realization RRPP ring that the present invention proposes is up along separate routes, the Primary port and secondary port of RRPP ring middle distance host node all farthest transmission node are set to the 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 the Common_Flush_FDB message through Primary port and secondary port, and the transmission node in the loop refreshes the mac address forwarding table of self after receiving this Common_Flush_FDB message.By the way, realize that the shunt of RRPP ring is up, improve the resource utilization of RRPP ring.
Description of drawings
Fig. 1 is existing a kind of structural representation of monitoring RRPP ring;
The up along separate routes method flow diagram of realization RRPP ring that Fig. 2 proposes for the present invention;
Fig. 3 realizes the method flow diagram that the monitoring RRPP ring is up along separate routes for the embodiment of the invention;
Fig. 4 realizes the structural representation of up along separate routes monitoring RRPP ring for adopting the embodiment of the invention;
Fig. 5 is the structural representation of the host node of the present invention's proposition;
Fig. 6 is the structural representation of the transmission node of the present invention's proposition.
Embodiment
The present invention proposes a kind of method that realizes that RRPP ring is up along separate routes, is applied to comprise the RRPP ring of a host node and a plurality of transmission nodes, and this host node comprises Primary port and secondary port; Like the up along separate routes method flow diagram of realization RRPP ring that Fig. 2 proposes for the present invention, this method comprises:
Step 201: host node is searched apart from host node transmission node farthest, and this transmission node is confirmed as the host node agency.
Step 202: host node sends through master port and selects hello packet along separate routes, and this selects hello packet to carry said host node agency's sign along separate routes;
Step 203: transmission node receives said shunt and selects hello packet; Judge according to the host node agent identification in this message whether self is the host node agency; If; The port that then will receive this message is confirmed as time secondary port, and another port is confirmed as time master port, and inferior secondary port is switched to blocked state on data vlan; Otherwise, continue to transmit this and select hello packet along separate routes;
Step 204: when the host node agency receives the common hello packet of autonomous node through inferior secondary port, send host node through inferior master port and act on behalf of hello packet;
Step 205: host node receives after said host node acts on behalf of hello packet through secondary port, said secondary port is switched to forwarding state on data vlan, and send the Common_Flush_FDB message through Primary port and secondary port.
May further include after the said method step 205:
Step 206: transmission node receives this Common_Flush_FDB message, refreshes the mac address forwarding table of self according to this message.
Through said process, can realize that the flow of RRPP ring divides two-way up, that is, flow divides two-way to go upward to host node by the host node agency.The prerequisite of this establishment is that host node is the outlet that ring is gone up flow.
In above-mentioned steps 201, host node search apart from the mode of host node transmission node farthest can for:
Host node sends the collecting topology hello packet through master port;
When each transmission node in the RRPP ring receives the collecting topology hello packet, self sign is packed into this collecting topology hello packet, and continues to transmit this collecting topology hello packet;
Host node receives the collecting topology hello packet through secondary port, obtains the sign of each transmission node that carries in this collecting topology hello packet, searches apart from equal farthest the transmission node of the Primary port and secondary port of host node according to said sign.
Have 2 apart from host node transmission node farthest if find, then host node can be confirmed as the host node agency with wherein any one.
In the above-mentioned steps 203; Transmission node is judged after acting on behalf of as host node; May further include: host node is set acts on behalf of the hello packet timer, the timing cycle that said host node is acted on behalf of the hello packet timer is identical with the timing cycle of the common hello packet timer of host node;
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 through inferior master port and act on behalf of hello packet; If in this timing cycle, also receive follow-up common hello packet, then no longer trigger its transmission host node and act on behalf of hello packet.
Above-mentioned steps 205 is described is that host node receives the processing procedure of first host node when acting on behalf of hello packet; In case secondary port is switched to forwarding state and sends after the Common_Flush_FDB message, receive to subsequent cycle property host node when acting on behalf of hello packet, host node only need be kept current state, and need not execution in step 205 described processes.
In the said process, the 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 the system.Be elaborated in the face of various hello packet down:
Common hello packet---selecting the 4bit territory in the reserved field, to be used to identify this message be common hello packet, and the reserved field value is 0000; Be common loop probe messages, send, not influenced by other flow processs by the acquiescence detect cycle;
The collecting topology hello packet---selecting the 4bit territory in the reserved field, to be used to identify this message be the collecting topology hello packet, and reserved field can value be 0001, is used to encircle upper topology and collects, and periodically sends, and the cycle can be set to 30 minutes;
Select hello packet along separate routes---select the 4bit territory in the reserved field and be used to identify this message for selecting hello packet along separate routes; Reserved field can value be 0010; Be used for the transmission node farthest (being the host node agency) that the host node notice is chosen, carry the sign of the transmission node of choosing in this hello packet.Other transmission nodes are received back transparent transmission, have only selected transmission node to receive and afterwards find just can handle to oneself;
Host node is acted on behalf of hello packet---and selecting the 4bit territory in the reserved field, to be used to identify this message be that host node is acted on behalf of hello packet; Reserved field can value be 0011; Be the hello packet that the host node agency sends, be used to notify host node that secondary port is switched to forwarding state on data vlan.
After the above-mentioned steps, when RRPP ring occur link failure, or because of RRPP ring on when increasing new node and causing loop to break off, further carry out following steps:
When receiving Link_down message or host node through master port or secondary port, host node in the timing cycle of continuous three common Hello timers, do not receive host node when acting on behalf of hello packet; 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, so that remind the network management personnel that loop is checked;
Perhaps; When the host node agency receives the Link_down message, inferior secondary port is switched to forwarding state on data vlan, and recover the transmission node identity of self; Promptly; Receive the common hello packet of autonomous node through inferior secondary port after, no longer common hello packet is handled, but the direct said common hello packet of transparent transmission.
When loop fault be disengaged lay equal stress on newly set up RRPP ring after, repeat above-mentioned steps 201, promptly reselect host node agency, realize that the flow on the RRPP ring is 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 concrete embodiment the application of the present invention in the monitoring RRPP ring is described, present embodiment adopts monitoring RRPP ring shown in Figure 1., for realizing the method flow diagram that the monitoring RRPP ring is up along separate routes, the embodiment of the invention may further comprise the steps like Fig. 3:
Step 301: host node sends the collecting topology hello packet through master port, and the reserved field value of this collecting topology hello packet is 0001, and this collecting topology hello packet transmits in RRPP ring.
Step 302: the collecting topology hello packet transfers to encoder A-K successively, when encoder A-K receives the collecting topology hello packet, self sign is packed into this collecting topology hello packet, and continues to transmit.
Step 303: host node receives the collecting topology hello packet through secondary port; Obtain the sign of each encoder that carries in this message; Confirm apart from equal farthest the encoder of the Primary port and secondary port of host node through these signs; Be assumed to encoder F, encoder F is confirmed as the host node agency.
Step 304: host node sends along separate routes through master port and selects hello packet, and this selects to carry in the hello packet sign of encoder F along separate routes, and the reserved field value of this message is 0010.
Step 305: select hello packet to transfer to encoder A-F successively along separate routes;
For encoder A-E, when receiving that hello packet is selected in shunt, judging according to the sign of the encoder F that wherein carries self is not the host node agency that host node is selected, and then continues to transmit and selects hello packet along separate routes;
For encoder F; When receiving that hello packet is selected in shunt; Judging according to the sign of the encoder F that wherein carries self is the host node agency that host node is selected, and the port that then will receive this message is confirmed as time secondary port, and another port is confirmed as time master port; Inferior master port is switched to blocked state on data vlan, and host node is set acts on behalf of the hello packet timer.Wherein, to act on behalf of the timing cycle of hello packet timer identical with the timing cycle of the common hello packet timer of host node for host node.
Step 306: after encoder F receives the common hello packet of autonomous node through inferior secondary port, this common hello packet of transparent transmission no longer; But in host node is acted on behalf of the timing cycle of hello packet timer, when receiving common hello packet for the first time, send host node through 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 is transferred to host node through encoder G-K; Host node receives after this host node acts on behalf of hello packet through secondary port; Secondary port is switched to forwarding state on data vlan; But the state of RRPP ring still is the closed loop state on the host node, and promptly the relieving of secondary port is not because receive the Link_down message on the RRPP host node, but acts on behalf of hello packet owing to continue to receive host node; Host node also sends the Common_Flush_FDB message through Primary port and secondary port.
Step 308: when each encoder in the loop receives this Common_Flush_FDB message, refresh the mac address forwarding table of self.
So far, realized that the shunt of monitoring RRPP ring flow is up.Fig. 4 realizes the structural representation of up along separate routes monitoring RRPP ring for adopting the embodiment of the invention.Shown in the arrow among Fig. 4, flow by encoder F respectively through about two links go upward to host node, thereby avoided all flows to transmit via a direction, avoid performance bottleneck.
After this, when the monitoring RRPP ring occur link failure, or because of the monitoring RRPP ring on when increasing new node and causing loop to break off, need the host node Proxy Restore be become common encoder, and propose alarm to webmaster by host node.Specifically may further comprise the steps:
Step 309: in the timing cycle of continuous three common Hello timers, do not receive host node when acting on behalf of hello packet when host node receives Link_down message or host node through master port or secondary port; Think that then 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 the Failed state, so that remind the network management personnel that loop is checked.
Step 310: when encoder F also receives the Link_down message; Inferior secondary port is switched to forwarding state on data vlan; And recover the transmission node identity of self, that is, receive the common hello packet of autonomous node through inferior secondary port after; No longer common hello packet is handled, 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, does not have fixing sequencing.
After link failure is removed, rebulid the monitoring RRPP ring, repeat above-mentioned steps, confirm new host node agency and realize that the monitoring flow is up along separate routes.
The present invention also proposes a kind of RRPP ring, comprises a host node and a plurality of transmission node, wherein:
Said host node is used to search apart from host node transmission node farthest, and this transmission node is confirmed as the host node agency; Sending shunt through master port selects hello packet, this message to carry said host node agency's sign; Through secondary port receive act on behalf of hello packet from said host node agency's host node after, said secondary port is switched to forwarding state on data vlan, and sends the Common_Flush_FDB message through Primary port and secondary port;
Said transmission node; Be used to receive said shunt and select hello packet; Judge according to the agency's of the host node in this message sign whether self is the host node agency, if the port that then will receive this message is confirmed as time secondary port; Another port is confirmed as time master port, inferior secondary port is switched to blocked state on data virtual local area network (LAN) VLAN; When receiving the common hello packet of autonomous node, send host node through inferior master port and act on behalf of hello packet through inferior secondary port.
The present invention also proposes a kind of host node; Be applied to comprise the RRPP ring of a host node and a plurality of transmission nodes; Like the structural representation of Fig. 5 for the host node of the present invention's proposition, this host node comprises: determination module 501, notification agent module 502 and handover module 503; Wherein,
Said determination module 501 is used to search apart from host node transmission node farthest, and this transmission node is confirmed as the host node agency;
Said notification agent module 502 is used for sending shunt through master port and selects hello packet, and this selects hello packet to carry said determination module 501 determined host nodes agencies' sign along separate routes;
Said handover module 503; Be used for through secondary port receive act on behalf of hello packet from said host node agency's host node after; Said secondary port is switched to forwarding state on data vlan, and send the Common_Flush_FDB message through Primary port and secondary port.
In the above-mentioned host node, the mode that determination module 501 is searched apart from host node transmission node farthest is: send the collecting topology hello packet through master port; Receive through the collecting topology hello packet after each transmission node is transmitted in the RRPP ring sign of self that said collecting topology hello packet carries that each transmission node fills through secondary port; From the collecting topology hello packet that secondary port receives, obtain the sign of each transmission node, search apart from equal farthest the transmission node of the Primary port and secondary port of host node according to this sign.
Above-mentioned host node can also comprise alarm module 504; Be used in the timing cycle of continuous three common Hello timers, not receiving host node when acting on behalf of hello packet when host node receives Link_down message or host node through 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 comprise the RRPP ring of a host node and a plurality of transmission nodes; Like the structural representation of Fig. 6 for the transmission node of the present invention's proposition, this transmission node comprises judge module 601, module 602 is set, confirms proxy module 603 and address flush module 604; Wherein,
Said judge module 601 is used to receive from the shunt of said host node and selects hello packet, judges according to the agency's of the host node in this message sign whether self is the host node agency, if then indicate module 602 to be set;
The said module 602 that is provided with is used for the indication according to judge module 601, selects the port of hello packet to confirm as time secondary port along separate routes with receiving this, and another port is confirmed as time master port, and inferior secondary port is switched to blocked state on data vlan;
Said affirmation proxy module 603 is used for when receiving the common hello packet of autonomous node through inferior secondary port, sends host node through inferior master port and acts on behalf of hello packet;
Said address flush module 604 is used for when receiving the Common_Flush_FDB message of autonomous node, refreshing the mac address forwarding table of said transmission node.
Above-mentioned transmission node also comprises identifying and adds module 605, is used for when receive the collecting topology hello packet of autonomous node, the sign of said transmission node is packed into this collecting topology hello packet, and continues this collecting topology hello packet of forwarding.
Above-mentioned transmission node may further include recovering state module 606; Be used for when receiving the Link_down message; Inferior secondary port is switched to forwarding state on data vlan, receive the common hello packet of autonomous node through inferior secondary port after, the said common hello packet of transparent transmission.
To sum up visible, method, RRPP ring and device that the realization RRPP ring that the present invention proposes is up along separate routes, the Primary port and secondary port of selecting RRPP ring middle distance host node all farthest transmission node are acted on behalf of as host node; The secondary port of host node is set to forwarding state on data vlan, the inferior secondary port that host node is acted on behalf of is set to blocked state on data vlan; Host node sends the Common_Flush_FDB message through Primary port and secondary port, makes the transmission node in the 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 the RRPP ring; And can solve in original RRPP networking buffer memory pressure, make full use of the buffer memory of major and minor port near the transmission node of host node.It is thus clear that the present invention can avoid performance bottleneck, optimize the performance of RRPP ring.When network break down or RRPP ring on when increasing new transmission node, the host node agency can associated treatment Link_down message, removes the blocked state of time secondary port, accelerates the loop switch speed.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (13)

1. realize the up method of quick ring protection agreement RRPP ring shunt for one kind, be applied to comprise the RRPP ring of a host node and a plurality of transmission nodes, on the said host node Primary port and secondary port is set, it is characterized in that said method comprises:
Host node is searched apart from host node transmission node farthest, and this transmission node is confirmed as the host node agency; Sending shunt through master port selects hello packet, this message to carry said host node agency's sign;
Transmission node receives said shunt and selects hello packet; Judge according to the agency's of the host node in this message sign whether self is the host node agency; If; The port that then will receive this message is confirmed as time secondary port, and another port is confirmed as time master port, and inferior secondary port is switched to blocked state on data virtual local area network (LAN) VLAN;
When the host node agency receives the common hello packet of autonomous node through inferior secondary port, send host node through inferior master port and act on behalf of hello packet;
Host node receives after said host node acts on behalf of hello packet through secondary port, said secondary port is switched to forwarding state on data vlan, and send common address flush Common_Flush_FDB message through Primary port and secondary port.
2. method according to claim 1 is characterized in that, said host node sends after the common address flush Common_Flush_FDB message, further comprises:
Transmission node receives said 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, the mode that said host node is searched apart from host node transmission node farthest is:
Host node sends the collecting topology hello packet through master port;
When each transmission node in the RRPP ring receives the collecting topology hello packet, self sign is packed into this collecting topology hello packet, and continues to transmit this collecting topology hello packet;
Host node receives the collecting topology hello packet through secondary port, obtains the sign of each transmission node that carries in this collecting topology hello packet, searches apart from equal farthest the transmission node of the Primary port and secondary port of host node according to said sign.
4. according to any described method of claim 1 to 3; It is characterized in that; Said transmission node is judged after acting on behalf of as host node; Further comprise: host node is set acts on behalf of the hello packet timer, the timing cycle that said host node is acted on behalf of the hello packet timer is identical with the timing cycle of the common hello packet timer of host node;
When said host node agency receives the common hello packet of autonomous node through inferior secondary port; Sending host node through inferior master port acts on behalf of the mode of hello packet and is: when said 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 through inferior master port and act on behalf of hello packet.
5. according to any described method of claim 1 to 3, it is characterized in that said method further comprises:
In the timing cycle of continuous three common Hello timers, do not receive host node when acting on behalf of hello packet when host node receives link failure Link_down message or host node through master port or secondary port, the state of RRPP ring is set to status of fail.
6. according to any described method of claim 1 to 3, it is characterized in that said method further comprises:
When the host node agency receives the Link_down message, inferior secondary port is switched to forwarding state on data vlan;
After the host node agency receives the common hello packet of autonomous node through inferior secondary port, the said common hello packet of transparent transmission.
7. a quick ring protection agreement RRPP ring comprises a host node and a plurality of transmission node, it is characterized in that:
Said host node is used to search apart from host node transmission node farthest, and this transmission node is confirmed as the host node agency; Sending shunt through master port selects hello packet, this message to carry said host node agency's sign; Through secondary port receive act on behalf of hello packet from said host node agency's host node after; Said secondary port is switched to forwarding state on data virtual local area network (LAN) VLAN, and send common address flush Common_Flush_FDB message through Primary port and secondary port;
Said transmission node; Be used to receive said shunt and select hello packet; Judge according to the agency's of the host node in this message sign whether self is the host node agency, if the port that then will receive this message is confirmed as time secondary port; Another port is confirmed as time master port, inferior secondary port is switched to blocked state on data virtual local area network (LAN) VLAN; When receiving the common hello packet of autonomous node, send host node through inferior master port and act on behalf of hello packet through inferior secondary port.
8. host node is applied to comprise the quick ring protection agreement RRPP ring of a host node and a plurality of transmission nodes it is characterized in that said host node comprises determination module, notification agent module and handover module; Wherein,
Said determination module is used to search apart from host node transmission node farthest, and this transmission node is confirmed as the host node agency;
Said notification agent module is used for sending shunt through master port and selects hello packet, and this selects hello packet to carry the determined host node agency's of said determination module sign along separate routes;
Said handover module; Be used for through secondary port receive act on behalf of hello packet from said host node agency's host node after; Said secondary port is switched to forwarding state on data virtual local area network (LAN) VLAN, and send common address flush Common_Flush_FDB message through Primary port and secondary port.
9. want 8 described host nodes according to right, it is characterized in that, the mode that said determination module is searched apart from host node transmission node farthest is: send the collecting topology hello packet through master port; Receive through the collecting topology hello packet after each transmission node is transmitted in the RRPP ring sign of self that said collecting topology hello packet carries that each transmission node fills through secondary port; From the collecting topology hello packet that secondary port receives, obtain the sign of each transmission node, search apart from equal farthest the transmission node of the Primary port and secondary port of host node according to this sign.
10. according to Claim 8 or 9 described host nodes; It is characterized in that; Said host node also comprises alarm module; Be used in the timing cycle of continuous three common Hello timers, not receiving host node when acting on behalf of hello packet when host node receives link failure Link_down message or host node through master port or secondary port, the state of RRPP ring is set to status of fail.
11. a transmission node is applied to comprise it is characterized in that the quick ring protection agreement RRPP ring of a host node and a plurality of transmission nodes, said transmission node comprises judge module, module is set, confirms proxy module and address flush module; Wherein,
Said judge module, hello packet is selected in the shunt that is used to receive from said host node, judges according to the agency's of the host node in this message sign whether self is the host node agency, if then indication is provided with module setting;
The said module that is provided with is used for the indication according to judge module, selects the port of hello packet to confirm as time secondary port along separate routes with receiving this, and another port is confirmed as time master port, and inferior secondary port is switched to blocked state on data virtual local area network (LAN) VLAN;
Said affirmation proxy module is used for when receiving the common hello packet of autonomous node through inferior secondary port, sends host node through inferior master port and acts on behalf of hello packet;
Said address flush module is used for when receiving the Common_Flush_FDB message of autonomous node, refreshing the media access control MAC addresses forwarding table of said transmission node.
12. transmission node according to claim 11; It is characterized in that; Said transmission node also comprises sign interpolation module; Be used for when receiving the collecting topology hello packet of autonomous node, the sign of said transmission node is packed into this collecting topology hello packet, and continue to transmit this collecting topology hello packet.
13. according to claim 11 or 12 described transmission nodes; It is characterized in that; Said transmission node further comprises the recovering state module, is used for when receiving link failure Link_down message, inferior secondary port being switched to forwarding state on data vlan; Receive the common hello packet of autonomous node through inferior secondary port after, the said common hello packet of transparent transmission.
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 true CN102480409A (en) 2012-05-30
CN102480409B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868605A (en) * 2012-09-05 2013-01-09 浙江宇视科技有限公司 Looped network data protection method and device
CN103414604A (en) * 2013-08-09 2013-11-27 杭州华三通信技术有限公司 Method and device for detecting unprotected VLAN in Ethernet ring network based on RRPP
CN104113481A (en) * 2014-07-04 2014-10-22 北京华为数字技术有限公司 MAC address list refreshing method and device based on control port switching event
CN104144129A (en) * 2014-06-27 2014-11-12 杭州华三通信技术有限公司 Method and device for transmitting Fast-Hello messages
CN104427385A (en) * 2013-08-22 2015-03-18 北京卓越信通电子股份有限公司 Video coding device, vehicle-mounted video playing system and ring network operation method
CN106130783A (en) * 2016-07-18 2016-11-16 杭州华三通信技术有限公司 A kind of port fault processing method and device
CN106357832A (en) * 2016-08-24 2017-01-25 浙江宇视科技有限公司 Method and device for address entry update mechanism of ring network
CN108600001A (en) * 2018-04-13 2018-09-28 联想(北京)有限公司 A kind of network management, interchanger and Network Management System

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812361A (en) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 Fast ring network protecting method and system
CN1905490A (en) * 2006-08-18 2007-01-31 华为技术有限公司 Method and apparatus for preventing loop when RRPP and partial STP network damage recovery
CN101695046A (en) * 2009-10-16 2010-04-14 杭州华三通信技术有限公司 Method and equipment for arranging RRPP block points

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812361A (en) * 2006-01-23 2006-08-02 杭州华为三康技术有限公司 Fast ring network protecting method and system
CN1905490A (en) * 2006-08-18 2007-01-31 华为技术有限公司 Method and apparatus for preventing loop when RRPP and partial STP network damage recovery
CN101695046A (en) * 2009-10-16 2010-04-14 杭州华三通信技术有限公司 Method and equipment for arranging RRPP block points

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868605A (en) * 2012-09-05 2013-01-09 浙江宇视科技有限公司 Looped network data protection method and device
CN102868605B (en) * 2012-09-05 2016-02-03 浙江宇视科技有限公司 A kind of looped network data guard method and device
CN103414604A (en) * 2013-08-09 2013-11-27 杭州华三通信技术有限公司 Method and device for detecting unprotected VLAN in Ethernet ring network based on RRPP
CN104427385A (en) * 2013-08-22 2015-03-18 北京卓越信通电子股份有限公司 Video coding device, vehicle-mounted video playing system and ring network operation method
CN104144129A (en) * 2014-06-27 2014-11-12 杭州华三通信技术有限公司 Method and device for transmitting Fast-Hello messages
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
CN106130783A (en) * 2016-07-18 2016-11-16 杭州华三通信技术有限公司 A kind of port fault processing method and device
CN106357832A (en) * 2016-08-24 2017-01-25 浙江宇视科技有限公司 Method and device for address entry update mechanism of ring network
CN106357832B (en) * 2016-08-24 2019-10-18 浙江宇视科技有限公司 Looped network address list item update mechanism method and device
CN108600001A (en) * 2018-04-13 2018-09-28 联想(北京)有限公司 A kind of network management, interchanger and Network Management System

Also Published As

Publication number Publication date
CN102480409B (en) 2014-10-22

Similar Documents

Publication Publication Date Title
CN102480409B (en) Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device
CN100512128C (en) Method and system for protecting multicast repeat path and service router
CN101652963B (en) Method for reconfiguring a communications network
CN101483570B (en) Method, system and device for preventing looped network temporary loop circuit of relaying link
CN101686158B (en) Control method for Ethernet loop guard fault recovery and Ethernet loop node
CN101399737A (en) Protection method and apparatus used for link convergence group of loop Ethernet
CN101873244B (en) Automatic multi-loop protection method
CN103595626A (en) Method for achieving dynamic path planning in ring network
CN101018183A (en) A topology notification method, system and device based on L2VPN
CN100461706C (en) Method for recovering sponsor media accessing control address and operation businesss edge apparatus
CN101854283A (en) Communication method and equipment of RPR (Resilient Packet Ring) looped network
CN101714939A (en) Fault treatment method for Ethernet ring network host node and corresponding Ethernet ring network
JP5491623B2 (en) Address refresh method and system
CN101465782B (en) Method for switching optimizing link of RRPP loop, system and network node
WO2010031295A1 (en) Control method for ethernet failure recovery
CN102223312A (en) Flow control method and equipment based on link status
CN104135417A (en) Quick recovery method for ethernet ring network link interruption and corresponding ethernet ring network
WO2011097893A1 (en) Method, device and system for transmitting e1 bidirectional looped network data
CN102238067A (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
CN101621443B (en) Failure recovery method of Ethernet ring protection system
CN102957588A (en) Method and system for protecting looped network from broadcast storm
CN101641915A (en) Method for reconfiguring a communication network
JP4948320B2 (en) Multi-ring RPR node device
CN100550812C (en) Improve method, system and the node device of dependability of fast looped network
CN102104519A (en) Ring network restoring method and device based on topology information

Legal Events

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

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

Patentee after: Xinhua three Technology Co., Ltd.

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

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141022

Termination date: 20191122

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