CN101702684B - Method for realizing to refresh Ethernet ring network forwarding database and device - Google Patents

Method for realizing to refresh Ethernet ring network forwarding database and device Download PDF

Info

Publication number
CN101702684B
CN101702684B CN200910237456A CN200910237456A CN101702684B CN 101702684 B CN101702684 B CN 101702684B CN 200910237456 A CN200910237456 A CN 200910237456A CN 200910237456 A CN200910237456 A CN 200910237456A CN 101702684 B CN101702684 B CN 101702684B
Authority
CN
China
Prior art keywords
rpl
link
ring
protection
ring protection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN200910237456A
Other languages
Chinese (zh)
Other versions
CN101702684A (en
Inventor
周炎金
彭昱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200910237456A priority Critical patent/CN101702684B/en
Publication of CN101702684A publication Critical patent/CN101702684A/en
Application granted granted Critical
Publication of CN101702684B publication Critical patent/CN101702684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for realizing to refresh an Ethernet ring network forwarding database; after a non-ring protected link main node (RPL Owner) receives a link failure message or a non-request ring protected link locking (NRRB) message, or after the RPL Owner is at the terminal port of an unblocking ring protected link (RPL) or a wait-to-restore (WTR) timer arrives time, the protective service configuration of a ring network port is retrieved; when a virtual local area network(VLAN) under protection is retrieved, the VLAN under protection in the protective service configuration refreshes an forwarding database (FDB) of the ring network port; the invention further discloses a device for realizing to refresh an Ethernet ring network forwarding database; by adopting the invention, the interruption of non Ethernet ring network protection service load-carried on the node is avoided owning to emptying the FDB on the whole ring network port.

Description

A kind of method and apparatus of realizing that the ethernet ring network addresses forwarding table refreshes
Technical field
The present invention relates to the Ethernet ring protection switching handoff technique, relate in particular to a kind of method and apparatus of realizing that the ethernet ring network addresses forwarding table refreshes.
Background technology
Ethernet ring network automatic protection switching technology (ER-APS; Ethernet Ring Automatic Protection Switching) as one of most important technology in the Metro Ethernet technical development; Its carrier-class protection performance of handoffs has improved stability of network and reliability greatly, requires very high business to provide preferably to ensure for satisfying real-times such as voice and video is live.
Under normal circumstances, the ring protection link host node (RPL Owner, Ring Protection Link Owner) in the ethernet ring network will block its terminal port at ring protection link (RPL).When non-RPL link or a certain non-RPL Owner on the ring broke down, the RPL Owner terminal port of RPL link that will unblock was so that switch on the reserve link business datum; After fault recovery, when Ethernet ring protection switching controls pattern was reversing mode, RPL Owner can block the terminal port of RPL link again, and data service will be switched back former bearing link.
Because the ethernet ring network data forwarding, is switched on the backup path in order to make data service when ethernet ring network is switched through learning and searching addresses forwarding table (FDB) and carry out as early as possible, need carry out refresh operation to FDB.If do not refresh, need wait for that then original database address is aging, data service just can switch on another paths, will prolong the break period of data service greatly like this.
In the prior art, during for the non-RPL link failure of ethernet ring network, the FDB of node refreshes and comprises following step, and is as shown in Figure 1:
Step 101: in the ethernet ring network, two nodes that detect non-RPL link generation inefficacy periodically send link failure message according to the communication protocol of ethernet ring network to the looped network two ends respectively;
Step 102: after the node on the ethernet ring network is received the link failure message of sending on the looped network, judge whether self is RPL Owner; If then execution in step 103, otherwise, execution in step 104;
The unblock terminal port of RPL link of step 103:RPL Owner, and refresh FDB based on the looped network port on the RPL Owner, finish current handling process;
Step 104: non-RPL Owner refreshes FDB based on the looped network port of self.
In the prior art, when recovering after the non-RPL link failure for ethernet ring network, the FDB of node refreshes and comprises following step, and is as shown in Figure 2:
Step 201: in the ethernet ring network, link-attached two node detection that lost efficacy are periodically sent according to the communication protocol of ethernet ring network to the looped network two ends respectively and are not had request (NR, NoRequest) message behind the inefficacy link-recovery;
After step 202:RPL Owner receives NR message, start Wait-to-Restore (WTR, Wait To Restore) timer;
Step 203: after WTR timer timing arrived, RPL Owner blocked the terminal port of RPL link;
Step 204:RPL Owner refreshes FDB based on the looped network port on the RPL Owner, and on ethernet ring network, sends and do not have request ring protection line lockout (NR RB, No Request RPL Blocked) message;
Step 205: after the non-RPL Owner on the ethernet ring network receives NR RB message, refresh FDB based on self looped network port.
This shows; Present Ethernet ring protection technology; When Ethernet ring protection was switched, the refresh operation of FDB is based on the ring port to carry out, promptly after the node on the ring receives that triggering refreshes the message of FDB; All addresses of having learnt will be cleared on this port, learn again; In this case, the business of the non-Ethernet ring protection of on these nodes, carrying also can refresh owing to the FDB of corresponding looped network port on this node and cause service disconnection.Therefore, how to carry out refreshing of FDB more effectively, avoid occurring problems such as unnecessary data frame inundation and bandwidth availability ratio reduction, just become the technical problem that the technical staff presses for solution.
Summary of the invention
In view of this; Main purpose of the present invention is to provide a kind of method and apparatus of realizing that the ethernet ring network addresses forwarding table refreshes, and the business of the non-Ethernet ring protection that can avoid carrying on the node causes service disconnection because of the FDB of the looped network port on this node refreshes.
For achieving the above object, technical scheme of the present invention is achieved in that
Method that a kind of addresses forwarding table of realizing ethernet ring network refreshes that the present invention realizes, this method comprises:
Non-ring protection link host node RPL Owner is after receiving NR RB message or the link failure message from two nodes that detect non-ring protection link RPL generation inefficacy; Perhaps ring protection link host node RPL Owner the terminal port of the ring protection link RPL that unblocks or WTR timer then after, retrieve the protection business configuration of the looped network port of self;
Retrieving when disposing shielded VLAN, refreshing the FDB of looped network port based on shielded VLAN in the protection business configuration.
In the such scheme, said protection business configuration is specially: according to the protection VLAN on pre-configured each node looped network port of network application.
In the such scheme; Said from detecting the link failure message that two nodes of inefficacy take place non-ring protection link RPL; Be specially: when the non-ring protection link RPL of ethernet ring network lost efficacy, two nodes that detect non-ring protection link RPL generation inefficacy periodically sent link failure message to the looped network two ends respectively.
In the such scheme, said NR RB message is specially from ring protection link host node RPL Owner: ring protection link host node RPL Owner sends NR RB message on ethernet ring network after the protection business configuration of retrieval self looped network port.
In the such scheme, said WTR timer then after, this method further comprises: the terminal port of ring protection link host node RPL Owner choke ring protection link RPL.
In the such scheme, this method further comprises: when retrieving the shielded VLAN of not configuration, do not refresh the FDB of self looped network port.
The present invention realizes device that a kind of addresses forwarding table of realizing ethernet ring network refreshes, this device comprises:
Trigger module; When being used to be in non-ring protection link host node RPL Owner; After non-ring protection link host node RPL Owner receives NR RB message or the link failure message from two nodes that detect non-ring protection link RPL generation inefficacy; When perhaps being in ring protection link host node RPL Owner, ring protection link host node RPL Owner unblock ring protection link RPL terminal port or WTR timer then after, trigger retrieval module;
Retrieval module is used to retrieve the protection business configuration of the looped network port of self place node, is retrieving when disposing shielded VLAN the notice refresh module;
Refresh module is used for refreshing the FDB of looped network port based on the shielded VLAN of protection business configuration;
Protection business configuration module is used to store according to network application in advance to the protection VLAN of node looped network port arrangement.
In the such scheme, said retrieval module is further used for when retrieving the shielded VLAN of not configuration, withdrawing from retrieval automatically.
The method and apparatus that realization ethernet ring network addresses forwarding table provided by the invention refreshes, through non-RPLOwner after receiving link failure message or NR RB message; Perhaps RPL Owner is after the terminal port of the RPL link that unblocks or WTR timer timing arrive; Retrieve the protection business configuration of the looped network port of self; Retrieving when disposing shielded VLAN, refreshing the FDB of looped network port based on shielded VLAN in the protection business configuration; When retrieving the shielded VLAN of not configuration, do not refresh the FDB of self looped network port; Thereby the business of the non-Ethernet ring protection of avoiding carrying on these nodes is because the FDB on the whole looped network port is cleared and causes service disconnection, can prevent unnecessary data inundation and bandwidth availability ratio effectively and descend.
Description of drawings
Fig. 1 is in the prior art, during for the non-RPL link failure of ethernet ring network, and the schematic flow sheet of the method that the FDB of node refreshes;
Fig. 2 is in the prior art, when recovering after the non-RPL link failure for ethernet ring network, and the schematic flow sheet of the method that the FDB of node refreshes;
Fig. 3 realizes the method that the addresses forwarding table of ethernet ring network refreshes for the present invention, the schematic flow sheet when the non-RPL link failure of ethernet ring network;
Fig. 4 realizes the method that the addresses forwarding table of ethernet ring network refreshes for the present invention, the schematic flow sheet when after the non-RPL link failure of ethernet ring network, recovering;
Fig. 5 realizes the structural representation of the device that the addresses forwarding table of ethernet ring network refreshes for the present invention.
Embodiment
Basic thought of the present invention is: non-RPL Owner is after receiving link failure message or NR RB message; Perhaps RPL Owner is after the terminal port of the RPL link that unblocks or WTR timer timing arrive; Retrieve the protection business configuration of the looped network port of self; Retrieving when disposing shielded VLAN, refreshing the FDB of looped network port based on shielded VLAN in the protection business configuration; When retrieving the shielded VLAN of not configuration, do not refresh the FDB of self looped network port.
Wherein, said protection business configuration is specially: the network manager is according to the protection VLAN on pre-configured each node looped network port of network application.
Through accompanying drawing and specific embodiment method of the present invention is done further detailed description more below.
The present invention realizes the method that the ethernet ring network addresses forwarding table refreshes, and according to network application each node looped network port is protected business configuration in advance, and when the non-RPL link failure of ethernet ring network, as shown in Figure 3, this method comprises following step:
Step 301: in the ethernet ring network, two nodes that detect non-RPL link generation inefficacy periodically send link failure message according to the communication protocol of ethernet ring network to the looped network two ends respectively;
Step 302: after the node on the ethernet ring network is received the link failure message of sending on the looped network, judge whether self is RPL Owner; If then execution in step 303, otherwise, execution in step 304;
The step 303:RPL Owner terminal port of RPL link that unblocks, and retrieve the protection business configuration of self looped network port, judge whether to dispose shielded VLAN; If have, then execution in step 305, if do not have, then execution in step 306;
Step 304: the protection business configuration of non-RPL Owner retrieval self looped network port judges whether to dispose shielded VLAN; If have, then execution in step 305, if do not have, then execution in step 306;
Step 305: the node that disposes shielded VLAN is based on shielded VLAN in the protection business configuration, carries out the refreshing of FDB of looped network port, finishes current handling process;
Step 306: do not have the node of configuration not carry out FDB and refresh.
When after the non-RPL link failure of ethernet ring network, recovering, as shown in Figure 4, this method comprises:
Step 401: in the ethernet ring network, link-attached two node detection that lost efficacy are periodically sent NR message according to the communication protocol of ethernet ring network to the looped network two ends respectively behind the inefficacy link-recovery;
After step 402:RPL Owner receives NR message, start the WTR timer;
Step 403: after WTR timer timing arrived, RPL Owner blocked the terminal port of RPL link;
The protection business configuration of step 404:RPL Owner retrieval self looped network port judges whether to dispose shielded VLAN; If have, then execution in step 405, if do not have, then execution in step 406;
Step 405:RPL Owner carries out the refreshing of FDB of looped network port based on shielded VLAN in the protection business configuration, and on ethernet ring network, sends NR RB message, execution in step 407;
Step 406:RPL Owner does not carry out refreshing of FDB, directly on ethernet ring network, sends NR RB message;
Step 407: after non-RPL Owner receives NR RB message, retrieve the protection business configuration of self looped network port, judge whether to dispose shielded VLAN; If have, then execution in step 408, if do not have, then execution in step 409;
Step 408: non-RPL Owner refreshes the FDB of looped network port based on shielded VLAN in the protection business configuration, finishes current handling process;
Step 409: non-RPL Owner does not carry out FDB and refreshes.
Based on said method, the present invention also provides and has realized the device that the ethernet ring network addresses forwarding table refreshes, and as shown in Figure 5, this device comprises: trigger module 51, retrieval module 52, refresh module 53, protection business configuration module 54; Wherein,
Trigger module 51; When being used to be in non-RPL Owner, after non-RPL Owner receives link failure message or NR RB message, when perhaps being in RPL Owner; Unblock after terminal port or the WTR timer timing of RPL link arrive at RPL Owner, trigger retrieval module 52;
Retrieval module 52 is used to retrieve the protection business configuration of the looped network port of self place node, i.e. the configuration of retrieval protection business configuration module 54 storages is retrieving when disposing shielded VLAN notice refresh module 53; When retrieving the shielded VLAN of not configuration, withdraw from retrieval automatically, do not notify refresh module 53;
Refresh module 53 is used for refreshing the FDB of looped network port based on the shielded VLAN of protection business configuration;
Protection business configuration module 54 is used to store according to network application in advance to the protection VLAN of node looped network port arrangement.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. method that the addresses forwarding table of realizing ethernet ring network refreshes is characterized in that this method comprises:
Non-ring protection link host node RPL Owner is after receiving nothing request ring protection line lockout message NRRB or the link failure message from two nodes that detect non-ring protection link RPL generation inefficacy; Perhaps ring protection link host node RPL Owner the terminal port of the ring protection link RPL that unblocks or Wait-to-Restore timer WTR then after, retrieve the protection business configuration of the looped network port of self;
Retrieving when disposing shielded virtual LAN VLAN, refreshing the addresses forwarding table FDB of looped network port based on shielded VLAN in the protection business configuration.
2. method according to claim 1 is characterized in that, said protection business configuration is specially: according to the protection VLAN on pre-configured each node looped network port of network application.
3. method according to claim 1; It is characterized in that; Said from detecting the link failure message that two nodes of inefficacy take place non-ring protection link RPL; Be specially: when the non-ring protection link RPL of ethernet ring network lost efficacy, two nodes that detect non-ring protection link RPL link generation inefficacy periodically sent link failure message to the looped network two ends respectively.
4. method according to claim 1; It is characterized in that; Said NR RB message is specially from ring protection link host node RPL Owner: ring protection link host node RPL Owner sends NR RB message on ethernet ring network after the protection business configuration of retrieval self looped network port.
5. method according to claim 1 is characterized in that, said Wait-to-Restore timer WTR then after, this method further comprises: the terminal port of ring protection link host node RPL Owner choke ring protection link RPL.
6. method according to claim 1 is characterized in that, this method further comprises: when retrieving the shielded VLAN of not configuration, do not refresh the FDB of self looped network port.
7. device that the addresses forwarding table of realizing ethernet ring network refreshes is characterized in that this device comprises:
Trigger module; When being used to be in non-ring protection link host node RPL Owner; After non-ring protection link host node RPL Owner receives nothing request ring protection line lockout message NR RB or the link failure message from two nodes that detect non-ring protection link RPL generation inefficacy; When perhaps being in ring protection link host node RPL Owner; Ring protection link host node RPL Owner unblock ring protection link RPL terminal port or Wait-to-Restore timer WTR timer then after, trigger retrieval module;
Retrieval module is used to retrieve the protection business configuration of the looped network port of self place node, is retrieving when disposing shielded virtual LAN VLAN the notice refresh module;
Refresh module is used for refreshing the addresses forwarding table FDB of looped network port based on the shielded virtual LAN VLAN of protection business configuration;
Protection business configuration module is used to store according to network application in advance to the protection VLAN of node looped network port arrangement.
8. device according to claim 7 is characterized in that, said retrieval module is further used for when retrieving the shielded VLAN of not configuration, withdrawing from retrieval automatically.
CN200910237456A 2009-11-06 2009-11-06 Method for realizing to refresh Ethernet ring network forwarding database and device Active CN101702684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910237456A CN101702684B (en) 2009-11-06 2009-11-06 Method for realizing to refresh Ethernet ring network forwarding database and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910237456A CN101702684B (en) 2009-11-06 2009-11-06 Method for realizing to refresh Ethernet ring network forwarding database and device

Publications (2)

Publication Number Publication Date
CN101702684A CN101702684A (en) 2010-05-05
CN101702684B true CN101702684B (en) 2012-09-05

Family

ID=42157579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910237456A Active CN101702684B (en) 2009-11-06 2009-11-06 Method for realizing to refresh Ethernet ring network forwarding database and device

Country Status (1)

Country Link
CN (1) CN101702684B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263685A (en) * 2010-05-24 2011-11-30 中兴通讯股份有限公司 Processing method of No Request (NR) protocol frame in Ethernet ring network and apparatus thereof
CN101895588B (en) * 2010-07-19 2012-05-23 南京邮电大学 Address refreshing method based on address refreshing message transmission source node set
CN102857398A (en) * 2012-10-12 2013-01-02 盛科网络(苏州)有限公司 Method for transferring ring protection link (RPL) of sub ring during failure of multiple links of main ring
WO2018120228A1 (en) * 2016-12-30 2018-07-05 华为技术有限公司 Method and device for recovering from ring circuit fault, and node apparatus
CN106817254B (en) * 2017-01-05 2020-01-03 杭州迪普科技股份有限公司 Address refreshing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766482B1 (en) * 2001-10-31 2004-07-20 Extreme Networks Ethernet automatic protection switching
CN1875585A (en) * 2003-11-04 2006-12-06 思科技术公司 Dynamic unknown L2 flooding control with MAC limits
CN101163079A (en) * 2007-11-13 2008-04-16 中兴通讯股份有限公司 Method to refresh forwarding database in Ethernet ring protection
CN101662408A (en) * 2008-08-27 2010-03-03 中兴通讯股份有限公司 Address list updating method and device based on ring network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766482B1 (en) * 2001-10-31 2004-07-20 Extreme Networks Ethernet automatic protection switching
CN1875585A (en) * 2003-11-04 2006-12-06 思科技术公司 Dynamic unknown L2 flooding control with MAC limits
CN101163079A (en) * 2007-11-13 2008-04-16 中兴通讯股份有限公司 Method to refresh forwarding database in Ethernet ring protection
CN101662408A (en) * 2008-08-27 2010-03-03 中兴通讯股份有限公司 Address list updating method and device based on ring network

Also Published As

Publication number Publication date
CN101702684A (en) 2010-05-05

Similar Documents

Publication Publication Date Title
CN101558609B (en) Method, device and system for ring protection
CN101483570B (en) Method, system and device for preventing looped network temporary loop circuit of relaying link
CN102148677B (en) Method for updating address resolution protocol table entries and core switch
CN101686158B (en) Control method for Ethernet loop guard fault recovery and Ethernet loop node
CN101640622B (en) Ethernet ring net protection method and transit node
CN101667963B (en) Link switching method and device
CN100512128C (en) Method and system for protecting multicast repeat path and service router
CN101702684B (en) Method for realizing to refresh Ethernet ring network forwarding database and device
CN101039172B (en) Ethernet ring network system and its protection method and standby host node
CN101022390A (en) Method, system and equipment for protecting double-return switch-in RRPP loop network
CN102546222A (en) Backup system and fault detection and processing method
CN101227371B (en) Method and apparatus of backup switch among same level switch equipments
CN101478469B (en) Method and system for RRPP loop link switching
CN100444558C (en) Method for backup of main station point and backup station point
EP2533470B1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
CN102480409A (en) Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device
CN101989930B (en) Method and switching equipment for realizing Ethernet double loop
CN101909006B (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
JP5491623B2 (en) Address refresh method and system
CN102244589B (en) Method and opposite terminal apparatus for processing link fault in virtual switch unit system
CN101883038A (en) Method for protecting and switching EAPS (Ethernet Automatic Protection Switching) looped network and main node in EAPS looped network
CN102238067A (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
CN102487348B (en) Method and system for realizing looped network uplink protection
CN101764714A (en) Channel failure reversing method, node and signal transmission system
CN101729361A (en) Method and device for processing message

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