CN109861745A - A kind of fault handling method and cluster routers - Google Patents
A kind of fault handling method and cluster routers Download PDFInfo
- Publication number
- CN109861745A CN109861745A CN201910002876.2A CN201910002876A CN109861745A CN 109861745 A CN109861745 A CN 109861745A CN 201910002876 A CN201910002876 A CN 201910002876A CN 109861745 A CN109861745 A CN 109861745A
- Authority
- CN
- China
- Prior art keywords
- port
- cable
- cascade port
- cascade
- cluster routers
- 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
Abstract
The present invention provides a kind of fault handling method and cluster routers, are related to field of communication technology, comprising: receive the port events of cluster routers cascade port;If the port events are UP event, the bit error rate for a plurality of cable that the optical fiber of the aging cumulative frequency and connection cascade port of removing the cascade port is included;In the case where reaching default testing conditions, the bit error rate of cable corresponding to the cascade port is detected;If the bit error rate that testing result is the cable is higher than default value, then DOWN state is set by the cable, the present invention actively checks the cable of failure and makes accurate movement processing, to guarantee the stabilization of cluster routers data and reliable, and then solve existing cluster routers poor reliability and data transmit unstable technical problem.
Description
Technical field
The present invention relates to fields of communication technology, more particularly, to a kind of fault handling method and cluster routers.
Background technique
With the continuous universal and development of internet, as the router device of network core, it is being faced with new choose
War, traditional router cannot meet the capacity requirement of data exchange again.Cluster routers are more single machine router phases
The system of mutual direct-connected composition.
Current cluster router is broadly divided into back-to-back cluster routers and multi-chassis cascading router, passes through cascade between each frame
Port is attached, which refers to optical fiber connector (Multi-fiber Push On), and internal includes multifiber.
Cascade port converts optical signals to electric signal and is transferred to the exchange chip FE (Fabric Element) of veneer.If there is light
The case where fibre pollution or optical fiber loosen, may result in fiber failure, it may appear that hold in running order cascade port
Continuous packet loss phenomenon occur, this will seriously affect the performance of cluster routers, it could even be possible to cascade port is caused to cannot be introduced into work
The problem of making state.In view of the above-mentioned problems, not proposing effective solution also.
Summary of the invention
In view of this, the purpose of the present invention is to provide fault handling method, the devices of interface in a kind of cluster routers
And cluster routers, the present invention can be when cluster routers cascade port internal transmission links and break down, it can be actively right
The transmission link of failure checked and makes accurate movement processing, thus guarantee cluster router system data stabilization and
Reliably.
In a first aspect, being applied to the embodiment of the invention provides a kind of fault handling method of interface in cluster routers
Exchange chip FE in cluster routers, which comprises receive the port events of cluster routers cascade port;
If the port events are UP event, remove the aging cumulative frequency of the cascade port and connect the light of the cascade port
The bit error rate for a plurality of cable that fibre is included;In the case where reaching default testing conditions, to corresponding to the cascade port
The bit error rate of Internal cable is detected;If the bit error rate that testing result is the cable is higher than default value, by the line
Cable is set as DOWN state.
Further, the method also includes: if corresponding to the cascade port in a plurality of cable preset quantity line
Cable is arranged to DOWN state, then sets DOWN state for the cascade port, and carry out at isolation to the cascade port
Reason.
Further, carrying out isolation processing to the cascade port includes: to set described for the cascade port
After DOWN state, route table items corresponding with the cascade port are deleted in the routing table of the cluster routers.
Further, after the cascade port is isolated, the method also includes: if detecting the cascade
Port becomes DOWN state from UP state, then sets first identifier for the aging cumulative frequency of the cascade port, and to institute
It states Internal cable and executes isolation recovery operation, wherein the first identifier indicates to terminate to the connected optical fiber in the cascade port
Cable detected.
Further, it is judged by the following manner whether the cascade port meets default testing conditions, specifically includes: if
The aging cumulative frequency of the cascade port is more than or equal to preset threshold, it is determined that meets the default testing conditions;With/
Or, if from preset time, the shape of the cascade port is begun to pass through at the time of removing the aging cumulative frequency for cascading port
State is continuously UP state, and the aging cumulative frequency of the cascade port is continuously second identifier, it is determined that meets described default
Testing conditions, wherein the second identifier indicates to start to detect the Internal cable of cascade the connected optical fiber in port.
Second aspect, the invention discloses a kind of cluster routers, comprising: at least two machine frames and is connected between machine frame
Optical fiber, the optical fiber include more cables;
The machine frame includes SFU, the cascade end that exchange chip is provided on the SFU and is connect with the exchange chip
Mouthful, the optical fiber is plugged in the cascade port of two machine frames respectively;
The exchange chip is for executing method described in any of the above embodiments.
Further, the cluster routers, the cluster routers are back-to-back cluster routers, described back-to-back
Cluster routers include two Cluster Line-card Chassis.
Further, the cluster routers, the cluster routers are multi-chassis cascading router, the machine frame packet
It includes: at least two Cluster Line-card Chassis and an exchange frame.
In this application, the cable to break down can be found by the above method in time, and the cable is set as
DOWN state is checked with cable of the active to failure and makes accurate movement processing, to guarantee cluster routers number
According to the stabilization of transmission and reliable, and then solve existing cluster routers poor reliability and data are transmitted unstable technology and asked
Topic.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification, claims
And specifically noted structure is achieved and obtained in attached drawing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of multi-chassis cascading router according to an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of back-to-back cluster routers according to an embodiment of the present invention;
Fig. 3 is a kind of flow chart of fault handling method according to an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
According to embodiments of the present invention, a kind of embodiment of cluster routers is provided.
Fig. 1 and Fig. 2 is a kind of cluster router structure schematic diagram according to an embodiment of the present invention.In this application, cluster
Router can be back-to-back cluster routers (as shown in Figure 1) or multi-chassis cascading router (as shown in Figure 2).Wherein, work as collection
When group's router is back-to-back cluster routers, including two Cluster Line-card Chassis LCC (Line Card Chassis), between two LCC
Directly pass through the connection of cascade port;When cluster routers are multi-chassis cascading router, cluster routers include LCC and exchange frame
(Fabric Central Chassis) is provided with FCC between LCC, passes through the connection of cascade port between LCC and FCC.LCC's
Exchange chip FE (Fabric Element), FE are provided in power board SFU (Switch Fabric Unit) and the SFU of FCC
It is connected by cascading port, connecting in the optical fiber of the cascade port includes more cables;The FE is mentioned for the application
The fault handling method of confession.
Fig. 1 is a kind of schematic diagram of multi-chassis cascading router according to an embodiment of the present invention;Fig. 2 is to implement according to the present invention
A kind of schematic diagram of back-to-back cluster routers of example.It is carried out below in conjunction with structure of the Fig. 1 and Fig. 2 to above-mentioned cluster routers
It is discussed in detail.
As shown in Figure 1 is more frame (shown in FIG. 1 is two LCC of a FCC+) cluster routers, as shown in Figure 2
As back-to-back cluster routers.As shown in Figure 1, including FCC and two LCC in multi-chassis cascading router, FCC setting exists
Between two LCC.As shown in Fig. 2, cluster routers include two LCC back-to-back, and the two LCC are connected.
In back-to-back cluster routers and multi-chassis cascading router, data enter every piece of direction line card (Line Card) and
Connection between FE13 forms the first order connection of exchange plane, and data go out the connection between every piece of direction LC and FE13 and form friendship
Change the third level connection of plane.As shown in Figure 1, the second level of exchange plane is realized in FCC in multi-chassis cascading router,
That is the FE2 in Fig. 1.As shown in Fig. 2, if LCC2 is the Cluster Line-card Chassis that data enter direction in Fig. 2, then the second level of exchange plane exists
It is realized in LCC2, i.e. FE2 in Fig. 2.
The interaction of data on flows mainly passes through the optical fiber between machine frame in cluster routers data channel, each cascade end
Mouth is connected by optical fiber, and more more cables are contained in the optical fiber, and optical fiber is docked to FE by photoelectric conversion module one by one
On.User to cascade port carry out plug operation or subtending port there are the failures such as physical impacts to occur when, it is possible that
The uncertain factors such as the pollution of port or the loosening of cable are cascaded, the letter of partial line cable on a cascade port will be caused at this time
Number weaken.The signal decrease of part cable, which will lead to the cascade port being attached thereto on FE, cannot become UP state, or should
Cable generates persistent loop redundancy check code (Cyclic Redundancy Check, CRC).Such fault data transmission
Link not only results in cluster routers flow error statistics, also results in cluster routers and continues packet loss and unreliable.
For this problem, the present invention provides a kind of fault handling methods, it should be noted that illustrates in the process of attached drawing
Out the step of, can execute in a computer system such as a set of computer executable instructions, although also, in flow charts
Logical order is shown, but in some cases, it can be with the steps shown or described are performed in an order that is different from the one herein.
Fig. 3 is a kind of flow chart of fault handling method according to an embodiment of the present invention, as shown in figure 3, being applied to cluster
The FE of router, this method comprises the following steps:
Step S302 receives the port events of cluster routers cascade port;
Step S304 removes aging cumulative frequency and the company of the cascade port if the port events are UP event
Connect the bit error rate for a plurality of cable that the optical fiber for cascading port is included;
Step S306, in the case where reaching default testing conditions, to the error code for the cable that the cascade port is connected
Rate is detected.
Photoelectric conversion unit (not shown) can be set in Fig. 1 and cluster routers shown in Fig. 2, on SFU,
The electric signal of FE output is converted to optical signal by photoelectric conversion unit, and is output to cascade port.Hereafter, by cascading port
The optical fiber of institute's grafting, by the machine frame of optical signal transmission to opposite end, to complete the forwarding across machine frame in cluster routers.FE's
After multiple pins are drawn, it is connected to a connector, and photoelectric conversion unit is plugged by the connector, thereafter, photoelectricity turns
It changes unit and is connected to cascade port, wherein a pin corresponds to the single line cable on an optical fiber, the number received and dispatched on the pin
According to being transmitted by cable corresponding on optical fiber.
Multiple first registers are can integrate inside FE, each first register pair answers a pin, for recording
Bit error rate when data is received on the pin.In addition, can also integrate multiple second registers inside FE, each second is posted
Storage can correspond to a pin, enabled for control that the pin data outputs and inputs.For example, in the second register
When value is " 0 ", the input and output for enabling data on corresponding pin are gone, i.e., this cable are set to DOWN state;Second
When value in register is " 1 ", the input and output of data on corresponding pin are enabled, i.e., this cable are set to UP state.
The port events for cascading port include UP event and DOWN event.If it is determined that the port events received are UP
Event can then remove the aging cumulative frequency of cascade port;The connection optical fiber for cascading port, which can also be removed, is included
A plurality of cable the bit error rate, that is, remove cascade port a plurality of cable generate CRC quantity.
FE records the state of the cascade port, that is, is denoted as UP state after the UP event for receiving cascade port.
At this point, aging identification information is labeled as first identifier, that is, start the aging timing for the cascade port.FE can distinguish
The aging cumulative frequency for recording each cascade port carries out an aging accumulation metering after aging timing reaches preset time
Several countings.For example, expression starts to carry out aging timing to cascade port when the value of aging mark information is set to 1,
And the cable for starting the optical fiber connected to cascade port carries out fault detection, when being set to 0, indicates to stop to cascade end
The aging timing of mouth, and terminate to detect the cable of cascade the connected optical fiber in port.
After receiving the UP event of a cascade port, then illustrate that the cascade port has been connected to an optical fiber, it can
To form cluster, the transmission of starting row data with the machine frame of opposite end.So, FE is needed value recorded in each second register
" 1 " is set to be enabled, allows pin to carry out data and outputs and inputs, and remove recorded in each second register
The bit error rate restarts to record.Data transmission during, then may occur due to the part cable on optical fiber virtual connection or
The case where person's disconnection.Due to the appearance of such situation, data packetloss can be caused, lead to the accumulation of the bit error rate.
In the present embodiment, testing conditions are preset as according to the state of the aging cumulative frequency of cascade port, cascade port
(UP state or DOWN state), and the aging identification information of cascade port determine, specifically will in the following embodiments
It is introduced.
It in the present embodiment, can be to cascade port cable in the case where cascade port reaches default testing conditions
The bit error rate (that is, quantity of cyclic redundancy check code CRC) is detected, and is recorded in corresponding first register.
Optionally, in the present embodiment, can to judge whether the cascade port meets by following three kinds of modes default
Testing conditions.
Mode one:
If the aging cumulative frequency of the cascade port is more than or equal to preset threshold, it is determined that meet the default inspection
Survey condition.
Specifically, in the present embodiment, if the port events received in step S302 are UP event, described in removing
After the bit error rate for a plurality of cable that the optical fiber that the aging cumulative frequency and cascade port for cascading port are connected includes, starting is fixed
When device.If timing arrives, the aging cumulative frequency of cascade port is obtained, and judges that the aging cumulative frequency for cascading port is
It is no to be more than or equal to preset threshold.It is if judging, it is determined that meet above-mentioned default testing conditions, and to the bit error rate of cable
It is detected.If the bit error rate that testing result is cable is higher than default value, DOWN state is set by the cable.
Mode two:
If from preset time, the cascade port is begun to pass through at the time of removing the aging cumulative frequency for cascading port
State be continuously UP state, and the aging identification information of the cascade port is continuously second identifier, it is determined that described in satisfaction
Default testing conditions, wherein the second identifier indicates that the cable for starting the optical fiber connected to the cascade port is examined
It surveys.
Specifically, in the present embodiment, if the port events received in step S302 are UP event, described in removing
After the bit error rate for cascading the aging cumulative frequency of port and a plurality of cable of cascade the connected optical fiber in port, start timer.
If timing arrives, from preset time is begun to pass through at the time of removing the aging cumulative frequency for cascading port, judge to cascade end
Whether the state of mouth is continuously UP state, and the aging identification information of judgement cascade port is continuously second identifier.If sentenced
It is disconnected to be out, it is determined that meet the default testing conditions, wherein the second identifier expression starts to the cascade port company, institute
The cable for connecing optical fiber is detected.
Mode three:
If the aging cumulative frequency of the cascade port is more than or equal to preset threshold, it is determined that meet the default inspection
Survey condition.
If from preset time, the cascade port is begun to pass through at the time of removing the aging cumulative frequency for cascading port
State be continuously UP state, and the aging identification information of the cascade port is continuously second identifier, it is determined that described in satisfaction
Default testing conditions, wherein the second identifier indicates to start to detect the cable of cascade the connected optical fiber in port.
If the bit error rate that testing result is cable is higher than default value, DOWN state is set by cable.
Based on above-mentioned three kinds of modes, the default value of aging cumulative frequency, the timing of timer and the bit error rate can
To be configured based on experience value, the range of setting is with no restrictions.
Step S308 sets the cable to if the bit error rate that testing result is the cable is higher than default value
DOWN state.
Specifically, in the present embodiment, if the port events received in step S302 are UP event, described in removing
After the bit error rate for a plurality of cable that the aging cumulative frequency and cascade the connected optical fiber in port for cascading port include, starting timing
Device.If timing arrives, obtain cascade port aging cumulative frequency, and judge cascade port aging cumulative frequency whether
More than or equal to preset threshold, which can be configured according to actual needs, such as 3 times.And judge from clear
Preset time is begun to pass through at the time of except the aging cumulative frequency for cascading port, judges whether the state for cascading port is continuously UP
State, and the aging identification information for cascading port is continuously second identifier.If it is judged that being, it is determined that meet the default inspection
Survey condition, wherein the second identifier indicates to start to detect the cable of cascade the connected optical fiber in port.If detection
As a result it is higher than default value for the bit error rate of cable, then sets DOWN state for cable.
In an optional embodiment, this method further includes following steps: if the optical fiber that the cascade port is connected
More cables in the cable of preset quantity be arranged to DOWN state, then set DOWN state for the cascade port, and
Isolation processing is carried out to the cascade port.
Certain route table items can be stored on FE, with guidance to received data can by which port into
Row forwarding if the outgoing interface for the route table items being matched to is cascade port, needs to pass through when receiving a message
It cascades port and carries out across machine frame forwarding.Data input and output can not be carried out when multiple cables in an optical fiber have been in
DOWN state is then actually matched to when the route table items are forwarded it is possible that can not the case where data jamming
Meet transmission requirement, then can delete corresponding to the optical fiber route table items that cascade port is related to, avoid receiving message after
It is continuous to be matched to the route table items, thus the problem of further resulting in data jamming.
Since the optical fiber that is connected of cascade port is comprising more cables, and two machines can be connected to by multifiber
Between frame, i.e., in connection, configuring redundancy will not cause cluster routers when occurring situations such as guaranteeing a certain optical fiber broken string
It seriously affects, but if cascade port can not perceive cable fault, then data may continue to transmit on the cable, with the time
Passage, the loss of data can exist always.At this point, on an optical fiber, if cable fault quantity included in it increases
Add, then the loss of data can continue to increase.Therefore, it can determine fault wire in optical fiber that the cascade port of itself is connected in FE
When cable reaches a preset quantity, which is directly turned off, then it can be to avoid this lasting loss of data, to keep away
Exempt from the expansion influenced.
Above-mentioned preset quantity can be set according to actual needs, for example, can be connected according to cascade port
The total quantity of the cable of optical fiber presets a fixed numbers as preset quantity;A ratio value can also be preset,
For example, 0.6 or 0.7, if it is determined that be arranged to out the cable of DOWN state quantity be more than the total quantity of 0.6* cable (or
The total quantity of person's 0.7* Internal cable), then isolation processing is carried out to the cascade port.In the present embodiment, really to preset quantity
Determine process to be not specifically limited, for that can be set according to actual needs.
It should be noted that in the present embodiment, after carrying out isolation processing to cascade port, restarting timing
Device waits the timing of next cycle to arrive, and repeat the above steps process described in S302 to step S308, herein no longer
It repeats.
It should be noted that in the present embodiment, if the port events received are UP event, can be delayed one section
Time and then starting timer, and after starting the timer, execute above-mentioned steps S306 and step S308.
The purpose of delay a period of time and then starting timer is to become UP state from DOWN state in cascade port,
And after cascade port status keeps stable state, it can guarantee the accuracy for cascading port-action processing, while also can the period
The failure that monitoring processing equipment occurs in operational process, guarantees cluster device reliability.
In conclusion in the present embodiment, becoming UP state from DOWN state in the cascade port of cluster routers, and locate
After stablizing UP state, whether the cable of the regular check cascade port has occurred failure, if it find that there is the corresponding FE of cable
Pin be in the state of enable and DOWN, alternatively, the CRC (error code of cable that the data that receive on some pin occur
Rate) be greater than default value, then it can set cable to DOWN state.
By above-mentioned processing mode, cause when efficiently solving cable fault corresponding to cluster routers cascade port
Cluster routers the problem of continuing packet loss, this method can guarantee the stability and reliability of cluster routers.
In the present embodiment, after carrying out isolation processing to the cascade port, the method also includes:
If detecting, the cascade port becomes DOWN state from UP state, and the aging of the cascade port is identified letter
Breath is set as first identifier, such as the value of aging identification information is set to 1, and execute isolation recovery operation to the cable.This
Sample one can check optical fiber connection in user, and when restoring connection, again according to and the machine frame of opposite end connection, it is raw
It can not be according to the FE's and opposite end being arranged in the SFU on this machine frame after repairing optical fiber to avoid user at corresponding route table items
The problem of machine frame carries out data transmission.
In this application, the cable to break down can be found by the above method in time, and the cable is set as
DOWN state is checked with cable of the active to failure and makes accurate movement processing, to guarantee cluster routers number
According to stabilization and reliable, and then solve existing cluster routers poor reliability and data transmit unstable technical problem.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in invention.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical",
The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to
Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation,
It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ",
" third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit,
Only a kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can
To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be through some communication interfaces, device or unit it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, of the invention
Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words
The form of product embodies, which is stored in a storage medium, including some instructions use so that
One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the present invention
State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-
Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with
Store the medium of program code.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (8)
1. a kind of fault handling method, which is characterized in that applied to the exchange chip FE in cluster routers, the method packet
It includes:
Receive the port events of cluster routers cascade port;
If the port events are UP event, remove the aging cumulative frequency of the cascade port and connect the cascade port
The optical fiber a plurality of cable that is included the bit error rate;
In the case where reaching default testing conditions, the bit error rate of cable corresponding to the cascade port is detected;
If the bit error rate that testing result is the cable is higher than default value, DOWN state is set by the cable.
2. the method according to claim 1, wherein the method also includes:
If the cable of preset quantity is arranged to DOWN state in a plurality of cable corresponding to the cascade port, by the grade
Connection port is set as DOWN state, and carries out isolation processing to the cascade port.
3. according to the method described in claim 2, it is characterized in that, including: to cascade port progress isolation processing
After setting the DOWN state for the cascade port, deletion and institute in the routing table of the cluster routers
State the corresponding route table items in cascade port.
4. according to the method described in claim 2, it is characterized in that, after the cascade port is isolated, the side
Method further include:
If detecting, the cascade port becomes DOWN state from UP state, and the aging identification information of the cascade port is set
It is set to first identifier, and isolation recovery operation is executed to the cable, wherein the first identifier indicates to terminate to the cascade
The cable of the connected optical fiber in port is detected.
5. the method according to claim 1, wherein being judged by the following manner whether the cascade port meets
Default testing conditions, specifically include:
If the aging cumulative frequency of the cascade port is more than or equal to preset threshold, it is determined that meet the default detector bar
Part;And/or
If from preset time, the shape of the cascade port is begun to pass through at the time of removing the aging cumulative frequency for cascading port
State is continuously UP state, and the aging identification information of the cascade port is continuously second identifier, it is determined that meets described default
Testing conditions, wherein the second identifier indicates to start to detect the cable of cascade the connected optical fiber in port.
6. a kind of cluster routers characterized by comprising at least two machine frames and the optical fiber being connected between machine frame, it is described
Optical fiber includes more cables;
The machine frame includes power board, the cascade that exchange chip is provided on the power board and is connect with the exchange chip
Port, the optical fiber are plugged in the cascade port of two machine frames respectively;
The exchange chip is for executing method described in any one of the claims 1 to 5.
7. cluster routers according to claim 6, which is characterized in that the cluster routers are the routing of back-to-back cluster
Device, the back-to-back cluster routers include two Cluster Line-card Chassis.
8. cluster routers according to claim 6, which is characterized in that the cluster routers are multi-chassis cascading routing
Device, the machine frame include: at least two Cluster Line-card Chassis and an exchange frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910002876.2A CN109861745B (en) | 2019-01-02 | 2019-01-02 | Fault processing method and cluster router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910002876.2A CN109861745B (en) | 2019-01-02 | 2019-01-02 | Fault processing method and cluster router |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109861745A true CN109861745A (en) | 2019-06-07 |
CN109861745B CN109861745B (en) | 2021-05-07 |
Family
ID=66893809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910002876.2A Active CN109861745B (en) | 2019-01-02 | 2019-01-02 | Fault processing method and cluster router |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109861745B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113037364A (en) * | 2019-12-25 | 2021-06-25 | 华为技术有限公司 | Method and equipment for service protection switching |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0854599A2 (en) * | 1997-01-17 | 1998-07-22 | Scientific-Atlanta, Inc. | System and method for detecting, correcting and discarding corrupted data packets in a cable data delivery system |
EP1202599A2 (en) * | 2000-10-31 | 2002-05-02 | Chiaro Networks Ltd. | System and method for routing IP packets using an optical core |
CN101707536A (en) * | 2009-11-25 | 2010-05-12 | 成都市华为赛门铁克科技有限公司 | Fault detection method, line card and main control card |
CN102932062A (en) * | 2012-10-24 | 2013-02-13 | 沈越 | Intelligent optical fiber connecting and distributing system and adapter port state information identification method |
JP2013150176A (en) * | 2012-01-19 | 2013-08-01 | Hitachi Ltd | Transmission system |
CN103888335A (en) * | 2013-12-05 | 2014-06-25 | 国家电网公司 | Transformer station information network interconnection method |
CN103959710A (en) * | 2012-11-22 | 2014-07-30 | 华为技术有限公司 | Method, device and system for backing up device information |
CN103997422A (en) * | 2014-05-05 | 2014-08-20 | 大唐移动通信设备有限公司 | Fault processing method and device for IP interface board |
JP2014230161A (en) * | 2013-05-23 | 2014-12-08 | 日本電信電話株式会社 | Optical switch module and optical switching device |
US20150043904A1 (en) * | 2013-08-08 | 2015-02-12 | Mark E. Boduch | Method and apparatus for performing path protection for rate-adaptive optics |
CN104539461A (en) * | 2015-01-09 | 2015-04-22 | 烽火通信科技股份有限公司 | Device and method for inhibitory protocol port oscillation reporting |
CN105681138A (en) * | 2014-11-21 | 2016-06-15 | 中国移动通信集团广东有限公司 | Network link networking method and system |
CN106789753A (en) * | 2015-11-24 | 2017-05-31 | 新华三技术有限公司 | A kind of Cluster Line-card Chassis, multi-chassis cascading router and message processing method |
CN207037789U (en) * | 2017-06-26 | 2018-02-23 | 深圳回收宝科技有限公司 | The data acquisition device and its reclaimer of portable electric appts |
CN207369037U (en) * | 2017-11-16 | 2018-05-15 | 广东电网有限责任公司韶关供电局 | A kind of optical cable multichannel fibre core real-time monitoring device and system |
CN109039799A (en) * | 2018-06-26 | 2018-12-18 | 新华三技术有限公司 | Link state detection method, device and the network equipment |
CN109039761A (en) * | 2018-08-24 | 2018-12-18 | 新华三技术有限公司 | Faulty link treating method and apparatus in clustered control channel |
-
2019
- 2019-01-02 CN CN201910002876.2A patent/CN109861745B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0854599A2 (en) * | 1997-01-17 | 1998-07-22 | Scientific-Atlanta, Inc. | System and method for detecting, correcting and discarding corrupted data packets in a cable data delivery system |
EP1202599A2 (en) * | 2000-10-31 | 2002-05-02 | Chiaro Networks Ltd. | System and method for routing IP packets using an optical core |
CN101707536A (en) * | 2009-11-25 | 2010-05-12 | 成都市华为赛门铁克科技有限公司 | Fault detection method, line card and main control card |
JP2013150176A (en) * | 2012-01-19 | 2013-08-01 | Hitachi Ltd | Transmission system |
CN102932062A (en) * | 2012-10-24 | 2013-02-13 | 沈越 | Intelligent optical fiber connecting and distributing system and adapter port state information identification method |
CN103959710A (en) * | 2012-11-22 | 2014-07-30 | 华为技术有限公司 | Method, device and system for backing up device information |
JP2014230161A (en) * | 2013-05-23 | 2014-12-08 | 日本電信電話株式会社 | Optical switch module and optical switching device |
US20150043904A1 (en) * | 2013-08-08 | 2015-02-12 | Mark E. Boduch | Method and apparatus for performing path protection for rate-adaptive optics |
CN103888335A (en) * | 2013-12-05 | 2014-06-25 | 国家电网公司 | Transformer station information network interconnection method |
CN103997422A (en) * | 2014-05-05 | 2014-08-20 | 大唐移动通信设备有限公司 | Fault processing method and device for IP interface board |
CN105681138A (en) * | 2014-11-21 | 2016-06-15 | 中国移动通信集团广东有限公司 | Network link networking method and system |
CN104539461A (en) * | 2015-01-09 | 2015-04-22 | 烽火通信科技股份有限公司 | Device and method for inhibitory protocol port oscillation reporting |
CN106789753A (en) * | 2015-11-24 | 2017-05-31 | 新华三技术有限公司 | A kind of Cluster Line-card Chassis, multi-chassis cascading router and message processing method |
CN207037789U (en) * | 2017-06-26 | 2018-02-23 | 深圳回收宝科技有限公司 | The data acquisition device and its reclaimer of portable electric appts |
CN207369037U (en) * | 2017-11-16 | 2018-05-15 | 广东电网有限责任公司韶关供电局 | A kind of optical cable multichannel fibre core real-time monitoring device and system |
CN109039799A (en) * | 2018-06-26 | 2018-12-18 | 新华三技术有限公司 | Link state detection method, device and the network equipment |
CN109039761A (en) * | 2018-08-24 | 2018-12-18 | 新华三技术有限公司 | Faulty link treating method and apparatus in clustered control channel |
Non-Patent Citations (2)
Title |
---|
JIA MINZHENG;ZHU YUNZHONG; FU FANGFA: "Fault-tolerant routing method of NoC system based on clustering", 《2016 8TH IEEE INTERNATIONAL CONFERENCE ON COMMUNICATION SOFTWARE AND NETWORKS (ICCSN)》 * |
商云飞: "面向集群路由器的ForCES协议实现技术研究", 《中国优秀博硕士学位论文全文数据库(硕士) 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113037364A (en) * | 2019-12-25 | 2021-06-25 | 华为技术有限公司 | Method and equipment for service protection switching |
CN113037364B (en) * | 2019-12-25 | 2022-06-24 | 华为技术有限公司 | Method and equipment for service protection switching |
Also Published As
Publication number | Publication date |
---|---|
CN109861745B (en) | 2021-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1658692B1 (en) | Multi-purpose network diagnostic modules | |
US20200106662A1 (en) | Systems and methods for managing network health | |
KR100858997B1 (en) | Propagation Of Signals Between Devices For Triggering Capture Of Network Data | |
US8259587B2 (en) | Pool-based network diagnostic systems and methods | |
US5347524A (en) | Protocol analyzer | |
US20200021511A1 (en) | Performance analysis for transport networks using frequent log sequence discovery | |
EP2081321A2 (en) | Sampling apparatus distinguishing a failure in a network even by using a single sampling and a method therefor | |
US20050063320A1 (en) | Protocol cross-port analysis | |
US7257739B2 (en) | Diagnosis of link failures in a network | |
CN101411124A (en) | Diagnostic functions in an in-line device | |
CN111200544B (en) | Network port flow testing method and device | |
US8036132B1 (en) | Systems, devices, and methods for determining network failures | |
CN109861745A (en) | A kind of fault handling method and cluster routers | |
US8169932B2 (en) | QoS degradation point estimation method, QoS degradation point estimation device, and program | |
CN101667953A (en) | Reporting method of rapid looped network physical link state and device therefor | |
US7719992B1 (en) | System for proactive time domain reflectometry | |
CN111858222A (en) | Error injection method, apparatus, data storage system and program product | |
CN101136756B (en) | Electric self-checking method, system and BMC chip on network long-range control host machine | |
US8169893B1 (en) | Quick detection of problematic link to support fast failover | |
US11962401B2 (en) | Reducing connection validation (CV) time in an optical node | |
CN112118156B (en) | Filtering method and device for Ethernet protocol test | |
US10432451B2 (en) | Systems and methods for managing network health | |
CN104038365B (en) | Diagnostic port for inter-switch link under electricity, light and remote loop-back mode and node link test | |
CN113873560A (en) | Network fault processing method and device | |
US20070206509A1 (en) | Capture rcdt and sntt sas speed negotiation decodes in a network diagnostic component |
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 |