CN104202193B - The method of distributed protection link failure detection - Google Patents

The method of distributed protection link failure detection Download PDF

Info

Publication number
CN104202193B
CN104202193B CN201410449714.0A CN201410449714A CN104202193B CN 104202193 B CN104202193 B CN 104202193B CN 201410449714 A CN201410449714 A CN 201410449714A CN 104202193 B CN104202193 B CN 104202193B
Authority
CN
China
Prior art keywords
fault detection
detection status
status machine
mep
line card
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.)
Active
Application number
CN201410449714.0A
Other languages
Chinese (zh)
Other versions
CN104202193A (en
Inventor
李智荣
刘驰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HUZHOU FENGYUAN AGRICULTURAL EQUIPMENT MANUFACTURE Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410449714.0A priority Critical patent/CN104202193B/en
Publication of CN104202193A publication Critical patent/CN104202193A/en
Application granted granted Critical
Publication of CN104202193B publication Critical patent/CN104202193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Hardware Redundancy (AREA)

Abstract

The present invention proposes a kind of method of distributed protection link failure detection, including:MEP fault detection status machine is configured on the line card that the master control borad and needs of interchanger detect, and MEP is configured to realize two protection links on two ports of the line card of interchanger, two ports are respectively main port and standby port;Start a fault detection status machine to be detected, other fault detection status machines are in halted state;When the fault detection status machine examination started, which measures malfunction, to change, other MEP fault detection status machine synchronized update is new malfunction.Data processing is distributed on the line card of interchanger by the method for distributed protection link failure detection of the present invention, and this takes the cpu resource of interchanger master control borad by greatly reducing;Also, the present invention provides protection link to detect the failure of forward-path, when wherein a certain bar physical link breaks down, data message can be forwarded by an other link.

Description

The method of distributed protection link failure detection
Technical field
The present invention relates to a kind of method of network device link detection, especially with respect to the link detecting of enterprise scale switches Method.
Background technology
IEEE802.1ag agreements are mainly for detection of two layers of forward-path fault detect of the network equipment and management, its principle It is briefly described as follows.
In the both ends for two layers of forward-path for needing to detect configuration MEP (Maintenance association End Point, safeguard end points), afterwards, the MEP of one end sends CCM messages to the MEP of opposite end periodically, while detects and sent from opposite end The CCM messages to come over, if sending the CCM that opposite end transmission is not received in the cycle at 3.5 times, then it is assumed that link breaks down, Need advertising link failure.
The transmission cycle of CCM messages as defined in IEEE802.1ag agreements has:3.3ms、10ms、100ms、1s、10s、 1min、10min.Calculated by configuring 1024 MEP so that 1 second cycle sent CCM messages as an example, equipment needs to set to opposite end each second Preparation send 1024 CCM messages, while handles 1024 CCM messages that opposite end sends over.If all by enterprise scale switches Master control borad complete these processing, this can take the cpu resource of excessive master control borad, influence the stabilization of system.
The content of the invention
The technical problem that the present invention need to solve is to provide a kind of distributed protection link for reducing and taking master control borad cpu resource The method of fault detect.
Above-mentioned in order to solve the problems, such as, the present invention devises a kind of method of distributed protection link failure detection, and it is wrapped Include:Step 1:MEP fault detection status machine is configured on the line card that the master control borad and needs of interchanger detect, and is being exchanged MEP is configured on two ports of the line card of machine to realize two protection links, two ports are respectively main port and standby end Mouthful;Step 2:Start a fault detection status machine to be detected, other fault detection status machines are in halted state;Step 3: When the fault detection status machine examination started, which measures malfunction, to change, other MEP fault detection status machine is synchronous It is updated to new malfunction.
Further improved as of the invention, in the step 2, the fault detection status machine started first on main port enters Row detection.
Further improve as of the invention, when the fault detection status machine on main port link occurs and switched, stop Fault detection status machine on main port, start the fault detection status machine on standby port.
Further improved as of the invention, when the line card where two ports breaks down, start the failure of master control borad Detect state machine.
Further improved as of the invention, described two ports are respectively on two line cards or positioned at same line card On.
Data processing is distributed on the line card of interchanger by the method for distributed protection link failure detection of the present invention, and this will Greatly reduce the cpu resource for taking interchanger master control borad;Also, the present invention provides two protection physical links to detect forwarding road The failure in footpath, when wherein a certain bar physical link breaks down, data message can be turned by an other physical link Hair.
Brief description of the drawings
Fig. 1 is the method schematic diagram of distributed protection link failure detection.
Embodiment
In order that relevant technical staff in the field more fully understands technical scheme, below in conjunction with accompanying drawing and reality Mode is applied, the technical scheme in embodiment of the present invention is clearly and completely described, it is clear that described embodiment Only a part of embodiment of the invention, rather than whole embodiments.
The invention provides a kind of method of distributed protection link failure detection, disposes MEP's on interchanger line card Fault detection status machine, this just concentrates the CPU being distributed to by the CPU processing datas of master control borad on line card to complete by original, significantly Degree, which is reduced, takes master control borad cpu resource, and stability is brought for the operation of switch system.
The method of distributed protection link failure detection of the present invention comprises the following steps:
Step 1:MEP fault detection status machine is configured on the line card that the master control borad and needs of interchanger detect.Such as Shown in Fig. 1, interchanger of the invention is enterprise scale switches, including mainboard card and multiple line cards, in order to detect between interchanger Two layers of forward-path it is whether normal, need to configure MEP fault detection status on the line card 1 and line card 2 that detect in interchanger Machine 10, for carrying out fault detect, the present invention still configures MEP fault detection status machine 10 in master control borad, is to prevent When the fault detection status machine deactivation of the MEP on line card, the fault detection status machine for enabling the MEP of master control borad is examined Survey.Present invention also offers the failures that two protection links are used to detect two layers of forward-path, thus, the also line card in interchanger Two ports on configure MEP with realize two protection links, two ports are respectively main port 20 and standby port 30.This Two ports be able to can also be all located on same line card respectively on line card 1 and line card 2.Configuration completes one above The interchanger at end is with postponing, it is also necessary to the interchanger of opposite end is configured, with netting twine by primary two ports and opposite end of interchanger Primary two ports of interchanger connect so as to form two protection links, as shown in Figure 1 respectively.
Step 2:After interchanger has been configured, start a fault detection status machine and detected, when a fault detect Operationally, other fault detection status machines are then in halted state to state machine.In embodiments of the present invention, start first primary Fault detection status machine on port 20 is detected.When there is link and switched in the fault detection status machine on main port, Stop the fault detection status machine on main port, the fault detection status machine started on standby port 30 is detected.Two When line card where individual port breaks down, the fault detection status machine that can just start master control borad is detected, such as two ends Mouth is located at same business board, and when extracting the business board, both links break down simultaneously, at this time starts MEP on master control borad Fault detection status machine, and fault detection status machine is adjusted to the state of " link failure ".
Step 3:When the fault detection status machine examination started, which measures malfunction, to change, other MEP failure Detection state machine synchronization is updated to new malfunction.The MEP that the present invention only starts fault detection status machine can just be detected To the generation of link failure and the recovery of failure.MEP detects that failure needs the failure to two other position after changing Detect the newest malfunction of state machine synchronization.So the fault detection status machine in halted state is occurring to protect chain originally When road, which switches event or plate, pulls out plate event needs to start, can quickly it be adjusted according to malfunction synchronous here State machine state corresponding to.
Data processing is distributed on the line card of interchanger by the method for distributed protection link failure detection of the present invention, and this will Greatly reduce the cpu resource for taking interchanger master control borad.
The present invention provides two protection physical links to detect the failure of forward-path, when wherein a certain bar physical link goes out Existing failure, data message can be forwarded by an other physical link.If the forward-path of data is connection, MEP will not reporting fault alarm.So, would not be because protecting a certain bar link of link to break down and reporting fault alarm.
Only express one embodiment of the present invention above, its describe it is more specific and in detail, but can not therefore and It is interpreted as the limitation to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, do not taking off On the premise of present inventive concept, various modifications and improvements can be made, these belong to protection scope of the present invention.Cause This, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (5)

  1. A kind of 1. method of distributed protection link failure detection, it is characterised in that comprise the following steps:
    Step 1:MEP fault detection status machine is configured on the line card that the master control borad and needs of interchanger detect, and is being handed over MEP is configured on two ports of the line card changed planes to realize two protection links, two ports are respectively main port and standby Port;
    Step 2:Start a fault detection status machine to be detected, other fault detection status machines are in halted state;
    Step 3:When the fault detection status machine examination started, which measures malfunction, to change, other MEP fault detect State machine synchronization is updated to new malfunction.
  2. 2. the method for distributed protection link failure detection according to claim 1, it is characterised in that in the step 2, The fault detection status machine started first on main port is detected.
  3. 3. the method for distributed protection link failure detection according to claim 2, it is characterised in that on main port Fault detection status machine when link occur and switching, stop the fault detection status machine on main port, start on standby port Fault detection status machine.
  4. 4. the method for distributed protection link failure detection according to claim 3, it is characterised in that in two port institutes Line card break down when, start the fault detection status machine of master control borad.
  5. 5. the method for distributed protection link failure detection according to claim 1, it is characterised in that described two ports Respectively on two line cards or on same line card.
CN201410449714.0A 2014-09-05 2014-09-05 The method of distributed protection link failure detection Active CN104202193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410449714.0A CN104202193B (en) 2014-09-05 2014-09-05 The method of distributed protection link failure detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410449714.0A CN104202193B (en) 2014-09-05 2014-09-05 The method of distributed protection link failure detection

Publications (2)

Publication Number Publication Date
CN104202193A CN104202193A (en) 2014-12-10
CN104202193B true CN104202193B (en) 2018-03-27

Family

ID=52087423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410449714.0A Active CN104202193B (en) 2014-09-05 2014-09-05 The method of distributed protection link failure detection

Country Status (1)

Country Link
CN (1) CN104202193B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961353A (en) * 2017-03-30 2017-07-18 重庆金美通信有限责任公司 A kind of large-scale communication network network route exchange device hardware fault inline diagnosis and batch gathering method
CN108650134B (en) * 2018-05-14 2021-06-04 周怡颋 Network fault positioning method and device and electronic equipment
CN115065590B (en) * 2022-06-28 2023-05-26 烽火通信科技股份有限公司 Method and device for realizing linear protection of distributed dual-state machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217424A (en) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 A detecting method and device of aggregated link failures
CN101471814A (en) * 2007-12-28 2009-07-01 华为技术有限公司 Automatic protection switching system and method
CN101753368A (en) * 2008-12-01 2010-06-23 中兴通讯股份有限公司 A kind of guard method of Ethernet
CN102014019A (en) * 2010-11-04 2011-04-13 中兴通讯股份有限公司 Aggregated link switching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471814A (en) * 2007-12-28 2009-07-01 华为技术有限公司 Automatic protection switching system and method
CN101217424A (en) * 2008-01-21 2008-07-09 中兴通讯股份有限公司 A detecting method and device of aggregated link failures
CN101753368A (en) * 2008-12-01 2010-06-23 中兴通讯股份有限公司 A kind of guard method of Ethernet
CN102014019A (en) * 2010-11-04 2011-04-13 中兴通讯股份有限公司 Aggregated link switching method and device

Also Published As

Publication number Publication date
CN104202193A (en) 2014-12-10

Similar Documents

Publication Publication Date Title
US10129617B2 (en) Link switching method, device, and system
CN105453487B (en) Method, apparatus and medium for the dual-homed deployment in data center environment
US8804485B2 (en) Method and apparatus for coordinating fault recovery techniques among domains
CN103532753B (en) A kind of double hot standby method of synchronization of skipping based on internal memory
CN103580886B (en) Grouping conveying network pretection switch apparatus and method
KR102088298B1 (en) Method and appratus for protection switching in packet transport system
CN104202193B (en) The method of distributed protection link failure detection
CN106789630A (en) A kind of network protection method and system, controller, equipment
EP2151101A2 (en) Monitoring high speed network traffic via sequentially multiplexed data streams
CN106487679A (en) The active-standby switch system of Ethernet switch and changing method
CN102006189A (en) Primary access server determination method and device for dual-machine redundancy backup
CN104283790B (en) The topology discovery method and equipment of RPR in SDN
CN103384212A (en) Double-machine high availability scheme for communication application system and implementation thereof
CN103227725A (en) Method and device for dual-server backup of firewall
CN104317679B (en) A kind of SCADA system is based on the communication fault-tolerance method of thread redundancy
CN102891769A (en) Link fault informing method and apparatus
CN106789264A (en) The method and apparatus that a kind of link aggregation group passage is switched fast
CN102055624A (en) Method and system for detecting connectivity fault
CN103888295A (en) Method and system for achieving LSP quick detection based on loopback in PTN/IPRAN management
CN105024798A (en) Method and device for time synchronization
CN106161126A (en) The test processing method of alarm and device
CN106341249A (en) Redundant port switching method and device
CN102025540A (en) Topological structure of Ethernet passive optical network (EPON) network element equipment and configuration method thereof
CN103812697B (en) The strange disaster recovery method and system of a kind of distributed communication network
CN101945083B (en) Authentication method and counterfeit judgment method for virtual router redundancy protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201216

Address after: 313028 Industrial Park, balidian Town, Huzhou City, Zhejiang Province

Patentee after: HUZHOU FENGYUAN AGRICULTURAL EQUIPMENT MANUFACTURE Co.,Ltd.

Address before: 201616 No. 3666 Sixian Road, Songjiang District, Shanghai

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right