CN102142982A - Forwarding plane fault repair method and device - Google Patents

Forwarding plane fault repair method and device Download PDF

Info

Publication number
CN102142982A
CN102142982A CN2010105575454A CN201010557545A CN102142982A CN 102142982 A CN102142982 A CN 102142982A CN 2010105575454 A CN2010105575454 A CN 2010105575454A CN 201010557545 A CN201010557545 A CN 201010557545A CN 102142982 A CN102142982 A CN 102142982A
Authority
CN
China
Prior art keywords
list item
forwarding
failure
searching
plane
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
Application number
CN2010105575454A
Other languages
Chinese (zh)
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.)
Huawei Digital Technologies Chengdu Co Ltd
Huawei Digital Technologies Co Ltd
Original Assignee
Huawei Digital Technologies Chengdu 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 Huawei Digital Technologies Chengdu Co Ltd filed Critical Huawei Digital Technologies Chengdu Co Ltd
Priority to CN2010105575454A priority Critical patent/CN102142982A/en
Publication of CN102142982A publication Critical patent/CN102142982A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention aims to provide a forwarding plane fault repair method and a forwarding plane fault repair device. The method comprises the following steps of: when a forwarding plane fails to search a forwarding table, reporting abnormal information to a control plane, wherein the abnormal information at least comprises a forwarding table entry which fails to be searched; and when the control plane has the table entry which fails to be searched, retransmitting the table entry which fails to be searched. By adopting the technical scheme provided by the embodiment of the invention, because the table entry is retransmitted when the forwarding plane fails to search the forwarding table but the control plane has the corresponding table entry, a damaged forwarding table entry of the forwarding plane can be repaired in time, and problems of discarding a large number of messages and interrupting a service for a long time are solved when the forwarding table entry searched by network equipment is invalid.

Description

A kind of fault of forwarding plane restorative procedure and device
Technical field
The present invention relates to network communication field, relate in particular to a kind of fault of forwarding plane restorative procedure and device.
Background technology
The general process that message is transmitted has comprised the reception storage of message, and dissection process is searched and transmitted, encapsulation, several stages such as transmission.Under some situation, it is invalid that the Forwarding plane of the network equipment is searched forwarding-table item, causes a large amount of messages to be dropped, and causes professional interruption for a long time.For example, (Multi-Protocol Label Switch when MPLS) transmitting, uses label lookup MPLS to transmit, and the data of returning are invalid, cause network unusual, treat that message is dropped in multiprotocol label switching.And for example, (Internet Protocol, when IP) transmitting, (Forwarding information base, FIB) list item does not exist or can't hit the fib table item forwarding information base Internet protocol, causes network unusual, treats that message is dropped.Above-mentioned Forwarding plane is searched the invalid reason that has software or hardware of forwarding-table item, and software reason such as protocol processes are improper, and issuing message is lost, and data are by mistake rewriting etc., hardware reason such as bit saltus step, external memory fault etc.
A kind of timing update mechanism is arranged usually, such as usually for example upgrading fib table in 24 hours again on the router in the network equipment according to some cycles.Because the common update time that is provided with is all long, the time of utilizing this mechanism to recover fault is oversize, and service outage duration is long.
Summary of the invention
The purpose of the embodiment of the invention provides fault of forwarding plane restorative procedure and device, searches forwarding-table item when invalid in order to solve the network equipment, and a large amount of messages are dropped, the problem that the professional chief time interrupts.
The purpose of the embodiment of the invention is achieved through the following technical solutions:
A kind of fault of forwarding plane restorative procedure comprises:
Search when Forwarding plane and to transmit when failure,, comprise the forwarding-table item of searching failure in the described abnormal information at least to control plane report abnormal information;
When control plane exists describedly when searching the list item of failure, issue the described list item of searching failure again.
A kind of fault of forwarding plane prosthetic device comprises:
The report unit is used for searching when Forwarding plane and transmits when failure, reports abnormal information to control plane, comprises the forwarding-table item of searching failure in the described abnormal information at least;
Issue the unit, be used for existing describedly when searching the list item of failure, issue the described list item of searching failure again when control plane.
The technical scheme that adopts the embodiment of the invention to provide, because when Forwarding plane is searched when transmitting failure still there is corresponding list item in control plane, again issue this list item, can in time repair the forwarding-table item that Forwarding plane damages, solve the network equipment and searched forwarding-table item when invalid, a large amount of messages are dropped, the problem that the professional chief time interrupts.
Description of drawings
Fig. 1 is a Forwarding plane fault restoration method flow diagram in the one embodiment of the invention;
Fig. 2 is a Forwarding plane fault restoration device block diagram in the one embodiment of the invention.
Embodiment
Below in conjunction with Fig. 1 one embodiment of the invention is described:
Fig. 1 is a Forwarding plane fault restoration method flow diagram in the one embodiment of the invention.This method comprises:
102, search when Forwarding plane and transmit when failure,, comprise the forwarding-table item of searching failure in the described abnormal information at least to control plane report abnormal information.
Whether Forwarding plane is searched to transmit and is failed, and multiple judgment principle can be arranged.For example, can search, report abnormal information when perhaps list item is invalid immediately, also can repeatedly search less than list item less than list item, perhaps list item invalid after, report abnormal information again.For instance, in MPLS transmits, from the interface I message that to receive a label be L, Forwarding plane is searched the MPLS Label Forwarding Information Base with the label L of message, when searching less than list item, when perhaps list item is invalid, do the invalid counting of list item, after the invalid number of times of this label is accumulated to the numerical value that sets in advance, to control plane report abnormal information, this unexpected message comprises that this searches the forwarding-table item of failure, for example label L.This unexpected message can also comprise the list item classification, the purpose IP address of message, information such as message incoming interface.And for example, in IP transmits, from the interface I message that to receive a purpose IP be the D address, Forwarding plane is searched fib table with the purpose IP address D of message, when searching, when perhaps list item is invalid, report abnormal information to control plane less than list item, this unexpected message comprises that this searches the forwarding-table item of failure, for example purpose IP address D.This this unexpected message can also comprise the list item classification, information such as message incoming interface.
104, exist describedly when searching the list item of failure when control plane, issue the described list item of searching failure again.
When control plane does not exist describedly when searching the list item of failure, can also recomputate and describedly search the list item of failure and issue the described list item that obtains that recomputates.
For example, in MPLS transmits, after control plane is received abnormal information, the MPLS label list item of query software, if there is the list item of the label L correspondence in the abnormal information, then with this entry updating to Forwarding plane, if there is no this list item, then according to destination address, adopt multiprotocol label switching (Multi-Protocol Label Switch, MPLS), notified tag distribution module multiprotocol label switching (Multi-Protocol Label Switch is called for short MPLS), RSVP (Resource Reservation Protocol, RSVP), Border Gateway Protocol (Border Gateway Protocol, BGP) or other can carry out the agreement of label distribution, the notice upstream network device is upgraded the label mapping relations.If upgrade failure, then produce alarm and remind the user.
And for example, in IP transmits, after control plane is received abnormal information, the fib table item of query software, if there is the list item of the purpose IP address D correspondence in the abnormal information, then with this entry updating to Forwarding plane, if there is no this list item, then according to purpose IP address D, information such as incoming interface, adopt BGP, ospf (Open Shortest Path First, OSPF), Intermediate System-to-Intermediate System (Intermediate system to intermediate system, IS-IS) or other routing protocol updates or synchronization of routing information.If upgrade or synchronization failure, then produce alarm and remind the user.
For searching of related list item, (the A table is related with the B table, the A table is found in expression earlier, obtains the index of B table, looks into the B table again, obtain the content of B table), when contingency table is searched failure,, then issue this list item to Forwarding plane if there is the described list item of searching failure in control plane, if control plane does not have the described list item of searching failure, then produce alarm and remind the user.
Below in conjunction with Fig. 2 another embodiment of the present invention is described:
Fig. 2 is a Forwarding plane fault restoration device block diagram in the one embodiment of the invention.This device comprises report unit 202 and issues unit 204.Wherein,
Report unit 202 is used for searching when Forwarding plane and transmits when failure, reports abnormal information to control plane, comprises the forwarding-table item of searching failure in the described abnormal information at least.
Whether Forwarding plane is searched to transmit and is failed, and multiple judgment principle can be arranged.For example, can search, report abnormal information when perhaps list item is invalid immediately, also can repeatedly search less than list item less than list item, perhaps list item invalid after, report abnormal information again.For instance, in MPLS transmits, from the interface I message that to receive a label be L, Forwarding plane is searched the MPLS Label Forwarding Information Base with the label L of message, when searching less than list item, when perhaps list item is invalid, do the invalid counting of list item, after the invalid number of times of this label was accumulated to the numerical value that sets in advance, report unit 202 was to control plane report abnormal information, this unexpected message comprises that this searches the forwarding-table item of failure, for example label L.This unexpected message can also comprise the list item classification, the purpose IP address of message, information such as message incoming interface.And for example, in IP transmits, from the interface I message that to receive a purpose IP be the D address, Forwarding plane is searched fib table with the purpose IP address D of message, when searching less than list item, when perhaps list item was invalid, report unit 202 was to control plane report abnormal information, this unexpected message comprises that this searches the forwarding-table item of failure, for example purpose IP address D.This this unexpected message can also comprise the list item classification, information such as message incoming interface.
Issue unit 204, be used for existing describedly when searching the list item of failure, issue the described list item of searching failure again when control plane.
Described device can also comprise computing module, is used for not existing describedly when searching the list item of failure when control plane, can also recomputate and describedly search the list item of failure and issue the described list item that obtains that recomputates.
Described device can also comprise Alarm Unit, is used for producing alarm.
For example, in MPLS transmits, after control plane is received abnormal information, the MPLS label list item of query software, if there is the list item of the label L correspondence in the abnormal information, then issue unit 204 with this entry updating to Forwarding plane, if there is no this list item, then computing module is according to destination address, adopt multiprotocol label switching (Multi-Protocol Label Switch, MPLS), notified tag distribution module multiprotocol label switching (Multi-Protocol Label Switch is called for short MPLS), RSVP (Resource Reservation Protocol, RSVP), Border Gateway Protocol (Border Gateway Protocol, BGP) or other can carry out the agreement of label distribution, the notice upstream network device is upgraded the label mapping relations.If upgrade failure, then Alarm Unit produces alarm and reminds the user.
And for example, in IP transmits, after control plane is received abnormal information, the fib table item of query software, if there is the list item of the purpose IP address D correspondence in the abnormal information, then issue unit 204 with this entry updating to Forwarding plane, if there is no this list item, then computing module is according to purpose IP address D, information such as incoming interface, adopt BGP, ospf (Open Shortest Path First, OSPF), Intermediate System-to-Intermediate System (Intermediate system to intermediate system, IS-IS) or other routing protocol updates or synchronization of routing information.If upgrade or synchronization failure, then Alarm Unit produces alarm and reminds the user.
For searching of related list item, (the A table is related with the B table, the A table is found in expression earlier, obtains the index of B table, looks into the B table again, obtain the content of B table), when contingency table is searched failure,, then issue unit 204 and issue this list item to Forwarding plane if there is the described list item of searching failure in control plane, if control plane does not have the described list item of searching failure, then Alarm Unit produces alarm and reminds the user.
The technical scheme that adopts the embodiment of the invention to provide, because when Forwarding plane is searched when transmitting failure still there is corresponding list item in control plane, again issue this list item, when there is not corresponding list item in control plane, recomputate this list item and issue this list item, can in time repair the forwarding-table item that Forwarding plane damages, solved the network equipment and searched forwarding-table item when invalid, a large amount of messages are dropped, the problem that the professional chief time interrupts.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer-readable recording medium, described storage medium can be ROM/RAM, disk or CD etc.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (4)

1. a fault of forwarding plane restorative procedure is characterized in that, comprising:
Search when Forwarding plane and to transmit when failure,, comprise the forwarding-table item of searching failure in the described abnormal information at least to control plane report abnormal information;
When control plane exists describedly when searching the list item of failure, issue the described list item of searching failure again.
2. method according to claim 1 is characterized in that, described method also comprises, when control plane does not exist describedly when searching the list item of failure, recomputates and describedly searches the list item of failure and issue the described list item that obtains that recomputates.
3. a fault of forwarding plane prosthetic device is characterized in that, comprising:
The report unit is used for searching when Forwarding plane and transmits when failure, reports abnormal information to control plane, comprises the forwarding-table item of searching failure in the described abnormal information at least;
Issue the unit, be used for existing describedly when searching the list item of failure, issue the described list item of searching failure again when control plane.
4. method according to claim 3 is characterized in that described device also comprises, computing module is used for not existing describedly when searching the list item of failure when control plane, recomputates and describedly searches the list item of failure and issue the described list item that obtains that recomputates.
CN2010105575454A 2010-11-23 2010-11-23 Forwarding plane fault repair method and device Pending CN102142982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105575454A CN102142982A (en) 2010-11-23 2010-11-23 Forwarding plane fault repair method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105575454A CN102142982A (en) 2010-11-23 2010-11-23 Forwarding plane fault repair method and device

Publications (1)

Publication Number Publication Date
CN102142982A true CN102142982A (en) 2011-08-03

Family

ID=44410225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105575454A Pending CN102142982A (en) 2010-11-23 2010-11-23 Forwarding plane fault repair method and device

Country Status (1)

Country Link
CN (1) CN102142982A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107026790A (en) * 2016-01-30 2017-08-08 华为技术有限公司 A kind of transmission control method and equipment
CN107786450A (en) * 2017-10-17 2018-03-09 新华三技术有限公司 A kind of data message transmission method, device and machinable medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756182A (en) * 2004-09-30 2006-04-05 华为技术有限公司 Protection switching method in multiprotocol label switching system
CN101005442A (en) * 2006-01-20 2007-07-25 华为技术有限公司 Re-roating method
CN101047566A (en) * 2006-04-26 2007-10-03 华为技术有限公司 Method and system for raising network reliability
US20080219268A1 (en) * 2007-03-01 2008-09-11 Dennison Larry R Software control plane for switches and routers
CN101427501A (en) * 2004-06-18 2009-05-06 思科技术公司 Consistency between mpls traffic engineering forwarding and control planes
CN101651625A (en) * 2009-09-03 2010-02-17 中兴通讯股份有限公司 Route selecting device and route selecting method of multi-service restoration
CN101710875A (en) * 2009-12-22 2010-05-19 中兴通讯股份有限公司 Method and device for realizing rapid re-routing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101427501A (en) * 2004-06-18 2009-05-06 思科技术公司 Consistency between mpls traffic engineering forwarding and control planes
CN1756182A (en) * 2004-09-30 2006-04-05 华为技术有限公司 Protection switching method in multiprotocol label switching system
CN101005442A (en) * 2006-01-20 2007-07-25 华为技术有限公司 Re-roating method
CN101047566A (en) * 2006-04-26 2007-10-03 华为技术有限公司 Method and system for raising network reliability
US20080219268A1 (en) * 2007-03-01 2008-09-11 Dennison Larry R Software control plane for switches and routers
CN101651625A (en) * 2009-09-03 2010-02-17 中兴通讯股份有限公司 Route selecting device and route selecting method of multi-service restoration
CN101710875A (en) * 2009-12-22 2010-05-19 中兴通讯股份有限公司 Method and device for realizing rapid re-routing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107026790A (en) * 2016-01-30 2017-08-08 华为技术有限公司 A kind of transmission control method and equipment
CN107026790B (en) * 2016-01-30 2019-06-28 华为技术有限公司 A kind of transmission control method and equipment
CN107786450A (en) * 2017-10-17 2018-03-09 新华三技术有限公司 A kind of data message transmission method, device and machinable medium

Similar Documents

Publication Publication Date Title
US8856584B2 (en) Transport control server that modifies routing information
US8018844B2 (en) Reliable message transfer over an unreliable network
CN102148677B (en) Method for updating address resolution protocol table entries and core switch
CN100452772C (en) Three-layer forwarding method, device and ARP information table updating method
JP5715185B2 (en) Packet processing method, apparatus and system
CN102137017A (en) Working method and device used for virtual network unit
CN101282276A (en) Method and apparatus for protecting Ethernet tree service
US9515919B2 (en) Method and apparatus for protection switching in packet transport system
US20140043956A1 (en) Techniques for Flooding Optimization for Link State Protocols in a Network Topology
CN102195822B (en) Fault detection method and business provider edge (PE) equipment
CN104980293B (en) A kind of OAM message is quickly sent and the method and device of detection processing
CN107846356B (en) Method and device for fast switching between main pseudo wire and standby pseudo wire
CN103201987A (en) Prioritization of routing information updates
CN102195861A (en) Method and device for establishing BFD (bidirectional forwarding detection) session in route switching process
CN103516612A (en) Method for generating routing table items in a distributed router, and distributed router
CN101909006B (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN101340377B (en) Method, apparatus and system for data transmission in double layer network
CN101414972B (en) Method and apparatus for updating information
CN101997703B (en) Method and device for managing Ethernet topology
CN102142982A (en) Forwarding plane fault repair method and device
CN102281158A (en) Line fault processing method and device
CN107124316B (en) Hardware based quick switching action implementation method in a kind of data communications equipment
CN103166847B (en) Ensure the method and apparatus of Graceful Restart
CN102223241B (en) Method and equipment for informing network change
CN101309230A (en) Control method for packet sequence switch on transmission path of multiple protocol label switch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing, Haidian District on the road, No. 3

Applicant after: Beijing Huawei Digital Technology Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the road, No. 3

Applicant before: Huawei Digit Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: HUAWEI DIGIT TECHNOLOGY CO., LTD. TO: BEIJING HUAWEI DIGITAL TECHNOLOGY CO., LTD.

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110803