CN108337161A - Method for smoothly switching M L AG interface fault three-layer data flow - Google Patents
Method for smoothly switching M L AG interface fault three-layer data flow Download PDFInfo
- Publication number
- CN108337161A CN108337161A CN201711365692.XA CN201711365692A CN108337161A CN 108337161 A CN108337161 A CN 108337161A CN 201711365692 A CN201711365692 A CN 201711365692A CN 108337161 A CN108337161 A CN 108337161A
- Authority
- CN
- China
- Prior art keywords
- interface
- mlag
- fib table
- table item
- interfaces
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000004891 communication Methods 0.000 claims abstract description 77
- 238000011084 recovery Methods 0.000 claims description 19
- 238000012217 deletion Methods 0.000 claims description 13
- 230000037430 deletion Effects 0.000 claims description 13
- 230000010355 oscillation Effects 0.000 claims description 7
- 235000013399 edible fruits Nutrition 0.000 claims 2
- 238000007726 management method Methods 0.000 description 9
- 230000002776 aggregation Effects 0.000 description 7
- 238000004220 aggregation Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000013024 troubleshooting Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000009514 concussion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000006116 polymerization reaction Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
- H04L45/245—Link aggregation, e.g. trunking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
Abstract
The invention provides a method for smooth switching of three-layer data flow of an M L AG interface fault, which is characterized in that a backup FIB table item with a peer-link interface as an output interface is dynamically generated based on an FIB table item with an M L AG interface as the output interface of Switch equipment, when a communication fault occurs on an M L AG interface, a data message forwarded by an M L AG interface can be quickly switched to the output interface for forwarding the data message on the peer-link interface, the FIB table item is quickly updated, and the forwarding of the data message is ensured not to be influenced.
Description
Technical field
The present invention relates to data communication field network switch striding equipment link aggregation technical fields more particularly to MLAG to connect
When mouthful communication failure occurs as three layer interfaces, method that MLAG systems can quickly carry out route stand-by switching.
Background technology
MLAG (Multichassis Link Aggregation Group), striding equipment link aggregation group is a kind of realization
The mechanism of striding equipment link aggregation can realize the link aggregation between multiple devices, and polymerization unit forms dual-active system, to carry
The reliability of high link.
In attached drawing 1, this MLAG system is formed using three three-tier switch equipment, and three equipment are respectively:SwitchA、
SwitchB and CE.SwitchA, SwitchB are two access devices, and CE equipment is then by access device.MLAG technologies it is basic
Thought is that two access switch of SwitchA and SwitchB is allowed to gather into line link with the same state and the CE equipment accessed
It closes and negotiates, in the CE equipment accessed, link aggregation relationship is established just as with an equipment.In order to ensure that two connect
Enter equipment SwitchA and SwitchB CE equipment is presented with same state, then two needs, one peer-link chain
Road carries out equipment room data and state synchronized.CE equipment and SwitchA and SwitchB equipment carry out striding equipment link aggregation at
After work(, CE equipment just has the ability of dual homed access network based on ethernet, to improve the reliability of CE device datas forwarding.
There are one Keepalive links for two equipment rooms of SwitchA and SwitchB, mainly for detection of equipment complete machine working condition.
The application scenarios of attached drawing 2 are that CE dual homeds access SwitchA and SwitchB equipment.SwitchA and SwitchB equipment
It is communicated respectively using three layers of IP routing with Network networks and CE communication between devices.Data message warp is identified in the example shown
Cross the forwarding process of MLAG systems.Two access switch in MLAG systems are externally presented state consistency, Network networks with
When CE equipment is into row data communication, any one paths may be used and be forwarded, in order to ensure the forwarding correctness of data, two
Platform access device can have identical route table items, and arbitrary ether interface receives IP datagram text, can be routed to by IP
CE equipment completes correct message forwarding.
The MLAG interfaces of the SwitchB equipment of two access devices of MLAG systems break down in attached drawing 3, pass through
SwitchB equipment routing outgoing interface, which is the data message of MLAG interfaces, to be dropped, if the sides network are continued IP numbers at this time
It is sent to SwitchB equipment according to message, then will appear serious communication issue.Currently in order to ensureing the datagram of the sides network
Text is no longer forwarded to SwitchB equipment, and most directly effectively simple method is exactly, by the sides SwitchB equipment connection Network
Port carries out shutdown, and normal routing forwarding work can not be carried out by allowing the sides Network to perceive SwitchB, allow it
All data messages are all forwarded by SwitchA equipment, to ensure the normal communication of the sides NetWork and the sides CE.
The above-mentioned prior art directly by the first line of a couplet port shutdown of SwitchB equipment, allows the sides Network to feel in time
SwitchB breaks down, the sides triggering Network route handoff, to ensure normal communication.But this technical solution exist with
Lower problem:
The IP datagram text of routing forwarding to SwitchB equipment will be lost, and increase network communication delay risk;
Load-sharing mode is in when being worked normally due to SwitchA and SwitchB equipment, shutdown SwitchB are set
Standby upper connecting port, it will influence the communication bandwidth of the sides Network and the sides CE, communication ability declines;
SwitchB equipment first line of a couplet port Shutdown can cause the router-level topology of the sides Network, so as to cause route topological
Concussion.
Invention content
In order to solve the above-mentioned technical problem, it is flat that the object of the present invention is to provide a kind of three layer data flows of MLAG interface faults
The method that sliding cutting changes, when solving MLAG interface communication Failure And Recoveries in MLAG systems, the communication of the sides CE and the sides Network is asked
Topic.A kind of route stand-by mechanism is provided based on MLAG interfaces, is ensured in MLAG interface communication Failure And Recoveries, by Switch
The data message of equipment MLAG interface routes forwarding can be forwarded normally, solve to lead because of MLAG interface communications failure to greatest extent
The data packetloss problem of cause.
The present invention is realized according to following technical scheme:
A kind of method that three layer data flow of MLAG interface faults takes over seamlessly, the outgoing interface based on Switch equipment are
The fib table item of MLAG interfaces, one outgoing interface of dynamic generation is the backup fib table item of peer-link interfaces, when MLAG interfaces go out
When existing communication failure, the data message forwarded by MLAG interface routes can be quickly switched into outgoing interface as peer-link interfaces
Data message forwarding is carried out, the update of fib table item is quickly carried out, ensures that data message forwarding is unaffected, the sides pair NetWork
The MLAG interface communication failure unawares of Switch, improve the stability of whole system, which is characterized in that including as follows in this way
Step:
Step 1:Switch equipment connects the first line of a couplet of the MLAG interfaces of the sides CE, Peer-link interfaces and the sides connection NetWork
Interface is configured to three layer interfaces, and the data between the sides CE and the sides Network are using three layers of forward mode of routing;
Step 2:It is MLAG interface fib table items that Switch equipment, which generates an outgoing interface, and one is generated based on this fib table item
Outgoing interface is the backup fib table item of peer-link interfaces, without updating backup fib table item to hardware forwarding table;
Step 3:Outgoing interface is MLAG interface fib table items from hardware list by the MLAG interface communication failures of Switch equipment
Then middle deletion updates backup fib table item to hardware forwarding table;
Step 4:The MLAG interface communications of Switch equipment restore, and are that MLAG interface fib table items are updated to hard by outgoing interface
Then part table is deleted backup fib table item from hardware forwarding table;
Step 5:It is MLAG interface fib table items that Switch equipment, which deletes an outgoing interface, and is simultaneously MLAG by outgoing interface
Interface fib table item and the corresponding software and hardware list item of the backup fib table item that outgoing interface is peer-link interfaces are deleted.
In above-mentioned technical proposal, the generation method of the fib table item of Switch equipment includes:
Step 201:The fib table management module registration fib table item of Switch equipment adds event;
Step 202:Event is added when receiving fib table item, the fib table item addition event message received is parsed, obtains
Go out the type of the outgoing interface forwarded in FIB forwarding-table items, checks and transfer whether interface type is that the MLAG of Switch equipment connects
Mouthful, if it is MLAG interfaces to transfer interface type, fib table item copy will be received by, which needing, generates an identical fib table
, then the forwarding outgoing interface of the FIB of copy is updated to the peer-link interfaces of Switch equipment, while marked copies are given birth to
At fib table item be backup fib table item;
Step 203:The fib table item that the forwarding outgoing interface of non-backup is MLAG is written by corresponding interface and exchanges core
Piece allows the exchange chip that corresponding data message can be Jing Guo Switch equipment to complete normal routing data forwarding;Backup fib table
Item is only preserved as software backup data, and exchange exchange chip is not written into, and outgoing interface is the backup fib table of peer-link
Exchange chip is written in MLAG interface faults in item, it is allowed to participate in the routing data forwarding of data message.
In above-mentioned technical proposal, step 3 comprises the following steps:
Step 301:The FIB management modules of Switch equipment register MLAG interface communication event of failure;
Step 302:When receiving MLAG interface communication event of failure, parses and carried in MLAG interface communication event of failure
MLAG interface data, and check the validity of MLAG interfaces, if MLAG interfaces are effective, check the communication recovery timing of MLAG
Device whether there is, if MLAG interface communications restore timer and exist, need to stop the timer;MLAG interface communications restore fixed
When device avoid the route oscillation problem of Switch equipment, if MLAG interface communications failure and communication recovery are required for updating every time
Routing continuously emerges communication failure and communication recovery, Switch equipment is caused route oscillation occur in the MLAG interface short time.
Step 303:According to the corresponding fib table item of the MLAG interface lookups of failure, then check fib table item state whether be
Active calls driving interface to route it forwarding-table item and is deleted from exchange chip if the active of the list item of FIB,
The state that the fib table item is arranged simultaneously is inactive.
Step 304:According to fib table item, the backup fib table item that forwarding outgoing interface is peer-link is found, then should
Exchange chip is written in backup fib table item, ensures data message Jing Guo Switch equipment, can find corresponding effectively to go out to connect
Mouthful.
In above-mentioned technical proposal, step 4 comprises the following steps:
Step 401:The fib table management module registration MLAG interface communications of Switch equipment restore event;
Step 402:When receiving MLAG interface communications recovery event, parses and carried in MLAG interface communication recovery events
MLAG interface data, and check the validity of MLAG interfaces;If MLAG interfaces are effective, traversing all routing outgoing interfaces is
The fib table item of MLAG interfaces, and set the state of corresponding fib table item to active, while starting the recovery of MLAG interface communications
Timer.
Step 403:MLAG interface communications restore timer expiry, traverse the FIB that all routing outgoing interfaces are MLAG interfaces
Exchange chip is written, at this time the data message between the sides Network and the sides CE, warp in the fib table item that state is active by list item
Switch equipment is crossed there are two forward-paths, a routing forwarding outgoing interface is peer-link interfaces, and in addition one route out
Interface MLAG interfaces, the forwarding of this two forward-paths all normal parameter data message;
Step 404:It is that the routing of peer-link interface backups is deleted from exchange chip by outgoing interface, in exchange chip only
There are the fib table items that outgoing interface is MLAG interfaces;Addition outgoing interface is MLAG interface fib table items, then it is peer- to delete outgoing interface
The route table items of link interfaces ensure that exchange chip takes over seamlessly data message forwarding, between the sides Network and the sides CE
Data traffic it is lossless.
In above-mentioned technical proposal, step 5 comprises the following steps:
Step 501:The fib table management module of Switch equipment registers fib table entry deletion event;
Step 502:When receiving fib table entry deletion event, the fib table entry deletion event message received is parsed, is obtained
Go out the type of the outgoing interface forwarded in FIB forwarding-table items, checks and transfer whether interface type is that the MLAG of Switch equipment connects
Mouthful, if it is MLAG interfaces to transfer interface type, the fib table item for searching all outgoing interface MLAG interfaces is traversed, if FIB
List item has been written into exchange chip, then deletes the fib table item from exchange chip, while deleting corresponding software fib table again
;
Step 503:The backup fib table item that all outgoing interface peer-link are searched according to MLAG interfaces traversal, if FIB
Backup list item has been written into from exchange chip, then the list item is deleted from exchange chip, while deleting corresponding software fib table again
.
Compared with prior art, the present invention has following advantageous effect:
1) present invention reduces the packet loss of the affiliated Switch equipment of failure MLAG member ports by route stand-by mode;
2) present invention has ensured the communication capacity between the sides Network and the sides CE by route stand-by mode;
3) present invention is avoided to route caused by the shutdown failures of MLAG first line of a couplet port by route stand-by mode and be shaken
It swings.
Description of the drawings
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon:
Fig. 1 is the schematic diagram of the MLAG of the prior art;
Fig. 2 is that the sides MLAG CE of the prior art and network side IP packet forward network diagram;
Fig. 3 is that the MLAG member ports sides failure CE of the prior art and network side IP packet forward network diagram;
Fig. 4 is the Switch equipment fib table item product process figures of the present invention;
Fig. 5 is the Switch equipment MLAG interface communication troubleshooting process figures of the present invention;
Fig. 6 is that the Switch equipment MLAG interface communications of the present invention restore process chart;
Fig. 7 is the Switch equipment fib table entry deletion flow charts of the present invention.
Specific implementation mode
With reference to specific embodiment, the present invention is described in detail.Following embodiment will be helpful to the technology of this field
Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill of this field
For personnel, without departing from the inventive concept of the premise, several changes and improvements can also be made.These belong to the present invention
Protection domain.
The method that a kind of three layer data flow of MLAG interface faults of the present invention takes over seamlessly, based on going out for Switch equipment
Interface is the fib table item of MLAG interfaces, and one outgoing interface of dynamic generation is the backup fib table item of peer-link interfaces, works as MLAG
When communication failure occurs in interface, the data message forwarded by MLAG interface routes can be quickly switched into outgoing interface as peer-
Link interfaces carry out data message forwarding, quickly carry out the update of fib table item, ensure that data message forwarding is unaffected,
The sides NetWork improve the stability of whole system, feature exists in this way to the MLAG interface communication failure unawares of Switch
In including the following steps:
Step 1:Switch equipment connects the first line of a couplet of the MLAG interfaces of the sides CE, Peer-link interfaces and the sides connection NetWork
Interface is configured to three layer interfaces, and the data between the sides CE and the sides Network are using three layers of forward mode of routing;
Step 2:It is MLAG interface fib table items that Switch equipment, which generates an outgoing interface, and one is generated based on this fib table item
Outgoing interface is the backup fib table item of peer-link interfaces, without updating backup fib table item to hardware forwarding table;
Step 3:Outgoing interface is MLAG interface fib table items from hardware list by the MLAG interface communication failures of Switch equipment
Then middle deletion updates backup fib table item to hardware forwarding table;
Step 4:The MLAG interface communications of Switch equipment restore, and are that MLAG interface fib table items are updated to hard by outgoing interface
Then part table is deleted backup fib table item from hardware forwarding table;
Step 5:It is MLAG interface fib table items that Switch equipment, which deletes an outgoing interface, and is simultaneously MLAG by outgoing interface
Interface fib table item and the corresponding software and hardware list item of the backup fib table item that outgoing interface is peer-link interfaces are deleted.
Fig. 4 is the Switch equipment fib table item product process figures of the present invention;As shown in figure 4, the fib table of Switch equipment
Generation method include:
Step 201:The fib table management module registration fib table item of Switch equipment adds event;
Step 202:Event is added when receiving fib table item, the fib table item addition event message received is parsed, obtains
Go out the type of the outgoing interface forwarded in FIB forwarding-table items, checks and transfer whether interface type is that the MLAG of Switch equipment connects
Mouthful, if it is MLAG interfaces to transfer interface type, fib table item copy will be received by, which needing, generates an identical fib table
, then the forwarding outgoing interface of the FIB of copy is updated to the peer-link interfaces of Switch equipment, while marked copies are given birth to
At fib table item be backup fib table item;
Step 203:The fib table item that the forwarding outgoing interface of non-backup is MLAG is written by corresponding interface and exchanges core
Piece allows the exchange chip that corresponding data message can be Jing Guo Switch equipment to complete normal routing data forwarding;Backup fib table
Item is only preserved as software backup data, and exchange exchange chip is not written into, and outgoing interface is the backup fib table of peer-link
Exchange chip is written in MLAG interface faults in item, it is allowed to participate in the routing data forwarding of data message.
Fig. 5 is the Switch equipment MLAG interface communication troubleshooting process figures of the present invention;As shown in figure 5, step 3 includes
Following steps:
Step 301:The FIB management modules of Switch equipment register MLAG interface communication event of failure;
Step 302:When receiving MLAG interface communication event of failure, parses and carried in MLAG interface communication event of failure
MLAG interface data, and check the validity of MLAG interfaces, if MLAG interfaces are effective, check the communication recovery timing of MLAG
Device whether there is, if MLAG interface communications restore timer and exist, need to stop the timer;MLAG interface communications restore fixed
When device avoid the route oscillation problem of Switch equipment, if MLAG interface communications failure and communication recovery are required for updating every time
Routing continuously emerges communication failure and communication recovery, Switch equipment is caused route oscillation occur in the MLAG interface short time.For
Solve the problems, such as that route oscillation, fib table management module introduce MLAG interface communications and restore timer, when MLAG interfaces restore to communicate
After stabilization, just allow to update routing table.
Step 303:According to the corresponding fib table item of the MLAG interface lookups of failure, then check fib table item state whether be
Active calls driving interface to route it forwarding-table item and is deleted from exchange chip if the active of the list item of FIB,
The state that the fib table item is arranged simultaneously is inactive.
Step 304:According to fib table item, the backup fib table item that forwarding outgoing interface is peer-link is found, then should
Exchange chip is written in backup fib table item, ensures data message Jing Guo Switch equipment, can find corresponding effectively to go out to connect
Mouthful.It is avoided as possible because routing is not present or routing interface is invalid, and data message is caused to lose problem.
Fig. 6 is that the Switch equipment MLAG interface communications of the present invention restore process chart;As shown in fig. 6, step 4 includes
Following steps:
Step 401:The fib table management module registration MLAG interface communications of Switch equipment restore event;
Step 402:When receiving MLAG interface communications recovery event, parses and carried in MLAG interface communication recovery events
MLAG interface data, and check the validity of MLAG interfaces;If MLAG interfaces are effective, traversing all routing outgoing interfaces is
The fib table item of MLAG interfaces, and set the state of corresponding fib table item to active, while starting the recovery of MLAG interface communications
Timer.
Step 403:MLAG interface communications restore timer expiry, traverse the FIB that all routing outgoing interfaces are MLAG interfaces
Exchange chip is written, at this time the data message between the sides Network and the sides CE, warp in the fib table item that state is active by list item
Switch equipment is crossed there are two forward-paths, a routing forwarding outgoing interface is peer-link interfaces, and in addition one route out
Interface MLAG interfaces, the forwarding of this two forward-paths all normal parameter data message;
Step 404:It is that the routing of peer-link interface backups is deleted from exchange chip by outgoing interface, in exchange chip only
There are the fib table items that outgoing interface is MLAG interfaces;Addition outgoing interface is MLAG interface fib table items, then it is peer- to delete outgoing interface
The route table items of link interfaces ensure that exchange chip takes over seamlessly data message forwarding, between the sides Network and the sides CE
Data traffic it is lossless.
Fig. 7 is the Switch equipment fib table entry deletion flow charts of the present invention, as shown in fig. 7, step 5 comprises the following steps:
Step 501:The fib table management module of Switch equipment registers fib table entry deletion event;
Step 502:When receiving fib table entry deletion event, the fib table entry deletion event message received is parsed, is obtained
Go out the type of the outgoing interface forwarded in FIB forwarding-table items, checks and transfer whether interface type is that the MLAG of Switch equipment connects
Mouthful, if it is MLAG interfaces to transfer interface type, the fib table item for searching all outgoing interface MLAG interfaces is traversed, if FIB
List item has been written into exchange chip, then deletes the fib table item from exchange chip, while deleting corresponding software fib table again
;
Step 503:The backup fib table item that all outgoing interface peer-link are searched according to MLAG interfaces traversal, if FIB
Backup list item has been written into from exchange chip, then the list item is deleted from exchange chip, while deleting corresponding software fib table again
.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited in above-mentioned
Particular implementation, those skilled in the art can make a variety of changes or change within the scope of the claims, this not shadow
Ring the substantive content of the present invention.In the absence of conflict, the feature in embodiments herein and embodiment can arbitrary phase
Mutually combination.
Claims (5)
1. a kind of method that three layer data flow of MLAG interface faults takes over seamlessly, the outgoing interface based on Switch equipment is MLAG
The fib table item of interface, one outgoing interface of dynamic generation is the backup fib table item of peer-link interfaces, when MLAG interfaces lead to
When believing failure, the data message forwarded by MLAG interface routes can be quickly switched into outgoing interface as the progress of peer-link interfaces
Data message forwarding quickly carries out the update of fib table item, ensures that data message forwarding is unaffected, the sides NetWork are to Switch
MLAG interface communication failure unawares, improve the stability of whole system in this way, which is characterized in that include the following steps:
Step 1:Switch equipment connects the upper connecting port of the MLAG interfaces of the sides CE, Peer-link interfaces and the sides connection NetWork
Three layer interfaces are configured to, the data between the sides CE and the sides Network are using three layers of forward mode of routing;
Step 2:It is MLAG interface fib table items that Switch equipment, which generates an outgoing interface, and generating one based on this fib table item goes out to connect
Mouth is the backup fib table item of peer-link interfaces, without updating backup fib table item to hardware forwarding table;
Step 3:Outgoing interface is that MLAG interface fib table items are deleted from hardware list by the MLAG interface communication failures of Switch equipment
It removes, then updates backup fib table item to hardware forwarding table;
Step 4:The MLAG interface communications of Switch equipment restore, and are that MLAG interface fib table items are updated to hardware list by outgoing interface,
Then backup fib table item is deleted from hardware forwarding table;
Step 5:It is MLAG interface fib table items that Switch equipment, which deletes an outgoing interface, and is simultaneously MLAG interfaces by outgoing interface
Fib table item and the corresponding software and hardware list item of the backup fib table item that outgoing interface is peer-link interfaces are deleted.
2. the method that three layer data flow of MLAG interface faults according to claim 1 takes over seamlessly, which is characterized in that
The generation method of the fib table item of Switch equipment includes:
Step 201:The fib table management module registration fib table item of Switch equipment adds event;
Step 202:Event is added when receiving fib table item, the fib table item addition event message received is parsed, obtains out FIB
The type of the outgoing interface forwarded in forwarding-table item, check transfer interface type whether be Switch equipment MLAG interfaces, such as
It is MLAG interfaces that fruit, which transfers interface type, then fib table item copy will be received by, which needing, generates an identical fib table item, so
The forwarding outgoing interface of the FIB of copy is updated to the peer-link interfaces of Switch equipment afterwards, while marked copies generate
Fib table item is backup fib table item;
Step 203:Exchange chip is written by corresponding interface in the fib table item that the forwarding outgoing interface of non-backup is MLAG, is allowed
Corresponding data message can be Jing Guo Switch equipment exchange chip complete normal routing data forwarding;Backup fib table item is only
It is preserved as software backup data, is not written into exchange exchange chip, outgoing interface is that the backup fib table item of peer-link exists
Exchange chip is written when MLAG interface faults, it is allowed to participate in the routing data forwarding of data message.
3. the method that three layer data flow of MLAG interface faults according to claim 1 takes over seamlessly, which is characterized in that step
Rapid 3 comprise the following steps:
Step 301:The FIB management modules of Switch equipment register MLAG interface communication event of failure;
Step 302:When receiving MLAG interface communication event of failure, carried in parsing MLAG interface communication event of failure
MLAG interface data, and check the validity of MLAG interfaces, if MLAG interfaces are effective, check the communication recovery timer of MLAG
It whether there is, if MLAG interface communications restore timer and exist, need to stop the timer;MLAG interface communications restore timing
Device avoids the route oscillation problem of Switch equipment, if MLAG interface communications failure and communication recovery are required for update road every time
By communication failure and communication recovery continuously emerge in the MLAG interface short time, Switch equipment is caused route oscillation occur.
Step 303:According to the corresponding fib table item of the MLAG interface lookups of failure, then check fib table item state whether be
Active calls driving interface to route it forwarding-table item and is deleted from exchange chip if the active of the list item of FIB,
The state that the fib table item is arranged simultaneously is inactive.
Step 304:According to fib table item, the backup fib table item that forwarding outgoing interface is peer-link is found, then by the backup
Exchange chip is written in fib table item, ensures the data message Jing Guo Switch equipment, can find corresponding effective outgoing interface.
4. the method that three layer data flow of MLAG interface faults according to claim 1 takes over seamlessly, which is characterized in that step
Rapid 4 comprise the following steps:
Step 401:The fib table management module registration MLAG interface communications of Switch equipment restore event;
Step 402:When receiving MLAG interface communications recovery event, carried in parsing MLAG interface communication recovery events
MLAG interface data, and check the validity of MLAG interfaces;If MLAG interfaces are effective, it is MLAG to traverse all routing outgoing interfaces
The fib table item of interface, and set the state of corresponding fib table item to active, while starting MLAG interface communications and restoring timing
Device;
Step 403:MLAG interface communications restore timer expiry, traverse the fib table item that all routing outgoing interfaces are MLAG interfaces,
Exchange chip is written into the fib table item that state is active, the data message between the sides Network and the sides CE, passes through at this time
Switch equipment is peer-link interfaces there are two forward-paths, a routing forwarding outgoing interface, and in addition one route out and connects
Mouth MLAG interfaces, the forwarding of this two forward-paths all normal parameter data message;
Step 404:It is that the routing of peer-link interface backups is deleted from exchange chip by outgoing interface, is only existed in exchange chip
Outgoing interface is the fib table item of MLAG interfaces;Addition outgoing interface is MLAG interface fib table items, then it is peer-link to delete outgoing interface
The route table items of interface ensure that exchange chip takes over seamlessly data message forwarding, the number between the sides Network and the sides CE
It is lossless according to flow.
5. the method that three layer data flow of MLAG interface faults according to claim 1 takes over seamlessly, which is characterized in that step
Rapid 5 comprise the following steps:
Step 501:The fib table management module of Switch equipment registers fib table entry deletion event;
Step 502:When receiving fib table entry deletion event, the fib table entry deletion event message received is parsed, FIB is obtained out
The type of the outgoing interface forwarded in forwarding-table item, check transfer interface type whether be Switch equipment MLAG interfaces, such as
It is MLAG interfaces that fruit, which transfers interface type, then the fib table item for searching all outgoing interface MLAG interfaces is traversed, if fib table item
Exchange chip is had been written into, then is deleted the fib table item from exchange chip, while deleting corresponding software fib table item again;
Step 503:The backup fib table item of all outgoing interface peer-link is searched according to MLAG interfaces traversal, if FIB is backed up
List item has been written into from exchange chip, then the list item is deleted from exchange chip, while deleting corresponding software fib table item again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711365692.XA CN108337161B (en) | 2017-12-18 | 2017-12-18 | Method for smoothly switching three-layer data flow of MLAG interface fault |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711365692.XA CN108337161B (en) | 2017-12-18 | 2017-12-18 | Method for smoothly switching three-layer data flow of MLAG interface fault |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108337161A true CN108337161A (en) | 2018-07-27 |
CN108337161B CN108337161B (en) | 2020-11-24 |
Family
ID=62922125
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711365692.XA Active CN108337161B (en) | 2017-12-18 | 2017-12-18 | Method for smoothly switching three-layer data flow of MLAG interface fault |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108337161B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109167693A (en) * | 2018-10-12 | 2019-01-08 | 锐捷网络股份有限公司 | A kind of isolation configuration method and device based on across cabinet link aggregation group MLAG |
CN111064660A (en) * | 2019-12-26 | 2020-04-24 | 盛科网络(苏州)有限公司 | Method for smoothing Linkagg table entries of chips between master communication equipment and slave communication equipment and communication system |
CN111683309A (en) * | 2020-05-29 | 2020-09-18 | 烽火通信科技股份有限公司 | OLT equipment dual-uplink service main and standby protection method and system |
CN112422422A (en) * | 2020-11-23 | 2021-02-26 | 浪潮思科网络科技有限公司 | Network redundancy method, device and equipment |
CN115051947A (en) * | 2022-06-30 | 2022-09-13 | 中兴通讯股份有限公司 | Communication state switching method, port configuration method, communication system and medium |
CN115225468A (en) * | 2022-07-26 | 2022-10-21 | 苏州盛科通信股份有限公司 | Method and system for fast switching flow and computer readable storage medium |
WO2023274162A1 (en) * | 2021-07-01 | 2023-01-05 | 中兴通讯股份有限公司 | Cross-device link aggregation switching method, system, switch, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291311A (en) * | 2011-08-30 | 2011-12-21 | 中兴通讯股份有限公司 | Ethernet interface protection method and network side device |
WO2015168256A1 (en) * | 2014-04-29 | 2015-11-05 | Arist Networks, Inc. | Method and system for protocol independent multicasting in multichassis link aggregation domains |
CN105049373A (en) * | 2015-06-30 | 2015-11-11 | 盛科网络(苏州)有限公司 | APS-based MLAG switching protection method |
CN106656789A (en) * | 2016-12-30 | 2017-05-10 | 盛科网络(苏州)有限公司 | Chip implementation method for MLAG broadcast and multicast |
US20170163473A1 (en) * | 2015-12-04 | 2017-06-08 | Arista Networks, Inc. | Link aggregation split-brain detection and recovery |
-
2017
- 2017-12-18 CN CN201711365692.XA patent/CN108337161B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291311A (en) * | 2011-08-30 | 2011-12-21 | 中兴通讯股份有限公司 | Ethernet interface protection method and network side device |
WO2015168256A1 (en) * | 2014-04-29 | 2015-11-05 | Arist Networks, Inc. | Method and system for protocol independent multicasting in multichassis link aggregation domains |
CN105049373A (en) * | 2015-06-30 | 2015-11-11 | 盛科网络(苏州)有限公司 | APS-based MLAG switching protection method |
US20170163473A1 (en) * | 2015-12-04 | 2017-06-08 | Arista Networks, Inc. | Link aggregation split-brain detection and recovery |
CN106656789A (en) * | 2016-12-30 | 2017-05-10 | 盛科网络(苏州)有限公司 | Chip implementation method for MLAG broadcast and multicast |
Non-Patent Citations (3)
Title |
---|
HENK BIRKHOLZ等: "《Supporting Security Automation for Multi-Chassis Link Aggregation Groups via the Interconnected-asset Ontology》", 《2014 9TH INTERNATIONAL CONFERENCE ON AVAILABILITY,RELIABILITY AND SECURITY》 * |
ZZJLZX: "《【华为悦读会】技术发烧友:M-LAG》", 《HTTP://BLOG.CHINAUNIX.NET/UID-7934175-ID-5766227.HTML》 * |
佚名: "《CloudEngine 7800&6800&5800 V100R005(C00&C10) 配置指南-以太网交换》", 《HTTPS://SUPPORT.HUAWEI.COM/ENTERPRISE/ZH/DOC/EDOC1000074372?SECTION=K007》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109167693A (en) * | 2018-10-12 | 2019-01-08 | 锐捷网络股份有限公司 | A kind of isolation configuration method and device based on across cabinet link aggregation group MLAG |
CN111064660A (en) * | 2019-12-26 | 2020-04-24 | 盛科网络(苏州)有限公司 | Method for smoothing Linkagg table entries of chips between master communication equipment and slave communication equipment and communication system |
CN111683309A (en) * | 2020-05-29 | 2020-09-18 | 烽火通信科技股份有限公司 | OLT equipment dual-uplink service main and standby protection method and system |
CN111683309B (en) * | 2020-05-29 | 2021-12-21 | 烽火通信科技股份有限公司 | OLT equipment dual-uplink service main and standby protection method and system |
CN112422422A (en) * | 2020-11-23 | 2021-02-26 | 浪潮思科网络科技有限公司 | Network redundancy method, device and equipment |
CN112422422B (en) * | 2020-11-23 | 2022-07-08 | 浪潮思科网络科技有限公司 | Network redundancy method, device and equipment |
WO2023274162A1 (en) * | 2021-07-01 | 2023-01-05 | 中兴通讯股份有限公司 | Cross-device link aggregation switching method, system, switch, and storage medium |
CN115051947A (en) * | 2022-06-30 | 2022-09-13 | 中兴通讯股份有限公司 | Communication state switching method, port configuration method, communication system and medium |
CN115051947B (en) * | 2022-06-30 | 2024-02-23 | 中兴通讯股份有限公司 | Communication state switching method, port configuration method, communication system and medium |
CN115225468A (en) * | 2022-07-26 | 2022-10-21 | 苏州盛科通信股份有限公司 | Method and system for fast switching flow and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108337161B (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108337161A (en) | Method for smoothly switching M L AG interface fault three-layer data flow | |
JP4729119B2 (en) | Communication device in label switching network | |
CN102857422B (en) | System and method for realizing OLT voice double upper-link protection based on OSPF routing protocol | |
EP2518954B1 (en) | Redundant ethernet automatic protection switching access to virtual private lan services. | |
CN104135418B (en) | It is a kind of to realize two layers of method and device for coordinating to switch with Layer3 Virtual Private Network | |
US7881188B2 (en) | Methods, systems, and computer program products for implementing link redundancy in a media gateway | |
CN101557343B (en) | Detecting and protecting method of double-layer loop in VRRP topological network | |
CN108900415A (en) | Master-slave equipment switching method and system under fault of M L AG interface | |
CN105915400A (en) | Data stream switching method and system | |
JP4922972B2 (en) | Communications system | |
EP1958364B1 (en) | Vpls remote failure indication | |
CN103684953A (en) | Method and device for avoiding data traffic loss in an Ethernet ring multihomed, in an active-standby manner, to a virtual private LAN service transport network | |
CN109672619A (en) | A kind of method, equipment and system handling message | |
US20100303081A1 (en) | Communication system and method for forwarding a packet among a plurality of edge routers | |
US8787147B2 (en) | Ten gigabit Ethernet port protection systems and methods | |
RU2730086C1 (en) | Switching method with combination of reservation group, control device and optical communication device | |
CN101800774A (en) | Environmental-friendly accessing method and environmental-friendly accessing network | |
JP2008167315A (en) | Redundant line connecting method and wide-area communication network node device | |
US20120033549A1 (en) | Method and System for Implementing Network Element-Level Redundancy | |
CN100446476C (en) | Method and apparatus for communicating network trouble dtecting result | |
CN108023800A (en) | A kind of guard method of LTE bearer networks and device | |
CN102857435B (en) | Method and device for forwarding three-layer data flow in data center site | |
US20080212610A1 (en) | Communication techniques and generic layer 3 automatic switching protection | |
CN106878180B (en) | Cluster router route control method and device and cluster router | |
US8553531B2 (en) | Method and system for implementing network element-level redundancy |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |