CN106911597A - A kind of board-spanning forwarding method and apparatus - Google Patents
A kind of board-spanning forwarding method and apparatus Download PDFInfo
- Publication number
- CN106911597A CN106911597A CN201710079164.1A CN201710079164A CN106911597A CN 106911597 A CN106911597 A CN 106911597A CN 201710079164 A CN201710079164 A CN 201710079164A CN 106911597 A CN106911597 A CN 106911597A
- Authority
- CN
- China
- Prior art keywords
- opposite end
- cable card
- local terminal
- card board
- spare interface
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/15—Interconnection of switching modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
- H04L49/252—Store and forward routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Structure Of Telephone Exchanges (AREA)
Abstract
A kind of board-spanning forwarding method and apparatus are the embodiment of the invention provides, to complete the board-spanning forwarding of flow on cable card board when the master control borad of member device is restarted.Described method includes:When detecting opposite end spare interface and switching to state of activation, the local terminal spare interface being connected with the opposite end spare interface is switched into state of activation, take over the corresponding cable card board of the opposite end spare interface, wherein, the opposite end spare interface switches to state of activation when the master control borad of opposite end member device is restarted;The cable card board of local terminal receives the flow of the opposite end spare interface of connection by local terminal spare interface, and the opposite end spare interface is cable card board where the incoming interface of opposite end;The flow is sent to the cable card board of local terminal the master control borad of local terminal, and the forwarding of the flow is controlled by the master control borad of the local terminal.So as to ensure that when master control borad is restarted flow being capable of normal board-spanning forwarding, it is ensured that the normal execution of business.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of board-spanning forwarding method and a kind of board-spanning forwarding device.
Background technology
IRF (Intelligent Resilient Framework, intelligent elastic framework) is a kind of software virtualization skill
Art.Multiple devices can be linked together and carry out necessary with postponing by IRF, be virtualized into an equipment.Using this virtual
Change technology can gather the hardware resource and software processing capability of multiple devices, realize the collaborative work of multiple devices, unified pipe
Reason and uninterrupted maintenance.
So as to IRF can link together multiple member devices, common management, distribution, process task.Wherein, for
The member device that master control sheet is unified with web plate, it includes web plate and cable card board, and web plate can be managed scheduling, line to cable card board
Clamp can be with process task.
But, for this kind of member device, when master control borad is that web plate is restarted, because data traffic is in board-spanning forwarding
When need by web plate, therefore restarting for web plate can cause be communicated between cable card board, so as to straddle flow cannot be completed
Forwarding.
The content of the invention
Embodiment of the present invention technical problem to be solved is to provide a kind of board-spanning forwarding method, with the master of member device
Control plate completes the board-spanning forwarding of flow on cable card board when restarting.
Accordingly, the embodiment of the present invention additionally provides a kind of board-spanning forwarding device, be used to ensure the realization of the above method and
Using.
In order to solve the above problems, the invention discloses a kind of board-spanning forwarding method, including:Detect opposite end spare interface
When switching to state of activation, the local terminal spare interface being connected with the opposite end spare interface is switched into state of activation, take over institute
The corresponding cable card board of opposite end spare interface is stated, wherein, the opposite end spare interface is when the master control borad of opposite end member device is restarted
Switch to state of activation;The cable card board of local terminal receives the flow of the opposite end spare interface of connection by local terminal spare interface, described
Opposite end spare interface is cable card board where the incoming interface of opposite end;The flow is sent to the cable card board of local terminal the master control borad of local terminal,
The forwarding of the flow is controlled by the master control borad of the local terminal.
Optionally, the forwarding includes:This frame board-spanning forwarding;It is described that turning for the flow is controlled by the master control borad
Hair, including:The flow is sent to target cable card board by the master control borad of the local terminal, and the local terminal of the target cable card board is reserved to be connect
Mouth is connected with the opposite end spare interface of cable card board where the outgoing interface of opposite end;The target cable card board, will by local terminal spare interface
The flow is sent to cable card board where the opposite end outgoing interface.
Optionally, the forwarding includes:Across frame forwarding;The forwarding by the master control borad control flow, bag
Include:The master control borad of the local terminal flow is sent to local terminal outgoing interface where cable card board.
Optionally, also include:Forwarding-table item is handed down to the master control borad of local terminal the cable card board of local terminal;The cable card board pair of local terminal
Answer local terminal spare interface to pass through the opposite end spare interface for connecting, forwarding-table item is synchronized to the cable card board of opposite end.
Optionally, also include:When detecting opposite end spare interface and reverting to unactivated state, reserved with the opposite end will connect
The local terminal spare interface of mouth connection reverts to unactivated state, discharges the corresponding cable card board of the opposite end spare interface, wherein, it is right
End spare interface reverts to unactivated state after the completion of the master control borad of opposite end member device is restarted.
The embodiment of the invention also discloses a kind of board-spanning forwarding device, including:Adapter module, reserves for detecting opposite end
When interface switches to state of activation, the local terminal spare interface being connected with the opposite end spare interface is switched into state of activation, connect
The corresponding cable card board of the opposite end spare interface is managed, wherein, master control borad weight of the opposite end spare interface in opposite end member device
State of activation is switched to when opening;Flow receiver module, the cable card board for local terminal passes through local terminal spare interface, receives the right of connection
The flow of spare interface is held, the opposite end spare interface is cable card board where the incoming interface of opposite end;Flow forwarding module, for local terminal
Cable card board the flow is sent to the master control borad of local terminal, the forwarding of the flow is controlled by the master control borad of the local terminal.
Optionally, the forwarding includes:This frame board-spanning forwarding;The flow forwarding module, including:This frame board-spanning forwarding
The flow is sent to target cable card board, the local terminal spare interface of the target cable card board by module, the master control borad for local terminal
Opposite end spare interface with cable card board where the outgoing interface of opposite end is connected;The target cable card board passes through local terminal spare interface, by institute
State flow and be sent to cable card board where the opposite end outgoing interface.
Optionally, the forwarding includes:Across frame forwarding;The flow forwarding module, including:Across frame forwarding submodule, uses
Cable card board where the flow is sent to local terminal outgoing interface by the master control borad of local terminal.
Optionally, also include:Forwarding-table item is handed down to synchronization module, the master control borad for local terminal the cable card board of local terminal;
Forwarding-table item is synchronized to the line card of opposite end by the opposite end spare interface for connecting for the cable card board correspondence local terminal spare interface of local terminal
Plate.
Optionally, the adapter module, is additionally operable to detect opposite end spare interface when reverting to unactivated state, will be with institute
The local terminal spare interface for stating opposite end spare interface connection reverts to unactivated state, discharges the corresponding line of the opposite end spare interface
Clamp, wherein, opposite end spare interface reverts to unactivated state after the completion of the master control borad of opposite end member device is restarted.
Compared with prior art, the embodiment of the present invention includes advantages below:
In the embodiment of the present invention in member device master control borad restarting process, the cable card board of the member device is not with master control borad weight
Open, but by switching to the spare interface of state of activation, taken over by other member devices of normal work, so that this is connect
The flow that the cable card board of pipe is received is sent to the member device of adapter, the master control borad of the member device of the adapter by spare interface
Flow forwarding is controlled, so as to ensure that when master control borad is restarted flow being capable of normal board-spanning forwarding, it is ensured that business is just
Often perform.
Brief description of the drawings
Fig. 1 is a kind of schematic diagram of stack equipment in the embodiment of the present invention;
The step of Fig. 2 is a kind of board-spanning forwarding embodiment of the method for the invention flow chart;
The step of Fig. 3 is this frame board-spanning forwarding in another board-spanning forwarding embodiment of the method for the invention flow chart;
Fig. 4 be in another board-spanning forwarding embodiment of the method for the invention the step of frame is forwarded flow chart;
Fig. 5 is a kind of structured flowchart of board-spanning forwarding device embodiment of the invention;
Fig. 6 is the structured flowchart of another kind board-spanning forwarding device embodiment of the invention.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real to enable the above objects, features and advantages of the present invention more obvious understandable
The present invention is further detailed explanation to apply mode.
Can be virtually a stack equipment by multiple equipment based on IRF technologies, then each equipment can be that the stacking sets
Standby member device.For the member device that master control borad and web plate are unified, because the type equipment does not have independent web plate, flow
Board-spanning forwarding needs to be completed by master control borad, therefore when the abnormal generation master control borad of its appearance is restarted, the line on the member device
The changeable pattern of clamp, so as to by spare interface, be entered to it by other member devices of still normal work in stack equipment
Row adapter simultaneously refers to that flow leads forwarding, and the equipment in the embodiment of the present invention can be the network equipments such as interchanger.
In the embodiment of the present invention, for each member device in stack equipment, can in advance in each line of member device
At least one interface is reserved on clamp, the spare interface is properly termed as reserved stacking opening.On cable card board each spare interface and its
Spare interface connection on his member device correspondence cable card board.So that when the master control borad of a member device is restarted, Ke Yitong
Spare interface is crossed so that the cable card board of the member device continues executing with flow forwarding by other member devices adapter for normally running
Task.In the embodiment of the present invention, when member device normally runs spare interface be un-activation (inactive) state, into
Spare interface is activation (active) state when the master control borad of member's equipment is restarted.So as to the state by spare interface can determine
Whether need to take over the corresponding cable card board of the spare interface.
A kind of example of stack equipment as shown in Figure 1, the stack equipment includes member device 100 and member device 200,
Wherein, member device 100 includes:Master control borad 110, cable card board 120 and cable card board 130, member device 200 include:Master control borad
210th, cable card board 220 and cable card board 230.There is spare interface 121, cable card board 130 has spare interface 131 on cable card board 120,
There is cable card board 220 spare interface 221, cable card board 230 to have spare interface 231, wherein, spare interface 121 and spare interface
221 connections, spare interface 131 and spare interface 231 are connected.Certainly other member devices, and each cable card board can also be included
On can also include more than one spare interface, this example not enumerate.
Reference picture 2, flow chart the step of show a kind of board-spanning forwarding embodiment of the method for the invention, can specifically include
Following steps:
Step 202, when detecting opposite end spare interface and switching to state of activation, the local terminal that will be connected with opposite end spare interface
Spare interface switches to state of activation, the corresponding cable card board of adapter opposite end spare interface.
Each member device in the process of running, if the problems such as breaking down causes master control borad to be restarted, is somebody's turn to do in stack equipment
Spare interface on each cable card board can be switched to active states by member device, wherein, cable card board can be according to place member
The running status of equipment updates the state of spare interface, i.e., by spare interface when it is determined that the master control borad of place member device is restarted
Switch to active states.For the member device of normal operation in stack equipment, when it detects opposite end spare interface switching
It is active states, the local terminal spare interface being connected with the opposite end spare interface can be switched to active states, adapter should
The corresponding cable card board of opposite end spare interface, i.e., using local terminal master control board management opposite end member device cable card board.
In such as Fig. 1, if the master control borad 110 of member device 100 is again, the spare interface 121 and cable card board of cable card board 120
130 spare interface 131 switches to active states.With the angle of member device 200, member device 200 is local terminal member
Equipment, member device 100 is opposite end member device, then member device 200 can detect opposite end spare interface 121 and 131 and be
Active states, the local terminal spare interface 221 that will be connected with opposite end spare interface 121 switches to active states, and will be with
The local terminal spare interface 231 of the connection of opposite end spare interface 131 switches to active states, so that the adapter member of member device 200
The cable card board 120 and 130 of equipment 100, i.e., can manage cable card board 120 and 130 using master control borad 210.
Step 204, the cable card board of local terminal receives the flow of the opposite end spare interface of connection by local terminal spare interface, right
End spare interface is cable card board where the incoming interface of opposite end.
Flow is sent to step 206, the cable card board of local terminal the master control borad of local terminal, and flow is controlled by the master control borad of local terminal
Forwarding.
In the opposite end member device that master control borad is restarted, the cable card board (can be described as the first cable card board) where incoming interface connects
Data message i.e. flow is received, the forwarding-table item that can be checked on the cable card board determines outgoing interface, if the line card in outgoing interface
On plate, can directly forward.If outgoing interface is on other cable card boards of member device where it, or outgoing interface other into
On the cable card board of member's equipment, can be sent to by the spare interface (i.e. opposite end spare interface) of the cable card board and take over the cable card board
Member device, carry out flow forwarding with by the master control borad of the member device.In the local terminal member device of adapter cable card board, with
The local terminal interface of the opposite end spare interface connection flow, i.e. flow is transferred to the line of local terminal member device by spare interface
Clamp (can be described as the second cable card board), and then flow is sent to the cable card board master control borad of local terminal member device where it, should
Master control borad is forwarded to the flow, and the cable card board of opposite end member device is such as returned to by the control of master control borad, is and for example passed through
The control of master control borad is sent to the cable card board of other member devices.
As above in example, after managing cable card board 120 and 130 using master control borad 210, it is assumed that cable card board 120 have received needs
The flow of board-spanning forwarding.Then flow is transferred to cable card board 120 spare interface 221 of cable card board 220 by spare interface 121,
The flow is sent to master control borad 210 by cable card board 220, and 210 pairs of flows of master control borad are forwarded.
To sum up, in member device master control borad restarting process, the cable card board of the member device is not restarted with master control borad, but logical
The spare interface for switching to state of activation is crossed, is taken over by other member devices of normal work, so that the line card taken over
The flow that plate is received is sent to the member device of adapter by spare interface, and the master control borad of the member device of the adapter turns to flow
Hair is controlled, so as to ensure that when master control borad is restarted flow being capable of normal board-spanning forwarding, it is ensured that the normal execution of business.
In the embodiment of the present invention, the board-spanning forwarding of flow includes:This frame board-spanning forwarding and across frame forwarding.This frame board-spanning forwarding
Refer to flow and be forwarded to another cable card board from a cable card board of same member device, i.e., in same member device
Forwarded between cable card board;Across frame forwarding refers to the line that flow is forwarded to another member device from the cable card board of a member device
On clamp.Incoming interface be receive the data message i.e. interface of flow, outgoing interface be output data message be flow interface.
Wherein, this frame board-spanning forwarding comprises the following steps:
Reference picture 3, flows the step of show this frame board-spanning forwarding in another board-spanning forwarding embodiment of the method for the invention
Cheng Tu, specifically may include steps of:
Step 302, when detecting opposite end spare interface and switching to state of activation, the local terminal that will be connected with opposite end spare interface
Spare interface switches to state of activation, the corresponding cable card board of adapter opposite end spare interface.
Step 304, the cable card board of local terminal receives the flow of the opposite end spare interface of connection by local terminal spare interface, right
End spare interface is cable card board where the incoming interface of opposite end.
Flow is sent to step 306, the cable card board of local terminal the master control borad of local terminal.
Flow is sent to target cable card board by step 308, the master control borad of local terminal.
Flow is sent to cable card board where the outgoing interface of opposite end by step 310, target cable card board by local terminal spare interface.
Step 312, when detecting opposite end spare interface and reverting to unactivated state, the sheet that will be connected with opposite end spare interface
End spare interface reverts to unactivated state, the corresponding cable card board of release opposite end spare interface.
The member device referred to as local terminal member device of cable card board is will take in the present embodiment, will be led because master control borad is restarted
The member device referred to as opposite end member device for causing cable card board to be taken over.When the master control borad of opposite end member device is restarted, the opposite end into
Opposite end spare interface on each cable card board can be switched to active states by member's equipment.It is reserved with the opposite end in local terminal member device
The state of the local terminal spare interface of interface connection switches to active states, the active state local terminals based on two ends spare interface
Member device takes over the cable card board of opposite end spare interface, so as to can manage the line card of opposite end member device using the master control borad of local terminal
Plate.
The cable card board of opposite end can be with the line card where incoming interface in task, i.e. the opposite end member devices such as flow board-spanning forwarding
Plate (can be described as the first cable card board) receives data message i.e. flow, and the forwarding-table item that can be checked on the cable card board is determined and connect
Mouthful, if in outgoing interface on the cable card board, can directly forward.If outgoing interface is other cable card boards of opposite end member device
On (can be described as the 3rd cable card board), then board-spanning forwarding can be realized by the master control borad of local terminal member device.Opposite end member device leads to
The spare interface (can be described as the first spare interface) for crossing cable card board where the incoming interface reserves the local terminal that flow is sent to connection
Interface (can be described as the second spare interface), i.e., the cable card board of the local terminal spare interface receives flow, and the cable card board sends flow
To master control borad, master control borad checks that forwarding-table item determines target cable card board (can be described as the 4th cable card board), the local terminal of target cable card board
Spare interface (can be described as the 4th spare interface) is reserved with the opposite end of cable card board (i.e. the 3rd cable card board) where the outgoing interface of opposite end to be connect
Mouth (can be described as the 3rd spare interface) connection.Then flow is handed down to target cable card board by master control borad, and then target cable card board is used
Flow is sent to local terminal spare interface the opposite end spare interface of connection, that is, the cable card board where being sent to outgoing interface realizes flow
This frame board-spanning forwarding.
Wherein, forwarding-table item is handed down to the master control borad of local terminal the cable card board of local terminal;The cable card board correspondence local terminal of local terminal is pre-
Interface is stayed to pass through the opposite end spare interface for connecting, by the synchronous cable card board to opposite end of forwarding-table item.Taken in the master control borad of local terminal
After the cable card board of opposite end, stack equipment carves generation or updates forwarding-table item, and the master control borad of local terminal member device is obtaining the forwarding
After list item, forwarding-table item can be handed down to each cable card board of local terminal, be in the cable card board correspondence local terminal spare interface of local terminal
During active states, the opposite end that forwarding-table item is sent to connection is reserved and connect by the cable card board of local terminal by the local terminal spare interface
Mouthful, then the cable card board of opposite end spare interface can receive forwarding-table item.In the embodiment of the present invention, forwarding-table item includes:Routing forwarding
List item and MAC Address list item, wherein, data message searches route table items when being forwarded by three layers, MAC ground is searched during two layers of forwarding
Location list item.
After the master control borad of opposite end member device is restarted to be finished, its each opposite end spare interface can be reverted to inactive
State, it is corresponding to the local terminal spare interface that the opposite end spare interface is connected to revert to inactive states, local terminal member device
The corresponding cable card board of master control borad release opposite end spare interface, the line itself having is taken over by the master control borad of opposite end member device again
Clamp.
In such as Fig. 1, if the master control borad 110 of member device 100 is again, the spare interface 121 and cable card board of cable card board 120
130 spare interface 131 switches to active states.With the angle of member device 200, member device 200 is local terminal member
Equipment, member device 100 is opposite end member device, then member device 200 can detect opposite end spare interface 121 and 131 and be
Active states, the local terminal spare interface 221 that will be connected with opposite end spare interface 121 switches to active states, and will be with
The local terminal spare interface 231 of the connection of opposite end spare interface 131 switches to active states, so that the adapter member of member device 200
The cable card board 120 and 130 of equipment 100, i.e., can manage cable card board 120 and 130 using master control borad 210.Assuming that cable card board 120 is
Cable card board where incoming interface, then cable card board 120 have received the flow for needing board-spanning forwarding, the inquiry forward table of cable card board 120
Item determines outgoing interface, it may be determined that going out will perform this frame board-spanning forwarding.Cable card board 120 is transmitted flow by spare interface 121
To the spare interface 221 of cable card board 220, the flow is sent to master control borad 210, the inquiry forward table of master control borad 210 by cable card board 220
Item determines that the outgoing interface correspondence cable card board of the flow is 130, flow can be handed down into connected cable card board 230, cable card board
Flow is sent to spare interface 131 by 230 using spare interface 231, so that cable card board 130 receives the traffic messages.Also,
After the completion of master control borad 110 is restarted, the state of spare interface 121 and 131 reverts to inactive states, and accordingly connection is reserved
Interface 221 and 231 also reverts to inactive states, master control borad 210 release cable card board 120 and 130, i.e. cable card board 120 and 130
Taken over again by restarting the master control borad 110 for finishing.
So as to, for the equipment that master control and web plate are unified, when there is master control borad in the member device in stack equipment restarts,
Cable card board on the member device still can be by reserving stacking opening, this frame board-spanning forwarding of finishing service flow.
Wherein, across frame forwarding comprises the following steps:
Reference picture 4, shows in another board-spanning forwarding embodiment of the method for the invention flow chart the step of frame is forwarded,
Specifically may include steps of:
Step 402, when detecting opposite end spare interface and switching to state of activation, the local terminal that will be connected with opposite end spare interface
Spare interface switches to state of activation, the corresponding cable card board of adapter opposite end spare interface.
Step 404, the cable card board of local terminal receives the flow of the opposite end spare interface of connection by local terminal spare interface, right
End spare interface is cable card board where the incoming interface of opposite end.
Step 406, the master control borad of local terminal flow is sent to local terminal outgoing interface where cable card board.
Flow is sent to target cable card board by step 408, the master control borad of local terminal.
Step 410, when detecting opposite end spare interface and reverting to unactivated state, the sheet that will be connected with opposite end spare interface
End spare interface reverts to unactivated state, the corresponding cable card board of release opposite end spare interface.
The member device referred to as local terminal member device of cable card board is will take in the present embodiment, will be led because master control borad is restarted
The member device referred to as opposite end member device for causing cable card board to be taken over.Across the frame forwarding of flow and this frame board-spanning forwarding of flow
Process step is substantially similar, differs primarily in that the master control borad of local terminal is received after flow to the forwarding step of flow.Then opposite end into
When the master control borad of member's equipment is restarted, the opposite end spare interface on each cable card board can be switched to active shapes by the opposite end member device
State.The state of the local terminal spare interface being connected with the opposite end spare interface in local terminal member device switches to active states, base
The cable card board of opposite end spare interface is taken in the active state local terminals member device of two ends spare interface, so that using local terminal
Master control borad can manage the cable card board of opposite end member device.The cable card board of opposite end can have the tasks, i.e. opposite end such as flow board-spanning forwarding
Cable card board (can be described as the first cable card board) in member device where incoming interface receives data message i.e. flow, can check this
Forwarding-table item on cable card board determines outgoing interface, if in outgoing interface on the cable card board, can directly forward.If outgoing interface is
On other cable card boards (can be described as the 3rd cable card board) of opposite end member device, then can be realized by the master control borad of local terminal member device
Board-spanning forwarding.Opposite end member device will be flowed by the spare interface (can be described as the first spare interface) of cable card board where the incoming interface
Amount is sent to the local terminal spare interface (can be described as the second spare interface) of connection, i.e. the cable card board receiving stream of the local terminal spare interface
Flow is sent to master control borad by amount, the cable card board.
Master control borad checks that forwarding-table item determines the member device of forwarding needed for the flow, and then determines in local terminal member
Outgoing interface in equipment, the cable card board where the flow then is handed down into local terminal outgoing interface is transmitted to down by the cable card board
One member device, the member device can be the destination address place member device of the flow, or middle member device.
Wherein, forwarding-table item includes:Route forwarding table items and MAC Address list item, data message search routing table when being forwarded by three layers
, MAC Address list item is searched during two layers of forwarding.
Wherein, after the master control borad of local terminal takes over the cable card board of opposite end, stack equipment carves generation or updates forwarding-table item, this
Hold the master control borad of member device after the forwarding-table item is obtained, forwarding-table item can be handed down to each cable card board of local terminal, at this
When the cable card board correspondence local terminal spare interface at end is active states, the cable card board of local terminal will be forwarded by the local terminal spare interface
List item is sent to the opposite end spare interface of connection, then the cable card board of opposite end spare interface can receive forwarding-table item.Also, work as opposite end
After the master control borad of member device is restarted and finished, its each opposite end spare interface can be reverted to inactive states, with the opposite end
The local terminal spare interface of spare interface connection accordingly reverts to inactive states, the master control borad release opposite end of local terminal member device
The corresponding cable card board of spare interface, the cable card board itself having is taken over by the master control borad of opposite end member device again.
In such as Fig. 1, if the master control borad 110 of member device 100 is again, the spare interface 121 and cable card board of cable card board 120
130 spare interface 131 switches to active states.With the angle of member device 200, member device 200 is local terminal member
Equipment, member device 100 is opposite end member device, then member device 200 can detect opposite end spare interface 121 and 131 and be
Active states, the local terminal spare interface 221 that will be connected with opposite end spare interface 121 switches to active states, and will be with
The local terminal spare interface 231 of the connection of opposite end spare interface 131 switches to active states, so that the adapter member of member device 200
The cable card board 120 and 130 of equipment 100, i.e., can manage cable card board 120 and 130 using master control borad 210.Assuming that cable card board 120 is
Cable card board where incoming interface, then cable card board 120 have received the flow for needing board-spanning forwarding, the inquiry forward table of cable card board 120
Item determines outgoing interface, it may be determined that going out will perform this frame board-spanning forwarding.Cable card board 120 is transmitted flow by spare interface 121
To the spare interface 221 of cable card board 220, the flow is sent to master control borad 210, the inquiry forward table of master control borad 210 by cable card board 220
Item determines that the outgoing interface correspondence cable card board of the flow is 330, flow can be handed down into cable card board 230, is transmitted to by cable card board 230
Other member devices.Also, after the completion of master control borad 110 is restarted, the state of spare interface 121 and 131 reverts to inactive
State, the spare interface 221 and 231 of corresponding connection also reverts to inactive states, the release He of cable card board 120 of master control borad 210
130, i.e. cable card board 120 and 130 are taken over again by restarting the master control borad 110 for finishing.
Hence for master control and the equipment of web plate unification, when there is master control borad in the member device in stack equipment restarts,
Cable card board on the member device still can be by reserving stacking opening, across the frame forwarding of finishing service flow.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it to be all expressed as a series of action group
Close, but those skilled in the art should know, and the embodiment of the present invention is not limited by described sequence of movement, because according to
According to the embodiment of the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, the involved action not necessarily present invention is implemented
Necessary to example.
On the basis of above-described embodiment, the present embodiment additionally provides a kind of board-spanning forwarding device.
Reference picture 5, shows a kind of structured flowchart of board-spanning forwarding device embodiment of the invention, can specifically include as follows
Module:
Adapter module 502, when switching to state of activation for detecting opposite end spare interface, will connect with opposite end spare interface
The local terminal spare interface for connecing switches to state of activation, takes over the corresponding cable card board of opposite end spare interface, wherein, opposite end spare interface
State of activation is switched to when the master control borad of member device is restarted in opposite end.
Flow receiver module 504, the cable card board for local terminal passes through local terminal spare interface, and the opposite end of reception connection is reserved to be connect
The flow of mouth, opposite end spare interface is cable card board where the incoming interface of opposite end.
Flow is sent to flow forwarding module 506, the cable card board for local terminal the master control borad of local terminal, by the master of local terminal
Control plate controls the forwarding of flow.
To sum up, in member device master control borad restarting process, the cable card board of the member device is not restarted with master control borad, but logical
The spare interface for switching to state of activation is crossed, is taken over by other member devices of normal work, so that the line card taken over
The flow that plate is received is sent to the member device of adapter by spare interface, and the master control borad of the member device of the adapter turns to flow
Hair is controlled, so as to ensure that when master control borad is restarted flow being capable of normal board-spanning forwarding, it is ensured that the normal execution of business.
Reference picture 6, shows the structured flowchart of another kind board-spanning forwarding device embodiment of the invention, can specifically include such as
Lower module:
Adapter module 502, when switching to state of activation for detecting opposite end spare interface, will connect with opposite end spare interface
The local terminal spare interface for connecing switches to state of activation, takes over the corresponding cable card board of opposite end spare interface, wherein, opposite end spare interface
State of activation is switched to when the master control borad of member device is restarted in opposite end.
Flow receiver module 504, the cable card board for local terminal passes through local terminal spare interface, and the opposite end of reception connection is reserved to be connect
The flow of mouth, opposite end spare interface is cable card board where the incoming interface of opposite end.
Flow is sent to flow forwarding module 506, the cable card board for local terminal the master control borad of local terminal, by the master of local terminal
Control plate controls the forwarding of flow.
Forwarding-table item is handed down to synchronization module 508, the master control borad for local terminal the cable card board of local terminal;The cable card board of local terminal
Forwarding-table item is synchronized to the cable card board of opposite end by the opposite end spare interface for connecting for correspondence local terminal spare interface.
Wherein, adapter module 502, is additionally operable to detect opposite end spare interface when reverting to unactivated state, will be with opposite end
The local terminal spare interface of spare interface connection reverts to unactivated state, discharges the corresponding cable card board of opposite end spare interface, wherein,
Opposite end spare interface reverts to unactivated state after the completion of the master control borad of opposite end member device is restarted.
Forwarding includes:This frame board-spanning forwarding and across frame forwarding.
In one alternative embodiment, flow forwarding module 506, including:This frame board-spanning forwarding submodule 5062, for local terminal
Master control borad flow is sent to target cable card board, the local terminal spare interface of target cable card board and cable card board where the outgoing interface of opposite end
The connection of opposite end spare interface;Flow is sent to line card where the outgoing interface of opposite end by target cable card board by local terminal spare interface
Plate.
In another alternative embodiment, flow forwarding module 506, including:Across frame forwarding submodule 5064, for local terminal
Master control borad flow is sent to local terminal outgoing interface where cable card board.
Hence for master control and the equipment of web plate unification, when there is master control borad in the member device in stack equipment restarts,
Cable card board on the member device still can be turned by reserved stacking opening, this frame board-spanning forwarding of finishing service flow and across frame
Hair.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part is illustrated referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, device or calculate
Machine program product.Therefore, the embodiment of the present invention can using complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.And, the embodiment of the present invention can using wherein include computer at one or more can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal device (system) and computer program
The flow chart and/or block diagram of product is described.It should be understood that flow chart and/or block diagram can be realized by computer program instructions
In each flow and/or flow and/or square frame in square frame and flow chart and/or block diagram combination.These can be provided
Computer program instructions set to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is producing a machine so that held by the processor of computer or other programmable data processing terminal equipments
Capable instruction is produced for realizing in one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames
The device of the function of specifying.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing terminal equipments
In the computer-readable memory for working in a specific way so that instruction of the storage in the computer-readable memory produces bag
The manufacture of command device is included, the command device is realized in one flow of flow chart or multiple one side of flow and/or block diagram
The function of being specified in frame or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that
Series of operation steps is performed on computer or other programmable terminal equipments to produce computer implemented treatment, so that
The instruction performed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows
And/or specified in one square frame of block diagram or multiple square frame function the step of.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art once know base
This creative concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to
Including preferred embodiment and fall into having altered and changing for range of embodiment of the invention.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or terminal device including a series of key elements are not only wrapped
Those key elements, but also other key elements including being not expressly set out are included, or also includes being this process, method, article
Or the intrinsic key element of terminal device.In the absence of more restrictions, by wanting that sentence "including a ..." is limited
Element, it is not excluded that also there is other identical element in the process including the key element, method, article or terminal device.
Above to a kind of board-spanning forwarding method provided by the present invention and a kind of board-spanning forwarding device, detailed Jie has been carried out
Continue, specific case used herein is set forth to principle of the invention and implementation method, the explanation of above example is only
It is to be used to help understand the method for the present invention and its core concept;Simultaneously for those of ordinary skill in the art, according to this hair
Bright thought, be will change in specific embodiments and applications, and in sum, this specification content should not be managed
It is limitation of the present invention to solve.
Claims (10)
1. a kind of board-spanning forwarding method, it is characterised in that including:
When detecting opposite end spare interface and switching to state of activation, the local terminal spare interface that will be connected with the opposite end spare interface
Switch to state of activation, take over the corresponding cable card board of the opposite end spare interface, wherein, the opposite end spare interface opposite end into
The master control borad of member's equipment switches to state of activation when restarting;
The cable card board of local terminal receives the flow of the opposite end spare interface of connection by local terminal spare interface, and the opposite end is reserved to be connect
Mouth cable card board where the incoming interface of opposite end;
The flow is sent to the cable card board of local terminal the master control borad of local terminal, and the flow is controlled by the master control borad of the local terminal
Forwarding.
2. method according to claim 1, it is characterised in that the forwarding includes:This frame board-spanning forwarding;It is described by institute
The forwarding that master control borad controls the flow is stated, including:
The flow is sent to target cable card board by the master control borad of the local terminal, the local terminal spare interface of the target cable card board with
The opposite end spare interface connection of cable card board where the outgoing interface of opposite end;
The flow is sent to cable card board where the opposite end outgoing interface by the target cable card board by local terminal spare interface.
3. method according to claim 1, it is characterised in that the forwarding includes:Across frame forwarding;It is described by the master
Control plate controls the forwarding of the flow, including:
The master control borad of the local terminal flow is sent to local terminal outgoing interface where cable card board.
4. method according to claim 1, it is characterised in that also include:
Forwarding-table item is handed down to the master control borad of local terminal the cable card board of local terminal;
Forwarding-table item is synchronized to opposite end by the cable card board correspondence local terminal spare interface of local terminal by the opposite end spare interface for connecting
Cable card board.
5. method according to claim 1, it is characterised in that also include:
When detecting opposite end spare interface and reverting to unactivated state, connect the local terminal being connected with the opposite end spare interface is reserved
Mouth reverts to unactivated state, discharges the corresponding cable card board of the opposite end spare interface, wherein, opposite end spare interface opposite end into
The master control borad of member's equipment reverts to unactivated state after the completion of restarting.
6. a kind of board-spanning forwarding device, it is characterised in that including:
Adapter module, when switching to state of activation for detecting opposite end spare interface, will be connected with the opposite end spare interface
Local terminal spare interface switch to state of activation, take over the corresponding cable card board of the opposite end spare interface, wherein, the opposite end is pre-
Interface is stayed to switch to state of activation when the master control borad of opposite end member device is restarted;
Flow receiver module, the stream of the opposite end spare interface connected by local terminal spare interface, reception for the cable card board of local terminal
Amount, the opposite end spare interface is cable card board where the incoming interface of opposite end;
The flow is sent to flow forwarding module, the cable card board for local terminal the master control borad of local terminal, by the local terminal
Master control borad controls the forwarding of the flow.
7. device according to claim 6, it is characterised in that the forwarding includes:This frame board-spanning forwarding;The flow turns
Hair module, including:
The flow is sent to target cable card board, the score by this frame board-spanning forwarding submodule, the master control borad for local terminal
The local terminal spare interface of clamp is connected with the opposite end spare interface of cable card board where the outgoing interface of opposite end;The target cable card board passes through
Local terminal spare interface, cable card board where the opposite end outgoing interface is sent to by the flow.
8. device according to claim 6, it is characterised in that the forwarding includes:Across frame forwarding;The flow forwards mould
Block, including:
Across frame forwarding submodule, for local terminal master control borad the flow is sent to local terminal outgoing interface where cable card board.
9. device according to claim 6, it is characterised in that also include:
Forwarding-table item is handed down to synchronization module, the master control borad for local terminal the cable card board of local terminal;The cable card board correspondence of local terminal is originally
Forwarding-table item is synchronized to the cable card board of opposite end by the opposite end spare interface for connecting for end spare interface.
10. device according to claim 6, it is characterised in that
The adapter module, is additionally operable to detect opposite end spare interface when reverting to unactivated state, will be reserved with the opposite end
The local terminal spare interface of interface connection reverts to unactivated state, discharges the corresponding cable card board of the opposite end spare interface, wherein,
Opposite end spare interface reverts to unactivated state after the completion of the master control borad of opposite end member device is restarted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710079164.1A CN106911597B (en) | 2017-02-14 | 2017-02-14 | Cross-board forwarding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710079164.1A CN106911597B (en) | 2017-02-14 | 2017-02-14 | Cross-board forwarding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106911597A true CN106911597A (en) | 2017-06-30 |
CN106911597B CN106911597B (en) | 2020-02-21 |
Family
ID=59207859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710079164.1A Active CN106911597B (en) | 2017-02-14 | 2017-02-14 | Cross-board forwarding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106911597B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109088830A (en) * | 2018-07-19 | 2018-12-25 | 新华三技术有限公司 | A kind of port status synchronous method and device |
CN110138667A (en) * | 2019-05-31 | 2019-08-16 | 新华三技术有限公司 | A kind of generation method of forwarding-table item, device, cable card board and web plate |
CN111030937A (en) * | 2019-12-16 | 2020-04-17 | 迈普通信技术股份有限公司 | Message forwarding method, device and storage medium |
CN111131095A (en) * | 2019-12-24 | 2020-05-08 | 杭州迪普科技股份有限公司 | Message forwarding method and device |
CN111131048A (en) * | 2019-12-31 | 2020-05-08 | 杭州迪普科技股份有限公司 | Network traffic forwarding method and device, electronic equipment and machine-readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050271044A1 (en) * | 2004-03-06 | 2005-12-08 | Hon Hai Precision Industry Co., Ltd. | Method for managing a stack of switches |
JP2007124673A (en) * | 1999-06-24 | 2007-05-17 | Allied Telesis Inc | Intelligent stacked switching system |
CN101707555A (en) * | 2009-11-25 | 2010-05-12 | 杭州华三通信技术有限公司 | Data interactive method and device in stack system |
CN102045332A (en) * | 2009-10-26 | 2011-05-04 | 杭州华三通信技术有限公司 | Method for processing control message in intelligent resilient framework and line card boards |
CN102307137A (en) * | 2011-07-13 | 2012-01-04 | 北京星网锐捷网络技术有限公司 | Method and device for transmitting and receiving management message, stacked switchboard and switchboard system |
-
2017
- 2017-02-14 CN CN201710079164.1A patent/CN106911597B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007124673A (en) * | 1999-06-24 | 2007-05-17 | Allied Telesis Inc | Intelligent stacked switching system |
US20050271044A1 (en) * | 2004-03-06 | 2005-12-08 | Hon Hai Precision Industry Co., Ltd. | Method for managing a stack of switches |
CN102045332A (en) * | 2009-10-26 | 2011-05-04 | 杭州华三通信技术有限公司 | Method for processing control message in intelligent resilient framework and line card boards |
CN101707555A (en) * | 2009-11-25 | 2010-05-12 | 杭州华三通信技术有限公司 | Data interactive method and device in stack system |
CN102307137A (en) * | 2011-07-13 | 2012-01-04 | 北京星网锐捷网络技术有限公司 | Method and device for transmitting and receiving management message, stacked switchboard and switchboard system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109088830A (en) * | 2018-07-19 | 2018-12-25 | 新华三技术有限公司 | A kind of port status synchronous method and device |
CN110138667A (en) * | 2019-05-31 | 2019-08-16 | 新华三技术有限公司 | A kind of generation method of forwarding-table item, device, cable card board and web plate |
CN111030937A (en) * | 2019-12-16 | 2020-04-17 | 迈普通信技术股份有限公司 | Message forwarding method, device and storage medium |
CN111131095A (en) * | 2019-12-24 | 2020-05-08 | 杭州迪普科技股份有限公司 | Message forwarding method and device |
CN111131095B (en) * | 2019-12-24 | 2021-08-24 | 杭州迪普科技股份有限公司 | Message forwarding method and device |
CN111131048A (en) * | 2019-12-31 | 2020-05-08 | 杭州迪普科技股份有限公司 | Network traffic forwarding method and device, electronic equipment and machine-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106911597B (en) | 2020-02-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106911597A (en) | A kind of board-spanning forwarding method and apparatus | |
CN104639464B (en) | The system and method for switch-spanning link aggregation is realized on OpenFlow interchangers | |
CN101447858B (en) | Method for realizing synchronous switching of virtual router redundancy protocol in dual-machine hot backup system | |
WO2016206456A1 (en) | Physical machine upgrading method, service migration method and apparatus | |
EP3316555B1 (en) | Mac address synchronization method, device and system | |
CN104158642B (en) | A kind of method and system that backup is provided for software defined network controller | |
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 | |
CN105933236A (en) | Method and device for updating SDN (Software Defined Network) flow table | |
CN105429811A (en) | Network management system and method | |
CN104394016A (en) | ISSU (In-Service Software Upgrade) method and system | |
CN106506625A (en) | Four control servers and four control server communications methods | |
CN105490960A (en) | SDN configuration, and message forwarding method based on same | |
CN104427012B (en) | Port negotiation method and apparatus | |
CN103929236A (en) | Method and system for achieving service layer with protection switching function of passive optical network port | |
CN104518995B (en) | Interchanger virtualization system based on distributed structure/architecture | |
CN104394018A (en) | Communication device and active-standby system data online exchange method for hot master control panel backup | |
CN109995681A (en) | A kind of single-chip realizes the device and method of dual master control active-standby switch | |
CN102355414B (en) | Automatic protection switching state machine processing method and device | |
CN105991315A (en) | Link protection method applied to SDN (software defined network), switching device and network controller | |
CN107179912B (en) | Hot upgrading method for distributed architecture software defined network controller | |
CN102983997A (en) | Method and device for migrating master services | |
CN102355370B (en) | Method for Ethernet board-level protection, device and system | |
CN104793896B (en) | Single the dual control switching method and device of a kind of dual control equipment | |
CN101834710A (en) | Method and system for controlling protection switching in plane protection group of automatic switch optical network (ASON) |
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 |