CN101695036A - Method and device for detecting IRF links - Google Patents

Method and device for detecting IRF links Download PDF

Info

Publication number
CN101695036A
CN101695036A CN200910211119A CN200910211119A CN101695036A CN 101695036 A CN101695036 A CN 101695036A CN 200910211119 A CN200910211119 A CN 200910211119A CN 200910211119 A CN200910211119 A CN 200910211119A CN 101695036 A CN101695036 A CN 101695036A
Authority
CN
China
Prior art keywords
link
irf
bfd
main equipment
testing result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910211119A
Other languages
Chinese (zh)
Other versions
CN101695036B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2009102111192A priority Critical patent/CN101695036B/en
Publication of CN101695036A publication Critical patent/CN101695036A/en
Application granted granted Critical
Publication of CN101695036B publication Critical patent/CN101695036B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for detecting IRF links. The method includes that a main device judges whether the IRF links among network devices fail or not according to BFD detecting results; when the IRF links fail, the main device can protect the IRF links; and when the IRF links run normally, the main device can use the IRF links to transmit data. The detecting method and the device can accurately detect whether the IRF links fail or not, and protect the IRF links when the IRF links are in failure, thereby improving reliability of an IRF system.

Description

A kind of detection method of IRF link and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of detection method and device of IRF link.
Background technology
BFD (Bidirectional Forwarding Detection, two-way forwarding detects) is the unified testing mechanism of the whole network, and the forwarding that is used for fast detecting, monitor network link or IP route is communicated with situation.Wherein, detect, make and fast detecting to arrive communication failure between the neighbours, thereby set up alternate channel faster, promoted existing network performance to recover communication by using this BFD.
Concrete, this BFD provides the quick fault testing mechanism of general, standardized a, media independent and protocol-independent, a kind of fault detection mechanism of two two-way forward-paths of equipment room can be provided for upper-layer protocols such as Routing Protocol, MPLS (Multi-Protocol Label Switching, multiprotocol label switching) agreements.
As shown in Figure 1, be the schematic diagram of a kind of IRF (Intelligent Resilient Framework, intelligent resilient infrastructure) system, this IRF links together multiple devices by the IRF port, close equipment thereby form an All-China Federation of Taiwan Compatriots.The user manages by equipment is closed in this All-China Federation of Taiwan Compatriots, can realize all devices among the IRF is managed.As can be seen, IRF can easily increase port number, bandwidth and the message processing capability of system by increasing the number of devices of internal system, and promptly IRF is by the polymerization between the multiple devices, more stable multilink backup can be provided, realize the high reliability of link.
In the prior art, be to detect by use MAD (Multi Active Detection, multi-Active detects) BFD in the IRF internal system, whether the link that this MAD BFD can detect between main equipment and the slave unit is normal.Wherein, MAD BFD measuring ability is normally moved, need under three layer interfaces, enable the BFD measuring ability, and on this three layer interface, dispose MAD IP address; Bind between this MADIP address and the member device, all need to dispose this MADIP address among the IRF on each member device, the promptly different different MAD IP addresses of member device configuration.
When IRF normally moves, will come into force in the MAD IP address that disposes on the main equipment, and the BFD session is in the down state; And after the IRF division, can form two or more IRF, and at this moment, main equipment among the different I RF (being above-mentioned member device) is gone up the MAD IP address that disposes and all can be come into force, and the BFD session is activated, and can detect the multi-Active conflict this moment.
As shown in Figure 2; the different MAD IP address of configuration on Device (equipment) A and Device B; before the division of IRF link; will come into force in MAD IP address on the DeviceA (main equipment), and when the IRF link divides, the IRF system will split into two separate equipment; be Device A and DeviceB; all can come into force in the MAD IP address of the two, the BFD session will be activated, and the BFD session between Device A and the Device B will set up and in time notify the IRF system to carry out the MAD protection rapidly.
As can be seen, the BFD of existing IRF inside protection is confined to IRF division MAD protection, and the state after promptly in time will dividing by configuration MAD BFD reports, and makes the IRF system in time carry out the MAD protection.
But the internal data path when can't IRF not divided in the prior art is monitored and is protected, and for example, in Fig. 2, if the not division of IRF system is a large amount of when congested but the IRF link has taken place, can't detects and protects the IRF link.
Summary of the invention
The invention provides a kind of detection method and device of IRF link, detect the IRF link is carried out BFD, thereby when the IRF link breaks down, in time protect this IRF link.
In order to achieve the above object, the present invention proposes a kind of detection method of IRF link, be applied to comprise that in the IRF system of at least two network equipments, one is main equipment in described at least two network equipments, other network equipments are slave unit, said method comprising the steps of:
Each network equipment is initiated the BFD detection according to the ARP information of self storage to other network equipments;
Described main equipment obtains the BFD testing result between the network equipment, and judges according to described BFD testing result whether the IRF link between the described network equipment breaks down;
When described IRF link broke down, described main equipment was protected processing to described IRF link;
When described IRF link did not break down, described main equipment continued to use described IRF link transmission data.
Each network equipment, also comprised before other network equipments are initiated the BFD detection according to the ARP information of self storing:
Configuration three layer interfaces and IP address on each network equipment; Described three layer interfaces are used for inner IRF link detecting, the IP address difference that disposes on each network equipment;
Each network equipment generates and stores ARP according to three layer interfaces, IP address and the corresponding MAC Address of other network equipments.
Initiate BFD when detecting when described main equipment to other network equipments, described main equipment obtains the BFD testing result between the network equipment, and judges according to described BFD testing result whether IRF link between the described network equipment breaks down and specifically comprise:
Described main equipment obtains the BFD testing result of self; And judge according to the BFD testing result of self whether the IRF link between described main equipment and other network equipments breaks down;
Initiate BFD when detecting when described slave unit to other network equipments, described main equipment obtains the BFD testing result between the network equipment, and judges according to described BFD testing result whether IRF link between the described network equipment breaks down and specifically comprise:
Described main equipment receives the BFD testing result that described slave unit reports; And judge according to the BFD testing result that described slave unit reports whether the IRF link between described slave unit and other network equipments breaks down.
Described main equipment protects processing specifically to comprise to described IRF link:
When described IRF link had corresponding protection link, described main equipment to described protection link, and used described protection link transmission data with described IRF link switchover;
When described IRF link did not have corresponding protection link, described main equipment was with the port SHUT DOWN of the network equipment of described IRF link correspondence.
When described IRF link has corresponding protection link,
If described IRF link does not break down, then described main equipment uses described IRF link transmission data, and with described protection link corresponding port SHUT DOWN;
If described IRF link breaks down, then described main equipment uses described protection link transmission data, and with described IRF link corresponding port SHUT DOWN.
A kind of checkout gear of IRF link, be applied to comprise in the IRF system of at least two network equipments, one is main equipment in described at least two network equipments, and other network equipments are slave unit, and described device comprises transceiver module, acquisition module, judge module and processing module;
When described device during as described main equipment,
Described transceiver module is used for initiating BFD according to the ARP information of self storage to other network equipments and detects;
Described acquisition module is connected with described transceiver module, is used to obtain the BFD testing result between the network equipment;
Described judge module is connected with described acquisition module, is used for judging according to described BFD testing result whether the IRF link between the described network equipment breaks down;
Described processing module is connected with described judge module, is used for when described IRF link breaks down described IRF link being protected processing;
When described IRF link does not break down, continue to use described IRF link transmission data;
When described device during as described slave unit,
Described transceiver module is used for initiating BFD according to the ARP information of self storage to other network equipments and detects; And the BFD testing result sent to described main equipment;
Described acquisition module is used to obtain the BFD testing result between the network equipment, and by described transceiver module the BFD testing result is sent to described main equipment.
Described device also comprises:
Configuration module is used for configuration three layer interfaces and IP address on each network equipment; Described three layer interfaces are used for inner IRF link detecting, are the IP address difference of each network equipments configuration;
Memory module is connected with transceiver module with described configuration module, and three layer interfaces, IP address and the corresponding MAC Address that are used for according to other network equipments generate and store ARP.
When described device during as described main equipment,
Described acquisition module specifically is used for, and obtains the BFD testing result of self; And/or,
Receive the BFD testing result that described slave unit reports;
Described judge module specifically is used for, and judges according to the BFD testing result of self whether the IRF link between described main equipment and other network equipments breaks down; And/or,
Judge according to the BFD testing result that described slave unit reports whether the IRF link between described slave unit and other network equipments breaks down.
When described device during as described main equipment,
Described processing module specifically is used for, and when described IRF link has corresponding protection link, described IRF link switchover to described protection link, and is used described protection link transmission data;
When described IRF link does not have corresponding protection link, with the port SHUT DOWN of the network equipment of described IRF link correspondence.
When described device has corresponding protection link as described main equipment and described IRF link,
Described processing module also is used for, if described IRF link does not break down, then uses described IRF link transmission data, and with described protection link corresponding port SHUT DOWN;
If described IRF link breaks down, then use described protection link transmission data, and with described IRF link corresponding port SHUT DOWN.
Compared with prior art; the present invention has the following advantages: detection and protection mechanism that a kind of IRF link is provided; make the IRF system can detect the IRF link accurately and whether break down, and when breaking down, protect, thereby improved the reliability of IRF system.
Description of drawings
Fig. 1 is the schematic diagram of IRF system in the prior art;
Fig. 2 is for carrying out the schematic diagram that MAD BFD detects in the prior art;
Fig. 3 is the detection method flow chart of a kind of IRF link of the present invention's proposition;
Fig. 4 is the networking schematic diagram under the application scenarios of the present invention;
Fig. 5 is the detection method flow chart of a kind of IRF link of proposition under the application scenarios of the present invention;
Fig. 6 is the checkout gear structure chart of a kind of IRF link of the present invention's proposition.
Embodiment
Basic thought of the present invention is by configuration three layer interfaces and IP address on each network equipment in the IRF system, makes the ARP information that each network equipment in the IRF system all can be stored other network equipments, uses this ARP information to carry out BFD then and detects.When the BFD testing result breaks down for the IRF link is arranged, can also use the pairing protection link of this IRF link to protect, promptly use the data on this IRF link of this protection link transmission.
As shown in Figure 3, the detection method of a kind of IRF link that the present invention proposes is applied to comprise that in the IRF system of at least two network equipments, one is main equipment in described at least two network equipments, other network equipments are slave unit, said method comprising the steps of:
Step 301, each network equipment is initiated the BFD detection according to the ARP information of self storage to other network equipments;
Step 302, described main equipment are obtained the BFD testing result between the network equipment, and judge according to described BFD testing result whether the IRF link between the described network equipment breaks down; In this step, initiate BFD when detecting when described main equipment to other network equipments, described main equipment obtains the BFD testing result of self; And judge according to the BFD testing result of self whether the IRF link between described main equipment and other network equipments breaks down; Initiate BFD when detecting when described slave unit to other network equipments, described main equipment receives the BFD testing result that described slave unit reports; And judge according to the BFD testing result that described slave unit reports whether the IRF link between described slave unit and other network equipments breaks down.
Step 303, when described IRF link broke down, described main equipment was protected processing to described IRF link; In this step, when described IRF link had corresponding protection link, described main equipment to described protection link, and used described protection link transmission data with described IRF link switchover; When described IRF link did not have corresponding protection link, described main equipment was with the port SHUT DOWN of the network equipment of described IRF link correspondence.
Step 304, when described IRF link did not break down, described main equipment continued to use described IRF link transmission data.
Below in conjunction with a kind of concrete application scenarios, detection method to the IRF link of proposition under the present invention is elaborated, as shown in Figure 4, networking schematic diagram for this application scenarios, in this application scenarios, A, B, C, D are the equipment in the IRF system, for example, and the network equipments such as router, switch; Should be that main equipment, B, C and D are that slave unit is that example describes with A with in the scene.
As shown in Figure 5, the detection method of this IRF link may further comprise the steps:
Step 501 needs to carry out configuration three layer interfaces and IP address on the network equipment that BFD detects in the IRF system.All needing to carry out the BFD detection with A main equipment, B slave unit, C slave unit and D slave unit among the present invention is that example describes, and promptly needs to dispose respectively three layer interfaces and IP address on A main equipment, B slave unit, C slave unit and the D slave unit.
Concrete, be to need the different IP address of configuration on the different network equipments, and can not there be address overlap the IP address of this configuration and IRF system employed IP address.Wherein, this IRF system employed IP address is the IP address of A main equipment, promptly when being B slave unit, C slave unit and D slave unit configuration of IP address, and can not be identical with the IP address of A main equipment.
Further, when on the different network equipments, disposing three layer interfaces, need make this three layer interface can only be used for inner IRF link detecting.For example, if when this three layer interface is VLAN (Virtual Local AreaNetwork, VLAN) interface, then this VLAN can only be used for inner IRF link detecting, can not be as user vlan; When if this three layer interface is routing interface, then this three layer interface also can only be used for inner IRF link detecting, can not enable any agreement, for example, IGP (interior GatewayProtocols, Interior Gateway Protocol) etc., system can not outwards issue the IP of this three layer interface.
Step 502, the network equipment in the IRF system is according to three layer interfaces and the IP address learning of other network equipments and generate ARP (Address Resolution Protocol, address resolution protocol).Wherein, after having disposed three layer interfaces on the network equipment, this three layer interface will use self independently MAC (MediaAccess Control, media interviews control), when three layer interface UP, will send the ARP message mutually between each network equipment, because the IP address of each network equipment is all different with MAC, make each network equipment all may learn the ARP of other network equipments, and in self, store the ARP of other network equipments.For example, when this three layer interface is VLAN interface, each network equipment will use separately independently on these three layers of VLAN interfaces, and MAC (has kept a plurality of inner MAC that use that are used in the network equipment, and the MAC that each network equipment keeps can not duplicate, can proper communication thereby guaranteed between the IRF internal network devices), and this MAC can only use in the enterprising enforcement of the VLAN interface of inside, thereby guaranteed the uniqueness of MAC, make that the IP address of each network equipment is all different with MAC, each network equipment can both be stored the ARP of other network equipments.
Step 503, whether the network equipment is initiated the BFD detection according to the ARP of self storage, promptly detect the IRF link and take place congested or unusual.Wherein, in the IRF system, according to the actual needs, each network equipment can be initiated the BFD testing process.For example, after in the A main equipment, having stored the ARP of B slave unit, C slave unit and D slave unit, this A main equipment can be according to the ARP of this B slave unit, and the IRF link between A main equipment and B slave unit is initiated BFD and detected, and gives unnecessary details no longer in detail among the present invention of this BFD testing process.
Need to prove that this step can also be provided with the BFD detected parameters before carrying out according to actual needs on the network equipment, wherein, this BFD detected parameters includes but not limited to parameter detection time, detects number of times parameter etc.For example, when the IRF link being required when high, can with weak point that detection time, parameter was provided with some, detect few that the number of times parameter is provided with; When the IRF link is required to hang down, can be longer with what detection time, parameter was provided with, detect more that the number of times parameter is provided with.In this step, the network equipment will be according to this BFD detected parameters initiation BFD detection, and promptly the network equipment will carry out the BFD detection with detection number of times parameter according to default parameter detection time that is provided with.
Step 504 takes place when congested or unusual when detecting the IRF link, and the IRF system will protect processing as required.Wherein, if when IRF link (congested or unusual IRF link takes place) has corresponding protection link, this IRF system protects as required to handle to be specially and carries out link switchover; When if the IRF link does not have corresponding protection link, this IRF system protects as required and handles the port SHUT DOWN (closing fully) that is specially corresponding device.
Need to prove; in the present invention; in order to make the IRF system have complete protection mechanism; need provide a protection link for the IRF link; make BFD detect the IRF link when unusual; can use this protection link to handle accordingly, as shown in Figure 4, have IRF link and protection link between A main equipment and the C slave unit.
Concrete, when the generation of IRF link was congested or unusual, the result that BFD detects promptly detected the IRF link and takes place congested or unusual for the BFD session meeting of IRF link both sides detects DOWN.At this moment, if this IRF link has corresponding protection link, then need to carry out link switchover.
For example; in Fig. 4; when the IRF link generation between A main equipment and the C slave unit is congested or unusual; then the main equipment in the IRF system will be known the information that this generation is congested or unusual; because have the protection link between A main equipment and the C slave unit, the IRF system can switch to the flow between A main equipment and the C slave unit on this protection link.
Again for example; when the IRF link generation between C slave unit and the D slave unit is congested or unusual; main equipment in the IRF system will be known the information that this generation is congested or unusual; owing to do not have the configuration protection link between C slave unit and the D slave unit; the IRF system is directly with all of the port SHUT DOWN of C slave unit and/or D slave unit; be that C slave unit and/or D slave unit will withdraw from the IRF system, and restart the flow process of IRF system.Wherein, according to the actual needs, the main equipment in the IRF system will determine to select C slave unit and/or D slave unit, and with corresponding port SHUT DOWN.Among the present invention, with port SHUT DOWN the time, be to be different from DOWN that electricity causes down, promptly the main equipment in the IRF system is initiatively with port SHUT DOWN.
Among the present invention; for fear of loop occurring, after being configured, the protection link can not directly come into force, have only when the generation of IRF link is congested or unusual; could come into force by the protection link, make and have only a link that is used to transmit data between the network equipment in the IRF system.Promptly in the IRF system,, then use this IRF link transmission data,, then use corresponding protection link transmission data if the IRF link is undesired if the IRF link is normal.For example, in Fig. 4, the IRF link between A main equipment and the C slave unit does not just often come into force after the protection link configuration, and corresponding port is by the SHUT DOWN of IRF system, and the data between A main equipment and the C slave unit can only be passed through primary link (IRF link) and transmit; When BFD detects IRF link normal anomaly, the IRF system will protect the two ends state of link to recover, and with the port SHUT DOWN of primary link, at this moment, data can switch to rapidly on the protection link to be transmitted simultaneously.
Need to prove, in the IRF system, need provide one to report mechanism, when promptly the network equipment detects BFD session DOWN (the IRF link takes place congested or unusual), the main equipment that congested or unusual information reports the IRF system need be taken place the IRF link; Make main equipment receive the IRF link when congested or unusual information takes place, can in time respond, promptly whether exist the protection link to handle accordingly according to this IRF link.This corresponding processing specifically comprises: when having the protection link, data are switched to the protection link, and with original primary link port SHUT DOWN; Do not exist protection during link, all of the port SHUT DOWN with the pairing network equipment of IRF link (for example, can the big equipment of choice box ID) makes this network equipment withdraw from the IRF system, and this process does not repeat them here.
As shown in Figure 6, the checkout gear of a kind of IRF link that the present invention proposes is applied to comprise that in the IRF system of at least two network equipments, one is main equipment in described at least two network equipments, and other network equipments are slave unit,
Described device comprises transceiver module 61, acquisition module 62, judge module 63, processing module 64, configuration module 65 and memory module 66; Wherein,
Described transceiver module 61 is used at described device during as described main equipment, initiates BFD according to the ARP information of self storage to other network equipments and detects; At described device during, initiate BFD according to the ARP information of self storage to other network equipments and detect as described slave unit; And the BFD testing result sent to described main equipment.
Described acquisition module 62 is connected with described transceiver module 61, is used for during as described main equipment, obtaining the BFD testing result between the network equipment at described device; , obtain the BFD testing result between the network equipment, and the BFD testing result is sent to described main equipment during at described device by described transceiver module 61 as described slave unit.
Further, when described device during as described main equipment, described acquisition module 62 specifically is used for, and obtains the BFD testing result of self; And/or, receive the BFD testing result that described slave unit reports.
Described judge module 63 is connected with described acquisition module 62, is used for during as described main equipment, judging according to described BFD testing result whether the IRF link between the described network equipment breaks down at described device.
Further, at described device as described main equipment, when described acquisition module 62 obtained the BFD testing result of self, described judge module 63 specifically was used for, and judged according to the BFD testing result of self whether the IRF link between described main equipment and other network equipments breaks down;
When described acquisition module 62 received the BFD testing result that described slave unit reports, described judge module 63 specifically was used for, and judges according to the BFD testing result that described slave unit reports whether the IRF link between described slave unit and other network equipments breaks down.
Described processing module 64 is connected with described judge module 63, is used for during as described main equipment, when described IRF link breaks down, described IRF link being protected processing at described device; When described IRF link does not break down, continue to use described IRF link transmission data.
Further, during as described main equipment, described processing module 64 specifically is used for when described IRF link has corresponding protection link at described device, and described IRF link switchover to described protection link, and is used described protection link transmission data; When described IRF link does not have corresponding protection link, with the port SHUT DOWN of the network equipment of described IRF link correspondence.
When described device has corresponding protection link as described main equipment and described IRF link, described processing module 64 also is used for, if described IRF link does not break down, then use described IRF link transmission data, and with described protection link corresponding port SHUT DOWN; If described IRF link breaks down, then use described protection link transmission data, and with described IRF link corresponding port SHUT DOWN.
Configuration module 65 is used at described device during as described main equipment or slave unit configuration three layer interfaces and IP address on each network equipment; Described three layer interfaces are used for inner IRF link detecting, are the IP address difference of each network equipments configuration.
Memory module 66 is connected with transceiver module 61 with described configuration module 65, is used at described device during as described main equipment or slave unit, generates and stores ARP according to three layer interfaces, IP address and the corresponding MAC Address of other network equipments.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (10)

1. the detection method of an IRF link is characterized in that, is applied to comprise that in the IRF system of at least two network equipments, one is main equipment in described at least two network equipments, and other network equipments are slave unit, said method comprising the steps of:
Each network equipment is initiated the BFD detection according to the ARP information of self storage to other network equipments;
Described main equipment obtains the BFD testing result between the network equipment, and judges according to described BFD testing result whether the IRF link between the described network equipment breaks down;
When described IRF link broke down, described main equipment was protected processing to described IRF link;
When described IRF link did not break down, described main equipment continued to use described IRF link transmission data.
2. the method for claim 1 is characterized in that, each network equipment, also comprised before other network equipments are initiated the BFD detection according to the ARP information of self storing:
Configuration three layer interfaces and IP address on each network equipment; Described three layer interfaces are used for inner IRF link detecting, the IP address difference that disposes on each network equipment;
Each network equipment generates and stores ARP according to three layer interfaces, IP address and the corresponding MAC Address of other network equipments.
3. the method for claim 1 is characterized in that,
Initiate BFD when detecting when described main equipment to other network equipments, described main equipment obtains the BFD testing result between the network equipment, and judges according to described BFD testing result whether IRF link between the described network equipment breaks down and specifically comprise:
Described main equipment obtains the BFD testing result of self; And judge according to the BFD testing result of self whether the IRF link between described main equipment and other network equipments breaks down;
Initiate BFD when detecting when described slave unit to other network equipments, described main equipment obtains the BFD testing result between the network equipment, and judges according to described BFD testing result whether IRF link between the described network equipment breaks down and specifically comprise:
Described main equipment receives the BFD testing result that described slave unit reports; And judge according to the BFD testing result that described slave unit reports whether the IRF link between described slave unit and other network equipments breaks down.
4. the method for claim 1 is characterized in that, described main equipment protects processing specifically to comprise to described IRF link:
When described IRF link had corresponding protection link, described main equipment to described protection link, and used described protection link transmission data with described IRF link switchover;
When described IRF link did not have corresponding protection link, described main equipment was with the port SHUT DOWN of the network equipment of described IRF link correspondence.
5. method as claimed in claim 4 is characterized in that, when described IRF link has corresponding protection link,
If described IRF link does not break down, then described main equipment uses described IRF link transmission data, and with described protection link corresponding port SHUT DOWN;
If described IRF link breaks down, then described main equipment uses described protection link transmission data, and with described IRF link corresponding port SHUT DOWN.
6. the checkout gear of an IRF link, it is characterized in that, be applied to comprise in the IRF system of at least two network equipments, one is main equipment in described at least two network equipments, other network equipments are slave unit, and described device comprises transceiver module, acquisition module, judge module and processing module;
When described device during as described main equipment,
Described transceiver module is used for initiating BFD according to the ARP information of self storage to other network equipments and detects;
Described acquisition module is connected with described transceiver module, is used to obtain the BFD testing result between the network equipment;
Described judge module is connected with described acquisition module, is used for judging according to described BFD testing result whether the IRF link between the described network equipment breaks down;
Described processing module is connected with described judge module, is used for when described IRF link breaks down described IRF link being protected processing;
When described IRF link does not break down, continue to use described IRF link transmission data;
When described device during as described slave unit,
Described transceiver module is used for initiating BFD according to the ARP information of self storage to other network equipments and detects; And the BFD testing result sent to described main equipment;
Described acquisition module is used to obtain the BFD testing result between the network equipment, and by described transceiver module the BFD testing result is sent to described main equipment.
7. device as claimed in claim 6 is characterized in that, also comprises:
Configuration module is used for configuration three layer interfaces and IP address on each network equipment; Described three layer interfaces are used for inner IRF link detecting, are the IP address difference of each network equipments configuration;
Memory module is connected with transceiver module with described configuration module, and three layer interfaces, IP address and the corresponding MAC Address that are used for according to other network equipments generate and store ARP.
8. device as claimed in claim 6 is characterized in that, when described device during as described main equipment,
Described acquisition module specifically is used for, and obtains the BFD testing result of self; And/or,
Receive the BFD testing result that described slave unit reports;
Described judge module specifically is used for, and judges according to the BFD testing result of self whether the IRF link between described main equipment and other network equipments breaks down; And/or,
Judge according to the BFD testing result that described slave unit reports whether the IRF link between described slave unit and other network equipments breaks down.
9. device as claimed in claim 6 is characterized in that, when described device during as described main equipment,
Described processing module specifically is used for, and when described IRF link has corresponding protection link, described IRF link switchover to described protection link, and is used described protection link transmission data;
When described IRF link does not have corresponding protection link, with the port SHUT DOWN of the network equipment of described IRF link correspondence.
10. device as claimed in claim 9 is characterized in that, when described device has corresponding protection link as described main equipment and described IRF link,
Described processing module also is used for, if described IRF link does not break down, then uses described IRF link transmission data, and with described protection link corresponding port SHUT DOWN;
If described IRF link breaks down, then use described protection link transmission data, and with described IRF link corresponding port SHUT DOWN.
CN2009102111192A 2009-11-05 2009-11-05 Method and device for detecting IRF links Active CN101695036B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102111192A CN101695036B (en) 2009-11-05 2009-11-05 Method and device for detecting IRF links

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102111192A CN101695036B (en) 2009-11-05 2009-11-05 Method and device for detecting IRF links

Publications (2)

Publication Number Publication Date
CN101695036A true CN101695036A (en) 2010-04-14
CN101695036B CN101695036B (en) 2012-04-18

Family

ID=42093978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102111192A Active CN101695036B (en) 2009-11-05 2009-11-05 Method and device for detecting IRF links

Country Status (1)

Country Link
CN (1) CN101695036B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917287A (en) * 2010-08-04 2010-12-15 杭州华三通信技术有限公司 Fault processing method and fault detecting system of IRF (Intelligent Resilient Framework)
CN102231682A (en) * 2011-07-25 2011-11-02 杭州华三通信技术有限公司 Stacking conflict processing method and equipment
CN102347867A (en) * 2011-11-14 2012-02-08 杭州华三通信技术有限公司 Processing method and equipment for stacking splitting detection
WO2012075731A1 (en) * 2010-12-07 2012-06-14 中兴通讯股份有限公司 Method and device for link fault detecting and recovering based on arp interaction
CN103354504A (en) * 2013-06-25 2013-10-16 杭州华三通信技术有限公司 Method and apparatus for managing virtual network equipment
CN103490969A (en) * 2013-09-17 2014-01-01 烽火通信科技股份有限公司 System and method for achieving VPWS redundancy protection rapid convergence
CN104092574A (en) * 2014-07-22 2014-10-08 杭州华三通信技术有限公司 Method and device for processing RPR faults caused by IRF splitting
WO2016146022A1 (en) * 2015-03-13 2016-09-22 Hangzhou H3C Technologies Co., Ltd. Preventing multiple conflicting stacks
CN103354504B (en) * 2013-06-25 2016-11-30 杭州华三通信技术有限公司 A kind of virtual network device management method and device
CN107483339A (en) * 2017-09-15 2017-12-15 中国联合网络通信集团有限公司 A kind of cloud platform and video frequency monitoring method
CN109218177A (en) * 2017-07-03 2019-01-15 中兴通讯股份有限公司 Overseas chain circuit detecting method and device, storage medium and computer equipment
CN110635968A (en) * 2019-09-27 2019-12-31 深信服科技股份有限公司 Monitoring method, device and equipment for stacked double-active detection channel and storage medium
CN112737944A (en) * 2020-12-25 2021-04-30 浪潮思科网络科技有限公司 Bfd-based peer-link state detection method, device and medium

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917287B (en) * 2010-08-04 2012-03-14 杭州华三通信技术有限公司 Fault processing method and fault detecting system of IRF (Intelligent Resilient Framework)
CN101917287A (en) * 2010-08-04 2010-12-15 杭州华三通信技术有限公司 Fault processing method and fault detecting system of IRF (Intelligent Resilient Framework)
WO2012075731A1 (en) * 2010-12-07 2012-06-14 中兴通讯股份有限公司 Method and device for link fault detecting and recovering based on arp interaction
US9276898B2 (en) 2010-12-07 2016-03-01 Zte Corporation Method and device for link fault detecting and recovering based on ARP interaction
CN102231682A (en) * 2011-07-25 2011-11-02 杭州华三通信技术有限公司 Stacking conflict processing method and equipment
CN102231682B (en) * 2011-07-25 2014-12-24 杭州华三通信技术有限公司 Stacking conflict processing method and equipment
CN102347867A (en) * 2011-11-14 2012-02-08 杭州华三通信技术有限公司 Processing method and equipment for stacking splitting detection
CN102347867B (en) * 2011-11-14 2014-06-25 杭州华三通信技术有限公司 Processing method and equipment for stacking splitting detection
CN103354504B (en) * 2013-06-25 2016-11-30 杭州华三通信技术有限公司 A kind of virtual network device management method and device
CN103354504A (en) * 2013-06-25 2013-10-16 杭州华三通信技术有限公司 Method and apparatus for managing virtual network equipment
CN103490969A (en) * 2013-09-17 2014-01-01 烽火通信科技股份有限公司 System and method for achieving VPWS redundancy protection rapid convergence
CN103490969B (en) * 2013-09-17 2016-07-06 烽火通信科技股份有限公司 Realize the system and method for VPWS redundancy protecting Fast Convergent
CN104092574A (en) * 2014-07-22 2014-10-08 杭州华三通信技术有限公司 Method and device for processing RPR faults caused by IRF splitting
WO2016146022A1 (en) * 2015-03-13 2016-09-22 Hangzhou H3C Technologies Co., Ltd. Preventing multiple conflicting stacks
CN109218177A (en) * 2017-07-03 2019-01-15 中兴通讯股份有限公司 Overseas chain circuit detecting method and device, storage medium and computer equipment
CN107483339A (en) * 2017-09-15 2017-12-15 中国联合网络通信集团有限公司 A kind of cloud platform and video frequency monitoring method
CN107483339B (en) * 2017-09-15 2020-03-13 中国联合网络通信集团有限公司 Cloud platform and video monitoring method
CN110635968A (en) * 2019-09-27 2019-12-31 深信服科技股份有限公司 Monitoring method, device and equipment for stacked double-active detection channel and storage medium
CN112737944A (en) * 2020-12-25 2021-04-30 浪潮思科网络科技有限公司 Bfd-based peer-link state detection method, device and medium

Also Published As

Publication number Publication date
CN101695036B (en) 2012-04-18

Similar Documents

Publication Publication Date Title
CN101695036B (en) Method and device for detecting IRF links
JP4840236B2 (en) Network system and node device
CN104168193B (en) A kind of method and routing device of Virtual Router Redundancy Protocol fault detect
US20160065479A1 (en) Distributed input/output architecture for network functions virtualization
US9942138B2 (en) Method and device for policy based routing
CN101159669A (en) Service flow switching method and apparatus
US20140043960A1 (en) Method, tor switch, and system for implementing protection switchover based on trill network
US10862735B2 (en) Method and apparatus for implementing operation, administration, and maintenance function
US8477598B2 (en) Method and system for implementing network element-level redundancy
WO2012058895A1 (en) Method and device for switching aggregation links
CN103220189B (en) Multi-active detection (MAD) backup method and equipment
WO2016091094A1 (en) Optical transport network protection switching method and device
CN101909006A (en) BFD (Bidirectional Forwarding Detection) message sending and receiving methods as well as device and communication system thereof
CN106487696B (en) Link failure detection method and device
US10033573B2 (en) Protection switching method, network, and system
CN102769552B (en) A kind of method by transmission BFD message during BFD detection LSP and equipment
WO2011137766A2 (en) Method and relevant device and system for determining network element running state
US9379938B2 (en) Method and system for SOAM flow switching
JP5558436B2 (en) Network system and network failure avoidance method
EP4199465A1 (en) Creating a packet with a loopback label stack to detect network link/node failures
US8553531B2 (en) Method and system for implementing network element-level redundancy
US8547828B2 (en) Method and system for implementing network element-level redundancy
CN113037622A (en) System and method for preventing BFD oscillation
US8477599B2 (en) Method and system for implementing network element-level redundancy
KR101888041B1 (en) Method and apparatus for network diagnosis processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address