CN101436938A - Method, system and switching equipment for halting/recovering port transmitting and receiving service - Google Patents

Method, system and switching equipment for halting/recovering port transmitting and receiving service Download PDF

Info

Publication number
CN101436938A
CN101436938A CNA2007101772644A CN200710177264A CN101436938A CN 101436938 A CN101436938 A CN 101436938A CN A2007101772644 A CNA2007101772644 A CN A2007101772644A CN 200710177264 A CN200710177264 A CN 200710177264A CN 101436938 A CN101436938 A CN 101436938A
Authority
CN
China
Prior art keywords
port
switching equipment
receipts
transmitting
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2007101772644A
Other languages
Chinese (zh)
Inventor
邓柱升
曹旸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNA2007101772644A priority Critical patent/CN101436938A/en
Publication of CN101436938A publication Critical patent/CN101436938A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention relates to a method for stopping the receiving and sending service of a port. A port 4 of exchange equipment B sends RDI to a port 1 of exchange equipment A; the port 1 of the exchange equipment A receives the RDI, reports the RDI to the exchange equipment A; the port 1 is forbidden by the exchange equipment A; and the port 1 of the exchange equipment A stops the receiving and sending service. The embodiment of the invention relates to a method for restoring the receiving and sending service of the port; the port 4 of the exchange equipment B cancels the sending of the RDI to the port 1 of the exchange equipment A; when the port 1 of the exchange equipment A does not receive the RDI, the exchange equipment A starts the port 1; and the port 1 of the exchange equipment A restores the receiving/sending service. The method for stopping/restoring the receiving/sending service of the port, the system and the exchange equipment provided by the embodiment can improve the restoring time of service interruption caused by the fault of a chain circuit.

Description

Stop/recovering method, system and the switching equipment of port transmitting and receiving service
Technical field
The present invention relates to a kind of method and apparatus of transmitting and receiving service, particularly a kind ofly stop/recovering the method for port transmitting and receiving service, the system that stops/recovering the port transmitting and receiving service and switching equipment.
Background technology
Link aggregation group (Link Aggregation Group, hereinafter to be referred as: LAG) be a kind of data link layer technology, can form a logical links by several physical links between two switching equipment are made up.The standard of link aggregation technology is IEEE 802.3ad at present, Link Aggregation Control Protocol (Link Aggregation Control Protocol wherein, hereinafter to be referred as: LACP) be one of the main contents of IEEE 802.3ad standard, defined a kind of link aggregation control mode of standard: both sides' switching equipment that carry out link aggregation is by the mutual aggregation information of LACP, the parameter and the state that provide according to both sides are automatically with the link aggregation of coupling transceive data together; After polymerization formed, the switching equipment both sides safeguarded the aggregated links state, when both sides' configuration changes, the link of polymerization were adjusted automatically or were removed.Mainly acting as of link aggregation: increase data transfer bandwidth, the data transmission link protection is provided, and load sharing etc.
Spanning-Tree Protocol (Spanning Tree Protocol, hereinafter to be referred as: STP) be a kind of two layer-switching technologies, in two layers of switching network, by blocking unique path that redundant link generates source to destination, can be used to prevent to form the loop data link, and data Infinite Cyclic in ring; Also can be used for the data link that switching equipment can form is backed up, when existing transmission link breaks down, activate the redundant data link of backup, recover the connectedness of transmission network.The simple procedure that its data link forms is: pass through to send mutually bridge protocol data unit (Bridge ProtocolData Unit between each switching equipment, hereinafter to be referred as: BPDU) message, determine the root switching equipment earlier, find the shortest path of this switching equipment again to the root switching equipment, be clogged to other path of root switching equipment, finally begin to form step by step the tree network topological structure from root node.
In addition, along with the development of Ethernet service, operator to the operation between switching equipment, administer and maintain (Operation, Administration and Maintenance, hereinafter to be referred as: OAM) more and more pay close attention to, Ethernet OAM mainly contains following two functions: fault management and performance management.Wherein fault management mainly is: by the timed sending detection of connectivity (Connectivity Check, hereinafter to be referred as: CC) message detects the connectedness of network, thereby in time finds the connected trouble in the network, and handles.
In the practical application of above-mentioned LAG or STP, if fault has appearred in certain data transmission link, can be by utilizing agreement separately, the path of calculating, also loaded service on this faulty link being changed by other sends, thereby guarantees the connectedness of transmission network.Below by LAG the concrete processing procedure of existing protocol is described, STP is similar.
As shown in Figure 1, switching equipment A links to each other by link a, b with switching equipment B.The corresponding port 1 of switching equipment A and port 2 are formed link aggregation group LAG1; The corresponding port 3 of switching equipment B and port 4 are formed link aggregation group LAG2, and link a and link b share the transmitting and receiving service flow between switching equipment A and the B jointly.When the one-way transmission fault appears in link a, be the port 3 of switching equipment B can't be received the LACP message that the port one of switching equipment A regularly sends in official hour (being generally for 3 seconds) after, the link aggregation group LAG2 that port 3 and port 4 are formed stops from port 3 transmitting and receiving services, and stops the regular LACP message that sends to port one; Port one can't be received the LACP message of port 3 transmission regularly in official hour (being generally for 3 seconds) after, the link aggregation group LAG1 that port one and port 2 are formed stops from the port one transmitting and receiving service.So far, originally the business that transmits by link a all changes the transmission by b, and business is recovered.
Should have now in the method, after certain the bar link between two switching equipment broke down, the LACP method of message that adopts detection regularly to send detected network connectivty, but because the time-out time of regulation is level second, cause the business recovery overlong time, do not meet the requirement that telecommunications transmits net.The transmission fault testing mechanism and the LAG of the switching equipment during STP uses are similar, are by the overtime detection to the BPDU message network connectivty to be detected; Owing in STP uses, be to generate the shortest path of this switching equipment, be not two simple transmission between switching equipment, so may cause the problem of business recovery time longer (equally yet being second level restoration time) to the root switching equipment.
In existing solution, employing be Ethernet OAM to be detected be attached among the application of LAG and STP, by the mechanism of OAM fast detecting link transmission fault, quicken LAG and STP and recover professional process with agreement in using.Still be the process of business recovery between example explanation switching equipment below with LAG, STP is similar.
As shown in Figure 1, all of the port on switching equipment A and the switching equipment B (port one, port 2, port 3 and port 4) regularly sends the CC message to its corresponding port, send the CC message as port one to port 3, port 3 equally also sends the CC message to port one, and the connectedness of link a is monitored.When the transmitted in both directions fault appears in link a, because transmission link interrupts, port one and port 3 all can't be received the CC message that the opposite end sends, port one and port 3 detect respectively CC message dropping defective (hereinafter to be referred as: CCM Loss), after switching equipment A and B detect the CCM Loss that the port reports, according to standard IEEE 802.1ag, port one and port 3 can be immediately with the state of the medium access control entity of the port (hereinafter to be referred as: MAC_Operational) parameter is changed to false, and so far port is disabled.The LACP of the link aggregation group LAG2 that the link aggregation group LAG1 that port one and port 2 formed, port 3 and port 4 are formed detect respectively port one and port 3 disabled after, can start and handle, stop from port one, port 3 transmitting and receiving services, link a goes up original loaded service and transmits by link b, and business is recovered.
In this existing solution, only the CCM Loss of link is had the operation of interface disabling in the standard, promptly when the both-end of certain the bar link between two switching equipment breaks down, can timely the opposite ends mouth be carried out disable process; But, when unidirectional fault appears in certain the bar link between two switching equipment, have only the port of an end can be disabled fast, can't to trigger port in time disabled and the other end is because can't detect CCMLoss, still need to wait for that the LACP message of opposite end just can carry out port after overtime and switch, also just can't realize professional quick switching, still can't satisfy the requirement that telecommunications transmits net.The transmission fault solution and the LAG of the switching equipment during STP uses are similar, owing to will generate the shortest path of this switching equipment to the root switching equipment, are not two simple transmission between switching equipment, so may cause longer problem of business recovery time.
Summary of the invention
The method that stops/recovering the port transmitting and receiving service that the embodiment of the invention provides, the system that stops/recovering the port transmitting and receiving service and switching equipment, in order to shortening the time that the switching equipment port stops or recovering transmitting and receiving service, thereby improve the recovery time of the service disconnection that causes owing to link failure.
The first aspect of the embodiment of the invention provides a kind of method that stops the port transmitting and receiving service, comprises the steps:
Second port of second switching equipment sends the remote bug indication to first port of first switching equipment, and described first port and second port are corresponding receipts/sending service port in professional the transmission;
First port of described first switching equipment detects described remote bug indication, reports this remote bug to be indicated to first switching equipment, and described first switching equipment is with described first interface disabling, and first port of this first switching equipment stops receipts/sending service.
The second aspect of the embodiment of the invention also provides a kind of method of recovering the port transmitting and receiving service, comprises the steps:
Second port cancellation of second switching equipment sends the remote bug indication to first port of first switching equipment;
First port of described first switching equipment is not receiving described remote bug indication, and described first switching equipment is enabled described first port, and first port of described first switching equipment recovers receipts/sending service.
The third aspect of the embodiment of the invention provides a kind of system that stops the port transmitting and receiving service, comprises first switching equipment and second switching equipment, and first port of described first switching equipment and second port of second switching equipment receive and send business mutually;
Comprise one first sending module in described second switching equipment, be used for after the connectivity testing message that second port that detects second switching equipment reports is lost defective, to first port transmission remote bug indication of first switching equipment;
Comprise one first processing module in described first switching equipment, be used to receive the remote bug indication that described first port receives, and with described first interface disabling.
The fourth aspect of the embodiment of the invention provides a kind of switching equipment, comprises first port, also comprises:
First processing module be used to receive the remote bug indication that second port that described first port receives sends, and with described first interface disabling, described first port and second port be the receipts/sending service port of correspondence in the professional transmission.
The 5th aspect of the embodiment of the invention provides another kind of switching equipment, comprises second port, also comprises:
First sending module, be used for after the connectivity testing message that second port that detects second switching equipment reports is lost defective, send remote bug and be indicated to first port, described first port and second port are corresponding receipts/sending service port in professional the transmission.
The 6th aspect of the embodiment of the invention provides a kind of system of recovering the port transmitting and receiving service, comprises first switching equipment and second switching equipment, and first port of described first switching equipment and second port of second switching equipment receive and send business mutually;
Comprise one second sending module in described second switching equipment, be used for when two ports of second switching equipment detect connectivity testing message at the appointed time that cancellation is to the remote bug indication of first port transmission of first switching equipment;
Comprise one the 3rd processing module in described first switching equipment, be used for receiving the removing information of described remote bug indication, described first port recovery is enabled when when not receiving the indication of described remote bug.
The 7th aspect of the embodiment of the invention provides a kind of switching equipment, comprises first port, also comprises:
The 3rd processing module is used for receiving the removing information of described remote bug indication when not receiving the indication of described remote bug, and described first port recovery is enabled.
The eight aspect of the embodiment of the invention provides another kind of switching equipment, comprises second port, also comprises:
Second sending module, be used for when second port of second switching equipment detects connectivity testing message at the appointed time, cancellation is to the remote bug indication of first port transmission of first switching equipment, and described first port and second port are corresponding receipts/sending service port in professional the transmission.
By above technical scheme as can be known, the method that stops/recovering the port transmitting and receiving service that the embodiment of the invention provides, the system that stops/recovering the port transmitting and receiving service and switching equipment can shorten the recovery time after a certain port of switching equipment stops transmitting and receiving service greatly.
Also in conjunction with the accompanying drawings the present invention is described in further detail below by specific embodiment.
Description of drawings
Fig. 1 is the professional transmission of a prior art switching equipment schematic diagram;
Fig. 2 is the professional transmission of the switching equipment schematic diagram of the embodiment of the invention;
Fig. 3 stops method embodiment one flow chart of port transmitting and receiving service for the present invention;
Fig. 4 stops method embodiment two flow charts of port transmitting and receiving service for the present invention;
Fig. 5 is another professional transmission schematic diagram of switching equipment of the embodiment of the invention;
Fig. 6 stops method embodiment three flow charts of port transmitting and receiving service for the present invention;
Fig. 7 recovers method embodiment one flow chart of port transmitting and receiving service for the present invention;
Fig. 8 recovers method embodiment two flow charts of port transmitting and receiving service for the present invention;
Fig. 9 recovers method embodiment three flow charts of port transmitting and receiving service for the present invention;
Figure 10 stops system embodiment one structural representation of port transmitting and receiving service for the present invention;
Figure 11 stops system embodiment two structural representations of port transmitting and receiving service for the present invention;
Figure 12 A stops the switching equipment structural representation in the system embodiment of port transmitting and receiving service for the present invention;
Figure 12 B stops another switching equipment structural representation in the system embodiment of port transmitting and receiving service for the present invention;
Figure 13 recovers system embodiment one structural representation of port transmitting and receiving service for the present invention;
Figure 14 recovers system embodiment two structural representations of port transmitting and receiving service for the present invention;
Figure 15 A recovers the switching equipment structural representation in the system embodiment of port transmitting and receiving service for the present invention;
Figure 15 B recovers another switching equipment structural representation in the system embodiment of port transmitting and receiving service for the present invention.
Embodiment
The scheme of the embodiment of the invention is: when the port of switching equipment detect timed sending the indication of link remote bug (Remote Defect Indication, hereinafter to be referred as: in the time of RDI), with this interface disabling; After the port of switching equipment was detecting less than RDI, if do not have other defective on the port this moment, then with the interface enabling of forbidding, the recovering state of this port was normal.RDI described in the following embodiment of the invention is the link level RDI of transmitting and receiving service between the switching equipment port, and along with the timed sending of link level CC message, and CC message of the following stated and RDI are link level.
As shown in Figure 2, be the professional transmission of the switching equipment schematic diagram of the embodiment of the invention, switching equipment A links to each other by link a, b, c with switching equipment B; The corresponding port 1 of switching equipment A, port 2 and port 3 are formed link aggregation group LAG3; The corresponding port 4 of switching equipment B, port 5 and port 6 are formed link aggregation group LAG4, and link a, b, c share the service traffics between A, the B jointly.All of the port (port one is to port 6) regularly sends the CC message to the opposite end, be that port one is to port 4 timed sending CC messages, port 4 is also synchronously to port one timed sending CC message, other corresponding ports in like manner, this CC message is used for the connectedness of service transmission link is monitored.
4 transmitting and receiving services of the port of the port one of switching equipment A and switching equipment B form data transmission link, detect the CCM Loss of port 4 as switching equipment B after, switching equipment B can be by the port one passback RDI of port 4 to switching equipment A; After the port one of switching equipment A receives RDI, this RDI is reported switching equipment A, with the port one forbidding, the port one of switching equipment A stops transmitting and receiving service according to the LACP/STP agreement to switching equipment A immediately immediately.As shown in Figure 3, stop embodiment one flow chart of the method for port transmitting and receiving service for the present invention, concrete steps are:
After step 101, switching equipment B detect the CCM Loss of port 4, by the port one passback RDI of port 4 to switching equipment A;
After the port one of step 102, switching equipment A receives RDI, it is reported switching equipment A, switching equipment A is forbidden port one.
Port 4 detects CCM Loss, and it is disabled, so far, the port one and the port 4 of forbidding have all stopped transmitting and receiving service, to select, calculate the transmission that the link that makes new advances carries out data service again automatically according to the LACP/STP agreement, can accelerate the resume speed of having no progeny in the professional transmission greatly, shorten the time of business recovery.
Service disconnection when the embodiment two that the present invention stops the method for port transmitting and receiving service is applied to link failure among the LAG.For example: as shown in Figure 2, when port one arrived the service transmission link generation unidirectional fault of port 4, port 4 detected the CC message less than the port one transmission of switching equipment A at the appointed time, and port 4 reports CCM Loss to switching equipment B; Switching equipment B detects CCM Loss, will be by its port 4 to port one passback RDI, and this RDI is along with the timed sending of CC message; Switching equipment B is changed to false, disabled ports 4 with the MAC_Operational parameter of the port 4 simultaneously; The LACP of switching equipment B detect the port 4 of this switching equipment disabled after, can start immediately and handle, stop from the port 4 transmitting and receiving services; After the port one of switching equipment A receives RDI, it is reported switching equipment A, switching equipment A is changed to false with the MAC_Operational parameter of port one, and port one is disabled; After port one was disabled, the LACP of switching equipment A can start processing immediately, stops from the port one transmitting and receiving service.Like this, originally the business that transmits on link a will change into automatically by link b and/or c according to LACP and carrying, and business is recovered.
As shown in Figure 4, concrete steps are:
The port 4 of the port one of step 201, switching equipment A and switching equipment B sends the CC message mutually;
Step 202, port 4 detect the CC message less than the port one transmission of switching equipment A at the appointed time, and port 4 will report CCM Loss to switching equipment B;
After step 203, switching equipment B detected CCM Loss, port 4 was to the port one passback RDI of switching equipment A;
After step 204, switching equipment B detect CCM Loss, the MAC_Operational parameter of port 4 is changed to false, disabled ports 4;
The LACP of step 205, switching equipment B detect port 4 disabled after, stop from the port 4 transmitting and receiving services;
After the port one of step 206, switching equipment A receives RDI, it is reported switching equipment A, switching equipment A is changed to false with the MAC_Operational parameter of port one, and port one enters disabled status;
After step 207, port one were disabled, switching equipment A can stop from the port one transmitting and receiving service according to LACP.
Because the time interval of Ethernet OAM timed sending detection of connectivity can reach Millisecond, so this one way ports fault, the time that causes service disconnection to be recovered again can be controlled in the 50ms, can satisfy the requirement of communication network.
As shown in Figure 5, for the another schematic diagram of the professional transmission of the switching equipment of the embodiment of the invention, be applied to STP.Root switching equipment C, according to Spanning-Tree Protocol, the port ep2 of switching equipment E gets clogged among the figure; After topology was stable, root switching equipment C regularly sent the BPDU message to each sub-switching equipment, and it is normal to guarantee to generate forward-path professional in the tree.When switching equipment E when unidirectional fault appears in the link of switching equipment D, the port dp2 of switching equipment D detects the CC message that the port ep1 less than switching equipment E sends at the appointed time, the port dp2 of switching equipment D reports CCM Loss to switching equipment D; After switching equipment D detects CCM Loss, will be by its port dp2 to the port ep1 of switching equipment E passback RDI, this RDI is along with the timed sending of CC message; Switching equipment D is changed to false with the MAC_Operational parameter of the port dp2 simultaneously, forbids this port dp2; Switching equipment D upgrades transmitting and sending BPDU message notifying change in topology to root switching equipment C of self after detecting dp2 and blocking; After the port ep1 of switching equipment E receives RDI, it is reported this switching equipment E, switching equipment E is changed to false with the MAC_Operational parameter of port ep1, and port ep1 enters disabled status; After port ep1 gets clogged, the port ep2 that gets clogged before enabling immediately; Recomputate generation tree path according to STP, after topology was stable, root switching equipment C regularly sent the BPDU message to each sub-switching equipment, and it is normal that assurance generates forward-path professional in the tree.
As shown in Figure 6, concrete steps are:
The port dp2 of step 301, switching equipment D and the port ep1 of switching equipment E send the CC message mutually;
Step 302, port ep1 detect the CC message less than the port dp2 transmission of switching equipment D at the appointed time, will report CCM Loss to switching equipment D;
After step 303, switching equipment D detected CCM Loss, port dp2 was to the port ep1 of switching equipment E passback RDI;
After step 304, switching equipment D detect CCM Loss, the MAC_Operational parameter is changed to false, disabled ports dp2;
Step 305, switching equipment D are upgraded transmitting and sending BPDU message notifying change in topology to root switching equipment C of self after detecting dp2 and blocking;
After the port ep1 of step 306, switching equipment E receives RDI, it is reported this switching equipment E, switching equipment E is changed to false with the MAC_Operational parameter of port ep1, and port ep1 enters disabled status;
After step 307, port ep1 get clogged, the port ep2 that gets clogged before enabling immediately;
Step 308, recomputate according to STP and to generate the tree path, after topology was stable, root switching equipment C regularly sent the BPDU message to each sub-switching equipment, guaranteed that the forward-path of the business in the tree that generates is normal.
Though shorten to below 50 milliseconds the recovery time of differing in STP uses surely discontinued business, owing to the waiting-timeout time (being generally 20 seconds) of having saved the BPDU message, still can accelerate the speed of business recovery greatly.
The present invention recovers the embodiment one of the method for port transmitting and receiving service, and is corresponding with the embodiment one of the aforementioned method that stops the port transmitting and receiving service.The embodiment one that stops the method for port transmitting and receiving service is, as shown in Figure 2,4 of the ports of the port one of switching equipment A and switching equipment B are because link failure, and service disconnection is received and dispatched and change by other links (b and c); The link failure that described in the present embodiment is 4 of the ports of the port one of switching equipment A and switching equipment B is removed, and port recovers the state of operate as normal.Method is summarised as: after the port 4 of switching equipment B does not have CCM Loss, port 4 will report the removing information of CCMLoss to switching equipment B, and switching equipment B will notify the port one passback RDI of port 4 cancellations to switching equipment A; Behind the RDI of the port one of switching equipment A in detecting the CC message that sends less than the opposite end, give this switching equipment A with reporting the removing information of RDI, at this moment, if port one there is no other defect, switching equipment A will enable this port one immediately, and the port one of switching equipment A recovers its normal operating conditions automatically according to agreement immediately.As shown in Figure 7, concrete steps are:
After not having CCM Loss on the port 4 of step 401, switching equipment B, port 4 will report the removing information of CCM Loss to switching equipment B, and cancellation is to the port one passback RDI of switching equipment A;
Behind the RDI of the port one of step 402, switching equipment A in detecting the CC message that sends less than Peer-Port 4, will report the removing information of RDI to give this switching equipment A, if port one there is no other defect, switching equipment A will enable this port one immediately.
So far, port one of enabling and port 4 all recover normal operating conditions.
Business recovery when the embodiment two that the present invention recovers the method for port transmitting and receiving service is applied to that link failure is eliminated among the LAG.As shown in Figure 2, for example: when the unidirectional fault of port one to the service transmission link of port 4 eliminated, port 4 can detect the CC message of the port one transmission of switching equipment A at the appointed time again again, after not having CCM Loss on the port 4 of switching equipment B, port 4 will report the removing information of CCM Loss to switching equipment B; After switching equipment B receives the removing information of the CCM Loss that port 4 reports, will 4 cancellations of notice port to the port one passback RDI of switching equipment A; Switching equipment B is changed to true with the MAC_Operational parameter of port 4 simultaneously, enables port 4; After the LACP of switching equipment B detects the port 4 and reactivated, can start immediately and handle, recover the normal operating conditions of the port 4; The port one of switching equipment A detects less than behind the RDI, will report the removing information of RDI to give this switching equipment A, and switching equipment A is changed to true with the MAC_Operational parameter of port one, and port one reverts to initiate mode again; After port one was activated, the LACP of switching equipment A can start processing immediately, recovered the normal operating conditions of port one.Like this, originally the link a of fault recovers normal.As shown in Figure 8, concrete steps are:
The port 4 of the port one of step 501, switching equipment A and switching equipment B sends the CC message mutually;
Step 502, port 4 detect the CC message of the port one transmission of switching equipment A at the appointed time again, do not have CCM Loss on the port 4 of switching equipment B, and port 4 will report the removing information of CCMLoss to switching equipment B;
After step 503, switching equipment B receive the removing information of the CCM Loss that port 4 reports, will 4 cancellations of notice port to the port one passback RDI of switching equipment A;
After step 504, switching equipment B did not receive the removing information of the CCM Loss that port 4 reports, switching equipment B was changed to true with the MAC_Operational parameter of port 4, port re-enabling 4;
After the LACP of step 505, switching equipment B detects port 4 and reactivated, recover the normal operating conditions of port 4;
The port one of step 506, switching equipment A detects less than behind the RDI, and to switching equipment A, switching equipment A is changed to true with the MAC_Operational parameter of port one with the removing information that reports RDI, and port one recovers initiate mode;
After step 507, port one were reactivated, switching equipment A can recover the normal operating conditions of port one according to LACP.
So far, port one of enabling and port 4 all recover normally, the link-recovery normal operating conditions that port one and port are 4.
Business recovery when the embodiment three that the present invention recovers the method for port transmitting and receiving service is applied to that link failure is eliminated among the STP.As shown in Figure 5, root switching equipment C, according to Spanning-Tree Protocol, the port ep1 of the port dp2 of switching equipment D and switching equipment E gets clogged among the figure, when switching equipment E when the link unidirectional fault of switching equipment D is eliminated, the port dp2 of switching equipment D detects the CC message of the port ep1 transmission of switching equipment E at the appointed time again, does not have CCMLoss on the port dp2 of switching equipment D, and port dp2 will report the removing information of CCM Loss to switching equipment D; After switching equipment D receives the removing information of the CCM Loss that port dp2 reports, will notice port dp2 cancellation to the port ep1 of switching equipment E passback RDI; Switching equipment D is changed to true with the MAC_Operational parameter of port dp2 simultaneously, reactivates this port dp2; Switching equipment D upgrades transmitting and sending BPDU message notifying change in topology to root switching equipment C of self after detecting port dp2 and being reactivated; The port ep1 of switching equipment E detects less than behind the RDI, will no longer report the removing information of RDI to give this switching equipment E, and switching equipment E is changed to true with the MAC_Operational parameter of port ep1, and port ep1 reverts to initiate mode again; After port ep1 is activated, recomputate according to STP and to generate the tree path, recover in normal port dp2 and port ep1 also be calculated in, after topology is stable, root switching equipment C regularly sends the BPDU message to each sub-switching equipment, and it is normal to guarantee to generate forward-path professional in the tree.As shown in Figure 9, concrete steps are:
The port dp2 of step 601, switching equipment D and the port ep1 of switching equipment E send the CC message mutually;
Step 602, port dp2 detect the CC message that the port ep1 of switching equipment E sends at the appointed time again, do not have CCM Loss on the port dp2 of switching equipment D after, port dp2 will report the removing information of CCM Loss to switching equipment D;
After step 603, switching equipment D receive the removing information of the CCM Loss that reports, notice port dp2 cancellation is returned RDI to the port ep1 of switching equipment E;
After step 604, switching equipment D receive the removing information of the CCM Loss that reports, the MAC_Operational parameter of port dp2 is changed to true, port re-enabling dp2;
Step 605, switching equipment D are upgraded transmitting and sending BPDU message notifying change in topology to root switching equipment C of self after detecting port dp2 and being reactivated;
The port ep1 of step 606, switching equipment E detects less than behind the RDI, will report the removing information of RDI to give this switching equipment E, and the MAC_Operational parameter of port ep1 is changed to true, and port ep1 reverts to initiate mode again;
After step 607, port dp2 and port ep1 are reactivated, recomputate generation tree path according to STP, after topology was stable, root switching equipment C regularly sent the BPDU message to each sub-switching equipment, and it is normal that assurance generates forward-path professional in the tree.
So far, port dp2 that enables and port ep1 all recover normally, the link-recovery normal operating conditions between port dp2 and port ep1.
As shown in figure 10, stop the structural representation of the system embodiment one of port transmitting and receiving service for the present invention, this system comprises: switching equipment A and switching equipment B, the port 4 mutual corresponding business that receive and send of the port one of switching equipment A and switching equipment B, port 2 is also corresponding respectively with port 5, port 3 and port 6.Is example with port one with port 4 corresponding transmitting and receiving services, also comprises in this system:
Comprise one first sending module 7 among the switching equipment B, be used for behind the CCM Loss of the port 4 that detects switching equipment B that switching equipment B is by the port one passback RDI of port 4 to switching equipment A, RDI is along with the timed sending of CC message;
Comprise one first processing module 8 among the switching equipment A, be used to receive RDI, and port one is forbidden; After port one is disabled, can stop this port transmitting and receiving service according to the LACP/STP agreement.
Port 4 detects CCM Loss, also can stop transmitting and receiving service according to LACP/STP, so the transmission of the business of 4 of port one and ports can be interrupted, and changes by port 2 and port 5 and/or port 3 and 6 of ports by the LACP/STP agreement and to transmit.Can shorten the time that stops transmitting and receiving service between the switching equipment port greatly, thereby shorten because the recovery time after the service disconnection that link failure causes.
As shown in figure 11, stop the structural representation of the system embodiment two of port transmitting and receiving service for the present invention, this system comprises: switching equipment A and switching equipment B, the port 4 mutual corresponding business that receive and send of the port one of switching equipment A and switching equipment B, port 2 is also corresponding respectively with port 5, port 3 and port 6.Is example with port one with port 4 corresponding transmitting and receiving services, except comprising first receiver module 8 among the switching equipment A and first sending module 7 among the switching equipment B, also comprises in this system:
Comprise one the 3rd sending module 9 among the switching equipment A, be used for sending the CC messages to the port 4 of switching equipment B that the CC message is used for detection port 1 and 4 s' connectedness by port one;
Also comprise one second processing module 10 among the switching equipment B, be used for when port 4 detects the CC message that the port one less than switching equipment A sends that the CCM Loss of detection port 4 is with port 4 forbiddings.
The port 4 of forbidding can stop transmitting and receiving service according to agreement, simultaneously port 4 can send RDI to port one, as stops as described in the system embodiment one of port transmitting and receiving service, and port one also can stop transmitting and receiving service, so far port one and port 4 are all unavailable, change by other corresponding ports and carry out the business transmission.Can shorten because the recovery time of the service disconnection that link failure causes.
Shown in Figure 12 A, stop the switching equipment in the system embodiment of port transmitting and receiving service for the present invention, comprising: at least one port one; First processing module 8 is used for the RDI that receiving port 1 receives, and port one is forbidden.
Shown in Figure 12 B, stop another switching equipment in the system embodiment of port transmitting and receiving service for the present invention, corresponding with switching equipment shown in Figure 12 A, comprising: at least one port 4, be used for behind the CC message that detects less than timed sending, reporting CCM Loss to first sending module 7; First sending module 7 is used for behind the CCM Loss of the port 4 that detects this switching equipment, and this switching equipment returns RDI with port 4 corresponding port by port 4 in another switching equipment, and corresponding port is the port one described in the embodiment of the invention; Second processing module 10 is used for when port 4 detects the CC message that sends less than port one, detect the CCM Loss of port 4 after, with port 4 forbiddings.
As shown in figure 13, recover the structural representation of the system embodiment one of port transmitting and receiving service for the present invention, this system comprises: switching equipment A and switching equipment B, the port 4 mutual corresponding business that receive and send of the port one of switching equipment A and switching equipment B, port 2 is also corresponding respectively with port 5, port 3 and port 6.Is example with port one with port 4 corresponding transmitting and receiving services, also comprises in this system:
Comprise one second sending module 11 among the switching equipment B, be used for after not having CCM Loss on the port 4 of switching equipment B, port 4 will report the removing information of CCM Loss to switching equipment B, and switching equipment B will notify the port one passback RDI of port 4 cancellations to switching equipment A;
Comprise one the 3rd processing module 12 among the switching equipment A, be used for the RDI that receiving port 1 reports, if the RDI in detecting the CC message that sends less than the opposite end, the 3rd processing module 12 is recovered normal operating conditions with port one.
After not had CCM Loss on the port 4, also can recover its normal operating state.
As shown in figure 14, recover the structural representation of the system embodiment two of port transmitting and receiving service for the present invention, this system comprises: switching equipment A and switching equipment B, the port 4 mutual corresponding business that receive and send of the port one of switching equipment A and switching equipment B, port 2 is also corresponding respectively with port 5, port 3 and port 6.Is example with port one with port 4 corresponding transmitting and receiving services, except second sending module 11 among the switching equipment B in the system embodiment that comprises above-mentioned recovery port transmitting and receiving service and the 3rd processing module 12 among the switching equipment A, also comprises in this system:
Comprise one the 4th sending module 13 among the switching equipment A, be used for sending the CC message to the port 4 of switching equipment B by port one;
Comprise among the switching equipment B that one manages module 14 everywhere, be used for when port 4 detects the CC message that the port one of switching equipment A sends again, the removing information that port 4 will report CCM Loss the is managed module 14 everywhere to this, and this is managed module 14 everywhere port 4 is recovered normal operating conditionss.
Recover the RDI that the port 4 of normal operating conditions can cancellation sends to port one, as described in the system embodiment one of recovering the port transmitting and receiving service, port one also can recover normal operating conditions, and so far the service transmission link of 4 of port one and ports is recovered.
Shown in Figure 15 A, recover the switching equipment in the system embodiment of port transmitting and receiving service for the present invention, comprising: at least one port one, be used for transmitting and receiving service and interactive information between the port with corresponding switching equipment, be port 4 in embodiments of the present invention; The 3rd processing module 12 is used for the RDI that receiving port 1 reports, if port one do not receive this RDI, the removing information that will report RDI is to the 3rd processing module 12, and described the 3rd processing module 12 is recovered normal operating conditions with port one.
Shown in Figure 15 B, recover another switching equipment in the system embodiment of port transmitting and receiving service for the present invention, corresponding with switching equipment shown in Figure 15 A, comprising: at least one port 4 is used to detect CCMLoss, and informs second sending module 11; Second sending module 11, be used for after not had CCM Loss on the port 4 of this switching equipment, port 4 will report the removing information of CCM Loss to second sending module 11, this second sending module 11 will notify port 4 cancellations to return RDI with port 4 corresponding port in another switching equipment, be port one in embodiments of the present invention; Manages module 14 everywhere, be used for when port 4 detects the CC message that the port one of another switching equipment sends again, port 4 reports the removing information of the CCM Loss of this port the to manage module 14 everywhere to this, and this is managed module 14 everywhere port 4 is recovered normal operating conditionss.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (22)

1, a kind of method that stops the port transmitting and receiving service is characterized in that:
Second port of second switching equipment sends the remote bug indication to first port of first switching equipment, and described first port and second port are corresponding receipts/sending service port in professional the transmission;
First port of described first switching equipment receives described remote bug indication, reports this remote bug to be indicated to first switching equipment, and described first switching equipment is with described first interface disabling, and first port of this first switching equipment stops receipts/sending service.
2, the method that stops the port transmitting and receiving service according to claim 1 is characterized in that: second port at second switching equipment of described forbidding also comprised before first port of first switching equipment sends the remote bug indication:
Second port of described second switching equipment detects the connectivity testing message less than first port transmission of first switching equipment at the appointed time, and described second port reports connectivity testing message to lose defective to described second switching equipment;
After described second switching equipment received that described connectivity testing message is lost defective, with described second interface disabling, second port of described second switching equipment stopped receipts/sending service.
3, the method that stops the port transmitting and receiving service according to claim 2, it is characterized in that: second port of described second switching equipment stops receipts/sending service and is specially: it is disabled that described second switching equipment detects described second port by Link Aggregation Control Protocol, will stop the second port receipts/sending service of this second switching equipment.
4, the method that stops the port transmitting and receiving service according to claim 2, it is characterized in that: second port of described second switching equipment stops receipts/sending service and is specially: it is disabled that described second switching equipment detects described second port by Spanning-Tree Protocol, will stop the second port receipts/sending service of this second switching equipment.
5, according to the described arbitrary method that stops the port transmitting and receiving service of claim 1-4, it is characterized in that: first port of described first switching equipment stops receipts/sending service and is specially: described first switching equipment is disabled by first port that Link Aggregation Control Protocol detects this first switching equipment, will stop the first port receipts/sending service of this first switching equipment.
6, according to the described arbitrary method that stops the port transmitting and receiving service of claim 1-4, it is characterized in that: first port of described first switching equipment stops receipts/sending service and is specially: described first switching equipment is disabled by first port that Spanning-Tree Protocol detects this first switching equipment, will stop the first port receipts/sending service of this first switching equipment.
7, a kind of method of recovering the port transmitting and receiving service is characterized in that:
Second port cancellation of second switching equipment sends the remote bug indication to first port of first switching equipment;
First port of described first switching equipment does not receive described remote bug indication, and described first switching equipment is enabled described first port, and first port of described first switching equipment recovers receipts/sending service.
8, the method for recovery port transmitting and receiving service according to claim 7 is characterized in that: second port cancellation at described second switching equipment also comprised before first port of first switching equipment sends the remote bug indication:
Second port of described second switching equipment detects the connectivity testing message of first port transmission of first switching equipment, and described second port reports connectivity testing message to lose removal of defect information to described second switching equipment;
Described second switching equipment detects described connectivity testing message lose removal of defect information after, enable second port of described second switching equipment, second port of described second switching equipment recovers receipts/sending service.
9, the method for recovery port transmitting and receiving service according to claim 8, it is characterized in that: second port of described second switching equipment recovers receipts/sending service and is specially: described second switching equipment detects described second port by Link Aggregation Control Protocol and enables, will recover the second port receipts/sending service of this second switching equipment.
10, the method for recovery port transmitting and receiving service according to claim 8, it is characterized in that: second port of described second switching equipment recovers receipts/sending service and is specially: described second switching equipment detects described second port by Spanning-Tree Protocol and enables, will recover the second port receipts/sending service of this second switching equipment.
11, according to the method for the described arbitrary recovery port transmitting and receiving service of claim 7-10, it is characterized in that: first port of described first switching equipment recovers receipts/sending service and is specially: described first switching equipment detects described first port by Link Aggregation Control Protocol and enables, will recover the first port receipts/sending service of this first switching equipment.
12, according to the method for the described arbitrary recovery port transmitting and receiving service of claim 7-10, it is characterized in that: first port of described first switching equipment recovers receipts/sending service and is specially: described first switching equipment detects described first port by Spanning-Tree Protocol and enables, will recover the first port receipts/sending service of this first switching equipment.
13, a kind of system that stops the port transmitting and receiving service comprises first switching equipment and second switching equipment, and first port of described first switching equipment and second port of second switching equipment receive and send business mutually, it is characterized in that:
Comprise one first sending module in described second switching equipment, be used for after the connectivity testing message that second port that detects second switching equipment reports is lost defective, to first port transmission remote bug indication of first switching equipment;
Comprise one first processing module in described first switching equipment, be used to receive the remote bug indication that described first port receives, and with described first interface disabling.
14, the system that stops the port transmitting and receiving service according to claim 13 is characterized in that:
Also comprise one second processing module in described second switching equipment, when described second port detects the connectivity testing message that sends less than first port of first switching equipment at the appointed time, be used to receive the connectivity testing message defective that described second port reports, with described second interface disabling.
15, a kind of switching equipment comprises first port, it is characterized in that: also comprise:
First processing module be used to receive the remote bug indication that second port that described first port receives sends, and with described first interface disabling, described first port and second port be the receipts/sending service port of correspondence in the professional transmission.
16, a kind of switching equipment comprises second port, it is characterized in that: also comprise:
First sending module, be used for after the connectivity testing message that second port that detects second switching equipment reports is lost defective, send remote bug and be indicated to first port, described first port and second port are corresponding receipts/sending service port in professional the transmission.
17, switching equipment according to claim 16 is characterized in that: also comprise:
Second processing module when described second port detects the connectivity testing message that sends less than first port of first switching equipment at the appointed time, is used to receive the connectivity testing message defective that described second port reports, with described second interface disabling.
18, a kind of system of recovering the port transmitting and receiving service comprises first switching equipment and second switching equipment, and first port of described first switching equipment and second port of second switching equipment receive and send business mutually, it is characterized in that: also comprise:
Comprise one second sending module in described second switching equipment, be used for when second port of second switching equipment detects connectivity testing message at the appointed time that cancellation is to the remote bug indication of first port transmission of first switching equipment;
Comprise one the 3rd processing module in described first switching equipment, be used for when not receiving the indication of described remote bug, receiving the removing information of described remote bug indication, described first port recovery is enabled.
19, the system of recovery port transmitting and receiving service according to claim 18 is characterized in that:
Comprise also in described second switching equipment that one manages module everywhere, when described second port detects the connectivity testing message that first port of first switching equipment sends, described second port reports described connectivity testing message to lose removal of defect information to the and manages module everywhere, and described the manages module everywhere is used for described second port is recovered to enable.
20, a kind of switching equipment comprises first port, it is characterized in that: also comprise:
The 3rd processing module is used for receiving the removing information of described remote bug indication when not receiving the indication of described remote bug, and described first port recovery is enabled.
21, a kind of switching equipment comprises second port, it is characterized in that: also comprise:
Second sending module, be used for when second port of second switching equipment detects connectivity testing message at the appointed time, cancellation is to the remote bug indication of first port transmission of first switching equipment, and described first port and second port are corresponding receipts/sending service port in professional the transmission.
22, switching equipment according to claim 21 is characterized in that: also comprise:
Manages module everywhere, when described second port detects the connectivity testing message that first port of first switching equipment sends, described second port reports described connectivity testing message to lose removal of defect information to the and manages module everywhere, and described the manages module everywhere is used for described second port is recovered to enable.
CNA2007101772644A 2007-11-13 2007-11-13 Method, system and switching equipment for halting/recovering port transmitting and receiving service Pending CN101436938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101772644A CN101436938A (en) 2007-11-13 2007-11-13 Method, system and switching equipment for halting/recovering port transmitting and receiving service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101772644A CN101436938A (en) 2007-11-13 2007-11-13 Method, system and switching equipment for halting/recovering port transmitting and receiving service

Publications (1)

Publication Number Publication Date
CN101436938A true CN101436938A (en) 2009-05-20

Family

ID=40711175

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101772644A Pending CN101436938A (en) 2007-11-13 2007-11-13 Method, system and switching equipment for halting/recovering port transmitting and receiving service

Country Status (1)

Country Link
CN (1) CN101436938A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355364A (en) * 2011-08-15 2012-02-15 杭州华三通信技术有限公司 Method and device for detecting one-way fault
CN102404143A (en) * 2011-11-17 2012-04-04 华为技术有限公司 Method for processing port failures based on LACP and LACP terminal
CN102571460A (en) * 2012-03-09 2012-07-11 中兴通讯股份有限公司 Single-fiber failure switching method and device
WO2016206635A1 (en) * 2015-06-25 2016-12-29 中兴通讯股份有限公司 Lacp-based forwarding detection method and system
CN106533736A (en) * 2016-10-13 2017-03-22 杭州迪普科技股份有限公司 Network device reboot method and apparatus
WO2017143969A1 (en) * 2016-02-26 2017-08-31 华为技术有限公司 Method, router, and network processor for controlling port status
CN108353026A (en) * 2015-09-23 2018-07-31 极进网络公司 Method, system and computer-readable medium for the advanced distribution in link aggregation group
CN113726572A (en) * 2021-08-31 2021-11-30 中国工商银行股份有限公司 Method, system, equipment and storage medium for automatically modifying switch port

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355364A (en) * 2011-08-15 2012-02-15 杭州华三通信技术有限公司 Method and device for detecting one-way fault
CN102404143A (en) * 2011-11-17 2012-04-04 华为技术有限公司 Method for processing port failures based on LACP and LACP terminal
CN102404143B (en) * 2011-11-17 2014-04-02 华为技术有限公司 Method for processing port failures based on LACP and LACP terminal
CN102571460B (en) * 2012-03-09 2018-02-13 中兴通讯股份有限公司 Single-fiber failure switching method and device
CN102571460A (en) * 2012-03-09 2012-07-11 中兴通讯股份有限公司 Single-fiber failure switching method and device
WO2016206635A1 (en) * 2015-06-25 2016-12-29 中兴通讯股份有限公司 Lacp-based forwarding detection method and system
CN106301871A (en) * 2015-06-25 2017-01-04 中兴通讯股份有限公司 A kind of forwarding detection (BFD) method based on lacp and system
CN108353026A (en) * 2015-09-23 2018-07-31 极进网络公司 Method, system and computer-readable medium for the advanced distribution in link aggregation group
CN108353026B (en) * 2015-09-23 2021-01-19 极进网络公司 Methods, systems, and computer readable media for advanced distribution in a link aggregation group
WO2017143969A1 (en) * 2016-02-26 2017-08-31 华为技术有限公司 Method, router, and network processor for controlling port status
CN106533736A (en) * 2016-10-13 2017-03-22 杭州迪普科技股份有限公司 Network device reboot method and apparatus
CN113726572A (en) * 2021-08-31 2021-11-30 中国工商银行股份有限公司 Method, system, equipment and storage medium for automatically modifying switch port
CN113726572B (en) * 2021-08-31 2022-10-11 中国工商银行股份有限公司 Method, system, equipment and storage medium for automatically modifying switch port

Similar Documents

Publication Publication Date Title
CN101436938A (en) Method, system and switching equipment for halting/recovering port transmitting and receiving service
CN1859811B (en) Passive optical network system and its service protective method
CN101558609B (en) Method, device and system for ring protection
CN101702663B (en) Method and device for updating ring network topology information
CN101060485B (en) Topology changed messages processing method and processing device
CN100512128C (en) Method and system for protecting multicast repeat path and service router
CN101753397B (en) System, method and device for rapidly self-healing Ethernet ring
CN100586096C (en) A topology notification method, system and device based on L2VPN
CN100450036C (en) Method and apparatus for preventing loop when RRPP and partial STP network damage recovery
CN101001165A (en) Network failure recovery method with redundancy port
CN101540638B (en) inter-board protection switching method of TDM service channel in EPON system
CN101001192A (en) Method, system and equipment for protecting ring network link
CN101436975B (en) Method, apparatus and system for implementing rapid convergence in looped network
CN1319320C (en) Method for realizing link state feed-through in network
CN101427499A (en) System and method of multi-nodal APS control protocol signalling
CN100512220C (en) Method for realizing service protection on elastic group ring
CN101127673A (en) Ethernet automatic protection switching method
EP2023541B1 (en) Method, device and communication system to avoid loops in an Ethernet Ring System with an underlying 802.3ad network
CN101777997A (en) Method and system for switching flow of network link
CN101489155A (en) Passive optical network system and service protection method thereof
CN101686167A (en) Method for controlling recovery of faults of Ethernet
CN110635940B (en) Main/standby switching method of EAPS Ethernet ring network
CN101641915B (en) Method for reconfiguring a communication network
WO2013078997A1 (en) Method for processing fault in mrp ring network, and mrp ring network
CN101232406A (en) OAM fast detecting method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090520