CN101465859B - Method and device for triggering main and standby interface board inverse switch - Google Patents
Method and device for triggering main and standby interface board inverse switch Download PDFInfo
- Publication number
- CN101465859B CN101465859B CN200910000447A CN200910000447A CN101465859B CN 101465859 B CN101465859 B CN 101465859B CN 200910000447 A CN200910000447 A CN 200910000447A CN 200910000447 A CN200910000447 A CN 200910000447A CN 101465859 B CN101465859 B CN 101465859B
- Authority
- CN
- China
- Prior art keywords
- bfd session
- interface board
- bfd
- changed
- session
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method and a device for triggering the switching of main and standby interface boards, including that: a bidirectional forwarding detection (BFD)conversation is established between a 3G device and an IP carrier network; when the main interface board detects the occurrence of fault, switching of the main and the standby interface boards is carried out, and the original standby interface board is switched to a new main interface board. With the method, the time of switching the single boards can be greatly reduced; the fault detection time of the whole network can be unified, and the network convergence time is consistent; a user can combine the function with the bidirectional forwarding detection of multi next hop based on static routing and can realize double-back-up effect when gaining an access to the carrier network.
Description
Technical field
The present invention relates to the network communications technology field, especially a kind of method and device that triggers main and standby interface board inverse switch.
Background technology
Common IP network does not have second the intermittent defect repair function below the level, and traditional routing framework real-time application (like voice) is carried out aspect the accurate fault detect limited in one's ability.Because the application of IP speech and other real time business, to quick fault testing with correct function require increasingly high.Prevent that network from taking place to interrupt being very crucial for a long time,, will foreshorten to troubleshooting time in one second and be very important if IP network is supported speech, video, special line or ATM high value applications such as (asynchronous transfer modes).3G equipment of the core network developing tendency in future all is to adopt full IP bearing, and like MGW (WMG), and 3G equipment such as MSCServer is when inserting soft switch IP bearer network, and speech business requires high for the real-time of equipment.
There are some problems in two kinds of at present common 3G core net networking modes; First kind of situation is: do not adopt in the 3G equipment of two-way forwarding detection; When the 3G device interface board inserted IP bearer network router with the networking mode of multi-next-hop, interface board can't be known the reachability information of next hop router.When the link generation chain rupture that an outgoing interface of interface board arrives some next hop routers, perhaps router breaks down.The 3G network element can't know that next jumping is unreachable, continues on this link, to send service message.Cause partial service to go out active.Second kind of situation is: a pair of active and standby two routers that insert operation VRRP Virtual Router Redundacy Protocol (VRRP) with the active and standby mode of interface board employing respectively of 3G equipment.Main insert the MASTER router with interface board, spare interface board inserts the BACKUP router, and 3G equipment is used for a virtual ip address that a pair of router provides as gateway to far-end purpose network.With interface board during to the link occurs fault of router, interface board has only the interruption that relies on the signal of telecommunication to cause that external port Down is triggered mainboard to be switched to slave board when main.The detection of the signal of telecommunication can not accomplish that in each vendor equipment detection time unified; Also slower usually; If be not the situation of direct-connected mode for the mode of leading the active router that inserts with interface board in addition; But when being connected to router, mainly be not aware of external port Down with interface board through a switch or double layer network, can't switching to fully, interface board causes professional loss of data.
Under above-mentioned two kinds of networking situation, all can exist customer service to be linked under the situation that the link of IP bearer network breaks down the situation of loss of traffic at the 3G network element device.
Summary of the invention
The technical problem that the present invention will solve provides a kind of method and device that triggers main and standby interface board inverse switch, has shortened the switching time of veneer greatly, and can accomplish the whole network unification of failure detection time, and network convergence time is consistent.
In order to address the above problem, the invention provides a kind of method that triggers main and standby interface board inverse switch, comprising:
Create two-way forwarding between 3G equipment and the IP bearer network and detect the BFD session;
Main detect link and break down with interface board after, carry out active and standbyly with the switching of interface board, former spare interface board switched to new master uses interface board.
Further, creating two-way forwarding detection BFD session between said 3G equipment and the IP bearer network specifically is meant:
Master control borad receives that the user sets up and creates the BFD session after the route requests, and preserves the relevant parameter of said BFD session, sends BFD session configuration message to corresponding active and standby of said BFD session with interface board afterwards, carries the relevant parameter of said BFD session;
Said active and standby receiving with interface board created same BFD session after the said BFD session configuration message;
The relevant parameter of said BFD session comprises source IP address, purpose IP address, detection time and whether the trigger interface plate is switched enables.
Further;, said master carries out the negotiation of BFD session when creating said BFD session with interface board after with the IP carrying network router of opposite end; Consult successfully then to notify the master control borad static routing that said BFD session is corresponding to be changed to effectively, consulting to fail, it is invalid then to notify the master control borad static routing that said BFD session is corresponding to be changed to.
Further; After said master detects the BFD session with interface board chain route normally becomes fault; Carry out active and standby switching with interface board; It is the new main interface board of using that former spare interface board is switched, and it is invalid to notify the master control borad static routing that said BFD session is corresponding to be changed to, and said afterwards new master holds consultation with the IP carrying network router of interface board and opposite end.
Further, if said master consults successfully with the IP carrying network router of interface board and opposite end, then said BFD session status is changed to UP; If said main IP carrying network router negotiation with interface board and opposite end is failed or the chain route that detects the BFD session normally becomes fault, then said BFD session status is changed to Down;
Said master carries the relevant information of BFD session this moment with sending the message of upgrading the BFD session status to master control borad after the interface board, comprises the state of source IP address, purpose IP address and BFD session this moment.
Further, after said master control borad was received the message of said renewal BFD session status, if the state of BFD session is UP, then that said BFD session is corresponding static routing was changed to effectively; If the state of BFD session is Down, it is invalid that then that said BFD session is corresponding static routing is changed to.
The present invention also provides a kind of device that triggers main and standby interface board inverse switch, comprises master control borad, main with interface board and spare interface board;
Said master control borad comprises that two-way forwarding detects BFD proxy management module;
Said BFD proxy management module is used to and creates two-way forwarding detection BFD session between 3G equipment and the IP bearer network;
Said master comprises the BFD protocol module with interface board, and whether the link that is used to detect said BFD session breaks down, and after said link breaks down, carries out active and standbyly with the switching of interface board, and former spare interface board is switched to new master use interface board.
Further, said spare interface board comprises the BFD protocol module;
Dispose the relevant parameter of said BFD session during said BFD proxy management module creation BFD session, also be used for sending BFD session configuration message with interface board, carry the relevant parameter of said BFD session to the active and standby of said BFD session;
Said active and standby BFD protocol module with interface board is created same BFD session after also being used to receive said BFD session configuration message;
The relevant parameter of said BFD session comprises source IP address, purpose IP address, detection time and whether the trigger interface plate is switched enables.
Further, said master control borad also comprises the static routing module;
Said main BFD protocol module with interface board also is used to create after the said BFD session negotiation of carrying out the BFD session with the IP carrying network router of opposite end; Consult successfully then to notify the master control borad static routing that said BFD session is corresponding to be changed to effectively, consulting to fail, it is invalid then to notify the master control borad static routing that said BFD session is corresponding to be changed to;
The BFD proxy management module of said master control borad is used for also that the static routing that said BFD session is corresponding is changed to effective or invalid according to the said static routing module of said notification instruction;
Said static routing module is used for being changed to effective or invalid according to the said instruction static routing that said BFD session is corresponding.
Further, saidly active and standbyly also comprise active and standby administration module with interface board;
Said main BFD protocol module with interface board also is used to detect the chain route and normally becomes the active and standby administration module of notifying this plate after the fault and carry out active and standbyly with the switching of interface board, and it is invalid to notify master control borad that the static routing of said BFD session correspondence is changed to;
The said main active and standby administration module that uses interface board is used to receive after the said notice former spare interface board switched to new master uses interface board.
Further; Said master consults successfully then to notify master control borad that the corresponding static routing of said BFD session is changed to effectively with the BFD protocol module of interface board with the IP carrying network router of opposite end and is meant; If consult successfully; Said BFD protocol module is changed to UP with the state of said BFD session, and sends the message of upgrading the BFD session status to master control borad, carries the relevant information of said BFD session;
Said main BFD protocol module with interface board is consulted failure with the IP carrying network router of opposite end and is then notified master control borad that the corresponding static routing of said BFD session is changed to invalid being meant; If consult failure; Said BFD protocol module is changed to Down with the state of said BFD session; And, carry the relevant information of said BFD session to the message that master control borad sends renewal BFD session status;
Said main BFD protocol module with interface board detects notifies the master control borad static routing that said BFD session is corresponding to be changed to invalid being meant after the chain route normally becomes fault; The BFD protocol module detects the state that the chain route normally becomes after the fault said BFD session and is changed to Down; And, carry the relevant information of said BFD session to the message that master control borad sends renewal BFD session status;
The relevant information of said BFD session comprises the state of source IP address, purpose IP address and BFD session this moment.
Further; The BFD proxy management module of said master control borad is used for also that the static routing that said BFD session is corresponding is changed to effective or invalid being meant according to the said static routing module of said notification instruction; After BFD proxy management module is received the message of said renewal BFD session status; If the state that carries is UP; Then notify the static routing that said BFD session is corresponding of static routing module to be changed to effectively, if the state that carries is Down, it is invalid then to notify the static routing that said BFD session is corresponding of said static routing module to be changed to.
Further; Said main BFD protocol module with interface board detects the chain route and normally becomes the active and standby administration module of notifying this plate after the fault and carry out active and standbyly being meant with switching of interface board; The BFD protocol module detects after the chain route normally becomes fault; Active and standby administration module to this plate sends switching request message, wherein adds the reason that triggers active and standby interface board inverse switch, and is said former because BFD detects link failure;
Said active and standby administration module carries out main and standby interface board inverse switch after receiving said switching request message, former spare interface board is switched to new master used interface board.
In sum; The invention provides a kind of method and device that triggers main and standby interface board inverse switch; Shortened the switching time of veneer greatly, and can accomplish the whole network unification of failure detection time, network convergence time is consistent; The user will detect therewith that function is used in combination based on the two-way forwarding of the multi-next-hop of static routing, the double copies effect in the time of can realizing access loading network.
Description of drawings
Fig. 1 is the structural representation of the general 3G network element device used of the present invention;
Fig. 2 is an embodiment of the invention network topological diagram;
Fig. 3 is that two-way forwarding provided by the invention detects the flow chart on the embodiment master control borad;
Fig. 4 is that two-way forwarding provided by the invention detects the flow chart on the embodiment interface board;
Fig. 5 is that two-way forwarding provided by the invention detects link-recovery flow chart behind the main and standby interface board inverse switch of embodiment.
Embodiment
Two-way forwarding detects (Bidirectional Forwarding Detection is called for short BFD) can improve fault detect speed and repair function greatly.It provides a kind of simple, abstract method, network linking ability and system communication forwarding capability is detected, for the flow transfer capability that detects link or system has defined simple, concrete method.In other words, it can detect the mistake in the forward-path at the utmost point in the short time, and triggering switches to alternate routing, spare interface board or even whole network.
Two-way forwarding detects the detection that any link between two systems can be provided, and comprises the route of direct-connected physical link, virtual circuit, tunnel, MPLS LSPs (multi protocol label switch label switching path), multi-hop, or even asymmetric one way link etc.If any multilink, just can set up a plurality of two-way converting inspection sessions between two systems.No matter the state machine that two-way forwarding detects is setting up session, has still all realized three-way handshake in the dismounting session, can both know the variation of state to guarantee two end systems.
The 3G network element device generally adopts distributed system architecture, is moving various applied business, therefore can detect two-way forwarding abstract and be a simple service, foundation, dismounting are provided, revise the function of a session, and destination address and other parameters are provided.Two-way conversely forwarding detects service the client of a signal to it is provided, in order to characterize the variation of session status.Each application module is handled after receiving the variation of session status accordingly, to reach the purpose of accelerating business recovery.
In order to solve in the networking of Fig. 2; Many defectives that the 3G network element device is run into when inserting the IP bearer network; In network, find fault and failover capability in order to accelerate in addition; The present invention helps static routing to carry out the detection of multi-next-hop Link State through in 3G equipment, using two-way forwarding detection, and novelty ground uses the detected link failure situation of BFD to come trigger interface plate masterslave switchover.Double copies function when the present invention can reach 3G network element device access IP bearer network; And can solve at switch when this section of IP bearer network route link failure, interface board can't perception causes the main problem of still working and causing service traffics to be lost with interface board.
Present embodiment provides a kind of device that triggers main and standby interface board inverse switch; As shown in Figure 1 is apparatus of the present invention structural representations, comprises master control borad and one or is manyly used interface board (but also can be described as the spare interface ply-yarn drill) to main with interface board (can be described as not only the main interface card of using), quilt;
Master control borad comprises BFD proxy management module and static routing module;
The static routing module; After being used to receive the request of setting up route that the user sends; Be established to the configuration of the static routing of IP bearer network for the user; And send to create the request of BFD session to BFD proxy management module, source IP address, purpose IP address and user profile (like ID) are carried in this request;
Create two BFD sessions like request among Fig. 2, one of them is that source IP address is the BFD session that IPa arrives purpose IP address ip 1, and another is that source IP address is the BFD session that IPb arrives purpose IP address ip 2.
The static routing module also be used to receive the static routing that the BFD session is corresponding that BFD proxy management module is sent be changed to invalid or be changed to effective notice after the static routing that this BFD is corresponding be changed to invalidly or effective, the corresponding static routing of BFD session refers to the static routing for next jumping of the destination address of this BFD session.
BFD proxy management module; After being used to receive the request of creating the BFD session; Be BFD session configuration relevant parameter; Comprise the source IP address, purpose IP address, detection time (transmission that is user expectation receives the BFD control message time) of BFD session, and whether trigger main and standby interface board inverse switch enable (in the present embodiment with this parameter be made as the trigger interface plate switch enable) etc. parameter; BFD proxy management module also is used to preserve the parameters of creating the BFD session, and sends BFD session configuration message to the active and standby of this BFD session correspondence with interface board, carries the relevant parameter of this BFD session;
After BFD proxy management module also is used to receive the message of leading the renewal BFD session status of sending with the BFD protocol module of interface board; Then to notify the static routing that this BFD session is corresponding of static routing module to be changed to invalid if the state that carries is Down, then notifies the static routing that this BFD session is corresponding of static routing module to be changed to effectively if the state that carries is UP.
Active and standbyly comprise BFD protocol module, active and standby administration module with interface board;
The BFD protocol module, storage allocation space after the parameters of the BFD session that is used to receive that master control borad is sent, and on this plate, create same BFD session (promptly preserving the parameters of BFD session);
Main BFD protocol module with interface board also is used to create after the BFD session negotiation of carrying out the BFD session with the IP carrying network router of opposite end; If consult successfully the state of this BFD session is changed to the UP state; If the state of consulting to fail this BFD session is changed to the Down state; And, carry the relevant information of BFD session to the message that master control borad sends renewal BFD session status, comprise source IP address, purpose IP address and BFD session state at this moment;
Main BFD protocol module with interface board also is used on detection time, sending BFD to the opposite end and surveys the control message; And receive the BFD probe messages that the opposite end sends over; Judge with this whether link breaks down, the state with this BFD session when judging that link breaks down is changed to the Down state, and sends switching request message to the active and standby administration module of this plate; Carry the reason that the trigger interface plate is switched, this is former because BFD detects link failure; When main BFD protocol module with interface board also is used to judge that link breaks down, send the message of upgrading the BFD session status, carry the relevant information of BFD session, comprise source IP address, purpose IP address and the state of this moment to master control borad;
After main active and standby administration module with interface board is used to receive switching request message, carry out active and standbyly being about to lead and using interface board inverse switch to be spare interface board with the switching of interface board, it is the new main interface board of using that former spare interface board is switched;
The new main BFD protocol module that uses interface board be used for when this plate switch be to lead with interface board after; The virtual ip address IP1 of beginning and carrying network router holds consultation; And after consulting successfully, the state of this BFD session is changed to UP, consult after the failure state of this BFD session is changed to Down, and send the message of upgrading the BFD session status to master control borad; Carry the relevant information of BFD session, comprise source IP address, purpose IP address and BFD session state at this moment.
Present embodiment provides a kind of method that triggers main and standby interface board inverse switch, specifically describes from three aspects below in conjunction with accompanying drawing;
At first be illustrated in figure 3 as BFD conversation establishing process, concrete steps are following:
The BFD proxy management module of master control borad is carried out initialization; Be included as BFD distribution management table storage allocation; And operation such as initialization BFD distribution management table; If there is historical BFD configuration information in the user's data storehouse, carry out resuming work of historical configuration information, historical BFD configuration restore in the BFD distribution management table.
The step of receiving the user when master control borad and ask the BFD conversation establishing process after (setting up route requests) is following:
Step 31: master control borad proceeds to the configuration of the static routing of IP bearer network for the user; Can adopt the multi-next-hop backup mode; Next jumps gateway is the router VRRP virtual ip address IP1 and the IP2 of bearer network, and launches the BFD measuring ability of these two static routing.
Step 32: master control borad is created the BFD session according to user's BFD conversation establishing request for it; And configuration relevant parameter; Comprise source IP address, purpose IP address, detection time (being the transmission of user expectation and the time that receives BFD control message), and whether trigger active and standby with parameters such as switching of interface board enable;
To user's BFD conversation establishing request, the legitimacy of master control borad meeting detection resources purpose IP address, session must be single-hop or multi-hop.It must be predefined validated user etc. that the user that the user transmits indicates.
Step 33: master control borad is searched the clauses and subclauses of a free time from BFD administration configuration table, will store in these clauses and subclauses for the relevant parameter of user configured BFD session; The user who registers this conversation establishing in addition indicates id information (promptly store the related information of BFD session, comprise that source IP address, purpose IP address and user indicate the related information between ID).Send BFD session configuration message to the active and standby of this BFD session correspondence with interface board then, carry the relevant parameter of this BFD session, carry out the deposit operation of BFD session configuration database at last at master control borad.
The present invention uses two-way forwarding and detects in 3G network element device trigger interface plate reverse method, and active and standby as shown in Figure 4 with the process chart behind the BFD configuration messages that receives on the interface board on the master control borad, concrete steps are following:
Step 41: active and standbyly all can receive the BFD session configuration message that master control borad is sent with interface board; Wherein carry the relevant parameter of BFD session; Active and standbyly afterwards all distribute memory headroom, and on this plate, create same BFD session (promptly preserving the configuration parameter of this BFD session) with interface board.
Step 42: main bring into operation, carry out the negotiation of BFD session, consult the time parameter (to confirm the time of concrete transmitting-receiving BFD control message) of transmitting-receiving BFD control message with the IP carrying network router of opposite end with interface board; Spare interface board does not turn round, and does not does not receive and dispatch BFD control message.
Step 43: main intact to the router of IP bearer network with interface board; And after the BFD session was consulted successfully through three-way handshake, the master was changed to the UP state with interface board with this BFD session status, if the merit of failing to consultations then is changed to the Down state with this BFD session status; Send the message of upgrading the BFD session status to master control borad afterwards; Carry the relevant information of this BFD session, comprise that this BFD session source IP address, purpose IP address, user indicate and this moment information such as state, if this moment state UP; The static routing that this BFD session is corresponding was re-set as effectively after above-mentioned message was received in master control; If this moment state Down, it is invalid that master control receives after the above-mentioned message that the static routing that this BFD session is corresponding is re-set as, the corresponding static routing of this BFD session refers to the static routing for next jumping of the destination address of this BFD session.
Step 44: main survey the control message with interface board through the transmission message time interval timed sending BFD that consults with the opposite end, the detecting link state receives the BFD probe messages that the opposite end sends over simultaneously; Judge with this whether link breaks down, and is then to change step 46 over to, otherwise change step 45 over to;
Judge that the method whether link breaks down does; Main receive the BFD probe messages with interface board after, detection messages length, the value of the destination slogan of BFD message and the discriminator through message is searched the respective session of local storage; If find this session, explain that link does not break down; If the master does not receive the BFD probe messages of opposite end with interface board discovery session in detecting time-out time, perhaps receive the state that sends the opposite end for the BFD of UP controls message, the master thinks that with interface board this plate breaks down to the link that IP carries router so.
Step 45: this session of resetting detects overtime timer, carries out the BFD testing of step 44 afterwards again.
Step 46: main the BFD session status is changed to Down, and judges whether this BFD session is provided with and enable to trigger single-board host-slave switching, be then to change step 47 over to, otherwise directly change step 48 over to interface board.
Step 47: main carrying out active and standbyly with the switching of interface board with interface board, be about to mainly use interface board inverse switch to be spare interface board, is the new main interface board of using and spare interface board is switched; Change step 48 afterwards over to.
BFD protocol module structure switching request message wherein adds the reason that the trigger interface plate is switched, and this is former because BFD detects link failure, and the active and standby administration module to this plate sends switching request message then, triggers this interface board and transfers slave board to.Change step 48 over to.
Step 48: former master sends the message of upgrading the BFD session status with interface board to master control borad; Carry the relevant information of this BFD session; Comprise that this BFD session source IP address, purpose IP address, user indicate and this moment information such as state; This moment, state was Down, was used for upgrading the state of this BFD session entry in the BFD distribution management table in the BFD proxy management module on the master control borad.
The present invention uses two-way forwarding and detects in 3G network element device trigger interface plate reverse method; Receiving interface board on the master control borad detects behind the link failure after the state updating message; Master control borad and new main as shown in Figure 5 with the process chart of interface board (being former spare interface board), concrete steps are following:
Step 51: after master control borad is received the message of leading the renewal BFD session status of sending with interface board, will be invalid for the static routing of next jumping is changed to the destination address (if the IPa-IP1 session, then its destination address is IP1) of this BFD session.
If the 3G network element device has adopted the multi-next-hop backup mode when inserting the IP bearer network, then wherein the corresponding route of a BFD session invalid after, still can adopt the gateway of other BFD sessions, thereby interrupting can not appear in the assurance business.Adopted two virtual ip address IP1 and IP2 to do the load sharing of multi-next-hop when inserting the IP bearer network like 3G network element device in the present embodiment, thus arrive the route of IP1 invalid after, still can adopt the gateway of IP2.
Need carry out following operation when this BFD session is provided with when enabling to trigger single-board host-slave switching, otherwise finish;
Step 52: original spare interface board to IP1 is owing to switch for the new main interface board of use, and this new master begins to carry out the transmitting-receiving that BFD controls message with interface board, with carrying network router virtual ' address ip 1 holds consultation.
Step 53: new master is changed to UP with interface board with the state of this BFD session after consulting successfully; And send to upgrade the message of BFD session status to master control borad; This message is carried the relevant information of this BFD session; Comprise that this BFD session source IP address, purpose IP address, user indicate and this moment information such as state, this moment, state was UP.
Step 54: after master control borad was received the message of above-mentioned renewal BFD session status, the static routing that this BFD session is corresponding was re-set as effective status.
If the 3G network element device has adopted the multi-next-hop backup mode when inserting the IP bearer network; The upper-layer service that inserts the transmission of IP bearer network this moment can adopt a plurality of gateways to carry out load sharing again, carries out load sharing as adopting IP1 and two gateways of IP2 in the present embodiment again.If this moment, chain rupture took place again to the link of IP1 in IPa, to two veneer complete failures of IP1, because IPb is still effective to the link of IP2.Therefore reached the double copies function of 3G equipment network element to the IP bearer network.
The present invention has realized a kind of distinctive distributed bidirectional forwarding testing mechanism in the 3G network element device; And the masterslave state that transmit to detect distributed bidirectional with veneer associates; Reach the detection of control interface board access link fault and resume work; Make the imperceptible active and standby switching with interface board of whole 3G network element device, service traffics take over seamlessly slave board.
In sum, the present invention effectively solves in ALL IP network environment, and traditional 3G equipment network element is when adopting the master and backup network mode to insert the IP bearer network, and the master less than link failure, can't be switched to the problem of reserve link with the interface board perception.And accomplish whole network equipment for the unification of failure detection time, network convergence is consistent.The present invention is through effectively detecting the two-way forwarding of static routing module application in addition, and two-way forwarding detection combines with main and standby interface board inverse switch, makes 3G equipment access IP bearer network reach the effect of double copies, and service outage duration shortens to Millisecond.The professional fundamental sensation of user speech in the 3G equipment is less than link failure, and the robustness that two redundancy backups make the user insert the IP bearer network strengthens greatly.
Claims (11)
1. method that triggers main and standby interface board inverse switch is characterized in that:
Create two-way forwarding between 3G equipment and the IP bearer network and detect the BFD session, wherein
Master control borad receives that the user sets up and creates the BFD session after the route requests, and preserves the relevant parameter of said BFD session, sends BFD session configuration message to corresponding active and standby of said BFD session with interface board afterwards, carries the relevant parameter of said BFD session;
Said active and standby receiving with interface board created same BFD session after the said BFD session configuration message;
The relevant parameter of said BFD session comprises source IP address, purpose IP address, detection time and whether the trigger interface plate is switched enables;
Main detect link and break down with interface board after, carry out active and standbyly with the switching of interface board, former spare interface board switched to new master uses interface board.
2. the method for claim 1 is characterized in that:
, said master carries out the negotiation of BFD session when creating said BFD session with interface board after with the IP carrying network router of opposite end; Consult successfully then to notify the master control borad static routing that said BFD session is corresponding to be changed to effectively, consulting to fail, it is invalid then to notify the master control borad static routing that said BFD session is corresponding to be changed to.
3. method as claimed in claim 2 is characterized in that:
After said master detects the BFD session with interface board chain route normally becomes fault; Carry out active and standby switching with interface board; It is that new master uses interface board that former spare interface board is switched; And it is invalid to notify the master control borad static routing that said BFD session is corresponding to be changed to, and said afterwards new master holds consultation with the IP carrying network router of interface board and opposite end.
4. like claim 2 or 3 described methods, it is characterized in that:
If said master consults successfully with the IP carrying network router of interface board and opposite end, then said BFD session status is changed to UP; If said main IP carrying network router negotiation with interface board and opposite end is failed or the chain route that detects the BFD session normally becomes fault, then said BFD session status is changed to Down;
Said master carries the relevant information of BFD session this moment with sending the message of upgrading the BFD session status to master control borad after the interface board, comprises the state of source IP address, purpose IP address and BFD session this moment.
5. method as claimed in claim 4 is characterized in that:
After said master control borad was received the message of said renewal BFD session status, if the state of BFD session is UP, then that said BFD session is corresponding static routing was changed to effectively; If the state of BFD session is Down, it is invalid that then that said BFD session is corresponding static routing is changed to.
6. a device that triggers main and standby interface board inverse switch is characterized in that, comprises master control borad, main with interface board and spare interface board;
Said master control borad comprises that two-way forwarding detects BFD proxy management module;
Said BFD proxy management module is used to and creates two-way forwarding detection BFD session between 3G equipment and the IP bearer network;
Dispose the relevant parameter of said BFD session during said BFD proxy management module creation BFD session, also be used for sending BFD session configuration message with interface board, carry the relevant parameter of said BFD session to the active and standby of said BFD session;
Said master comprises the BFD protocol module with interface board, and whether the link that is used to detect said BFD session breaks down, and after said link breaks down, carries out active and standbyly with the switching of interface board, and it is the new main interface board of using that former spare interface board is switched;
Said spare interface board comprises the BFD protocol module;
Said active and standby BFD protocol module with interface board is created same BFD session after also being used to receive said BFD session configuration message;
The relevant parameter of said BFD session comprises source IP address, purpose IP address, detection time and whether the trigger interface plate is switched enables.
7. device as claimed in claim 6 is characterized in that:
Said master control borad also comprises the static routing module;
Said main BFD protocol module with interface board also is used to create after the said BFD session negotiation of carrying out the BFD session with the IP carrying network router of opposite end; Consult successfully then to notify the master control borad static routing that said BFD session is corresponding to be changed to effectively, consulting to fail, it is invalid then to notify the master control borad static routing that said BFD session is corresponding to be changed to;
The BFD proxy management module of said master control borad is used for also that the static routing that said BFD session is corresponding is changed to effective or invalid according to the said static routing module of said notification instruction;
Said static routing module is used for being changed to effective or invalid according to the said instruction static routing that said BFD session is corresponding.
8. device as claimed in claim 6 is characterized in that:
Saidly active and standbyly also comprise active and standby administration module with interface board;
Said main BFD protocol module with interface board also is used to detect the chain route and normally becomes the active and standby administration module of notifying this plate after the fault and carry out active and standbyly with the switching of interface board, and it is invalid to notify master control borad that the static routing of said BFD session correspondence is changed to;
The said main active and standby administration module that uses interface board is used to receive after the said notice former spare interface board switched to new master uses interface board.
9. like claim 7 or 8 described devices, it is characterized in that:
Said master consults successfully then to notify master control borad that the corresponding static routing of said BFD session is changed to effectively with the BFD protocol module of interface board with the IP carrying network router of opposite end and is meant; If consult successfully; Said BFD protocol module is changed to UP with the state of said BFD session; And, carry the relevant information of said BFD session to the message that master control borad sends renewal BFD session status;
Said main BFD protocol module with interface board is consulted failure with the IP carrying network router of opposite end and is then notified master control borad that the corresponding static routing of said BFD session is changed to invalid being meant; If consult failure; Said BFD protocol module is changed to Down with the state of said BFD session; And, carry the relevant information of said BFD session to the message that master control borad sends renewal BFD session status;
Said main BFD protocol module with interface board detects notifies the master control borad static routing that said BFD session is corresponding to be changed to invalid being meant after the chain route normally becomes fault; The BFD protocol module detects the state that the chain route normally becomes after the fault said BFD session and is changed to Down; And, carry the relevant information of said BFD session to the message that master control borad sends renewal BFD session status;
The relevant information of said BFD session comprises the state of source IP address, purpose IP address and BFD session this moment.
10. device as claimed in claim 9 is characterized in that:
The BFD proxy management module of said master control borad is used for also that the static routing that said BFD session is corresponding is changed to effective or invalid being meant according to the said static routing module of said notification instruction; After BFD proxy management module is received the message of said renewal BFD session status; If the state that carries is UP; Then notify the static routing that said BFD session is corresponding of static routing module to be changed to effectively; If the state that carries is Down, it is invalid then to notify the static routing that said BFD session is corresponding of said static routing module to be changed to.
11. device as claimed in claim 8 is characterized in that:
Said main BFD protocol module with interface board detects the chain route and normally becomes the active and standby administration module of notifying this plate after the fault and carry out active and standbyly being meant with switching of interface board; The BFD protocol module detects after the chain route normally becomes fault; Active and standby administration module to this plate sends switching request message; Wherein add the reason that triggers active and standby interface board inverse switch, said former because BFD detects link failure;
Said active and standby administration module carries out main and standby interface board inverse switch after receiving said switching request message, former spare interface board is switched to new master used interface board.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910000447A CN101465859B (en) | 2009-01-13 | 2009-01-13 | Method and device for triggering main and standby interface board inverse switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910000447A CN101465859B (en) | 2009-01-13 | 2009-01-13 | Method and device for triggering main and standby interface board inverse switch |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101465859A CN101465859A (en) | 2009-06-24 |
CN101465859B true CN101465859B (en) | 2012-09-26 |
Family
ID=40806221
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910000447A Active CN101465859B (en) | 2009-01-13 | 2009-01-13 | Method and device for triggering main and standby interface board inverse switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101465859B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105429814B (en) * | 2014-09-17 | 2020-08-04 | 南京中兴软件有限责任公司 | Method and equipment for protecting BFD (bidirectional forwarding detection) by using multiple board cards |
CN105610598A (en) * | 2014-11-24 | 2016-05-25 | 中兴通讯股份有限公司 | Method and device for fault detection |
CN105959129B (en) * | 2016-02-15 | 2019-09-17 | 杭州迪普科技股份有限公司 | The method and device of monitoring network failure |
CN107547383B (en) * | 2017-07-26 | 2020-04-03 | 新华三技术有限公司 | Path detection method and device |
CN108259217B (en) * | 2017-09-30 | 2021-05-28 | 新华三技术有限公司 | Equipment upgrading method and device |
CN107612754B (en) * | 2017-10-30 | 2021-07-06 | 新华三技术有限公司 | Bidirectional forwarding link fault detection method and device and network node equipment |
CN109218198B (en) * | 2018-10-09 | 2021-03-26 | 迈普通信技术股份有限公司 | Data interaction method, device, MPLS network system and storage medium |
CN109495345B (en) * | 2018-11-22 | 2020-01-03 | 北京华三通信技术有限公司 | BFD processing method and network equipment |
CN109787860B (en) * | 2019-01-15 | 2021-05-07 | 新华三技术有限公司 | Bidirectional forwarding link detection method and device |
CN110011912A (en) * | 2019-03-15 | 2019-07-12 | 北京星网锐捷网络技术有限公司 | Case type switching equipment uplink switching method and device |
CN110768908B (en) * | 2019-10-21 | 2021-09-21 | 新华三信息安全技术有限公司 | Network device, main control board, message transmission method and machine readable storage medium |
CN111478851B (en) * | 2020-02-29 | 2022-05-27 | 新华三信息安全技术有限公司 | Message processing method and device |
CN111654407B (en) * | 2020-04-14 | 2022-05-27 | 新华三信息安全技术有限公司 | Stacking system and bidirectional forwarding detection method thereof |
CN111682982B (en) * | 2020-06-03 | 2022-09-27 | 北京东土军悦科技有限公司 | Path fault detection method, device, equipment, system and storage medium |
CN112954722B (en) * | 2021-01-26 | 2023-02-03 | 深圳震有科技股份有限公司 | System and method for quickly switching 5G UPF (unified power flow) main link and standby link |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005394A (en) * | 2007-01-19 | 2007-07-25 | 华为技术有限公司 | Method and system for protecting multicast repeat path and service router |
CN101030966A (en) * | 2006-02-28 | 2007-09-05 | 华为技术有限公司 | Method for establishing two-way transmitted inspecting session |
CN101075921A (en) * | 2007-07-20 | 2007-11-21 | 华为技术有限公司 | Method and apparatus for processing two-way converting inspection session |
CN101197772A (en) * | 2007-12-26 | 2008-06-11 | 华为技术有限公司 | Method, device and system for implementing multiple paths on media face |
-
2009
- 2009-01-13 CN CN200910000447A patent/CN101465859B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030966A (en) * | 2006-02-28 | 2007-09-05 | 华为技术有限公司 | Method for establishing two-way transmitted inspecting session |
CN101005394A (en) * | 2007-01-19 | 2007-07-25 | 华为技术有限公司 | Method and system for protecting multicast repeat path and service router |
CN101075921A (en) * | 2007-07-20 | 2007-11-21 | 华为技术有限公司 | Method and apparatus for processing two-way converting inspection session |
CN101197772A (en) * | 2007-12-26 | 2008-06-11 | 华为技术有限公司 | Method, device and system for implementing multiple paths on media face |
Also Published As
Publication number | Publication date |
---|---|
CN101465859A (en) | 2009-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101465859B (en) | Method and device for triggering main and standby interface board inverse switch | |
KR101099822B1 (en) | Redundant routing capabilities for a network node cluster | |
CN103516604B (en) | The quick rerouting protection of service plane triggering | |
CN100512292C (en) | Apparatus and method of real-time recovering service | |
CN101340380B (en) | Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation | |
US20090296568A1 (en) | Edge Node Redundant System | |
US20060072480A1 (en) | Method to provide high availability in network elements using distributed architectures | |
CN101163060B (en) | BFD session establishing method, BFD session establishing device and routing device | |
CN101483592B (en) | Method and apparatus for inhibiting bidirectional forwarding detection link oscillation | |
WO2014018297A1 (en) | System and method using rsvp hello suppression for graceful restart capable neighbors | |
CN101841408A (en) | Primary/standby route equipment switching method and route equipment | |
CN101800673B (en) | Method and device of bidirectional forwarding detection (BFD) of oscillation damping | |
CN109861867B (en) | MEC service processing method and device | |
JP2015508631A (en) | Redundant network connection | |
CN108337161B (en) | Method for smoothly switching three-layer data flow of MLAG interface fault | |
EP3029883B1 (en) | Network protection method and apparatus, next-ring node, and system | |
CN102195822B (en) | Fault detection method and business provider edge (PE) equipment | |
EP1940091B1 (en) | Autonomous network, node device, network redundancy method and recording medium | |
CN101909006B (en) | BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof | |
CN114465948B (en) | Main and standby disaster recovery method, device, equipment and medium | |
CN101064687B (en) | Routing convergence method | |
KR20150002474A (en) | Methods for recovering failure in communication networks | |
JP2006033124A (en) | Tunnel fault notification device and method | |
CN103138957A (en) | Method, device and system for business path failback | |
CN101635656B (en) | Fault detection method in layered ordered address packet network, system and equipment |
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 |