CN109218183A - A method of overcoming RRPP fringe node flow interrupt - Google Patents
A method of overcoming RRPP fringe node flow interrupt Download PDFInfo
- Publication number
- CN109218183A CN109218183A CN201810874714.3A CN201810874714A CN109218183A CN 109218183 A CN109218183 A CN 109218183A CN 201810874714 A CN201810874714 A CN 201810874714A CN 109218183 A CN109218183 A CN 109218183A
- Authority
- CN
- China
- Prior art keywords
- subring
- node
- edge
- port
- rrpp
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/18—Loop-free operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a kind of method for overcoming RRPP fringe node flow interrupt, the corresponding edge port of smallest subring in looped network is selected to decontrol, specifically: every interchanger in networking is configured using RRPP agreement;When primary link is all broken between Edge node and assistant edge node, the edge port for selecting smallest subring in N number of subring is decontroled;When subring a certain in networking is deleted, whether flange node judges are that the subring decontroled is deleted, and the edge port for if it is reselecting another smallest subring is decontroled, and is otherwise not processed;When there is subring increase in networking, block the corresponding edge port of the subring immediately.The present invention decontrols method by the edge port of smallest subring in selection looped network, so that the state of the edge port becomes decontroling from blocking, the flow of fringe node will not interrupt through the invention, solve when main ring link failure, " isolated island " problem that edge port is formed.
Description
Technical field
The invention belongs to computer communication fields, and specially when main ring link failure, fringe node is blocked in flow
It is disconnected, it selects the edge port of smallest subring in looped network to decontrol, can achieve the purpose of switching flow rapidly.
Background technique
Ethernet rapid ring protection protocol (RRPP) is the link layer protocol for being specifically applied to Ethernet ring, it
Ethernet ring can prevent broadcast storm caused by data loopback when complete, and can be fast when a link disconnects on Ethernet ring
Communication link on quick-recovery looped network between each node.
The prior art when the main ring link between the Edge node and assistant edge node of RRRP ring all breaks down,
Fringe node blocks edge port after receiving Major-Fault message, and at this time fringe node will wait until link-recovery health shape
When state, flow operation could be restored.
Summary of the invention
The purpose of the present invention is to provide a kind of method for overcoming RRPP fringe node flow interrupt, solve to work as main ring link
When failure, there is the problem of isolated island.
Realize technical solution of the invention are as follows: a method of overcome RRPP fringe node flow interrupt, selects ring
The corresponding edge port of smallest subring is decontroled in net, specifically includes the following steps:
Step 1 configures every interchanger in networking using RRPP agreement;
Step 2, when primary link is all broken between Edge node and assistant edge node, select smallest subring in N number of subring
Edge port decontrol;
Step 3, when subring a certain in networking is deleted, whether flange node judges are that the subring decontroled is deleted, such as
Fruit is the edge port relieving for reselecting another smallest subring, is otherwise not processed;When there is subring increase in networking, if working as
Preceding chained list is sky, then decontrols the edge port of newly-increased subring, otherwise blocks the newly-increased corresponding edge port of subring immediately.
Preferably, every interchanger in networking is configured in step 1, concrete configuration are as follows: referred to according to RRPP agreement
Determine the interchanger of main ring and subring net, all exchange mechanisms configure main control VLAN and protection at a RRPP domain in networking
VLAN;The host node of configuration main ring, major-minor port, transmission node, fringe node, assistant edge node and subring host node,
Major-minor port and edge port.
Preferably, the edge port relieving of smallest subring in N number of subring is selected in step 2 method particularly includes: if s.m.p
Ring or main ring are under health status, are not processed;Otherwise customized chained list is stored in subring according to ring number from small to large
In, it selects the edge port of smallest subring to decontrol in chained list, traverses chained list node, judge whether chained list node is head node,
If it is not, then blocking the edge port of the node.
Preferably, it carries out step 3 and traverses chained list node later, it, will be new if finding slightly larger than the node of newly-increased node in table
Increase node to be inserted into before finding node, newly-increased node is otherwise inserted into table tail.
The present invention compared with prior art, significant advantage are as follows: (1) by means of the present invention, equipment flow is not
It interrupts, reduces economic loss.(2) edge port of present invention selection smallest subring is decontroled, and not will cause loop.(3) this hair
The bright processing that ring is deleted and added for ring is easy to accomplish.
Detailed description of the invention
Fig. 1 is the networking diagram of embodiment 1.
Fig. 2 is ring selection flow chart.
Fig. 3 is flow chart when deleting ring.
Fig. 4 is flow chart when increasing ring.
Fig. 5 is port status figure.
Fig. 6 is tester packet receiving screenshot when edge port is all blocked.
Fig. 7 is tester packet receiving screenshot of the present invention.
Fig. 8 is packet receiving datagram when edge port is all blocked.
Fig. 9 is packet receiving datagram of the present invention.
Specific embodiment
With reference to the accompanying drawing and specific embodiment is described in further details the present invention.
A method of overcoming RRPP fringe node flow interrupt, the corresponding edge port of smallest subring in looped network is selected to put
It opens, specifically includes the following steps:
Step 1 configures every interchanger in networking using RRPP agreement;
Step 2, when primary link is all broken between Edge node and assistant edge node, select smallest subring in N number of subring
Edge port decontrol;
Step 3, when subring a certain in networking is deleted, whether flange node judges are that the subring decontroled is deleted, such as
Fruit is the edge port relieving for reselecting another smallest subring, is otherwise not processed;When there is subring increase in networking, if working as
Preceding chained list is sky, then decontrols the edge port of newly-increased subring, otherwise, in order to reduce the processing load of CPU, it is newly-increased to block this immediately
The corresponding edge port of subring.
In further embodiment, every interchanger in networking is configured in step 1, concrete configuration are as follows: according to
RRPP agreement specifies the interchanger of main ring and subring net, and all exchange mechanisms configure main control at a RRPP domain in networking
VLAN and protection VLAN;Configure the host node of main ring, major-minor port, transmission node, fringe node, assistant edge node and
Subring host node, major-minor port and edge port.
The specific method that the edge port of smallest subring in N number of subring is decontroled is selected in further embodiment, in step 2
If are as follows: it is under health status, is not processed without subring or main ring;Otherwise subring is stored in from small to large according to ring number and is made by oneself
Justice chained list in, in chained list select smallest subring edge port decontrol, traverse chained list node, judge chained list node whether be
Head node, if it is not, then blocking the edge port of the node.
It in further embodiment, carries out step 3 and traverses chained list node later, if finding in table slightly larger than newly-increased node
Newly-increased node is inserted into before finding node by node, and newly-increased node is otherwise inserted into table tail.
The present invention is further explained below with reference to embodiment.
Embodiment 1
A method of overcoming RRPP fringe node flow interrupt, the corresponding edge port of smallest subring in looped network is selected to put
It opens, specifically includes the following steps:
Step 1, RRPP are a kind of agreements of layout type, are matched using RRPP agreement to every interchanger in networking
It sets.In the present embodiment: network environment is 6 H3C S58 series of switch.One main ring is set in networking, and two subrings are such as schemed
Shown in 1.DeviceA~DeviceF constitutes RRPP domain 1, and configuration main control VLAN is set as VLAN 100, and protection VLAN is set as VLAN
200to 300.Main ring includes equipment A, B, C, D, and subring 1 includes equipment B, D, E, and subring 2 includes equipment B, D, F.Configure main ring
Host node be equipment A and designated equipment A major-minor port.The transmission node of main ring and the edge port of subring are equipment B.It is main
The transmission node of ring and the assistant edge node of subring are equipment D.The host node of subring 1 and 2 is respectively equipment E and F, specified to set
The major-minor port of standby E and F.The port that edge port and assistant edge port only access subring is set as edge port.
Step 2, when primary link is all broken between Edge node and assistant edge node, select smallest subring in 2 subrings
Edge port decontrol.For the case where there are two subrings in RRPP network topology, there are two common nodes for each ring, and the two
Common node is identical.The number self-defining of subring, is generally incremented by since 2.Subring is stored in certainly from small to large by ring number
In the chained list of definition.When fringe node has received Major-Fault message, it was demonstrated that main ring link breaks down, fringe node
Edge port is blocked, and at this moment the edge port of smallest subring can be selected to decontrol in chained list.It neither will lead to 8 words cyclization,
" isolated island " will not be formed.The flow chart such as Fig. 2 for selecting smallest subring to decontrol.
Step 3, when subring a certain in networking be deleted, if fringe node has selected for the edge port of smallest subring
It decontrols.And failure has occurred in certain link for connecting edge port at this time.Whether it is to decontrol that at this moment fringe node can perceive
That link failure has occurred, if it is not, then keep current state without modification.If it is, need to be in remaining health
The edge port that a smallest subring is reselected in subring is decontroled, and flow chart is as shown in Figure 3.
When there is subring increase in networking, in the case where chained list non-empty, in order to reduce the processing load of CPU, block immediately,
Other processing are not done.Selection smallest subring need not be thus traversed again.If current chained list is sky, newly-increased subring is decontroled
Edge port, the following Fig. 4 of flow chart.
It selects the corresponding edge port of smallest subring in looped network to decontrol methods experiment interpretation of result, passes through the life of VTP tool
Enable row display as can be seen that the edge port XGE2/0/3, XGE2/0/4 of fringe node the port status whole by
Obstruction, the edge port XGE2/0/3 for becoming smallest subring are decontroled, and the edge port XGE2/0/4 obstruction of non-minimum subring is such as schemed
Shown in 5.It is consistent to check that the bottom state of interface and platform are got.
The XGE2/0/5 mouth of 3 mouthfuls of tester connection equipment B beats stream, and equipment C, D, E, F are also separately connected a tester and make
For the exit port of flow, (3 ports are the head piece of beating of tester in lower Fig. 6, and 4 ports are flow exit port, only acquire equipment here
D exit port packet receiving number, other three outlet lip reflexes are consistent with this).When a primary link is broken, flow can be rapidly switched to
Another chain road.When two primary links are all broken, edge port is all blocked, and fringe node forms " isolated island ", some
Time point tester send and receive packets number screenshot, such as Fig. 6.After the present invention, the corresponding edge port of smallest subring is released, some
Time point tester send and receive packets number screenshot, as shown in Figure 7.
Fig. 8,9 are the packet sending and receiving samples acquired in different time points, and horizontal axis is the tester for connecting fringe node in figure
It beats head piece message and sends number, the tester exit port that the longitudinal axis is connecting node D receives message number, and edge port is all blocked
When, exit port packet receiving number is very few, passes through almost without flow, such as Fig. 8.After the present invention, exit port packet receiving number and beat
Head piece is given out a contract for a project several almost the same, and flow is not blocked, and such as Fig. 9, demonstrates feasibility of the invention.
Claims (4)
1. a kind of method for overcoming RRPP fringe node flow interrupt, which is characterized in that smallest subring is corresponding in selection looped network
Edge port is decontroled, specifically includes the following steps:
Step 1 configures every interchanger in networking using RRPP agreement;
Step 2, when primary link is all broken between Edge node and assistant edge node, select the side of smallest subring in N number of subring
Acies mouth is decontroled;
Step 3, when subring a certain in networking is deleted, whether flange node judges are that the subring decontroled is deleted, if it is
The edge port for then reselecting another smallest subring is decontroled, and is otherwise not processed;When there is subring increase in networking, if current chain
Table is sky, then decontrols the edge port of newly-increased subring, otherwise blocks the newly-increased corresponding edge port of subring immediately.
2. the method according to claim 1 for overcoming RRPP fringe node flow interrupt, which is characterized in that right in step 1
Every interchanger in networking is configured, concrete configuration are as follows: the interchanger of main ring and subring net, group are specified according to RRPP agreement
All exchange mechanisms configure main control VLAN and protection VLAN at a RRPP domain in net;Configure host node, the major-minor of main ring
Port, transmission node, fringe node, assistant edge node and subring host node, major-minor port and edge port.
3. the method according to claim 1 for overcoming RRPP fringe node flow interrupt, which is characterized in that selected in step 2
The edge port relieving of smallest subring in N number of subring out method particularly includes: if being under health status without subring or main ring, no
It processes;Otherwise subring is stored in customized chained list from small to large according to ring number, smallest subring is selected in chained list
Edge port is decontroled, and is traversed chained list node, is judged whether chained list node is head node, if it is not, then blocking the edge of the node
Port.
4. the method according to claim 1 for overcoming RRPP fringe node flow interrupt, which is characterized in that carry out step 3
Later chained list node is traversed, if finding in table slightly larger than the node of newly-increased node, newly-increased node is inserted into before finding node, it is no
Newly-increased node is then inserted into table tail.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810874714.3A CN109218183A (en) | 2018-08-03 | 2018-08-03 | A method of overcoming RRPP fringe node flow interrupt |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810874714.3A CN109218183A (en) | 2018-08-03 | 2018-08-03 | A method of overcoming RRPP fringe node flow interrupt |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109218183A true CN109218183A (en) | 2019-01-15 |
Family
ID=64987965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810874714.3A Pending CN109218183A (en) | 2018-08-03 | 2018-08-03 | A method of overcoming RRPP fringe node flow interrupt |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109218183A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114584421A (en) * | 2022-02-18 | 2022-06-03 | 新华三技术有限公司 | Communication method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075935A (en) * | 2007-06-27 | 2007-11-21 | 华为技术有限公司 | Method, system and apparatus for realizing loop protection |
CN101483571A (en) * | 2009-02-26 | 2009-07-15 | 杭州华三通信技术有限公司 | RRPP configuring method, system and device |
CN101771705A (en) * | 2010-02-01 | 2010-07-07 | 杭州华三通信技术有限公司 | Processing method based on RRPP and device |
US20110033183A1 (en) * | 2009-08-06 | 2011-02-10 | Robert Duncan Doverspike | 1:N sparing of router resources at geographically dispersed locations |
-
2018
- 2018-08-03 CN CN201810874714.3A patent/CN109218183A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075935A (en) * | 2007-06-27 | 2007-11-21 | 华为技术有限公司 | Method, system and apparatus for realizing loop protection |
CN101483571A (en) * | 2009-02-26 | 2009-07-15 | 杭州华三通信技术有限公司 | RRPP configuring method, system and device |
US20110033183A1 (en) * | 2009-08-06 | 2011-02-10 | Robert Duncan Doverspike | 1:N sparing of router resources at geographically dispersed locations |
CN101771705A (en) * | 2010-02-01 | 2010-07-07 | 杭州华三通信技术有限公司 | Processing method based on RRPP and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114584421A (en) * | 2022-02-18 | 2022-06-03 | 新华三技术有限公司 | Communication method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9106528B2 (en) | Link aggregation protection | |
US9819572B2 (en) | Multiple ring identification and configuration protocol | |
CN101854283B (en) | Communication method and equipment of RPR (Resilient Packet Ring) looped network | |
CN101908986A (en) | Method and equipment for detecting link fault | |
CN101997735A (en) | Monocylic network topology reconstruction method and system thereof | |
US20160344633A1 (en) | Load balancing method, device, system and computer storage medium | |
CN105227393B (en) | A kind of bidirectional forwarding detection (BFD) method | |
CN105591859B (en) | The method and apparatus for adjusting port blocked for ERPS gyration state | |
Lee et al. | Software-based fast failure recovery for resilient OpenFlow networks | |
US9246751B2 (en) | Ethernet ring protection switching method, network device and system | |
CN104980302B (en) | A kind of method for eliminating redundant link based on STP under SDN frames | |
US20150036546A1 (en) | Multiple ring identification and configuration protocol | |
CN106685783A (en) | Ring network protection method and system | |
CN102916862B (en) | Intelligent looped network dynamic protection method of industrial Ethernet switch | |
CN101771705B (en) | Processing method based on RRPP and device | |
CN106571936A (en) | Loop network protection data configuration method and device | |
US8218433B2 (en) | Monitoring connectivity in ring networks | |
Pallos et al. | Performance of rapid spanning tree protocol in access and metro networks | |
CN109218183A (en) | A method of overcoming RRPP fringe node flow interrupt | |
CN106161065B (en) | Path protection switching processing method, device and system and forwarding equipment | |
CN103746912A (en) | Data message transmission method and equipment based on subring link | |
CN105790984B (en) | Configuration and implementation method of operation maintenance management function and forwarding equipment | |
CN104168169B (en) | A kind of MAC address entries delet method and equipment | |
CN102075374A (en) | Method and system for reconstructing single-ring network topology | |
JP2011223172A (en) | Ring-type network system, communication apparatus and failure detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190115 |