CN109889367A - The method and system of LACP NSR are realized in the distributed apparatus for not supporting NSR - Google Patents

The method and system of LACP NSR are realized in the distributed apparatus for not supporting NSR Download PDF

Info

Publication number
CN109889367A
CN109889367A CN201910008945.0A CN201910008945A CN109889367A CN 109889367 A CN109889367 A CN 109889367A CN 201910008945 A CN201910008945 A CN 201910008945A CN 109889367 A CN109889367 A CN 109889367A
Authority
CN
China
Prior art keywords
lacp
nsr
distributed apparatus
contract
project
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
Application number
CN201910008945.0A
Other languages
Chinese (zh)
Other versions
CN109889367B (en
Inventor
毛斐
王丽珍
强小应
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201910008945.0A priority Critical patent/CN109889367B/en
Publication of CN109889367A publication Critical patent/CN109889367A/en
Application granted granted Critical
Publication of CN109889367B publication Critical patent/CN109889367B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of in the distributed apparatus for not supporting NSR realizes the method and system of LACP NSR, is related to the field LACP.Method includes the following steps: configuring LACP function in the distributed apparatus for not supporting NSR, Forwarding plane business is kept not interrupt to maintain the LACP state before masterslave switchover the centralization transmitting-receiving packet function separation of LACP;The state machine information of LACP is backuped in slave control board from the main control board of LACP in real time, the state of LACP is constant after guarantee masterslave switchover, realizes LACP NSR.The present invention can realize the NSR function of LACP with lesser cost in the distributed apparatus for not supporting NSR.

Description

The method and system of LACP NSR are realized in the distributed apparatus for not supporting NSR
Technical field
The present invention relates to the field LACP, it is specifically related to a kind of realize LACP in the distributed apparatus for not supporting NSR The method and system of NSR.
Background technique
LACP (Link Aggregation Control Protocol, link aggregation based on IEEE802.3ad standard Control protocol) it is a kind of agreement for realizing link dynamic convergence.LACP agreement passes through LACPDU (Link Aggregation Control Protocol Data Unit, link aggregate control protocol data cell) and opposite end interactive information.
The use occasion of LACP agreement:
It (1), can be by logical aggregate spread bandwidth to N times of former link in the case where bandwidth is more nervous.
(2) in the case where needing to carry out dynamic backup to link, it can be polymerize by configuration link and realize same polymerization Dynamic backup each other between each member port of group.
The port for starting LACP can be there are two types of operating mode: Passive and Active.
Passive: Passive Mode, the mode lower port will not active transmission Link Aggregation Control Protocol Data Unit, receiving opposite end send LACP message after, the port enter agreement calculate state.
Active: aggressive mode, the mode lower port actively can send Link Aggregation Control Protocol Data Unit to opposite end, carry out LACP agreement It calculates.
After the LACP agreement for enabling certain port, which will notice the System Priority of oneself by transmission LACPDU to opposite end Grade, system MAC Address, port priority, port numbers and Operational Key (key value).After opposite end receives these information, by these The port that information can be converged compared with the information that other ports are saved with selection, so that both sides can be added or move back to port Some dynamic convergence group is reached an agreement out.
Operational Key is in trunking, and LACP agreement is according to configuration (i.e. rate, duplex, basic configuration, the pipe of port Manage Key) generate a configuration combine.
After enabling LACP agreement, management Key defaults to zero for dynamic convergence port.Static state convergence port is enabling LACP Afterwards, the management Key of port is identical as convergence group ID.
For dynamic convergence group, centainly there is identical Operational Key with group membership, and by hand and in static convergence group, Port Operational Key having the same in Active.
Trunking is that multiple trunkings are formed to a convergence group together, to realize in/out load in convergence group In sharing in each member port, while also providing higher connection reliability.
NSR (Non-Stop Routing, routing free of discontinuities) be in the equipment for having main control board and slave control board, A kind of reliability engineering of neighborhood is not influenced when main control board breaks down, by agreement back mechanism, realizes master It is not interrupted for control plane (routing) and Forwarding plane (business) when switching.Realize that the cost of NSR function is very high, NSR is to whole A equipment it is more demanding, general distributed apparatus does not support NSR function, in the distributed apparatus for not supporting NSR function, LACP can not generally also support the NSR function of LACP.
Summary of the invention
The purpose of the invention is to overcome the shortcomings of above-mentioned background technique, provide a kind of in the distribution for not supporting NSR The method and system that LACP NSR is realized in equipment, can be realized in the distributed apparatus for not supporting NSR with lesser cost The NSR function of LACP.
In a first aspect, providing a kind of method for realizing LACP NSR in the distributed apparatus for not supporting NSR, including following Step:
The configuration link convergence control protocol LACP function in the distributed apparatus for not supporting routing NSR free of discontinuities, will The centralization transmitting-receiving packet function separation of LACP, to maintain the LACP state before masterslave switchover, keep Forwarding plane business not in It is disconnected;
The state machine information of LACP is backuped in slave control board from the main control board of LACP in real time, guarantee is active and standby The state for changing rear LACP is constant, realizes LACP NSR.
It is can guarantee during masterslave switchover in this way, LACP protocol massages can normally be sent, and convey this distributed apparatus LACP The normal packet receiving of LACP energy of the connected opposite end distributed apparatus of function, maintains LACP agreement not interrupt, to maintain masterslave switchover Preceding LACP state, allows Forwarding plane business not interrupt.Terminal device is negotiated successfully, after LACP is in stable condition, equipment at one end Carry out masterslave switchover, terminal device be not in LACP protocol status concussion, thus influence forwarding surface flow concussion, can with compared with Small cost realizes the NSR function of LACP in the distributed apparatus for not supporting NSR.
It is described to receive the centralization of LACP according in a first aspect, in the first feasible implementation of first aspect Function of giving out a contract for a project separation, concrete mode are as follows: the master control borad of distributed apparatus realizes packet receiving function, and the line card of distributed apparatus realizes hair Packet function.
According to the first feasible implementation of first aspect, in second of feasible implementation of first aspect In, the state machine of the LACP includes: to send state machine RX, selection logic state machine Selection Logic, admixture machine MUX, period give out a contract for a project state machine Periodic, give out a contract for a project state machine TX, wherein send state machine RX, selection logic state machine Selection Logic, admixture machine MUX are run in the master control borad of distributed apparatus, and the period gives out a contract for a project state machine Periodic and the state machine TX that gives out a contract for a project are run in the line card of distributed apparatus.
According to the first feasible implementation of first aspect, in the third feasible implementation of first aspect In, this method is further comprising the steps of: the master control borad of distributed apparatus controls no periodic NO_PERIODIC, fast period FAST_ The switching of PERIODIC and slow this 3 kinds of modes of giving out a contract for a project of period SLOW_PERIODIC: the master control borad of distributed apparatus is arranged one and cuts Dehorn shows, the master control borad of distributed apparatus gives out a contract for a project mode when needing to modify, and switching mark is sent to line card, indicates line card Change mode of giving out a contract for a project.
According to the first feasible implementation of first aspect, in the 4th kind of feasible implementation of first aspect In, this method is further comprising the steps of: when state mutation, the master control borad of distributed apparatus by the state machine of LACP immediately The NTT that gives out a contract for a project label is set as true, and notifies line card, and line card receives NTT when being true, LACP protocol massages is sent, to reach shape State fast convergence.
According to the first feasible implementation of first aspect, in the 5th kind of feasible implementation of first aspect In, this method is further comprising the steps of: the master control borad and line card of distributed apparatus carry out LACP information exchange, and master control borad notices line The information of card include the port information of the affiliated link aggregation group LAG of LACP, LACP port members information, opposite end send LACP report This client information, the NTT label, switching mark of giving out a contract for a project carried in text, the information of line card notice master control borad includes that port sends LACP The quantity of protocol massages.
According to the 5th of first aspect the kind of feasible implementation, in the 6th kind of feasible implementation of first aspect In, the port information of the affiliated link aggregation group LAG of LACP includes system priority, system identifier;The LACP port members Information includes port numbers, port priority, port operation key value, port status;It is taken in the LACP message that the opposite end is sent The local terminal information of band includes system priority, system identifier, port numbers, port priority, port operation key value, port status.
Second aspect provides a kind of system that LACP NSR is realized in the distributed apparatus for not supporting NSR, comprising:
Configuration unit is used for: the configuration link convergence control protocol in the distributed apparatus for not supporting routing NSR free of discontinuities LACP function;
Give out a contract for a project unit, be used for: sending LACP protocol massages;
Packet receiving unit, is used for: receiving the LACP agreement that the opposite equip. being connected with this distributed apparatus LACP function is sent Message;
Give out a contract for a project unit and packet receiving unit independent operating, it is common that LACP agreement is maintained not interrupt, thus before maintaining masterslave switchover LACP state, keep Forwarding plane business do not interrupt;
State machine information backup units, are used for: the state machine information of LACP is standby from the main control board of LACP in real time Part is into slave control board, and the state of LACP is constant after guarantee masterslave switchover, realizes LACP NSR.
It is can guarantee during masterslave switchover in this way, LACP protocol massages can normally be sent, and convey this distributed apparatus LACP The normal packet receiving of LACP energy of the connected opposite end distributed apparatus of function, maintains LACP agreement not interrupt, to maintain masterslave switchover Preceding LACP state, allows Forwarding plane business not interrupt.Terminal device is negotiated successfully, after LACP is in stable condition, equipment at one end Carry out masterslave switchover, terminal device be not in LACP protocol status concussion, thus influence forwarding surface flow concussion, can with compared with Small cost realizes the NSR function of LACP in the distributed apparatus for not supporting NSR.
According to second aspect, in the first feasible implementation of second aspect, the unit of giving out a contract for a project is by distribution The line card of equipment realizes that packet receiving unit is realized by the master control borad of distributed apparatus.
According to the first feasible implementation of second aspect, in second of feasible implementation of second aspect In, the state machine of the LACP includes: to send state machine RX, selection logic state machine Selection Logic, admixture machine MUX, period give out a contract for a project state machine Periodic, give out a contract for a project state machine TX, wherein send state machine RX, selection logic state machine Selection Logic, admixture machine MUX are run in the master control borad of distributed apparatus, and the period gives out a contract for a project state machine Periodic and the state machine TX that gives out a contract for a project are run in the line card of distributed apparatus.
According to the first feasible implementation of second aspect, in the third feasible implementation of second aspect In, master control borad control no periodic NO_PERIODIC, fast period FAST_PERIODIC and the slow period SLOW_ of distributed apparatus The switching of this 3 kinds of modes of giving out a contract for a project of PERIODIC: the master control borad of distributed apparatus is arranged a switching and indicates, the master of distributed apparatus Control plate gives out a contract for a project mode when needing to modify, and switching mark is sent to line card, instruction line card changes mode of giving out a contract for a project.
According to the first feasible implementation of second aspect, in the 4th kind of feasible implementation of second aspect In, when state mutation, the master control borad of distributed apparatus sets true for the NTT label of giving out a contract for a project immediately in the state machine of LACP, And notifying line card, line card receives NTT when being true, LACP protocol massages is sent, to reach state fast convergence.
Compared with prior art, advantages of the present invention is as follows:
The present invention configures LACP function in the distributed apparatus for not supporting NSR, by the centralization transmitting-receiving packet function of LACP Separation keeps Forwarding plane business not interrupt to maintain the LACP state before masterslave switchover;The state machine information of LACP is real When backuped in slave control board from the main control board of LACP, guarantee masterslave switchover after LACP state it is constant, realize LACP NSR.Terminal device is negotiated successfully, and after LACP is in stable condition, equipment carries out masterslave switchover at one end, and terminal device is not in The concussion of LACP protocol status can not support the distribution of NSR to set to influence the concussion of forwarding surface flow with lesser cost The standby middle NSR function of realizing LACP.
Detailed description of the invention
Fig. 1 is the process for realizing the method for LACP NSR in the embodiment of the present invention in the distributed apparatus for not supporting NSR Figure.
Fig. 2 is the schematic diagram of integrality machine as defined in ieee standard.
Fig. 3 is the schematic diagram of state machine of giving out a contract for a project in the period as defined in ieee standard.
Fig. 4 is the schematic diagram of the master control board state machine of distributed apparatus in the embodiment of the present invention.
Fig. 5 is the schematic diagram of the line card state machine of distributed apparatus in the embodiment of the present invention.
Fig. 6 is the schematic diagram of the periodic status machine after the line card of distributed apparatus in the embodiment of the present invention is given out a contract for a project.
Fig. 7 is that the line card of distributed apparatus in the embodiment of the present invention is given out a contract for a project the schematic diagram of state machine.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is described in further detail.
Embodiment 1
Shown in Figure 1, the embodiment of the present invention provides a kind of realization LACP NSR in the distributed apparatus for not supporting NSR Method, comprising the following steps:
S1, LACP function is configured in the distributed apparatus for not supporting NSR, by the centralization transmitting-receiving packet function point of LACP From, such as: the master control borad of distributed apparatus realizes packet receiving function, and the line card of distributed apparatus realizes function of giving out a contract for a project.It can protect in this way During masterslave switchover, LACP protocol massages can normally be sent card, convey the connected opposite equip. of this equipment LACP function LACP can normal packet receiving, maintain LACP agreement not interrupt, to maintain the LACP state before masterslave switchover, allow Forwarding plane business It does not interrupt.
S2, each state machine information of current LACP is backuped into spare master from the main control board of distributed apparatus in real time It controls in plate, just can guarantee that the state of LACP after masterslave switchover is constant in this way, it is final to realize LACP NSR.
The embodiment of the present invention configures LACP function in the distributed apparatus for not supporting NSR, and the centralization of LACP is received and dispatched Packet function separation, backups to spare master from the main control board of distributed apparatus in real time for each state machine information of current LACP It controls in plate.Terminal device is negotiated successfully, and after LACP is in stable condition, equipment carries out masterslave switchover at one end, and terminal device will not go out Existing LACP protocol status concussion, so that the concussion of forwarding surface flow is influenced, it can be with lesser cost in the distribution for not supporting NSR The NSR function of LACP is realized in equipment.
Embodiment 2
The embodiment of the present invention provides a kind of system that LACP NSR is realized in the distributed apparatus for not supporting NSR, this is System includes:
Configuration unit is used for: the configuration link convergence control protocol in the distributed apparatus for not supporting routing NSR free of discontinuities LACP function;
Give out a contract for a project unit, be used for: sending LACP protocol massages;
Packet receiving unit, is used for: receiving the LACP agreement that the opposite equip. being connected with this distributed apparatus LACP function is sent Message;
Give out a contract for a project unit and packet receiving unit independent operating, it is common that LACP agreement is maintained not interrupt, thus before maintaining masterslave switchover LACP state, keep Forwarding plane business do not interrupt.
State machine information backup units are used for: by each state machine information of current LACP in real time from the master of distributed apparatus It is backuped in slave control board with master control borad, just can guarantee that the state of LACP after masterslave switchover is constant in this way, finally realize LACP NSR。
Such as: unit of giving out a contract for a project is realized that packet receiving unit is realized by the master control borad of distributed apparatus by the line card of distributed apparatus. The master control borad of distributed apparatus realizes packet receiving function, and the line card of distributed apparatus realizes function of giving out a contract for a project.It is can guarantee in this way active and standby During switching, LACP protocol massages can normally be sent, and convey the connected opposite end distributed apparatus of this distributed apparatus LACP function LACP can normal packet receiving, maintain LACP agreement not interrupt, to maintain the LACP state before masterslave switchover, allow Forwarding plane industry Business is not interrupted.
The embodiment of the present invention configures LACP function in the distributed apparatus for not supporting NSR, and the centralization of LACP is received and dispatched Packet function separation, give out a contract for a project unit and packet receiving unit independent operating are common that LACP agreement is maintained not interrupt, to maintain masterslave switchover Preceding LACP state keeps Forwarding plane business not interrupt.
State machine information backup units are by each state machine information of current LACP in real time from the primary master of distributed apparatus Board back-up is controlled into slave control board.Terminal device is negotiated successfully, and after LACP is in stable condition, equipment progress at one end is active and standby It changes, terminal device is not in that the concussion of LACP protocol status can be existed to influence the concussion of forwarding surface flow with lesser cost The NSR function that LACP is realized in the distributed apparatus of NSR is not supported.
Embodiment 3
On the basis of embodiment 1 or 2, packet receiving function, distribution are realized the following detailed description of the master control borad of distributed apparatus The line card of formula equipment realizes function of giving out a contract for a project.
It is shown in Figure 2, the LACP state machine transmitting-receiving provided according to the LACP chapters and sections of " IEEE Std 802.3ad " and shape State calculates, and the state machine of LACP includes: that Periodic (give out a contract for a project state by Periodic Transmission machine, period Machine), TX (Transmit machine, state machine of giving out a contract for a project), RX (Receive machine, send state machine), Selection Logic (selection logic state machine) and MUX (Mux machine, admixture machine).
NTT (Need To Transmit, give out a contract for a project immediately) in LACP state machine is mark of giving out a contract for a project immediately, RX (Receive Machine sends state machine), Periodic (Periodic Transmission machine period give out a contract for a project state machine), MUX (Mux machine admixture machine) will be updated NTT mark.All LACP state machines will be updated Correlation selection data, finally work as When NTT mark is " TRUE " (true), TX (Transmit machine, state machine of giving out a contract for a project) retransmits message.
The state machine of giving out a contract for a project of period as defined in ieee standard is shown in Figure 3, the Periodic Transmission in Fig. 3 Machine (period give out a contract for a project state machine) realizes function of giving out a contract for a project, and mainly realizes NO_PERIODIC (no periodic), FAST_PERIODIC The switching of the mode of giving out a contract for a project of (fast period) and SLOW_PERIODIC (slow period).PERIODIC_TX (period transmission) is one temporary State, the switching that the realization speed period gives out a contract for a project.Give out a contract for a project after cycle time of giving out a contract for a project arrives previously for these three, it all can operating status Machine, setting NTT give out a contract for a project mark, judge that NTT occurrence is given out a contract for a project when giving out a contract for a project.
In the embodiment of the present invention, RX (Receive machine, send state machine), Selection Logic can be allowed (selection logic state machine) and MUX (Mux machine, admixture machine) are run in the master control borad of distributed apparatus, referring to Shown in Fig. 4;Allow Periodic (Periodic Transmission machine, period give out a contract for a project state machine) and TX (Transmit Machine, state machine of giving out a contract for a project) it is run in the line card of distributed apparatus, it is shown in Figure 5.
Shown in Figure 4, after the master control borad of distributed apparatus receives message, (Receive machine sends state to RX Machine), Selection Logic (selection logic state machine), MUX (Mux machine admixture machine) is according to as defined in standard Operation, if the master control borad discovery of distributed apparatus needs to give out a contract for a project at once, will give out a contract for a project immediately when the operation of these three states NTT flag notification to line card, allow line card to send out at once and contract out, rather than wait timer expiries.When three state machines are run At the end of, the master control borad of distributed apparatus is also required to notify the message information currently given out a contract for a project to line card and give out a contract for a project the period.
It is shown in Figure 5, after the line card of distributed apparatus receives the message of master control borad, if it find that need to give out a contract for a project immediately, TX is called to give out a contract for a project immediately;If it find that opposite end state changes, need to rerun Periodic (Periodic Transmission machine, periodic transfer state machine), and find that port initially creates, it is also desirable to it runs Periodic state machine.
Embodiment 4
On the basis of embodiment 3, although function of giving out a contract for a project to be put into the line card of distributed apparatus, the master of distributed apparatus It controls plate and realizes packet receiving function, the line card of distributed apparatus realizes function of giving out a contract for a project, and still, the master control borad of distributed apparatus still will be controlled NO_PERIODIC (no periodic), FAST_PERIODIC (fast period) and this 3 kinds of parties awarding the contract of SLOW_PERIODIC (slow period) processed The switching of formula, detailed process are as follows: the master control borad of distributed apparatus is arranged a switching and indicates, when the master control borad of distributed apparatus is sent out When mode of now giving out a contract for a project needs to modify, switching mark is sent to line card, instruction line card changes mode of giving out a contract for a project, and it is shown in Figure 6, and It is switched over shown in non-Fig. 3 by original Periodic condition mode.
Shown in Figure 6, the line card of distributed apparatus is indifferent to the message content variation received, and being only concerned mark of giving out a contract for a project is The update of no update and opposite end state, the master control borad of distributed apparatus, which needs to push to line card, gives out a contract for a project the period, and notifies to give out a contract for a project week The variation of phase.
Embodiment 5
On the basis of embodiment 3, the NTT in LACP state machine is marked, it is shown in Figure 2, when state mutation, Such as: perhaps controlled state switches link physical state or the opposite end message that receives is without this client information, the master of distributed apparatus Control plate just sets the NTT label of giving out a contract for a project immediately in the state machine of LACP to " TRUE " (true), and distribution of notifications formula equipment Line card, the line card of distributed apparatus receive NTT be TRUE when, immediately send a LACP protocol massages.
It is shown in Figure 7, after cycle time has arrived, state machine of giving out a contract for a project can be all run, if the master control of distributed apparatus Plate finds stateful change, needs to be arranged NTT and gives out a contract for a project mark, when propelling data, the line card discovery NTT of distributed apparatus When for " TRUE " (true), a LACP protocol massages are sent at once, to reach state fast convergence.
Embodiment 6
On the basis of embodiment 3, the master control borad and line card of distributed apparatus carry out LACP information exchange, master control borad notice The information of line card includes the port information of the affiliated LAG of LACP (Link Aggregation Group, link aggregation group), the end LACP This client information, the NTT label, switching mark of giving out a contract for a project carried in the LACP message that mouth information about firms, opposite end are sent, line card notice master The information of control plate includes the quantity that port sends LACP protocol massages.
The port information of the affiliated LAG of LACP includes system priority, system identifier.
LACP port members' information includes port numbers, port priority, port operation key value, port status.
The local terminal information that carries includes that system priority, system identifier, port numbers, port are excellent in the LACP message that opposite end is sent First grade, port operation key value, port status.
Those skilled in the art can carry out various modifications to the embodiment of the present invention and modification, if these modifications and change For type within the scope of the claims in the present invention and its equivalent technologies, then these modifications and variations are also in protection scope of the present invention Within.
The prior art that the content being not described in detail in specification is known to the skilled person.

Claims (12)

1. a kind of method for realizing LACP NSR in the distributed apparatus for not supporting NSR, which is characterized in that including following step It is rapid:
The configuration link convergence control protocol LACP function in the distributed apparatus for not supporting routing NSR free of discontinuities, by LACP's Centralization transmitting-receiving packet function separation keeps Forwarding plane business not interrupt to maintain the LACP state before masterslave switchover;
The state machine information of LACP is backuped in slave control board from the main control board of LACP in real time, after guaranteeing masterslave switchover The state of LACP is constant, realizes LACP NSR.
2. the method for realizing LACP NSR in the distributed apparatus for not supporting NSR as described in claim 1, feature exist In: the centralization transmitting-receiving packet function separation by LACP, concrete mode are as follows: the master control borad of distributed apparatus realizes packet receiving function Can, the line card of distributed apparatus realizes function of giving out a contract for a project.
3. the method for realizing LACP NSR in the distributed apparatus for not supporting NSR as claimed in claim 2, feature exist In: the state machine of the LACP include: send state machine, selection logic state machine, admixture machine, period give out a contract for a project state machine, Give out a contract for a project state machine, wherein send state machine, selection logic state machine, admixture machine and transported in the master control borad of distributed apparatus Row, the period gives out a contract for a project state machine and state machine of giving out a contract for a project is run in the line card of distributed apparatus.
4. the method for realizing LACP NSR in the distributed apparatus for not supporting NSR as claimed in claim 2, feature exist In: this method is further comprising the steps of: this 3 kinds of master control borad control no periodic, fast period and the slow period of distributed apparatus give out a contract for a project The switching of mode: the master control borad of distributed apparatus is arranged a switching mark, and the master control borad of distributed apparatus is given out a contract for a project mode When needing to modify, switching mark is sent to line card, instruction line card changes mode of giving out a contract for a project.
5. the method for realizing LACP NSR in the distributed apparatus for not supporting NSR as claimed in claim 2, feature exist In: this method is further comprising the steps of: when state mutation, the master control borad of distributed apparatus by the state machine of LACP immediately The NTT that gives out a contract for a project label is set as true, and notifies line card, and line card receives NTT when being true, LACP protocol massages is sent, to reach shape State fast convergence.
6. the method for realizing LACP NSR in the distributed apparatus for not supporting NSR as claimed in claim 2, feature exist In: this method is further comprising the steps of: the master control borad and line card of distributed apparatus carry out LACP information exchange, and master control borad notices line The information of card include the port information of the affiliated link aggregation group of LACP, LACP port members information, opposite end send LACP message This client information of middle carrying, NTT label, switching mark of giving out a contract for a project, the information of line card notice master control borad include that port sends LACP association Discuss the quantity of message.
7. the method for realizing LACP NSR in the distributed apparatus for not supporting NSR as claimed in claim 6, feature exist In: the port information of the affiliated link aggregation group of LACP includes system priority, system identifier;The LACP port members information Including port numbers, port priority, port operation key value, port status;It is carried in the LACP message that the opposite end is sent Local terminal information includes system priority, system identifier, port numbers, port priority, port operation key value, port status.
8. a kind of system for realizing LACP NSR in the distributed apparatus for not supporting NSR characterized by comprising
Configuration unit is used for: the configuration link convergence control protocol LACP in the distributed apparatus for not supporting routing NSR free of discontinuities Function;
Give out a contract for a project unit, be used for: sending LACP protocol massages;
Packet receiving unit, is used for: receiving the LACP protocol massages that the opposite equip. being connected with this distributed apparatus LACP function is sent;
Give out a contract for a project unit and packet receiving unit independent operating, it is common that LACP agreement is maintained not interrupt, thus before maintaining masterslave switchover LACP state keeps Forwarding plane business not interrupt;
State machine information backup units, are used for: the state machine information of LACP is backuped to from the main control board of LACP in real time In slave control board, the state of LACP is constant after guarantee masterslave switchover, realizes LACP NSR.
9. the system for realizing LACP NSR in the distributed apparatus for not supporting NSR as claimed in claim 8, feature exist In: the unit of giving out a contract for a project is realized that packet receiving unit is realized by the master control borad of distributed apparatus by the line card of distributed apparatus.
10. the system for realizing LACP NSR in the distributed apparatus for not supporting NSR as claimed in claim 9, feature exist In: the state machine of the LACP include: send state machine, selection logic state machine, admixture machine, period give out a contract for a project state machine, Give out a contract for a project state machine, wherein it is described send state machine, selection logic state machine, admixture machine distributed apparatus master control borad Middle operation, the period gives out a contract for a project state machine and state machine of giving out a contract for a project is run in the line card of distributed apparatus.
11. the system for realizing LACP NSR in the distributed apparatus for not supporting NSR as claimed in claim 9, feature exist In: the switching of master control borad the control no periodic, this 3 kinds of modes of giving out a contract for a project of fast period and slow period of the distributed apparatus: distributed The master control borad of equipment is arranged a switching mark, and the master control borad of distributed apparatus gives out a contract for a project mode when needing to modify, and will switch Mark is sent to line card, and instruction line card changes mode of giving out a contract for a project.
12. the system for realizing LACP NSR in the distributed apparatus for not supporting NSR as claimed in claim 9, feature exist In: when state mutation, the master control borad of the distributed apparatus sets the NTT label of giving out a contract for a project immediately in the state machine of LACP to Very, and line card is notified, line card receives NTT when being true, LACP protocol massages is sent, to reach state fast convergence.
CN201910008945.0A 2019-01-04 2019-01-04 Method and system for realizing LACP NSR in distributed equipment not supporting NSR Active CN109889367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910008945.0A CN109889367B (en) 2019-01-04 2019-01-04 Method and system for realizing LACP NSR in distributed equipment not supporting NSR

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910008945.0A CN109889367B (en) 2019-01-04 2019-01-04 Method and system for realizing LACP NSR in distributed equipment not supporting NSR

Publications (2)

Publication Number Publication Date
CN109889367A true CN109889367A (en) 2019-06-14
CN109889367B CN109889367B (en) 2021-08-03

Family

ID=66925648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910008945.0A Active CN109889367B (en) 2019-01-04 2019-01-04 Method and system for realizing LACP NSR in distributed equipment not supporting NSR

Country Status (1)

Country Link
CN (1) CN109889367B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007139542A1 (en) * 2006-05-30 2007-12-06 Lucent Technologies Inc. Uninterrupted network control message generation during local node outages
CN101355515A (en) * 2008-09-05 2009-01-28 中兴通讯股份有限公司 Method for restarting link polymerize control protocol with elegance
CN101984573A (en) * 2010-11-15 2011-03-09 中兴通讯股份有限公司 Method and system for distributed realization of LACP standard state machine
CN102075343A (en) * 2009-11-20 2011-05-25 杭州华三通信技术有限公司 An out-of-band management realization method, a system for the same and an out-of-band management switch
CN102355367A (en) * 2011-09-09 2012-02-15 中兴通讯股份有限公司 Method and device for preventing deadlock of distributed link aggregation control protocol (LACP) receive machine
CN107528706A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 A kind of equipment main and standby rearranging method and device based on link protocol

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007139542A1 (en) * 2006-05-30 2007-12-06 Lucent Technologies Inc. Uninterrupted network control message generation during local node outages
CN101355515A (en) * 2008-09-05 2009-01-28 中兴通讯股份有限公司 Method for restarting link polymerize control protocol with elegance
CN102075343A (en) * 2009-11-20 2011-05-25 杭州华三通信技术有限公司 An out-of-band management realization method, a system for the same and an out-of-band management switch
CN101984573A (en) * 2010-11-15 2011-03-09 中兴通讯股份有限公司 Method and system for distributed realization of LACP standard state machine
CN102355367A (en) * 2011-09-09 2012-02-15 中兴通讯股份有限公司 Method and device for preventing deadlock of distributed link aggregation control protocol (LACP) receive machine
CN107528706A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 A kind of equipment main and standby rearranging method and device based on link protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑涛 等: "基于LACP协议的链路聚合状态机模块的实现", 《计算机系统应用》 *

Also Published As

Publication number Publication date
CN109889367B (en) 2021-08-03

Similar Documents

Publication Publication Date Title
CN104639464B (en) The system and method for switch-spanning link aggregation is realized on OpenFlow interchangers
KR101989333B1 (en) Data forwarding method, device and system in software-defined networking
CN104253764B (en) Link aggregation method and device
CN102469021B (en) Method of transmitting business flow and member equipment in intelligent resilience frame system
CN102724030A (en) Stacking system with high reliability
CN101984606A (en) Device-level redundancy protection method and system based on LACP
WO2009023996A1 (en) Method for implementing network interconnect via link aggregation
CN104104570A (en) Aggregation processing method in IRF (Intelligent Resilient Framework) system and device
CN112968836B (en) Cross-device aggregation link configuration method, device, equipment and readable storage medium
CN103905326A (en) Ethernet link aggregation packet forwarding control method and network equipment
JP2007088949A (en) Information processing apparatus, communication load diffusing method and communication load diffusion program
WO2012065337A1 (en) Distributed method and system for implementing link aggregation control protocol (lacp) standard state machines
CN102148677A (en) Method for updating address resolution protocol table entries and core switch
CN104080132B (en) A kind of data processing method and equipment
CN107769984B (en) Low-cost active/standby hot switching system and method based on gateway
CN103002065A (en) Method and device for sharing internet protocol (IP) address by host device and standby device
CN101989953A (en) Method and equipment for sending bidirectional forwarding detection message
CN101710865A (en) Method and device for rapid active-standby switching in network equipment
CN113259235A (en) IPv 6-based dual-active route redundancy method and system
CN110278094B (en) Link recovery method, device, system, storage medium and electronic device
CN106911597A (en) A kind of board-spanning forwarding method and apparatus
CN102143043A (en) Method and device for establishing label switching path
CN110011912A (en) Case type switching equipment uplink switching method and device
CN103840972A (en) System and method for backup between link aggregation groups in packet switched network
JP4751213B2 (en) Link aggregation processing apparatus and processing method

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