ISIS Down fault positioning method and device
Through automated analysis network alarm data, ISIS status, and test results, the rapid positioning of ISIS DOWN faults is achieved, solving the problem of low timely fault treatment and high operation and maintenance pressure in the existing technology, and improved the accuracy and efficiency of fault diagnosis. Essence
Patent Information
- Application Number
- CN202411300237.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2044-09-18
AI Technical Summary
The existing technology is difficult to effectively locate ISIS Down faults, resulting in a low timely rate of fault handling, high pressure on operation and maintenance personnel, and complex fault positioning. Relying on manual analysis, it is prone to missed and missed inspections.
By loading the network alarm data, analyze the status of ISIS, perform the PING test and ARP learning test, check the configuration area ID and level level consistency, and the interface network type to achieve automated positioning of ISIS DOWN failure.
The rapid and accurate positioning of ISIS DOWN faults reduces the possibility of artificial misunderstanding and missed inspection, improves the accuracy and positioning efficiency of fault diagnosis, and reduces the work pressure of operation and maintenance personnel.
Smart Images

Figure CN119383064A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communications, and in particular to an ISIS Down fault locating method and device. Background Art
[0002] ISIS (Intermediate System to Intermediate System) is a routing protocol widely used in IP networks. It is a type of IGP (Interior Gateway Protocol). When the ISIS protocol is down, network communication will be interrupted, affecting the stability and efficiency of data transmission.
[0003] Since it is a fault at the protocol level, fault location is complex and the following problems exist:
[0004] Dynamicity: Routing protocols are dynamic, and routing information in the network is constantly updated as the network status changes. This means that failures may be temporary or persistent, and the manifestation of failures may change over time;
[0005] Complexity of the protocol: Routing protocols are complex and contain multiple parameters and state variables. Understanding how these parameters interact and how they affect routing is critical to fault location.
[0006] Dependency: Routing protocol failures are associated with network layer problems, which increases the complexity of fault diagnosis and requires analysis across multiple network layers.
[0007] Operation and maintenance personnel need to spend a long time manually determining and locating the fault, which causes the problem to be stuck for a long time and has a negative impact on customers.
[0008] At present, operation and maintenance personnel need to use various protocols and commands to perform fault analysis based on their professional knowledge, and spend a long time manually determining the cause of the ISIS Down fault. This is time-consuming and labor-intensive, and the timely rate of fault handling is low. On the one hand, high experience is required, and deep professional knowledge and rich experience are required; on the other hand, even if there is experience, complex problems such as routing fault location may be missed during actual operation, which puts a lot of pressure on maintenance personnel. Summary of the invention
[0009] In order to solve the problems existing in the prior art, the present invention provides an ISIS Down fault locating method and device, which realizes ISIS Down fault locating through alarm collection and analysis, protocol status collection and analysis, and initiating tests for faulty network elements.
[0010] To achieve the above object, the present invention adopts the following technical solutions:
[0011] In one embodiment of the present invention, a method for locating an ISIS Down fault is proposed, the method comprising:
[0012] S01, load network alarm data including: focus on device port Down alarm and ISIS Down alarm;
[0013] Further, the S01 includes:
[0014] S011. When a port Down alarm appears on a device network element and an ISIS Down alarm appears continuously, it can be determined that the ISIS protocol Down is caused by the device port Down.
[0015] Furthermore, the number of consecutive occurrences of the ISIS Down alarm in S011 is no less than 3.
[0016] S012. Log in to the device that receives the ISIS Down alarm and go to S02.
[0017] S02, check whether the ISIS status is restored;
[0018] Further, the S02 includes:
[0019] S021. Run the system-view command to enter the system view. Run the display ISIS peer command to check the status of the ISIS neighbor. Run the display ISIS interface command to check the ISIS status on the interface where the ISIS Down fault occurs.
[0020] Furthermore, the system view in S021 is: a specific mode entered by a user through a command line interface (CLI) for configuring and managing system-level parameters of device network elements, and the system view has the function of accessing the global configuration of device network elements.
[0021] S022, ISIS status is UP, then the ISIS connection has been self-healed during the check, the fault has been restored, and the process ends;
[0022] S023, ISIS status has not been restored, enter S03.
[0023] S03. Ping the neighbor IP to see if it is reachable.
[0024] Further, the S03 includes:
[0025] S031. Execute the command "ping xxxx [neighbor IP]". If "!" is returned, it means the ping test is reachable; if "..." is returned, it means the ping test is unreachable.
[0026] S032: Ping test is unreachable, indicating that ISIS is disconnected and the peer address is unreachable. The cause of the fault is located and the process ends.
[0027] S033, Ping test is reachable, prompting ISIS peer ping is reachable, go to S04.
[0028] S04, check whether the peer ARP is learned;
[0029] Further, the S04 includes:
[0030] S041. Run the command "dis arp interface eth". If there is "D" in the command output, it means learning is successful. If there are other command outputs, it means learning failed.
[0031] S042: If the learning is successful, the peer ARP is learned and the process goes to S05;
[0032] S043: If learning fails, the peer ARP cannot be learned, and a prompt of ARP learning failure is displayed. The cause of the fault is located and the process ends.
[0033] S05. Check whether the area IDs configured at both ends are consistent;
[0034] Further, the S05 includes:
[0035] S051. Run the command "display cur conf ISIS" on the local device and the remote device respectively to check whether the ISIS configuration area IDs of the local and remote devices are consistent.
[0036] If S052 and ISIS area ID are consistent, the check passes and the process goes to S06;
[0037] S053: The ISIS configuration area IDs of the local and remote ends are inconsistent. The cause of the fault is located and the process ends.
[0038] S06. Check whether the LEVEL levels at both ends are consistent;
[0039] Further, the S06 includes:
[0040] S061. Run the display ISIS interfaceGigabitEthernet0 / 0 / 0[interconnection interface] command on the local device and the remote device respectively to check whether the ISIS configuration levels on the local and remote devices are consistent.
[0041] S062: If the levels of both ends are the same, then pass and proceed to S07;
[0042] S063: The LEVEL levels at both ends are inconsistent. The cause of the fault is located and the process ends.
[0043] S07. Check whether the network types of the interfaces at both ends are the same;
[0044] Further, the S07 includes:
[0045] S071. Run the display cur interface Eth-Trunk x | include ISIS command on the local device and the remote device to check whether the ISIS interface network types on the local and remote devices are the same.
[0046] S072, if the ISIS network types of the interfaces at both ends are the same, the check is passed and the process goes to S08;
[0047] S073: The ISIS network types of the interfaces at both ends are inconsistent. The cause of the fault is located and the process ends.
[0048] S08. Log in to the peer device, which is the neighbor device of the device that received the ISIS Down alarm, and ping the interconnection IP to see if it is reachable.
[0049] Further, the S08 includes:
[0050] S081. Execute the command "ping xxxx [local device IP]". If "!" is returned, it is reachable. If "..." is returned, it is unreachable.
[0051] S082: Ping test is unreachable, indicating that ISIS is interrupted, and the remote end cannot ping the local address. The cause of the fault is located and the process ends;
[0052] S083. Ping test is reachable, transfer to manual processing.
[0053] In one embodiment of the present invention, an ISIS Down fault locating device is also proposed, the device comprising:
[0054] Network alarm data loading module, loading network alarm data including: device port Down alarm, ISIS Down alarm;
[0055] ISIS status check module, checks whether the ISIS status is restored;
[0056] Ping test module, Ping test neighbor IP, whether it is reachable;
[0057] Learn the peer ARP module and check whether the peer ARP is learned;
[0058] ID consistency module, check whether the area IDs configured at both ends are consistent;
[0059] LEVEL consistency module, check whether the LEVEL levels at both ends are consistent;
[0060] Network type module, check whether the network types of the interfaces at both ends are the same;
[0061] In the peer ping test module, log in to the peer device, which is the neighbor device of the device that receives the ISIS Down alarm, and ping the interconnection IP to see if it is reachable.
[0062] In one embodiment of the present invention, a computer device is also proposed, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the aforementioned ISIS Down fault locating method is implemented.
[0063] In one embodiment of the present invention, a computer-readable storage medium is further provided. The computer-readable storage medium stores a computer program for executing the ISIS Down fault locating method.
[0064] Beneficial effects:
[0065] The present invention discloses an ISIS Down fault locating method and device, which attaches expert capabilities, automatically performs ISIS Down fault diagnosis in combination with alarm information, network protocols, and test commands, and performs real-time analysis and processing on inspection result data to ensure its timeliness. The present invention performs process-based processing and analysis on ISIS Down faults to help network operation and maintenance personnel quickly locate service faults and reduce their work pressure. The present invention standardizes and automates the fault locating process, reduces the possibility of human misdiagnosis and missed detection, improves the accuracy of fault diagnosis, and enhances the efficiency of fault locating. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 It is a flowchart of the ISIS Down fault location method of the present invention;
[0067] Figure 2 It is a structural schematic diagram of the ISIS Down fault locating device of the present invention;
[0068] Figure 3 It is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0069] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0070] Those skilled in the art will appreciate that the embodiments of the present invention may be implemented as a system, device, apparatus, method or computer program product. Therefore, the present disclosure may be implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0071] According to an embodiment of the present invention, an ISIS Down fault locating method and device are proposed, which realizes ISIS Down fault locating by collecting and analyzing alarms and protocol statuses and initiating tests for faulty network elements.
[0072] The principle and spirit of the present invention are explained in detail below with reference to several representative embodiments of the present invention.
[0073] like Figure 1 As shown, the present invention relates to an ISIS Down fault locating method, the method comprising:
[0074] S01, load network alarm data including: focus on device port Down alarm and ISIS Down alarm;
[0075] The S01 includes:
[0076] S011. When a port Down alarm appears on a device network element and an ISIS Down alarm appears continuously, it can be determined that the ISIS protocol Down is caused by the device port Down.
[0077] The number of consecutive occurrences of the ISIS Down alarm in S011 is no less than 3.
[0078] S012. Log in to the device that receives the ISIS Down alarm and go to S02.
[0079] S02, check whether the ISIS status is restored;
[0080] The S02 includes:
[0081] S021. Run the system-view command to enter the system view. Run the display ISIS peer command to check the status of the ISIS neighbor. Run the display ISIS interface command to check the ISIS status on the interface where the ISIS Down fault occurs.
[0082] The system view in S021 is: a specific mode entered by a user through a command line interface (CLI) for configuring and managing system-level parameters of device network elements. The system view has the function of accessing the global configuration of device network elements.
[0083] S022, ISIS status is UP, then the ISIS connection has been self-healed during the check, the fault has been restored, and the process ends;
[0084] S023, ISIS status has not been restored, enter S03.
[0085] S03. Ping the neighbor IP to see if it is reachable.
[0086] The S03 includes:
[0087] S031. Execute the command "ping xxxx [neighbor IP]". If "!" is returned, it means the ping test is reachable; if "..." is returned, it means the ping test is unreachable.
[0088] S032: Ping test is unreachable, indicating that ISIS is disconnected and the peer address is unreachable. The cause of the fault is located and the process ends.
[0089] S033, Ping test is reachable, prompting ISIS peer ping is reachable, go to S04.
[0090] S04, check whether the peer ARP is learned;
[0091] The S04 includes:
[0092] S041. Run the command "dis arp interface eth". If there is "D" in the command output, it means learning is successful. If there are other command outputs, it means learning failed.
[0093] S042: If the learning is successful, the peer ARP is learned and the process goes to S05;
[0094] S043: If learning fails, the peer ARP cannot be learned, and a prompt of ARP learning failure is displayed. The cause of the fault is located and the process ends.
[0095] S05. Check whether the area IDs configured at both ends are consistent;
[0096] The S05 includes:
[0097] S051. Run the command "display cur conf ISIS" on the local device and the remote device respectively to check whether the ISIS configuration area IDs of the local and remote devices are consistent.
[0098] If S052 and ISIS area ID are consistent, the check passes and the process goes to S06;
[0099] S053: The ISIS configuration area IDs of the local and remote ends are inconsistent. The cause of the fault is located and the process ends.
[0100] S06. Check whether the LEVEL levels at both ends are consistent;
[0101] The S06 includes:
[0102] S061. Run the display ISIS interfaceGigabitEthernet0 / 0 / 0[interconnection interface] command on the local device and the remote device respectively to check whether the ISIS configuration levels on the local and remote devices are consistent.
[0103] S062: If the levels of both ends are the same, then pass and proceed to S07;
[0104] S063: The LEVEL levels at both ends are inconsistent. The cause of the fault is located and the process ends.
[0105] S07. Check whether the network types of the interfaces at both ends are the same;
[0106] The S07 includes:
[0107] S071. Run the display cur interface Eth-Trunk x | include ISIS command on the local device and the remote device to check whether the ISIS interface network types on the local and remote devices are the same.
[0108] S072, if the ISIS network types of the interfaces at both ends are the same, the check is passed and the process goes to S08;
[0109] S073: The ISIS network types of the interfaces at both ends are inconsistent. The cause of the fault is located and the process ends.
[0110] In the ISIS protocol, the network types are usually as follows:
[0111] point-to-point: Point-to-point network, usually used for serial links.
[0112] broadcast: Broadcast network, usually used in Ethernet environment.
[0113] non-broadcast: A non-broadcast multi-access network, such as some types of frame relay networks.
[0114] S08. Log in to the peer device, which is the neighbor device of the device that received the ISIS Down alarm, and ping the interconnection IP to see if it is reachable.
[0115] The S08 includes:
[0116] S081. Execute the command "ping xxxx [local device IP]". If "!" is returned, it is reachable. If "..." is returned, it is unreachable.
[0117] S082: Ping test is unreachable, indicating that ISIS is interrupted, and the remote end cannot ping the local address. The cause of the fault is located and the process ends;
[0118] S083. Ping test is reachable, transfer to manual processing.
[0119] It should be noted that, although the operations of the method of the present invention are described in a specific order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0120] In order to explain the above-mentioned ISIS Down fault locating method more clearly, it is described below in conjunction with a specific embodiment. However, it should be noted that this embodiment is only for better illustrating the present invention and does not constitute an improper limitation to the present invention.
[0121] S01, load network alarm data including: focus on device port Down alarm and ISIS Down alarm;
[0122] The S01 includes:
[0123] S011. When a port Down alarm appears on a device network element and an ISIS Down alarm appears continuously, it can be determined that the ISIS protocol Down is caused by the device port Down.
[0124] The number of consecutive occurrences of the ISIS Down alarm in S011 is no less than 3.
[0125] S012. Log in to the device that receives the ISIS Down alarm and go to S02.
[0126] S02. Check whether the ISIS status is restored;
[0127] The S02 includes:
[0128] S021. Run the system-view command to enter the system view. Run the display ISIS peer command to check the status of the ISIS neighbor. Run the display ISIS interface command to check the ISIS status on the interface where the ISIS Down fault occurs.
[0129] The system view in S021 is: a specific mode entered by a user through a command line interface (CLI) for configuring and managing system-level parameters of device network elements. The system view has the function of accessing the global configuration of device network elements.
[0130] S022, ISIS status is UP, then the ISIS connection has been self-healed during the check, the fault has been restored, and the process ends;
[0131] S023, ISIS status has not been restored, enter S03.
[0132] S03. Ping the neighbor IP to see if it is reachable.
[0133] The S03 includes:
[0134] S031. Execute the command "ping xxxx [neighbor IP]". If "!" is returned, it means the ping test is reachable; if "..." is returned, it means the ping test is unreachable.
[0135] S032: Ping test is unreachable, indicating that ISIS is disconnected and the peer address is unreachable. The cause of the fault is located and the process ends.
[0136] S033, Ping test is reachable, prompting ISIS peer ping is reachable, go to S04.
[0137] S04, check whether the peer ARP is learned;
[0138] The S04 includes:
[0139] S041. Run the command "dis arp interface eth". If there is "D" in the command output, it means learning is successful. If there are other command outputs, it means learning failed.
[0140] S042: If the learning is successful, the peer ARP is learned and the process goes to S05;
[0141] S043: If learning fails, the peer ARP cannot be learned, and a prompt of ARP learning failure is displayed. The cause of the fault is located and the process ends.
[0142] S05. Check whether the area IDs configured at both ends are consistent;
[0143] The S05 includes:
[0144] S051. Run the command "display cur conf ISIS" on the local device and the remote device respectively to check whether the ISIS configuration area IDs of the local and remote devices are consistent.
[0145] If S052 and ISIS area ID are consistent, the check passes and the process goes to S06;
[0146] S053: The ISIS configuration area IDs of the local and remote ends are inconsistent. The cause of the fault is located and the process ends.
[0147] Example:
[0148] display cur conf ISIS
[0149] ISIS interface GigabitEthernet0 / 0 / 0
[0150] ISIS state UP
[0151] ISIS area 49.0001
[0152] In this example, ISIS area 49.0001 indicates that the interface belongs to ISIS area 49.0001.
[0153] S06. Check whether the LEVEL levels at both ends are consistent;
[0154] The S06 includes:
[0155] S061. Run the display ISIS interfaceGigabitEthernet0 / 0 / 0[interconnection interface] command on the local device and the remote device respectively to check whether the ISIS configuration levels on the local and remote devices are consistent.
[0156] S062: If the levels of both ends are the same, then pass and proceed to S07;
[0157] S063: The LEVEL levels at both ends are inconsistent. The cause of the fault is located and the process ends.
[0158] For example: one end is level 1 and the other end is level 2, it will not pass.
[0159] Example:
[0160] display ISIS interface GigabitEthernet0 / 0 / 0
[0161] ISIS interface GigabitEthernet0 / 0 / 0
[0162] ISIS state UP
[0163] ISIS circuit-type level-2-only
[0164] ISIS priority 0
[0165] ISIS hello interval 9seconds
[0166] ISIS hello multiplier 3
[0167] ISIS cost 100metric-style wide
[0168] In this example, ISIS circuit-type level-2-only indicates that the interface is configured for Level-2 only. If level-1-2 is displayed, it means that the interface supports both Level-1 and Level-2.
[0169] S07. Check whether the network types of the interfaces at both ends are the same;
[0170] The S07 includes:
[0171] S071. Run the display cur interface Eth-Trunk x | include ISIS command on the local device and the remote device to check whether the ISIS interface network types on the local and remote devices are the same.
[0172] S072, if the ISIS network types of the interfaces at both ends are the same, the check is passed and the process goes to S08;
[0173] S073: The ISIS network types of the interfaces at both ends are inconsistent. The cause of the fault is located and the process ends.
[0174] In the ISIS protocol, the network types are usually as follows:
[0175] point-to-point: Point-to-point network, usually used for serial links.
[0176] broadcast: Broadcast network, usually used in Ethernet environment.
[0177] non-broadcast: A non-broadcast multi-access network, such as some types of frame relay networks.
[0178] Example:
[0179] display cur interface Eth-Trunk x|include isis
[0180] ISIS interface GigabitEthernet0 / 0 / 0
[0181] ISIS network-type point-to-point
[0182] In this example, ISIS network-type point-to-point indicates that the ISIS network type of the interface is configured as point-to-point.
[0183] S08. Log in to the peer device, which is the neighbor device of the device that received the ISIS Down alarm, and ping the interconnection IP to see if it is reachable.
[0184] The S08 includes:
[0185] S081. Execute the command "ping xxxx [local device IP]". If "!" is returned, it is reachable. If "..." is returned, it is unreachable.
[0186] S082: Ping test is unreachable, indicating that ISIS is interrupted, and the remote end cannot ping the local address. The cause of the fault is located and the process ends;
[0187] S083. Ping test is reachable, transfer to manual processing.
[0188] Based on the same inventive concept, the present invention also proposes an ISIS Down fault locating device. The implementation of the device can refer to the implementation of the above method, and the repeated parts will not be repeated. The term "module" used below can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0189] Figure 2 Schematic diagram of the structure of the ISIS Down fault location device of the present invention. Figure 2 As shown, the device comprises:
[0190] The network alarm data loading module 110 loads network alarm data including: device port Down alarm, ISISDown alarm;
[0191] An ISIS status checking module 120 checks whether the ISIS status is restored;
[0192] Ping test module 130, ping test neighbor IP, whether it is reachable;
[0193] The peer ARP learning module 140 checks whether the peer ARP is learned;
[0194] ID consistency module 150 checks whether the configuration area IDs of both ends are consistent;
[0195] LEVEL consistency module 160 checks whether the LEVEL levels at both ends are consistent;
[0196] The network type module 170 checks whether the network types of the interfaces at both ends are the same;
[0197] The opposite end ping test module 180 logs in to the opposite end device, which is the neighbor device of the device that receives the ISIS Down alarm, and pings the interconnection IP to see if it is reachable.
[0198] It should be noted that although several modules of the ISIS Down fault location device are mentioned in the above detailed description, this division is only exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided into multiple modules for embodiment.
[0199] Based on the above invention concept, Figure 3 As shown, the present invention also proposes a computer device 200, including a memory 210, a processor 220, and a computer program 230 stored in the memory 210 and executable on the processor 220. When the processor 220 executes the computer program 230, the aforementioned ISIS Down fault locating method is implemented.
[0200] Based on the aforementioned inventive concept, the present invention further proposes a computer-readable storage medium, which stores a computer program for executing the aforementioned ISIS Down fault locating method.
[0201] The present invention discloses an ISIS Down fault locating method and device, which attaches expert capabilities, automatically diagnoses ISIS Down faults in combination with alarm information, network protocols, and test commands, and performs real-time analysis and processing on inspection result data to ensure its timeliness. The present invention performs process-based processing and analysis on ISIS Down faults to help network operation and maintenance personnel quickly locate service faults and reduce their work pressure. The present invention standardizes and automates the fault locating process, reduces the possibility of human misdiagnosis and missed detection, improves the accuracy of fault diagnosis, and enhances the efficiency of fault locating.
[0202] Although the spirit and principle of the present invention have been described with reference to several specific embodiments, it should be understood that the present invention is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present invention is intended to cover various modifications and equivalent arrangements contained in the spirit and scope of the attached claims.
[0203] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0204] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0205] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0206] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0207] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0208] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0209] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0210] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
[0211] Regarding the limitation of the protection scope of the present invention, those skilled in the art should understand that, based on the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without creative work are still within the protection scope of the present invention.
Claims
1. An ISISDown fault location method, characterized in that: The method includes: S01. Load network alarm data including: device port Down alarm, ISISDown alarm; S02. Check whether the ISIS status is restored; S03. Ping the neighbor IP to see if it is reachable. S04, check whether the peer ARP is learned; S05. Check whether the area IDs configured at both ends are consistent; S06. Check whether the LEVEL levels at both ends are consistent; S07. Check whether the network types of the interfaces at both ends are the same; S08. Log in to the peer device, which is the neighbor device of the device that received the ISISDown alarm, and ping the interconnection IP to see if it is reachable.
2. The ISISDown fault locating method according to claim 1, characterized in that: The S01 includes: S011: When a port Down alarm appears on a device network element and an ISIS Down alarm appears continuously, the ISIS protocol is Down due to the device port Down. S012. Log in to the device that receives the ISISDown alarm and go to S02.
3. The ISISDown fault locating method according to claim 2, characterized in that: The number of consecutive occurrences of the ISISDown alarm in S011 is no less than 3.
4. The ISISDown fault locating method according to claim 1, characterized in that: The S02 includes: S021. Run the "system-view" command to enter the system view. Run the "display ISIS peer" command to check the status of the ISIS neighbor. Run the "display ISIS interface" command to check the ISIS status on the interface where the ISISDown fault occurs. S022, ISIS status is UP, then the ISIS connection has been self-healed during the check, the fault has been restored, and the process ends; S023, ISIS status has not been restored, enter S03.
5. The ISISDown fault locating method according to claim 4, characterized in that: The system view in S021 is a specific mode entered by a user through a command line interface, which is used to configure and manage system-level parameters of device network elements. The system view has the function of accessing the global configuration of device network elements.
6. The ISISDown fault locating method according to claim 1, characterized in that: The S03 includes: S031. Execute the command "ping xxxx [neighbor IP]". If "!" is returned, it means the ping test is reachable. If "...." is returned, it means the ping test is unreachable. S032: Ping test is unreachable, indicating that ISIS is disconnected and the peer address is unreachable. The cause of the fault is located and the process ends. S033, Ping test is reachable, prompting ISIS peer ping is reachable, go to S04.
7. The ISISDown fault locating method according to claim 1, characterized in that: The S04 includes: S041. Run the command "dis arpinterface eth". If there is "D" in the output, it means learning is successful. If there are other outputs, it means learning failed. S042: If the learning is successful, the peer ARP is learned and the process goes to S05; S043: If learning fails, the peer ARP cannot be learned, and a prompt of ARP learning failure is displayed. The cause of the fault is located and the process ends.
8. The ISISDown fault locating method according to claim 1, characterized in that: The S05 includes: S051. Execute the "display cur conf ISIS" command on the local device and the remote device respectively to check whether the ISIS configuration area IDs of the local and remote devices are consistent. If S052 and ISIS area ID are consistent, the check passes and the process goes to S06; S053: The ISIS configuration area IDs of the local and remote ends are inconsistent. The cause of the fault is located and the process ends.
9. The ISISDown fault locating method according to claim 1, characterized in that: The S06 includes: S061. Run the "display ISIS interfaceGigabitEthernet0 / 0 / 0[interconnection interface]" command on the local device and the remote device respectively to check whether the ISIS configuration levels of the local and remote devices are consistent. S062: If the levels of both ends are the same, then pass and proceed to S07; S063: The LEVEL levels at both ends are inconsistent. The cause of the fault is located and the process ends.
10. The ISISDown fault locating method according to claim 1, characterized in that: The S07 includes: S071. Run the "display cur interface Eth-Trunk x|include ISIS" command on the local device and the remote device respectively to check whether the network types of the ISIS interfaces on the local and remote devices are the same. S072, if the ISIS network types of the interfaces at both ends are the same, the check is passed and the process goes to S08; S073: The ISIS network types of the interfaces at both ends are inconsistent. The cause of the fault is located and the process ends.
11. The ISISDown fault locating method according to claim 1, characterized in that: The S08 includes: S081. Execute the command "ping xxxx [local device IP]". If "!" is returned, it is reachable. If "..." is returned, it is unreachable. S082: Ping test is unreachable, indicating that ISIS is interrupted, and the remote end cannot ping the local address. The cause of the fault is located and the process ends; S083. Ping test is reachable, transfer to manual processing.
12. An ISISDown fault locating device, characterized in that: The device includes: Network alarm data loading module, loading network alarm data including: device port Down alarm, ISISDown alarm; ISIS status check module, checks whether the ISIS status is restored; Ping test module, Ping test neighbor IP, whether it is reachable; Learn the peer ARP module and check whether the peer ARP is learned; ID consistency module, check whether the area IDs configured at both ends are consistent; LEVEL consistency module, check whether the LEVEL levels at both ends are consistent; Network type module, check whether the network types of the interfaces at both ends are the same; Ping test module for the opposite end. Log in to the opposite end device, which is the neighbor device of the device that receives the ISISDown alarm. Ping the interconnection IP to see if it is reachable.
13. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 12 is implemented.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for executing the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Method and system for processing network fault and router
CN101562531A
5G private line service interruption fault positioning method and device
CN114125911A
Network element fault diagnosis method and device, electronic equipment, medium and program product
CN118316781A
Fault locating method and network device
US20190296968A1