CN102724073A - Method for network traffic recovery and routing device - Google Patents

Method for network traffic recovery and routing device Download PDF

Info

Publication number
CN102724073A
CN102724073A CN2012102035171A CN201210203517A CN102724073A CN 102724073 A CN102724073 A CN 102724073A CN 2012102035171 A CN2012102035171 A CN 2012102035171A CN 201210203517 A CN201210203517 A CN 201210203517A CN 102724073 A CN102724073 A CN 102724073A
Authority
CN
China
Prior art keywords
router
secondary route
vrrp
state
switching network
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
CN2012102035171A
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 Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2012102035171A priority Critical patent/CN102724073A/en
Publication of CN102724073A publication Critical patent/CN102724073A/en
Pending legal-status Critical Current

Links

Images

Abstract

A method for network traffic recovery is as follows: when a link between a first router and a second router in a virtual router fails, the first router and the second router mutually send BFD messages with the state DOWN continuously, while the BFD messages with the state DOWN carry the mark of the virtual router and the VRRP priority of the first router, or the mark of the virtual router and the VRRP priority of the second router. Therefore, the method can guarantee faster detection than VRRP heartbeat messages, so as to avoid a double master router and two network traffics generated after troubleshooting.

Description

Method and routing device that a kind of network traffics are recovered
Technical field
The present invention relates to the communications field, the method and the network equipment that particularly a kind of network traffics are recovered.
Background technology
Virtual Router Redundacy Protocol (Virtual Router Redundancy Protocol is called for short VRRP) is a kind of protocol for error tolerance.This agreement uses certain mechanism to guarantee when the next hop router of main frame breaks down, in time business to be switched to other router through constituting jointly a virtual routing device to several physics routing devices, thus continuity of keeping in communication and reliability.
VRRP constitutes a VRRP backup group with one group of physics routing device of local area network (LAN), is equivalent to a virtual router.Main frame in the local area network (LAN) only need be known IP (the Internet Protocol of this virtual router; Internet protocol) address; Need not know concrete certain physics routing device its own IP address; The default gateway of main frame is set to the IP address of this virtual router in the network, and main frame just can utilize this virtual router and external network to communicate.VRRP dynamically associates this virtual router on the physics routing device of bearing transport service; When this physics routing device of bearing transport service breaks down; The physics routing device of selecting once more newly to bear transport service is taken over professional transmission work; Whole process is transparent fully to the user, has realized internal network and external network uninterrupted communication.
Two-way forwarding detects the communication failure that (Bidirectional Forwarding Detection is called for short BFD) is used for link between the rapid detection system equipment, and when breaking down, notifies upper layer application.BFD is used to detect the communication failure between the forwarding engine.This paths can be direct-connected physical link, virtual circuit, tunnel, MPLS LSP, multi-hop routed path and one way link.
A kind of BFD of utilization and VRRP follow the trail of the method for improving network communication and have described existence first communication link between host node and active router and a plurality of VRRP router, and between host node and active router, set up BFD and communicate by letter.When the BFD communication failure, the VRRP priority of active router will be lowered and activate a standby router, and before the BFD communication recovery, standby router is implemented the function of primary route device and used as the primary route device.
Summary of the invention
According to first aspect; A kind of method that network traffics are recovered that is used for is provided; It comprises: after the link between corresponding first switching network of first router in the virtual router and corresponding second switching network of secondary route device broke down, continuing transmit status between said first router and the secondary route device was the BFD message of DOWN; And said state is that the BFD message of DOWN carries the sign of said virtual router and the VRRP priority of said first router, perhaps the VRRP priority of the sign of said virtual router and said secondary route device.
The technical scheme employing state of first aspect is that the BFD message of DOWN continues to send the sign of virtual router and the VRRP priority of first router, or the VRRP priority of the sign of virtual router and secondary route device, sends rapid.In case the link-recovery between first switching network and second switching network can virtually make the sign of router and the VRRP priority of first router, or the VRRP priority of virtual sign that makes router and secondary route device arrives the router of opposite end fast.
First execution mode of the method for recovering according to the network traffics of first aspect; Said state in this method is sign and the VRRP priority that the BFD message of DOWN carries said virtual router with the assignment field in label-length-value TLV (Tag-Length-Value, label-length-value) form.
Second execution mode of the method for recovering according to the network traffics of first aspect; This method also comprises: when the link-recovery between said first switching network and second switching network, the state that said first router and secondary route device receive the other side's transmission respectively is the BFD message of DOWN; Said first router reads the sign of said virtual router and the VRRP priority of said secondary route device, and said secondary route device reads the sign of said virtual router and the VRRP priority of said first router.
The 3rd execution mode of the method for recovering according to the network traffics of first aspect; Or according to the 3rd execution mode of first execution mode of first aspect; Or according to the 3rd execution mode of second execution mode of first aspect; This method also comprises: when the VRRP of said first router priority was lower than the VRRP priority of said secondary route device, said first router was adjusted into standby router with its state and stops to issue data from said first router to first switching network; And when the VRRP of said secondary route device priority was lower than the VRRP priority of said first router, said secondary route device was adjusted into standby router with its state and stops to issue data from said secondary route device to second switching network.
The 4th execution mode of the method for recovering according to the network traffics of first aspect; Or according to the 4th execution mode of first execution mode of first aspect; Or according to the 4th execution mode of second execution mode of first aspect; Or according to the 4th execution mode of the 3rd execution mode of first aspect; When said first router and secondary route device receive respectively after state that the other side sends is the BFD message of DOWN, and said first router and secondary route device carry out BFD when failing to consultations merit, and lasting transmit status is the BFD message of INIT between first router and the secondary route device; Said state is that the BFD message of INIT carries the sign of said virtual router and the VRRP priority of first router, perhaps the VRRP priority of the sign of said virtual router and secondary route device.
According to second aspect; A kind of routing device is provided; Said routing device and secondary route equipment are formed at least a portion of virtual router, and said routing device is through first switching network and communications of user equipment, and said first switching network connects second switching network through first link; Said routing device is through first switching network, first link and second switching network and secondary route devices communicating; Said routing device comprises detector, and after said first link broke down, it was the BFD message of DOWN that said detector is used for continuing transmit status to the secondary route device; And said state is that the BFD message of DOWN carries the sign of said virtual router and the VRRP priority of said routing device.
According to first execution mode of the routing device of second aspect, the said state that said detector sent is that the BFD message of DOWN carries the sign of said virtual router and the VRRP priority of said routing device with the assignment field in the TLV form.
Second execution mode according to the routing device of second aspect; Said routing device also comprises processor; When said first link-recovery; It is the BFD message of DOWN that said processor is used to receive from the state of said secondary route equipment, and the BFD message that said state from secondary route equipment is DOWN carries the sign of said virtual router and the VRRP priority of said secondary route equipment; Said processor also is used to read the sign of said virtual router and the VRRP priority of said secondary route equipment.
The 3rd execution mode according to the routing device of second aspect; Or according to the 3rd execution mode of first execution mode of the routing device of second aspect; Or according to the 3rd execution mode of second execution mode of the routing device of second aspect; When the VRRP of said routing device priority was lower than the VRRP priority of said secondary route equipment, said routing device was adjusted into standby router with its state and stops to issue data from said routing device to first switching network.
The 4th execution mode according to the routing device of second aspect; Or according to the 4th execution mode of first execution mode of the routing device of second aspect; Or according to the 4th execution mode of second execution mode of the routing device of second aspect; Or according to the 4th execution mode of second execution mode of the routing device of second aspect; After said routing device the state from secondary route equipment of receiving is the BFD message of DOWN; And said routing device and secondary route equipment carry out BFD when failing to consultations merit, and it is the BFD message of INIT that said detector continues transmit status to the secondary route device, and said state is that the BFD message of INIT carries the sign of said virtual router and the VRRP priority of said router.
Because the transmission intercal of VRRP message is bigger, behind the link-recovery between the switching network, possibly have two primary route devices in the network environment, and have the double flow at each switching network to user device transmissions.Therefore, need through the VRRP priority decision primary route device and the standby router of router, avoid the situation of two primary route devices and double flow in the communication between the restoration route device timely behind the link-recovery.
Description of drawings
Fig. 1 is the flow chart of the method for the embodiment of the invention;
Fig. 2 is the network environment sketch map of the embodiment of the invention;
Fig. 3 is the network environment sketch map of the embodiment of the invention;
Fig. 4 is the network environment sketch map of the embodiment of the invention;
Fig. 5 is the sketch map of the related data message of the embodiment of the invention;
Fig. 6 is the flow chart of the method for the embodiment of the invention;
Fig. 7 is the flow chart of the method for the embodiment of the invention;
Fig. 8 is the flow chart of the method for the embodiment of the invention;
Fig. 9 is the module diagram of the embodiment of the invention;
Figure 10 is the device sketch map of the embodiment that originally carries out an invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
According to an embodiment, a kind of method that is used for the network traffics recovery, its application scenarios is as shown in Figure 2.Virtual router comprises the first router RT1 and secondary route device RT2.The first router RT1 is connected with the first switching network SW1, and secondary route device RT2 is connected with the second switching network SW2, and is connected through first link between the first switching network SW1 and the second switching network SW2.The first switching network SW1 and the second switching network SW2 can be respectively separate unit switch or the switching network that many switches formations are arranged.This first link can be physical link or logical links, for example, and pseudo-line (Pseudo Wire is called for short PW).When supposing initial state; The VRRP priority of the first router RT1 is higher than the priority of secondary route device RT2; Under the trouble-free situation of first link, the VRRP heartbeat message sends to secondary route device RT2 from the first router RT1 through the first switching network SW1, first link and the second switching network SW2.Secondary route device RT2 receives the VRRP heartbeat message that the first router RT1 sends; Through reading the VRRP priority of the first router RT1 that carries in the VRRP heartbeat message; Secondary route device RT2 is the VRRP priority of self VRRP priority and the first router RT1 relatively, confirms that self VRRP priority of secondary route device RT2 is low.Secondary route device RT2 is set to standby router; And the flow of obstruction from secondary route device RT2 to the second switching network SW2; Thereby realize flux of multicast from the first router RT1 to the first switching network SW1, the first switching network SW1 duplicated multicast flow, and to the subscriber equipment that links to each other with this first switching network SW1; Transmit to the second switching network SW2 simultaneously, the second switching network SW2 transmits to the subscriber equipment that links to each other with this second switching network SW2 after receiving flow.The flux of multicast that subscriber equipment that links to each other with the first switching network SW1 like this and the subscriber equipment that links to each other with the second switching network SW2 can normally receive.
When first link failure, as shown in Figure 3, the first switching network SW1 can not receive the other side's VRRP heartbeat message each other on the first router RT1 and the secondary route device RT2 under the link failure situation of the second switching network SW2.Because secondary route device RT2 can not receive the VRRP heartbeat message that the first router RT1 sends, and causes secondary route device RT2 to upgrade to the primary route device, and carry out flow and transmit.To the first switching network SW1, the first switching network SW1 transmits to the subscriber equipment that links to each other with this first switching network SW1 flux of multicast from the first router RT1; Simultaneously, flux of multicast also is forwarded to the second switching network SW2 from secondary route device RT2, and the second switching network SW2 transmits to the subscriber equipment that links to each other with the second switching network SW.The subscriber equipment that links to each other with the first switching network SW1 like this, and the subscriber equipment that links to each other with the second switching network SW2 can normally receive flux of multicast.
When the fault recovery of first link, as shown in Figure 4, if secondary route device RT2 receives the VRRP heartbeat message from the first router RT1, secondary route device RT2 just can block the downstream port that links to each other with the second switching network SW2.Because the first router RT1 sends the VRRP heartbeat message according to fixing time slot, there are two primary route devices in the perception of secondary route device RT2 possibility very late in a period of time.On the one hand; Flux of multicast from the first router RT1 to the first switching network SW1; The first switching network SW1 is to the subscriber equipment that links to each other with this first switching network SW1; And second switching network SW2 forwarding, the second switching network SW2 receives that the flow of the first switching network SW1 is to the subscriber equipment forwarding that links to each other with this second switching network SW2.On the other hand; Flux of multicast from secondary route device RT2 to the second switching network SW2; The second switching network SW2 transmits to the subscriber equipment that links to each other with the second switching network SW2; Also transmit to the first switching network SW1 simultaneously, the first switching network SW1 receives the flow of the second switching network SW2 and transmits to the subscriber equipment that links to each other with the first switching network SW1.Subscriber equipment that links to each other with the first switching network SW1 like this and the subscriber equipment that links to each other with the second switching network SW2 all receive the same flux of multicast of double in a period of time.The duration length of this double flow is relevant with the VRRP heartbeat message transmission cycle.Such as the VRRP heartbeat message transmission cycle be 10s, general random distribution between 0-10s of the duration of double flow then.
According to present embodiment, as shown in Figure 1.At S101; Link between the second corresponding switching network of corresponding first switching network of first router in the virtual router and secondary route device breaks down, and continuing to the end-to-end router transmit status between first router and the secondary route device is the BFD message of DOWN.That is, first router is the BFD message of DOWN to secondary route device transmit status, and the secondary route device is the BFD message of DOWN to the first router transmit status.The state that said first router sends to the secondary route device is that the BFD message of DOWN carries the sign of said virtual router and the VRRP priority of first router, and the state that said secondary route device sends to first router is that the BFD message of DOWN carries the sign of said virtual router and the VRRP priority of secondary route device.
State is that the BFD message of DOWN is the initial state of BFD negotiations process.The BFD message can present three state, DOWN state, INIT state and UP.The DOWN state means that session just sets up; Session will keep the DOWN state; Is that the BFD message of DOWN state or INIT state shows the DOWN state that its approval is current up to the opposite end through transmit status, if the BFD message of receiving is the DOWN state, then session becomes the INIT state; If the BFD message of receiving is the INIT state, then session becomes the UP state.The INIT state shows that peer-to-peer system communicates by letter, and local system hopes that session becomes the UP state, if but peer-to-peer system is not recognized this point, session will remain on the INIT state, up to receiving the BFD message that state is INIT or UP; Perhaps overtime up to detecting, mean that then the communication of peer-to-peer system is lost, then session will become the DOWN state again.
The VRRP priority of a plurality of physical routers that constitutes virtual router is selected active router according to the VRRP protocol configuration according to the height of VRRP priority, and the highest physical router of VRRP priority is as active router, and state is Master.If the VRRP priority of the one or more physical routers in a plurality of physical routers of formation virtual router is identical (if router does not have the configuration preference level; Just adopt default value 100); The primary ip address of the interface of the network that the router that then relatively these VRRP priority are identical is corresponding with it, primary ip address is big just becomes active router, and the route service of reality is provided by the active router of choosing; Other routers are monitored the state of active router at any time as backup router.When the active router operate as normal, active router can send a VRRP multicast message to all backup routers at set intervals, and with the backup router in the informing VRRP virtual router group, active router is in normal operating conditions.If the backup router in the group does not receive the VRRP multicast message from active router for a long time, is Master with own state exchange then.In group, many backup routers are arranged, might produce a plurality of active routers.At this moment each active router will compare the VRRP priority and self VRRP priority in the VRRP multicast message; If the VRRP priority of self is lower than the priority in the VRRP multicast message of receiving; Then the state exchange with oneself is Backup, otherwise keeps the state of oneself constant.Through such process, will the highest router of the VRRP priority new active router of hanking be accomplished the backup functionality of VRRP.
Adopt the technical scheme of this execution mode, can utilize the BFD message to send the advantage that frequency is high, blanking time is short.Usually the transmission of BFD message is at interval less than 1 second, and optional, adopting the transmission cycle is the BFD message of 3ms.In addition; Utilize state to carry the treatment effeciency that Router Distinguisher and VRRP priority can improve the message sink router for the BFD message of DOWN; For example, adopt the VRRP heartbeat message to send fast, need carry out CPU (Central Processing Unit the VRRP message; Central processing unit) handles, possibly cause CPU usage significantly to rise.And the BFD message is relatively low for the resource consumption of CPU.
In an example, state is that the BFD message of DOWN carries the sign of said virtual router and the VRRP priority of first router with the assignment field in the TLV form, or the VRRP priority of the sign of said virtual router and secondary route device.Promptly; Can in the TLV field of the BFD message that first router sends, carry the VRRP priority of first router and the sign of virtual router, in the TLV field of the BFD message that the secondary route device sends, carry the VRRP priority of secondary route device and the sign of virtual router.Message format is as shown in Figure 5; The VRRPID sign is sent the sign of the virtual router under this first router or the sign of the virtual router under the secondary route device, and VRRP Priority indicates the VRRP priority of message source router (such as first router or secondary route device).Optional, VRRP ID and VRRP Priority adopt 2 bytes.Can there be a plurality of TLV fields in the BFD message.Optional, when the state of first router or secondary route device was not the primary route device, the value of VRRP priority was 0.
In another example, as shown in Figure 6, at S601, when the link-recovery between said first switching network and second switching network, the state that said first router and secondary route device receive the other side's transmission respectively is the BFD message of DOWN.At S603, said first router reads the sign of said virtual router and the VRRP priority of said secondary route device.At S604, said secondary route device reads the sign of said virtual router and the VRRP priority of first router.S603 and S604 possibly successively carry out or carry out simultaneously, and order is not required.
In another example; As shown in Figure 7; At S701; When the VRRP of said first router priority was lower than the VRRP priority of said secondary route device, at S703, said first router was adjusted into standby router with its state and stops to transmit data from the said first router RT1 to the first switching network SW1.At S702; When the VRRP priority of said secondary route device RT2 is lower than the VRRP priority of the said first router RT1; At S704, said secondary route device RT2 is adjusted into standby router with its state and stops to transmit data from said secondary route device RT2 to the second switching network SW2.
Adopt the technical scheme of this execution mode, as shown in Figure 2, after the fault recovery, it is the BFD message of DOWN that secondary route device RT2 receives from the state of the first router RT1, relatively the priority of secondary route device RT2 and the priority of the first router RT1.Because the priority of secondary route device RT2 is lower, secondary route device RT2 self is set to standby router, and blocks the flow of secondary route device RT2 to the second switching network SW2.Thereby realize flux of multicast from the first router RT1 to the first switching network SW1; The first switching network SW1 duplicates flow; To the subscriber equipment that links to each other with the first switching network SW1; And second switching network SW2 forwarding, the second switching network SW2 transmits to the subscriber equipment that links to each other with the second switching network SW2 after receiving flow.The flux of multicast that subscriber equipment that links to each other with the first switching network SW1 like this and the subscriber equipment that links to each other with the second switching network SW2 can normally receive.
In another example; As shown in Figure 8, at S801, when first router and secondary route device receive respectively after state that the other side sends is the BFD message of DOWN; And first router and secondary route device carry out the BFD merit of failing to consultations; For example: it is the BFD message of DOWN that first router receives from the state of secondary route device, and still, first router is that the BFD message of INIT is not but received feedback to secondary route device transmit status.This situation possibly be because link failure partly recovers, and causes link to present the single-pass state, and unidirectional BFD message can transmit, but reverse BFD message can not transmit.At S802; Continuing mutual transmit status between first router and the secondary route device is the BFD message of INIT; Promptly; The state that first router sends to the secondary route device is that the BFD message of INIT carries the sign of said virtual router and the VRRP priority of first router, and the state that the secondary route device sends to first router is that the BFD message of INIT carries the sign of said virtual router and the VRRP priority of secondary route device.
According to an embodiment, a kind of routing device is provided.Said routing device can be used as in several routers of composition virtual router shown in Figure 2; Such as said router can be the first routing device RT1 shown in Figure 2; The first routing device RT1 is through first switching network SW1 and the communications of user equipment; The first switching network SW1 connects the second switching network SW2 through first link, and routing device RT1 communicates by letter with secondary route equipment RT2 through the first switching network SW1, first link and the second switching network SW2.
As shown in Figure 9, said routing device 900 comprises detector 901.After first link broke down, it was the BFD message of DOWN that detector 901 is used for continuing transmit status to secondary route device RT2.Said state is that the BFD message of DOWN carries the sign of said virtual router and the VRRP priority of said routing device 900.
According to an example, the state that detector 901 is sent is that the BFD message of DOWN carries the sign of virtual router and the VRRP priority of routing device 900 with the assignment field in the TLV form.
Adopt the technical scheme of this execution mode, can utilize the BFD message to send the advantage that frequency is high, blanking time is short.Usually the transmission of BFD message is at interval less than 1 second, and optional, adopting the transmission cycle is the BFD message of 3ms.In addition; Utilize state for the BFD message of DOWN carries the treatment effeciency that Router Distinguisher and VRRP priority can improve the message sink router, for example, adopt the VRRP heartbeat message to send fast; Need carry out CPU to the VRRP message and handle, possibly cause CPU usage significantly to rise.And the BFD message is relatively low for the resource consumption of CPU.
According to another example, routing device 900 also comprises processor 902.When said first link-recovery; It is the BFD message of DOWN that processor 902 is used to receive from the state of said secondary route equipment RT2, is that the BFD message of DOWN carries the sign of virtual router and the VRRP priority of secondary route equipment RT2 from the state of secondary route equipment RT2; Processor 902 also is used to read the sign of said virtual router and the VRRP priority of said secondary route equipment RT2.
According to another example; When the VRRP of routing device 900 priority was lower than the VRRP priority of secondary route equipment RT2, processor 902 was adjusted into standby router with the state of routing device 900 and stops to issue data from routing device 900 to the first switching network SW1.
According to another example; After routing device 900 the state from secondary route equipment RT2 of receiving is the BFD message of DOWN; And routing device 900 and secondary route equipment RT2 carry out BFD when failing to consultations merit; It is the BFD message of INIT that detector 901 continues transmit status to secondary route device RT2, and said state is that the BFD message of INIT carries the sign of said virtual router and the VRRP priority of said router 900.
Because the fast detecting means have BFD, OAM a variety of technology such as (Operation Administration and Maintenance, operation management maintains), the scheme of mentioning among the application is only given an example with BFD.
Figure 10 is the example of a simplification of the network equipment of the method for embodiment of the present invention, and this network equipment is carried out method of the present invention through carrying out a series of instruction.Optional, this network equipment can connect through for example network and link to each other with miscellaneous equipment.This network equipment can be in order or a series of instruction of executed in parallel.In addition, although only showed 1 network equipment among Figure 10, should be appreciated that " equipment " can be interpreted as through the individual equipment of instruction execution method of the present invention or the set of a plurality of equipment.
The network equipment 1000 comprises processor 1002, main memory 1004, static memory 1006, bus 1008, and processor 1002 can be carried out calculating, selects or relatively wait function, and processor 1002 can be CPU.Main memory 1004 can be stored the relevant parameter of method of the present invention, for example, and the VRRP priority of the sign of virtual router or the network equipment 1000 etc.Static memory 1006 can be stored required instruction of the execution of method of the present invention etc.Said processor 1002, main memory 1004 are communicated by letter through bus 1008 with static memory 1006.The network equipment 1000 also can comprise disk drive unit 1016 and Network Interface Unit 1020.Disk drive unit 1016 also can be stored required instruction of the execution of method of the present invention etc.Network Interface Unit 1020 can make the network equipment 1000 and PERCOM peripheral communication, and for example, transmit status is the BFD message of DOWN or BFD message that transmit status is INIT etc.
Disk drive unit 1016 comprises machine readable media 1022, and machine readable media 1022 is stored more than one instructions and carried out the data structure 1024 of method of the present invention (for example, software or instruction).Above-mentioned instruction can be part or all of be stored in main memory 1004 or the processor 1002.Instruction and main memory 1004 or processor 1002 also can constitute aforesaid machine readable media.In addition, aforementioned instruction can be passed through Network Interface Unit 1020, and utilizes existing communication agreement, is sent to or receives from network terminal 1026.
Machine readable media 1022 can comprise the single medium or the multimedium (for example, concentrated or distributed database or relevant with it buffer memory) of store instruction.Term " machine readable media " also can be regarded as storage, coding or the bearing medium of the instruction of any method that can embodiment of the present invention of being carried out by machine.Term " machine readable media " also can be regarded as and comprises solid-state memory and optomagnetic medium.
Through the description of above execution mode, those of ordinary skill in the art can be well understood to the embodiment of the invention and can realize by the mode that software adds essential general hardware platform, can certainly realize through hardware.Based on such understanding; The technical scheme of the embodiment of the invention can be come out with the embodied of software product; This computer software product can be stored in the storage medium; Like ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that computer equipment or server or other network equipments are carried out the described method of some part of each embodiment of the present invention or embodiment.
More than being merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the method that network traffics are recovered is characterized in that, comprising:
After the link between second switching network that first switching network that first router in the virtual router links to each other and secondary route device link to each other broke down, the two-way forwarding that continues transmit status between said first router and the secondary route device and be DOWN detected the BFD message; And
Said state is that the BFD message of DOWN carries the sign of said virtual router and the VRRP priority of first router, perhaps the VRRP priority of the sign of said virtual router and secondary route device.
2. method according to claim 1; It is characterized in that; Said state is that the BFD message of DOWN carries the sign of said virtual router and the VRRP priority of first router with the assignment field in the label length value TLV form, or the VRRP priority of the sign of said virtual router and secondary route device.
3. method according to claim 1 is characterized in that, when the link-recovery between said first switching network and said second switching network, the state that said first router and secondary route device receive the other side's transmission respectively is the BFD message of DOWN;
Said first router reads the VRRP priority of said secondary route device, and said secondary route device reads the VRRP priority of said first router.
4. method according to claim 3; It is characterized in that; When the VRRP of said first router priority was lower than the VRRP priority of said secondary route device, said first router was adjusted into standby router with its state and stops to issue data from said first router to said first switching network; And
When the VRRP of said secondary route device priority was lower than the VRRP priority of said first router, said secondary route device was adjusted into standby router with its state and stops to issue data from said secondary route device to said second switching network.
5. according to claim 1 or 3 described methods; It is characterized in that; When said first router and secondary route device receive respectively after state that the other side sends is the BFD message of DOWN; And said first router and secondary route device carry out BFD when failing to consultations merit, and continuing transmit status between first router and the secondary route device is the BFD message of INIT, and
Said state is that the BFD message of INIT carries the sign of said virtual router and the VRRP priority of said first router, and the BFD message that perhaps said state is INIT carries the sign of said virtual router and the VRRP priority of secondary route device.
6. routing device; It is characterized in that: said routing device and secondary route equipment are formed at least a portion of virtual router; Said routing device is through first switching network and communications of user equipment; Said first switching network connects second switching network through first link, and said routing device is through first switching network, first link, second switching network and said secondary route devices communicating
Said routing device comprises detector, and after said first link broke down, said detector was used for continuing the two-way forwarding detection BFD message that transmit status is DOWN to the secondary route device; And
Said state is that the BFD message of DOWN carries the sign of said virtual router and the VRRP priority of said routing device.
7. equipment according to claim 6; It is characterized in that the said state that said detector sent is that the BFD message of DOWN carries the sign of said virtual router and the VRRP priority of said routing device with the assignment field in the label length value TLV form.
8. equipment according to claim 6 is characterized in that: said routing device also comprises processor,
When said first link-recovery; It is the BFD message of DOWN that said processor is used to receive from the state of said secondary route equipment, and the BFD message that said state from secondary route equipment is DOWN carries the sign of said virtual router and the VRRP priority of said secondary route equipment;
Said processor also is used to read the sign of said virtual router and the VRRP priority of said secondary route equipment.
9. equipment according to claim 8; It is characterized in that; When the VRRP of said routing device priority was lower than the VRRP priority of said secondary route equipment, said routing device was adjusted into standby router with its state and stops to issue data from said routing device to first switching network.
10. according to claim 6 or 8 described equipment; It is characterized in that; After said routing device the state from secondary route equipment of receiving is the BFD message of DOWN; And said routing device and secondary route equipment carry out BFD when failing to consultations merit, and it is the BFD message of INIT that said detector continues transmit status to the secondary route device, and
Said state is that the BFD message of INIT carries the sign of said virtual router and the VRRP priority of said router.
CN2012102035171A 2012-06-20 2012-06-20 Method for network traffic recovery and routing device Pending CN102724073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102035171A CN102724073A (en) 2012-06-20 2012-06-20 Method for network traffic recovery and routing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102035171A CN102724073A (en) 2012-06-20 2012-06-20 Method for network traffic recovery and routing device

Publications (1)

Publication Number Publication Date
CN102724073A true CN102724073A (en) 2012-10-10

Family

ID=46949743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102035171A Pending CN102724073A (en) 2012-06-20 2012-06-20 Method for network traffic recovery and routing device

Country Status (1)

Country Link
CN (1) CN102724073A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152262A (en) * 2013-02-25 2013-06-12 华为技术有限公司 Method and equipment for connection establishment
CN103560955A (en) * 2013-10-24 2014-02-05 华为技术有限公司 Method and device for switching between redundancy devices
CN105634848A (en) * 2014-11-04 2016-06-01 中国移动通信集团四川有限公司 Virtual router monitoring method and apparatus
CN106533776A (en) * 2016-11-29 2017-03-22 迈普通信技术股份有限公司 VRRP (Virtual Router Redundancy Protocol) gateway, VRRP system and double-main detection and repair method
CN106788921A (en) * 2016-11-24 2017-05-31 上海华为技术有限公司 Many CPE redundant links system and methods
CN107786435A (en) * 2016-08-25 2018-03-09 中兴通讯股份有限公司 Pseudo-wire guard method and device
CN108259325A (en) * 2016-12-29 2018-07-06 中国电信股份有限公司 Route maintenance method and routing device
CN111224881A (en) * 2019-11-28 2020-06-02 深信服科技股份有限公司 Routing method, system, equipment and computer readable storage medium
CN114244770A (en) * 2021-12-16 2022-03-25 苏州盛科通信股份有限公司 Method for breaking in VRRP scene and application

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863198A (en) * 2005-09-01 2006-11-15 华为技术有限公司 Apparatus and method of real-time recovering service
CN101035009A (en) * 2007-03-31 2007-09-12 华为技术有限公司 Multicast traffic redundancy protection method and device
CN101309185A (en) * 2008-07-16 2008-11-19 杭州华三通信技术有限公司 Processing method of multi-host apparatus in stacking system and stacking member equipment
CN101420381A (en) * 2008-12-08 2009-04-29 杭州华三通信技术有限公司 Method and apparatus for enhancing forwarding reliability in VRRP load balance
CN101651553A (en) * 2009-09-03 2010-02-17 华为技术有限公司 User side multicast service primary and standby protecting system, method and route devices
CN101800774A (en) * 2010-02-04 2010-08-11 中兴通讯股份有限公司 Environmental-friendly accessing method and environmental-friendly accessing network
CN102347867A (en) * 2011-11-14 2012-02-08 杭州华三通信技术有限公司 Processing method and equipment for stacking splitting detection

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863198A (en) * 2005-09-01 2006-11-15 华为技术有限公司 Apparatus and method of real-time recovering service
CN101035009A (en) * 2007-03-31 2007-09-12 华为技术有限公司 Multicast traffic redundancy protection method and device
CN101309185A (en) * 2008-07-16 2008-11-19 杭州华三通信技术有限公司 Processing method of multi-host apparatus in stacking system and stacking member equipment
CN101420381A (en) * 2008-12-08 2009-04-29 杭州华三通信技术有限公司 Method and apparatus for enhancing forwarding reliability in VRRP load balance
CN101651553A (en) * 2009-09-03 2010-02-17 华为技术有限公司 User side multicast service primary and standby protecting system, method and route devices
CN101800774A (en) * 2010-02-04 2010-08-11 中兴通讯股份有限公司 Environmental-friendly accessing method and environmental-friendly accessing network
CN102347867A (en) * 2011-11-14 2012-02-08 杭州华三通信技术有限公司 Processing method and equipment for stacking splitting detection

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152262A (en) * 2013-02-25 2013-06-12 华为技术有限公司 Method and equipment for connection establishment
CN103152262B (en) * 2013-02-25 2016-08-03 华为技术有限公司 A kind of method and apparatus of connection establishment
CN103560955B (en) * 2013-10-24 2016-09-28 华为技术有限公司 Redundance unit changing method and device
CN103560955A (en) * 2013-10-24 2014-02-05 华为技术有限公司 Method and device for switching between redundancy devices
CN105634848B (en) * 2014-11-04 2019-06-28 中国移动通信集团四川有限公司 A kind of virtual router monitoring method and device
CN105634848A (en) * 2014-11-04 2016-06-01 中国移动通信集团四川有限公司 Virtual router monitoring method and apparatus
CN107786435A (en) * 2016-08-25 2018-03-09 中兴通讯股份有限公司 Pseudo-wire guard method and device
CN106788921A (en) * 2016-11-24 2017-05-31 上海华为技术有限公司 Many CPE redundant links system and methods
CN106533776A (en) * 2016-11-29 2017-03-22 迈普通信技术股份有限公司 VRRP (Virtual Router Redundancy Protocol) gateway, VRRP system and double-main detection and repair method
CN106533776B (en) * 2016-11-29 2019-08-20 迈普通信技术股份有限公司 A kind of VRRP gateway, VRRP system and double main detections and restorative procedure
CN108259325A (en) * 2016-12-29 2018-07-06 中国电信股份有限公司 Route maintenance method and routing device
CN108259325B (en) * 2016-12-29 2021-07-30 中国电信股份有限公司 Route maintenance method and route equipment
CN111224881A (en) * 2019-11-28 2020-06-02 深信服科技股份有限公司 Routing method, system, equipment and computer readable storage medium
CN111224881B (en) * 2019-11-28 2022-06-21 深信服科技股份有限公司 Routing method, system, equipment and computer readable storage medium
CN114244770A (en) * 2021-12-16 2022-03-25 苏州盛科通信股份有限公司 Method for breaking in VRRP scene and application

Similar Documents

Publication Publication Date Title
CN102724073A (en) Method for network traffic recovery and routing device
CN101710877B (en) Method, device and system for processing traffic flow based on pseudowire
US10250459B2 (en) Bandwidth on-demand services in multiple layer networks
US8886831B2 (en) System and methodology for fast link failover based on remote upstream failures
CN107547370B (en) Flow forwarding method, device and system
CN1969492B (en) Dynamic forwarding adjacency
CN100450039C (en) Fast convergence method and device of the end-to-end service
CN102325037B (en) A kind of changing method of pseudo-line dual homed network, system and dual-homed Provider Equipment
US8665711B2 (en) Fast restoration for provider edge node and access link failures
CN101820395B (en) Routing information configuration and private network label addition method and device based on MPLS (Multiple Protocol Label Switching)
CN101924654B (en) Point-to-multipoint service-based path switching method and system
CN101465859B (en) Method and device for triggering main and standby interface board inverse switch
CN103460647A (en) Technique for operating network node
CN100512128C (en) Method and system for protecting multicast repeat path and service router
CN101860492A (en) Quick switching method, device and system
CN102364900B (en) Based on the data transmission method of FRR and equipment in a kind of IRF system
CN105245452A (en) Multi-protocol label switching traffic engineering tunnel establishment method and device
CN103095571A (en) Method and system achieving network redundancy and data flow seamless switching
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
CN101800774A (en) Environmental-friendly accessing method and environmental-friendly accessing network
CN101577719A (en) Double hot standby method, device and system
CN101909006B (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN102377672A (en) Routing method and communication equipment in data center network
CN102611629A (en) Fast re-route method and device in MPLS (Multi-Protocol Label Switching)
CN101374106A (en) Method for forwarding data packet on MPLS LSP, network node and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121010