Nothing Special   »   [go: up one dir, main page]

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

Method and device for detecting IRF links Download PDF

Info

Publication number
CN101695036B
CN101695036B CN2009102111192A CN200910211119A CN101695036B CN 101695036 B CN101695036 B CN 101695036B CN 2009102111192 A CN2009102111192 A CN 2009102111192A CN 200910211119 A CN200910211119 A CN 200910211119A CN 101695036 B CN101695036 B CN 101695036B
Authority
CN
China
Prior art keywords
link
irf
network
bfd detection
module
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
CN2009102111192A
Other languages
Chinese (zh)
Other versions
CN101695036A (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

IRF link detection method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for detecting an IRF link.
Background
BFD (Bidirectional Forwarding Detection) is a unified Detection mechanism of the whole network, and is used for rapidly detecting and monitoring the Forwarding communication condition of a link or an IP route in the network. The BFD is used for detection, so that communication faults can be quickly detected between neighbors, a standby channel is built more quickly to recover communication, and the existing network performance is improved.
Specifically, the BFD provides a general, standardized, media-independent, and Protocol-independent fast failure detection mechanism, and may provide a failure detection mechanism for a bidirectional forwarding path between two devices for upper layer protocols such as a routing Protocol, an MPLS (Multi-Protocol Label Switching) Protocol, and the like.
Fig. 1 is a schematic diagram of an IRF (Intelligent Resilient Framework) system, in which multiple devices are connected together through IRF ports to form a combined device. The user can manage all the devices in the IRF by managing the combined device. It can be seen that the IRF can easily increase the number of ports, the bandwidth and the message processing capability of the system by increasing the number of devices inside the system, that is, the IRF can provide more stable multilink backup by aggregating multiple devices, thereby realizing high reliability of the links.
In the prior art, inside the IRF system, Detection is performed by using a MAD (Multi Active Detection) BFD, which can detect whether a link between a master device and a slave device is normal. In order to enable the MAD BFD detection function to normally operate, the BFD detection function needs to be enabled under a three-layer interface, and an MAD IP address is configured on the three-layer interface; the MADIP address is bound to the member devices, and each member device in the IRF needs to configure the MADIP address, that is, different member devices configure different MAD IP addresses.
When the IRF normally runs, the MAD IP address configured on the main equipment takes effect, and the BFD session is in a down state; when the IRF is split, two or more IRFs are formed, at this time, the MAD IP addresses configured on the master devices (i.e., the above-mentioned member devices) in different IRFs all take effect, the BFD session is activated, and at this time, a multiple Active conflict is detected.
As shown in fig. 2, different MAD IP addresses are configured on Device a and Device B, before IRF link splitting, the MAD IP address on Device a (master Device) will take effect, and when IRF link splitting, the IRF system will be split into two independent devices, i.e., Device a and Device B, both of which will take effect, the BFD session will be activated, and the BFD session between Device a and Device B will be established quickly and timely notified to the IRF system for MAD protection.
It can be seen that the BFD protection inside the existing IRF is limited to the IRF splitting MAD protection, that is, the split state is reported in time by configuring the MAD BFD, so that the IRF system performs the MAD protection in time.
However, in the prior art, the internal data channel cannot be monitored and protected when the IRF is not split, for example, in fig. 2, if the IRF system is not split, but the IRF link is heavily congested, the IRF link cannot be detected and protected.
Disclosure of Invention
The invention provides a detection method and a detection device for an IRF link, which are used for carrying out BFD detection on the IRF link, so that the IRF link is protected in time when the IRF link fails.
In order to achieve the above object, the present invention provides a method for detecting an IRF link, which is applied to an IRF system including at least two network devices, where one of the at least two network devices is a master device and the other network devices are slave devices, the method including the following steps:
each network device initiates BFD detection to other network devices according to the ARP information stored by the network device;
the main equipment acquires BFD detection results between network equipment and judges whether an IRF link between the network equipment fails or not according to the BFD detection results;
when the IRF link fails, the main equipment carries out protection processing on the IRF link; the protecting the IRF link by the master device specifically includes: when the IRF link has a corresponding protection link, the main device switches the IRF link to the protection link and transmits data by using the protection link; when the IRF link has no corresponding protection link, the master device DOWN a port SHUT of the network device corresponding to the IRF link;
when the IRF link does not have a fault, the main equipment continues to use the IRF link to transmit data.
Before each network device initiates BFD detection to other network devices according to the ARP information stored in itself, the method further comprises the following steps:
configuring three layers of interfaces and IP addresses on each network device; the three-layer interface is used for internal IRF link detection, and IP addresses configured on each network device are different;
and each network device generates and stores the ARP according to the three-layer interfaces, the IP addresses and the corresponding MAC addresses of other network devices.
When the master device initiates BFD detection to other network devices, the master device obtains BFD detection results between the network devices, and determines whether an IRF link between the network devices fails according to the BFD detection results, which specifically includes:
the main equipment acquires a BFD detection result of the main equipment; judging whether an IRF link between the main equipment and other network equipment has a fault according to the BFD detection result of the main equipment;
when the slave device initiates BFD detection to other network devices, the master device obtains BFD detection results between the network devices, and determines whether an IRF link between the network devices fails according to the BFD detection results, which specifically includes:
the master equipment receives a BFD detection result reported by the slave equipment; and judging whether an IRF link between the slave equipment and other network equipment has a fault according to the BFD detection result reported by the slave equipment.
When the IRF link has a corresponding protection link,
if the IRF link does not have a fault, the primary device transmits data by using the IRF link and DOWN a port SHUT corresponding to the protection link;
and if the IRF link fails, the main equipment transmits data by using the protection link and DOWN a port SHUT corresponding to the IRF link.
A detection device of an IRF link is applied to an IRF system comprising at least two network devices, wherein one of the at least two network devices is a main device, and the other network devices are slave devices, and the device comprises a receiving and transmitting module, an obtaining module, a judging module and a processing module;
when the apparatus is to be used as the master device,
the transceiver module is used for initiating BFD detection to other network equipment according to the ARP information stored by the transceiver module;
the acquisition module is connected with the transceiver module and used for acquiring BFD detection results between network devices;
the judging module is connected with the acquiring module and used for judging whether an IRF link between the network devices fails according to the BFD detection result;
the processing module is connected with the judging module and used for protecting the IRF link when the IRF link fails; the IRF link is specifically configured to switch to the protection link when the IRF link has a corresponding protection link, and transmit data using the protection link; when the IRF link has no corresponding protection link, the port SHUT DOWN of the network equipment corresponding to the IRF link is used;
when the IRF link does not have a fault, continuing to use the IRF link to transmit data;
when the apparatus is acting as the slave device,
the transceiver module is used for initiating BFD detection to other network equipment according to the ARP information stored by the transceiver module; sending the BFD detection result to the main equipment;
and the acquisition module is used for acquiring BFD detection results among network devices and sending the BFD detection results to the main device by the transceiver module.
The device further comprises:
the configuration module is used for configuring three layers of interfaces and IP addresses on each network device; the three-layer interface is used for internal IRF link detection, and different IP addresses are configured for each network device;
and the storage module is connected with the configuration module and the transceiving module and is used for generating and storing the ARP according to the three-layer interfaces, the IP addresses and the corresponding MAC addresses of other network equipment.
When the apparatus is to be used as the master device,
the acquisition module is specifically used for acquiring the BFD detection result of the acquisition module; and/or the presence of a gas in the gas,
receiving a BFD detection result reported by the slave equipment;
the judging module is specifically used for judging whether an IRF link between the main equipment and other network equipment fails according to a BFD detection result of the judging module; and/or the presence of a gas in the gas,
and judging whether an IRF link between the slave equipment and other network equipment has a fault according to the BFD detection result reported by the slave equipment.
When the apparatus is the master and the IRF link has a corresponding protection link,
the processing module is further configured to, if the IRF link fails, use the IRF link to transmit data, and DOWN a port corresponding to the protection link;
and if the IRF link fails, using the protection link to transmit data, and DOWN a port SHUT corresponding to the IRF link.
Compared with the prior art, the invention has the following advantages: the detection and protection mechanism of the IRF link is provided, so that the IRF system can accurately detect whether the IRF link fails or not, and can protect the IRF link when the IRF link fails, and the reliability of the IRF system is improved.
Drawings
FIG. 1 is a schematic diagram of a prior art IRF system;
FIG. 2 is a schematic diagram of the prior art for MAD BFD detection;
fig. 3 is a flowchart of a method for detecting an IRF link according to the present invention;
FIG. 4 is a schematic diagram of networking in an application scenario of the present invention;
fig. 5 is a flowchart of a method for detecting an IRF link in an application scenario of the present invention;
fig. 6 is a structural diagram of a detection apparatus for an IRF link according to the present invention.
Detailed Description
The basic idea of the invention is that each network device in the IRF system can store ARP information of other network devices by configuring three layers of interfaces and IP addresses on each network device in the IRF system, and then BFD detection is performed by using the ARP information. When the BFD detection result indicates that an IRF link fails, a protection link corresponding to the IRF link may be used for protection, that is, the protection link is used to transmit data on the IRF link.
As shown in fig. 3, the method for detecting an IRF link according to the present invention is applied to an IRF system including at least two network devices, where one of the at least two network devices is a master device and the other network devices are slave devices, and the method includes the following steps:
step 301, each network device initiates BFD detection to other network devices according to ARP information stored by itself;
step 302, the master device obtains a BFD detection result between network devices, and determines whether an IRF link between the network devices fails according to the BFD detection result; in this step, when the master device initiates BFD detection to other network devices, the master device obtains its own BFD detection result; judging whether an IRF link between the main equipment and other network equipment has a fault according to the BFD detection result of the main equipment; when the slave equipment initiates BFD detection to other network equipment, the master equipment receives a BFD detection result reported by the slave equipment; and judging whether an IRF link between the slave equipment and other network equipment has a fault according to the BFD detection result reported by the slave equipment.
Step 303, when the IRF link fails, the primary device performs protection processing on the IRF link; in this step, when the IRF link has a corresponding protection link, the primary device switches the IRF link to the protection link, and transmits data using the protection link; and when the IRF link has no corresponding protection link, the master device DOWN the port of the network device corresponding to the IRF link.
Step 304, when the IRF link does not have a fault, the master device continues to use the IRF link to transmit data.
The method for detecting an IRF link proposed in the present invention is described in detail below with reference to a specific application scenario, as shown in fig. 4, which is a schematic networking diagram of the application scenario, in the application scenario, A, B, C, D is a device in the IRF system, for example, a network device such as a router and a switch; in this application scenario, a is taken as a master device, and B, C and D are taken as slave devices.
As shown in fig. 5, the method for detecting an IRF link includes the following steps:
step 501, configuring a three-layer interface and an IP address on a network device that needs BFD detection in the IRF system. In the present invention, the case that all the master device a, the slave device B, the slave device C, and the slave device D need BFD detection is described as an example, that is, three layers of interfaces and IP addresses need to be configured on the master device a, the slave device B, the slave device C, and the slave device D, respectively.
Specifically, different IP addresses need to be configured on different network devices, and the configured IP addresses cannot overlap with the IP addresses used by the IRF system. The IP address used by the IRF system is the IP address of the a master device, that is, when configuring IP addresses for the B slave device, the C slave device, and the D slave device, the IP address cannot be the same as the IP address of the a master device.
Further, when configuring a three-layer interface on different network devices, the three-layer interface needs to be only used for internal IRF link detection. For example, if the three-layer interface is a VLAN (Virtual Local area network) interface, the VLAN can only be used for internal IRF link detection and cannot be used as a user VLAN; if the three-layer interface is a routing interface, the three-layer interface can only be used for internal IRF link detection, and cannot enable any protocol, for example, IGP (interior gateway protocol), and the like, and the system cannot issue the IP of the three-layer interface to the outside.
Step 502, the network device in the IRF system learns and generates an ARP (Address Resolution Protocol) according to the three-layer interface and the IP Address of the other network device. After the network devices are configured with three layers of interfaces, the three layers of interfaces use their own independent MAC (media access Control), when the three layers of interfaces are UP, the network devices send ARP messages to each other, and because the IP addresses and the MACs of the network devices are different, the network devices can learn the ARP of other network devices and store the ARP of other network devices in themselves. For example, when the three-layer interface is a VLAN interface, each network device uses a respective independent MAC on the three-layer VLAN interface (multiple MACs for internal use are reserved in the network device, and the MACs reserved by each network device are not duplicated, so that normal communication between IRF internal network devices is ensured), and the MAC can be used only on the internal VLAN interface, so that uniqueness of the MAC is ensured, so that the IP address and the MAC of each network device are different, and each network device can store an ARP of another network device.
Step 503, the network device initiates BFD detection according to the ARP stored in itself, that is, detects whether the IRF link is congested or abnormal. In the IRF system, each network device may initiate a BFD detection procedure according to actual needs. For example, after the ARP of the slave device B, the slave device C, and the slave device D is stored in the master device a, the master device a may initiate BFD detection on an IRF link between the master device a and the slave device B according to the ARP of the slave device B, and the BFD detection process is not described in detail in the present invention.
Before this step is executed, BFD detection parameters may also be set on the network device according to actual needs, where the BFD detection parameters include, but are not limited to, a detection time parameter, and the like. For example, when the requirement on the IRF link is high, the detection time parameter may be set to be shorter, and the detection time parameter may be set to be smaller; when the requirement on the IRF link is low, the detection time parameter can be set longer, and the detection time parameter can be set larger. In this step, the network device initiates BFD detection according to the BFD detection parameters, that is, the network device performs BFD detection according to preset detection time parameters and detection time parameters.
Step 504, when detecting that the IRF link is congested or abnormal, the IRF system performs protection processing according to the need. If the IRF link (congested or abnormal IRF link) has a corresponding protection link, the IRF system performs protection processing as required, specifically, performs link switching; if the IRF link does not have a corresponding protection link, the IRF system performs protection processing as needed, specifically, shutting DOWN (completely closing) the port SHUT of the corresponding device.
It should be noted that, in the present invention, in order to enable the IRF system to have a complete protection mechanism, a protection link needs to be provided for the IRF link, so that when the BFD detects that the IRF link is abnormal, the protection link may be used to perform corresponding processing, as shown in fig. 4, an IRF link and a protection link are provided between the a master device and the C slave device.
Specifically, when the IRF link is congested or abnormal, the BFD session on both sides of the IRF link detects DOWN as a result of BFD detection, that is, the IRF link is congested or abnormal. At this time, if the IRF link has a corresponding protection link, a link switch is required.
For example, in fig. 4, when an IRF link between an a master device and a C slave device is congested or abnormal, a master device in the IRF system will know the information of the congestion or the abnormality, and since a protection link exists between the a master device and the C slave device, the IRF system may switch traffic between the a master device and the C slave device to the protection link.
For another example, when an IRF link between the C slave device and the D slave device is congested or abnormal, the master device in the IRF system will know the information of the congestion or the abnormality, and since a protection link is not configured between the C slave device and the D slave device, the IRF system directly drops all ports SHUT DOWN of the C slave device and/or the D slave device, that is, the C slave device and/or the D slave device will exit the IRF system, and performs a process of restarting the IRF system. According to actual needs, the master device in the IRF system will decide to select the C slave device and/or the D slave device, and will DOWN the corresponding port. In the invention, when the port SHUT is DOWN, the DOWN is different from that caused by power-DOWN, namely, the port SHUT is actively DOWN by the master device in the IRF system.
In the invention, in order to avoid the occurrence of loops, the protection link cannot be directly effective after being configured, and the protection link can be effective only when the IRF link is congested or abnormal, so that only one link for transmitting data is arranged between network equipment in the IRF system. That is, in the IRF system, if the IRF link is normal, the IRF link is used to transmit data, and if the IRF link is abnormal, the corresponding protection link is used to transmit data. For example, in fig. 4, when the IRF link between the a master device and the C slave device is normal, the protection link is not valid after configuration, the corresponding port is SHUT DOWN by the IRF system SHUT, and data between the a master device and the C slave device can only be forwarded through the main link (IRF link); when BFD detects that IRF link is abnormal, the IRF system recovers the state of two ends of protection link, at the same time, the port SHUT DOWN of main link, at this time, data can be quickly switched to the protection link for transmission.
It should be noted that, in the IRF system, a reporting mechanism needs to be provided, that is, when the network device detects BFD session DOWN (congestion or abnormality occurs in an IRF link), information that the IRF link is congested or abnormal needs to be reported to a main device of the IRF system; when receiving the information that the IRF link is congested or abnormal, the main device can respond in time, namely, corresponding processing is carried out according to whether the IRF link has a protection link. The corresponding processing specifically includes: when a protection link exists, switching data to the protection link, and switching a SHUT DOWN port of an original main link; when the protection link does not exist, all ports SHUT DOWN of the network device (for example, a device with a large box ID may be selected) corresponding to the IRF link are used to make the network device quit the IRF system, which is not described herein again.
As shown in fig. 6, the apparatus for detecting an IRF link according to the present invention is applied to an IRF system including at least two network devices, one of the at least two network devices is a master device, the other network devices are slave devices,
the device comprises a transceiver module 61, an acquisition module 62, a judgment module 63, a processing module 64, a configuration module 65 and a storage module 66; wherein,
the transceiver module 61 is configured to initiate BFD detection to other network devices according to ARP information stored in the transceiver module when the apparatus is used as the master device; when the device is used as the slave equipment, BFD detection is initiated to other network equipment according to ARP information stored by the device; and sending the BFD detection result to the main equipment.
The acquiring module 62 is connected to the transceiver module 61, and is configured to acquire a BFD detection result between network devices when the apparatus is used as the master device; when the device is used as the slave device, the BFD detection result between the network devices is obtained, and the transceiver module 61 sends the BFD detection result to the master device.
Further, when the apparatus is used as the master device, the obtaining module 62 is specifically configured to obtain a BFD detection result of the apparatus; and/or receiving the BFD detection result reported by the slave equipment.
The determining module 63 is connected to the obtaining module 62, and configured to determine whether an IRF link between the network devices fails according to the BFD detection result when the apparatus is used as the master device.
Further, when the apparatus is used as the master device, and the obtaining module 62 obtains a BFD detection result of the master device, the determining module 63 is specifically configured to determine whether an IRF link between the master device and another network device fails according to the BFD detection result of the master device;
when the obtaining module 62 receives the BFD detection result reported by the slave device, the determining module 63 is specifically configured to determine whether an IRF link between the slave device and another network device fails according to the BFD detection result reported by the slave device.
The processing module 64 is connected to the determining module 63, and configured to perform protection processing on the IRF link when the IRF link fails when the apparatus serves as the master device; and when the IRF link does not have a fault, continuing to use the IRF link to transmit data.
Further, when the apparatus is used as the master device, the processing module 64 is specifically configured to, when the IRF link has a corresponding protection link, switch the IRF link to the protection link, and transmit data using the protection link; and when the IRF link has no corresponding protection link, the port SHUT of the network equipment corresponding to the IRF link is DOWN.
When the apparatus is used as the master device and the IRF link has a corresponding protection link, the processing module 64 is further configured to, if the IRF link does not have a failure, use the IRF link to transmit data, and DOWN a port SHUT corresponding to the protection link; and if the IRF link fails, using the protection link to transmit data, and DOWN a port SHUT corresponding to the IRF link.
A configuration module 65, configured to configure a three-layer interface and an IP address on each network device when the apparatus is used as the master device or the slave device; the three-layer interface is used for internal IRF link detection, and different IP addresses are configured for each network device.
And a storage module 66, connected to the configuration module 65 and the transceiver module 61, for generating and storing an ARP according to the three-layer interface, the IP address, and the corresponding MAC address of the other network device when the apparatus is used as the master device or the slave device.
The modules of the device can be integrated into a whole or can be separately deployed. The modules can be combined into one module, and can also be further split into a plurality of sub-modules.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by hardware, or by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
Those skilled in the art will appreciate that the drawings are merely schematic representations of one preferred embodiment and that the blocks or flow diagrams in the drawings are not necessarily required to practice the present invention.
Those skilled in the art will appreciate that the modules in the devices in the embodiments may be distributed in the devices in the embodiments according to the description of the embodiments, and may be correspondingly changed in one or more devices different from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
The above-mentioned serial numbers of the present invention are for description only and do not represent the merits of the embodiments.
The above disclosure is only for a few specific embodiments of the present invention, but the present invention is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.

Claims (8)

1. A method for detecting an IRF link is applied to an IRF system comprising at least two network devices, wherein one of the at least two network devices is a master device, and the other network devices are slave devices, and the method comprises the following steps:
each network device initiates BFD detection to other network devices according to the ARP information stored by the network device;
the main equipment acquires BFD detection results between network equipment and judges whether an IRF link between the network equipment fails or not according to the BFD detection results;
when the IRF link fails, the main equipment carries out protection processing on the IRF link; the protecting the IRF link by the master device specifically includes: when the IRF link has a corresponding protection link, the main device switches the IRF link to the protection link and transmits data by using the protection link; when the IRF link has no corresponding protection link, the master device DOWN a port SHUT of the network device corresponding to the IRF link;
when the IRF link does not have a fault, the main equipment continues to use the IRF link to transmit data.
2. The method of claim 1, wherein before each network device initiates BFD detection to other network devices according to its stored ARP information, further comprising:
configuring three layers of interfaces and IP addresses on each network device; the three-layer interface is used for internal IRF link detection, and IP addresses configured on each network device are different;
and each network device generates and stores the ARP according to the three-layer interfaces, the IP addresses and the corresponding MAC addresses of other network devices.
3. The method of claim 1,
when the master device initiates BFD detection to other network devices, the master device obtains BFD detection results between the network devices, and determines whether an IRF link between the network devices fails according to the BFD detection results, which specifically includes:
the main equipment acquires a BFD detection result of the main equipment; judging whether an IRF link between the main equipment and other network equipment has a fault according to the BFD detection result of the main equipment;
when the slave device initiates BFD detection to other network devices, the master device obtains BFD detection results between the network devices, and determines whether an IRF link between the network devices fails according to the BFD detection results, which specifically includes:
the master equipment receives a BFD detection result reported by the slave equipment; and judging whether an IRF link between the slave equipment and other network equipment has a fault according to the BFD detection result reported by the slave equipment.
4. The method of claim 1, wherein when the IRF link has a corresponding protection link,
if the IRF link does not have a fault, the primary device transmits data by using the IRF link and DOWN a port SHUT corresponding to the protection link;
and if the IRF link fails, the main equipment transmits data by using the protection link and DOWN a port SHUT corresponding to the IRF link.
5. The device for detecting the IRF link is characterized by being applied to an IRF system comprising at least two network devices, wherein one of the at least two network devices is a master device, and the other network devices are slave devices, and the device comprises a receiving and transmitting module, an obtaining module, a judging module and a processing module;
when the apparatus is to be used as the master device,
the transceiver module is used for initiating BFD detection to other network equipment according to the ARP information stored by the transceiver module;
the acquisition module is connected with the transceiver module and used for acquiring BFD detection results between network devices;
the judging module is connected with the acquiring module and used for judging whether an IRF link between the network devices fails according to the BFD detection result;
the processing module is connected with the judging module and used for protecting the IRF link when the IRF link fails; the IRF link is specifically configured to switch to the protection link when the IRF link has a corresponding protection link, and transmit data using the protection link; when the IRF link has no corresponding protection link, the port SHUT DOWN of the network equipment corresponding to the IRF link is used;
when the IRF link does not have a fault, continuing to use the IRF link to transmit data;
when the apparatus is acting as the slave device,
the transceiver module is used for initiating BFD detection to other network equipment according to the ARP information stored by the transceiver module; sending the BFD detection result to the main equipment;
and the acquisition module is used for acquiring BFD detection results among network devices and sending the BFD detection results to the main device by the transceiver module.
6. The apparatus of claim 5, further comprising:
the configuration module is used for configuring three layers of interfaces and IP addresses on each network device; the three-layer interface is used for internal IRF link detection, and different IP addresses are configured for each network device;
and the storage module is connected with the configuration module and the transceiving module and is used for generating and storing the ARP according to the three-layer interfaces, the IP addresses and the corresponding MAC addresses of other network equipment.
7. The apparatus of claim 5, wherein when the apparatus is acting as the master device,
the acquisition module is specifically used for acquiring the BFD detection result of the acquisition module; and/or the presence of a gas in the gas,
receiving a BFD detection result reported by the slave equipment;
the judging module is specifically used for judging whether an IRF link between the main equipment and other network equipment fails according to a BFD detection result of the judging module; and/or the presence of a gas in the gas,
and judging whether an IRF link between the slave equipment and other network equipment has a fault according to the BFD detection result reported by the slave equipment.
8. The apparatus of claim 5, wherein when the apparatus is the master device and the IRF link has a corresponding protection link,
the processing module is further configured to, if the IRF link fails, use the IRF link to transmit data, and DOWN a port corresponding to the protection link;
and if the IRF link fails, using the protection link to transmit data, and DOWN a port SHUT corresponding to the IRF link.
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 CN101695036A (en) 2010-04-14
CN101695036B true 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)

Families Citing this family (11)

* 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)
CN102035676B (en) 2010-12-07 2014-08-13 中兴通讯股份有限公司 ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault
CN102231682B (en) * 2011-07-25 2014-12-24 杭州华三通信技术有限公司 Stacking conflict processing method and equipment
CN102347867B (en) * 2011-11-14 2014-06-25 杭州华三通信技术有限公司 Processing method and equipment for stacking splitting detection
CN103490969B (en) * 2013-09-17 2016-07-06 烽火通信科技股份有限公司 Realize the system and method for VPWS redundancy protecting Fast Convergent
CN104092574B (en) * 2014-07-22 2017-10-17 新华三技术有限公司 A kind of IRF divisions cause the treating method and apparatus of RPR ring failures
CN106034038B (en) * 2015-03-13 2019-04-12 新华三技术有限公司 Prevent the method and apparatus stacked that more conflict
CN109218177B (en) * 2017-07-03 2021-06-29 中兴通讯股份有限公司 Out-of-domain link detection method and device, storage medium and computer equipment
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
CN112737944B (en) * 2020-12-25 2022-07-08 浪潮思科网络科技有限公司 Bfd-based peer-link state detection method, device and medium

Also Published As

Publication number Publication date
CN101695036A (en) 2010-04-14

Similar Documents

Publication Publication Date Title
CN101695036B (en) Method and device for detecting IRF links
US9722917B2 (en) Traffic recovery in openflow networks
CN104168193B (en) A kind of method and routing device of Virtual Router Redundancy Protocol fault detect
JP4840236B2 (en) Network system and node device
US8982710B2 (en) Ethernet operation and maintenance (OAM) with flexible forwarding
CN101652963B (en) Method for reconfiguring a communications network
US8289839B2 (en) Scaling BFD sessions for neighbors using physical / sub-interface relationships
CN102546222B (en) Backup system and fault detection and processing method
CN102315975B (en) Fault processing method based on intelligent resilient framework (IRF) system and equipment thereof
CN101159669A (en) Service flow switching method and apparatus
CN101924654B (en) Point-to-multipoint service-based path switching method and system
US9467332B2 (en) Node failure detection for distributed linear protection
CN101610535A (en) Multilink direct continuous show scape guarantees the method, system and device of BFD conversation stability down
US8787147B2 (en) Ten gigabit Ethernet port protection systems and methods
CN104253711B (en) The management method and equipment of the Group tables of Openflow in a kind of SDN network
CN103490921B (en) Network protection method, device, lower link point and system
WO2015184740A1 (en) Method and device for processing detection hierarchy information
CN103220189B (en) Multi-active detection (MAD) backup method and equipment
US8400910B1 (en) Associated tunnels terminating on different packet switches and relaying packets via different tunnel combinations
CN105634935A (en) Device and method for detecting service layer signal failure
JP2007525895A (en) Recovery mechanism for network topology
EP2613477B1 (en) Method for triggering route switching and service provider-end provider edge device
US8811157B2 (en) Protection switching method and system for ethernet dual-homed link
CN102238067A (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
CN106487696B (en) Link failure detection method and device

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