A method and device for locating a PIM neighbor down fault
By automating the analysis of fault causes in the PIM network, the problem of multicast traffic interruption caused by PIM neighbor down was resolved, improving the efficiency and accuracy of fault location and reducing the workload of operation and maintenance personnel.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA UNITECHS
- Filing Date
- 2024-10-16
- Publication Date
- 2026-05-08
AI Technical Summary
In PIM networks, PIM neighbor down failures prevent multicast traffic from being forwarded normally, affecting network performance. Existing technologies require manual analysis, which is time-consuming, has a low timeliness rate of fault handling, and puts a lot of pressure on maintenance personnel.
By loading network alarm data, checking whether the device's physical interface has PIM enabled, viewing the PIM status and configuration, and automatically analyzing the cause of the fault, including port down alarms, PIM neighbor down alarms, interface PIM status and configuration errors, and combining expert capabilities for fault diagnosis.
It enables rapid location of PIM neighbor down faults, reduces the workload of network maintenance personnel, improves the efficiency and accuracy of fault location, and reduces the possibility of human error and omission.
Smart Images

Figure CN119484242B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communications, and in particular to a method and apparatus for locating PIM neighbor down faults. Background Technology
[0002] PIM (Protocol Independent Multicast) is a multicast routing protocol. PIM does not rely on any specific unicast routing protocol; it can utilize unicast routing tables established by any unicast routing protocol to perform RPF checks, thereby establishing multicast routes. Because PIM does not require sending or receiving multicast route updates, its overhead is significantly reduced compared to other multicast routing protocols.
[0003] RPF Check: In unicast routing and forwarding, unicast packets are transmitted along a single-point-to-single-point path. Devices only need to consider the "destination location" of the packet, i.e., the destination address, to know which interface to forward it from. Multicast routing and forwarding is different. Because the destination address of a multicast packet is a multicast address, it only identifies a group of receivers; the location of the receivers cannot be found through the destination address. However, the "source location" of the multicast packet, i.e., the source address, is determined. Therefore, the forwarding of multicast packets mainly relies on its source address to ensure the correctness of the forwarding path.
[0004] When a device receives a multicast message, it uses the message's source address to search for a route to the "message source" in both the unicast routing table and the multicast static routing table. It then checks if the outgoing interface of the "message source" routing table entry matches the incoming interface of the received multicast message. If they match, the multicast message is considered to have arrived from the correct interface, thus ensuring the correctness and uniqueness of the entire forwarding path. This process is called RPF (Reverse Path Forwarding) checking.
[0005] Here, the "correct interface" is usually referred to as the RPF interface, that is, the interface that passes the RPF check.
[0006] A PIM Neighbor Down failure refers to the inability of two PIM (Protocol Independent Multicast) neighbor routers to establish or maintain a neighbor relationship in a PIM network. This situation causes multicast traffic to fail to forward properly, affecting network multicast performance and consequently impacting normal network operation. Because it is a protocol-level failure, locating the problem is complex. Maintenance personnel need to spend considerable time manually determining the fault location, leading to prolonged system downtime and negatively impacting customers.
[0007] Currently, maintenance personnel need to use various protocols and commands based on their professional knowledge to analyze faults, spending a lot of time manually determining the cause of PIM neighbor down faults. This is time-consuming and labor-intensive, with a low fault handling timeliness rate and high pressure on maintenance personnel. Summary of the Invention
[0008] To address the problems existing in the prior art, this invention provides a PIM Neighbor Down fault location method and device. By collecting and analyzing alarms, protocol status, and configuration of network elements experiencing PIM Neighbor Down faults, the cause of the PIM Neighbor Down fault can be located, reducing the workload of network operation and maintenance personnel and improving operation and maintenance efficiency.
[0009] To achieve the above objectives, the present invention adopts the following technical solution:
[0010] In one embodiment of the present invention, a PIM neighbor down fault location method is proposed, the method comprising:
[0011] S01. Load network alarm data including: device port down alarm, PIMNbrDown alarm;
[0012] Further, S01 includes: when a device network element experiences a port Down alarm, and a series of PIMNbrDown alarms occur, it is determined that the protocol Down is caused by a device port Down;
[0013] S02. Check whether the physical interface of the device is enabled for PIM;
[0014] Further, S02 includes:
[0015] S021. Execute the command "display current-configuration interface [GigabitEthernet 1 / 0 / 1]" on the device to check if PIM is enabled on the interface:
[0016] S022. If the configuration line containing pim, pim sm or pim dm exists in the output configuration information, it indicates that PIM is enabled, and proceed to S03.
[0017] S023. If the configuration line for pim, pim sm or pim dm does not exist in the output configuration information, it means that PIM is not enabled for this interface. Enable PIM for this interface.
[0018] Enable method:
[0019] (1) Enter the system view and enable the multicast function:
[0020] (2) Enter the interface view:
[0021] (3) Enable PIM (select PIM-SM or PIM-DM):
[0022] (4) Exit the interface view and save the configuration:
[0023] S024. Check if the PIM neighbor down has recovered. If it has recovered, the process ends; if it is still abnormal, proceed to S03.
[0024] S03. Check if the interface PIM status is UP;
[0025] Further, S03 includes:
[0026] S031. Execute the command display piminterface GigabitEthernet 1 / 0 / 1 to view the PIM information of the specified interface, including: the number of PIM neighbors, detailed information of the PIM neighbors, and the PIM status of the interface.
[0027] S032. If the PIM status of the interface is Up, the PIM neighbor relationship is successfully established, and multicast traffic is forwarded normally through this interface, proceeding to S04.
[0028] S033. If the PIM status of the interface is not Up, execute the command display interface[GigabitEthernet 1 / 0 / 1] to check if the physical status of the interface is Up.
[0029] S034. When the physical status of the interface is UP, execute the command display interface[GigabitEthernet 1 / 0 / 1] to check whether the link status of the interface is Up.
[0030] Further, S034 includes:
[0031] S0341. Execute the command display interface [GigabitEthernet 1 / 0 / 1]. In the output, Line protocol state displays the link status of the interface.
[0032] S0342, The link status of the interface is UP, proceed to S04;
[0033] S0343. If the link status of the interface is not UP, fix the DOWN problem of the interface link status. After the fix, check whether the PIM neighbor down is restored. If restored, the process ends. If it is still abnormal, proceed to S04.
[0034] S035. If the physical status of the interface is not UP, repair the DOWN problem of the interface physical status (repair includes: checking whether there are problems with physical connections, cables, optical modules, etc.); after repair, check whether the PIM neighbor down is restored. If it is restored, the process ends; if it is still abnormal, proceed to S034.
[0035] S04. Check if the PIM configuration on the interface is correct.
[0036] The following are common reasons why PIM neighbor relationships cannot be established due to configuration errors on the interface:
[0037] (1) The IP address of the direct connection interface is not configured in the same network segment.
[0038] (2) The interface is configured with a PIM neighbor filtering policy, and the addresses of PIM neighbors are filtered out by the filtering policy.
[0039] (3) The interface is configured to refuse to receive Hello messages without the Generation ID parameter, and the Hello messages sent by the PIM neighbor do not contain the Generation ID parameter, which causes the PIM neighbor to fail to establish a connection.
[0040] Configuring the interface to reject Hello messages without a Generation ID is a security measure to ensure that only Hello messages containing a valid Generation ID are accepted. The Generation ID is a crucial parameter in the PIM protocol used to identify changes in neighbor status. When the status of a PIM device changes, it generates a new Generation ID to notify its neighbors. By configuring the interface to reject Hello messages without a Generation ID, neighboring devices can be promptly informed of each other's status changes, thereby maintaining network stability and security.
[0041] Further, S04 includes:
[0042] S041. Execute the command display current-configuration interface [GigabitEthernet1 / 0 / 1] to view the PIM configuration on the interface, including: interface IP address configuration, PIM Silent configuration, PIM neighbor filtering policy, and Generation ID parameter configuration.
[0043] Interface IP address configuration: Ensure that the IP addresses of directly connected interfaces are configured within the same network segment. If the IP addresses are not in the same network segment, you need to reconfigure them to ensure normal communication.
[0044] PIM Silent Configuration: If the interface is configured with PIM Silent, PIM Hello messages will not be sent, which will prevent neighbor relationships from being established. This feature can be disabled using the `undo pim silent` command if not needed.
[0045] PIM Neighbor Filtering Policy: If a PIM neighbor filtering policy is configured on the interface, it will prevent the establishment of PIM neighbors. Check and adjust the PIM neighbor filtering policy to ensure that PIM neighbor addresses are not being filtered out incorrectly.
[0046] Generation ID parameter configuration: If the interface is configured to reject Hello messages without a Generation ID parameter, and the Hello messages sent by PIM neighbors do not contain a Generation ID parameter, this will cause PIM neighbor establishment to fail. Check and adjust the relevant configurations.
[0047] S042. The PIM configuration on the interface is correct; proceed to manual processing.
[0048] S043. If the PIM configuration on the interface is abnormal, resulting in the PIM neighbor going down, modify the PIM configuration on the interface.
[0049] S044. After the PIM configuration is modified, check whether the PIM Neighbor Down has been restored.
[0050] S045, PIM Neighbor Down recovery complete, process ends;
[0051] If the S046 PIM Neighbor Down error persists, proceed to manual intervention.
[0052] In one embodiment of the present invention, a PIM Neighbor Down fault location device is also provided, the device comprising:
[0053] The alarm data loading module loads network alarm data, including: device port down alarms and PIMNbrDown alarms.
[0054] The physical interface inspection module checks whether the device's physical interface has PIM enabled.
[0055] The PIM status check module checks whether the interface PIM status is UP.
[0056] The PIM configuration check module checks whether the PIM configuration on the interface is correct.
[0057] 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, it implements the aforementioned PIM Neighbor Down fault location method.
[0058] In one embodiment of the present invention, a computer-readable storage medium is also provided, which stores a computer program for performing the PIM Neighbor Down fault location method.
[0059] Beneficial effects:
[0060] This invention provides a PIM Neighbor Down fault location method and device, which incorporates expert capabilities, combines alarm information and protocol status collection and analysis, configures automatic collection and analysis to diagnose PIM Neighbor Down faults, and performs real-time analysis and processing of inspection results data to ensure its timeliness.
[0061] This invention provides a streamlined process for analyzing and handling PIM neighbor down faults, helping network operations and maintenance personnel quickly locate service faults and reduce their workload.
[0062] The fault location process of this invention is standardized and automated, reducing the possibility of human error and omission, improving the accuracy of fault diagnosis, and increasing the efficiency of fault location. Attached Figure Description
[0063] Figure 1 This is a schematic diagram of the PIM Neighbor Down fault location method of the present invention;
[0064] Figure 2 This is a schematic diagram of the PIM Neighbor Down fault location device of the present invention;
[0065] Figure 3 This is a schematic diagram of a computer device structure according to an embodiment of the present invention. Detailed Implementation
[0066] The principles and spirit of the present invention will now be described with reference to several exemplary embodiments. It should be understood that these embodiments are provided merely 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. Rather, these embodiments are provided to make this disclosure more thorough and complete, and to fully convey the scope of this disclosure to those skilled in the art.
[0067] Those skilled in the art will recognize that embodiments of the present invention can be implemented as a system, apparatus, device, method, or computer program product. Therefore, this disclosure can be specifically implemented in the following forms: entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0068] According to an embodiment of the present invention, a method and apparatus for locating PIM neighbor down faults are proposed. By performing alarm collection and analysis, protocol status collection and analysis, and configuration collection and analysis on network elements experiencing PIM neighbor down faults, the cause of PIM neighbor down faults can be located, reducing the workload of network operation and maintenance personnel and improving operation and maintenance efficiency.
[0069] The principles and spirit of the present invention will be explained in detail below with reference to several representative embodiments.
[0070] like Figure 1 As shown, the present invention relates to a PIM Neighbor Down fault location method, the method comprising:
[0071] S01. Load network alarm data including: device port down alarm, PIMNbrDown alarm;
[0072] S01 includes: a port down alarm occurs in the device network element, and a continuous PIMNbrDown alarm occurs, which is determined to be a protocol down caused by a device port down;
[0073] S02. Check whether the physical interface of the device is enabled for PIM;
[0074] S02 includes:
[0075] S021. Execute the command "display current-configuration interface [GigabitEthernet 1 / 0 / 1]" on the device to check if PIM is enabled on the interface:
[0076] S022. If the configuration line containing pim, pim sm or pim dm exists in the output configuration information, it indicates that PIM is enabled, and proceed to S03.
[0077] S023. If the configuration line for pim, pim sm or pim dm does not exist in the output configuration information, it means that PIM is not enabled for this interface. Enable PIM for this interface.
[0078] Enable method:
[0079] (1) Enter the system view and enable the multicast function:
[0080] (2) Enter the interface view:
[0081] (3) Enable PIM (select PIM-SM or PIM-DM):
[0082] (4) Exit the interface view and save the configuration:
[0083] S024. Check if the PIM neighbor down has recovered. If it has recovered, the process ends; if it is still abnormal, proceed to S03.
[0084] S03. Check if the interface PIM status is UP;
[0085] S03 includes:
[0086] S031. Execute the command display piminterface GigabitEthernet 1 / 0 / 1 to view the PIM information of the specified interface, including: the number of PIM neighbors, detailed information of the PIM neighbors, and the PIM status of the interface.
[0087] S032. If the PIM status of the interface is Up, the PIM neighbor relationship is successfully established, and multicast traffic is forwarded normally through this interface, proceeding to S04.
[0088] S033. If the PIM status of the interface is not Up, execute the command display interface[GigabitEthernet 1 / 0 / 1] to check if the physical status of the interface is Up.
[0089] S034. When the physical status of the interface is UP, execute the command display interface[GigabitEthernet 1 / 0 / 1] to check whether the link status of the interface is Up.
[0090] S034 includes:
[0091] S0341. Execute the command display interface [GigabitEthernet 1 / 0 / 1]. In the output, Line protocol state displays the link status of the interface.
[0092] S0342, The link status of the interface is UP, proceed to S04;
[0093] S0343. If the link status of the interface is not UP, fix the DOWN problem of the interface link status. After the fix, check whether the PIM neighbor down is restored. If restored, the process ends. If it is still abnormal, proceed to S04.
[0094] S035. If the physical status of the interface is not UP, repair the DOWN problem of the interface physical status (repair includes: checking whether there are problems with physical connections, cables, optical modules, etc.); after repair, check whether the PIM neighbor down is restored. If it is restored, the process ends; if it is still abnormal, proceed to S034.
[0095] S04. Check if the PIM configuration on the interface is correct.
[0096] The following are common reasons why PIM neighbor relationships cannot be established due to configuration errors on the interface:
[0097] (1) The IP address of the direct connection interface is not configured in the same network segment.
[0098] (2) The interface is configured with a PIM neighbor filtering policy, and the addresses of PIM neighbors are filtered out by the filtering policy.
[0099] (3) The interface is configured to refuse to receive Hello messages without the Generation ID parameter, and the Hello messages sent by the PIM neighbor do not contain the Generation ID parameter, which causes the PIM neighbor to fail to establish a connection.
[0100] Configuring the interface to reject Hello messages without a Generation ID is a security measure to ensure that only Hello messages containing a valid Generation ID are accepted. The Generation ID is a crucial parameter in the PIM protocol used to identify changes in neighbor status. When the status of a PIM device changes, it generates a new Generation ID to notify its neighbors. By configuring the interface to reject Hello messages without a Generation ID, neighboring devices can be promptly informed of each other's status changes, thereby maintaining network stability and security.
[0101] Further, S04 includes:
[0102] S041. Execute the command display current-configuration interface [GigabitEthernet1 / 0 / 1] to view the PIM configuration on the interface, including: interface IP address configuration, PIM Silent configuration, PIM neighbor filtering policy, and Generation ID parameter configuration.
[0103] Interface IP address configuration: Ensure that the IP addresses of directly connected interfaces are configured within the same network segment. If the IP addresses are not in the same network segment, you need to reconfigure them to ensure normal communication.
[0104] PIM Silent Configuration: If the interface is configured with PIM Silent, PIM Hello messages will not be sent, which will prevent neighbor relationships from being established. This feature can be disabled using the `undo pim silent` command if not needed.
[0105] PIM Neighbor Filtering Policy: If a PIM neighbor filtering policy is configured on the interface, it will prevent the establishment of PIM neighbors. Check and adjust the PIM neighbor filtering policy to ensure that PIM neighbor addresses are not being filtered out incorrectly.
[0106] Generation ID parameter configuration: If the interface is configured to reject Hello messages without a Generation ID parameter, and the Hello messages sent by PIM neighbors do not contain a Generation ID parameter, this will cause PIM neighbor establishment to fail. Check and adjust the relevant configurations.
[0107] S042. The PIM configuration on the interface is correct; proceed to manual processing.
[0108] S043. If the PIM configuration on the interface is abnormal, resulting in the PIM neighbor going down, modify the PIM configuration on the interface.
[0109] S044. After the PIM configuration is modified, check whether the PIM Neighbor Down has been restored.
[0110] S045, PIM Neighbor Down recovery complete, process ends;
[0111] If the S046 PIM Neighbor Down error persists, proceed to manual intervention.
[0112] It should be noted that although the operation of the method of the present invention has been described in a specific order in the above embodiments and figures, this does not require or imply that the operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0113] To provide a clearer explanation of the above-mentioned PIM Neighbor Down fault location method, specific embodiments are described below. However, it is worth noting that these embodiments are only for better illustrating the present invention and do not constitute an improper limitation of the present invention.
[0114] S01. Load network alarm data including: device port down alarm, PIMNbrDown alarm;
[0115] S01 includes: a port down alarm occurs in the device network element, and a continuous PIMNbrDown alarm occurs, which is determined to be a protocol down caused by a device port down;
[0116] S02. Check whether the physical interface of the device is enabled for PIM;
[0117] S02 includes:
[0118] S021. Execute the command "display current-configuration interface [GigabitEthernet 1 / 0 / 1]" on the device to check if PIM is enabled on the interface:
[0119] S022. If the configuration line containing pim, pim sm or pim dm exists in the output configuration information, it indicates that PIM is enabled, and proceed to S03.
[0120] For example, if the interface is configured with PIM-SM, you will see a configuration line similar to the following:
[0121] interface GigabitEthernet1 / 0 / 1 ...
[0123] pim sm ...
[0125] If the interface is configured with PIM-DM, you will see a configuration line similar to the following:
[0126] interface GigabitEthernet1 / 0 / 1 ...
[0128] pim dm ...
[0130] S023. If the configuration line for pim, pim sm or pim dm does not exist in the output configuration information, it means that PIM is not enabled for this interface. Enable PIM for this interface.
[0131] Enable method:
[0132] (1) Enter the system view and enable the multicast function:
[0133] system-view
[0134] multicast routing-enable
[0135] (2) Enter the interface view:
[0136] interface GigabitEthernet1 / 0 / 1
[0137] (3) Enable PIM (select PIM-SM or PIM-DM):
[0138] pim sm
[0139] or
[0140] pim dm
[0141] (4) Exit the interface view and save the configuration:
[0142] quit
[0143] Save
[0144] S024. Check if the PIM neighbor down has recovered. If it has recovered, the process ends; if it is still abnormal, proceed to S03.
[0145] S03. Check if the interface PIM status is UP;
[0146] S03 includes:
[0147] S031. Execute the command display piminterface GigabitEthernet 1 / 0 / 1 to view the PIM information of the specified interface, including: the number of PIM neighbors, detailed information of the PIM neighbors, and the PIM status of the interface.
[0148] S032. If the PIM status of the interface is Up, the PIM neighbor relationship is successfully established, and multicast traffic is forwarded normally through this interface, proceeding to S04.
[0149] S033. If the PIM status of the interface is not Up, execute the command display interface[GigabitEthernet 1 / 0 / 1] to check if the physical status of the interface is Up.
[0150] S034. When the physical status of the interface is UP, execute the command display interface[GigabitEthernet 1 / 0 / 1] to check whether the link status of the interface is Up.
[0151] S034 includes:
[0152] S0341. Execute the command display interface [GigabitEthernet 1 / 0 / 1]. In the output, Line protocol state displays the link status of the interface.
[0153] S0342, The link status of the interface is UP, proceed to S04;
[0154] S0343. If the link status of the interface is not UP, fix the DOWN problem of the interface link status. After the fix, check whether the PIM neighbor down is restored. If restored, the process ends. If it is still abnormal, proceed to S04.
[0155] S035. If the physical status of the interface is not UP, repair the DOWN problem of the interface physical status (repair includes: checking whether there are problems with physical connections, cables, optical modules, etc.); after repair, check whether the PIM neighbor down is restored. If it is restored, the process ends; if it is still abnormal, proceed to S034.
[0156] For example:
[0157] You can view the PIM protocol status of a specified interface, GigabitEthernet 1 / 0 / 1, by executing the command `display piminterface GigabitEthernet 1 / 0 / 1`. This command will display PIM-related information for the interface, including the number of PIM neighbors, detailed information about the PIM neighbors, and the PIM status of the interface.
[0158]
[0159] In this example, the State column shows Up, indicating that the PIM state of interface GigabitEthernet1 / 0 / 1 is UP.
[0160] If the PIM status of the interface is Up, it means that the PIM neighbor relationship has been successfully established, and multicast traffic can be forwarded normally through this interface.
[0161] S04. Check if the PIM configuration on the interface is correct.
[0162] The following are common reasons why PIM neighbor relationships cannot be established due to configuration errors on the interface:
[0163] (1) The IP address of the direct connection interface is not configured in the same network segment.
[0164] (2) The interface is configured with a PIM neighbor filtering policy, and the addresses of PIM neighbors are filtered out by the filtering policy.
[0165] (3) The interface is configured to refuse to receive Hello messages without the Generation ID parameter, and the Hello messages sent by the PIM neighbor do not contain the Generation ID parameter, which causes the PIM neighbor to fail to establish a connection.
[0166] Configuring the rejection of Hello messages without a Generation ID on the interface is a security measure to ensure that only Hello messages containing a valid Generation ID are accepted. The Generation ID is a crucial parameter in the PIM protocol used to identify changes in neighbor status. When the status of a PIM device changes, it generates a new Generation ID to notify its neighbors. By configuring the rejection of Hello messages without a Generation ID, neighboring devices can be promptly informed of each other's status changes, thereby maintaining network stability and security.
[0167] S04 includes:
[0168] S041. Execute the command display current-configuration interface [GigabitEthernet1 / 0 / 1] to view the PIM configuration on the interface, including: interface IP address configuration, PIM Silent configuration, PIM neighbor filtering policy, and Generation ID parameter configuration.
[0169] Interface IP address configuration: Ensure that the IP addresses of directly connected interfaces are configured within the same network segment. If the IP addresses are not in the same network segment, you need to reconfigure them to ensure normal communication.
[0170] PIM Silent Configuration: If the interface is configured with PIM Silent, PIM Hello messages will not be sent, which will prevent neighbor relationships from being established. This feature can be disabled using the `undo pim silent` command if not needed.
[0171] PIM Neighbor Filtering Policy: If a PIM neighbor filtering policy is configured on the interface, it will prevent the establishment of PIM neighbors. Check and adjust the PIM neighbor filtering policy to ensure that PIM neighbor addresses are not being filtered out incorrectly.
[0172] Generation ID parameter configuration: If the interface is configured to reject Hello messages without a Generation ID parameter, and the Hello messages sent by PIM neighbors do not contain a Generation ID parameter, this will cause PIM neighbor establishment to fail. Check and adjust the relevant configurations.
[0173] S042. The PIM configuration on the interface is correct; proceed to manual processing.
[0174] S043. If the PIM configuration on the interface is abnormal, resulting in the PIM neighbor going down, modify the PIM configuration on the interface.
[0175] S044. After the PIM configuration is modified, check whether the PIM Neighbor Down has been restored.
[0176] S045, PIM Neighbor Down recovery complete, process ends;
[0177] If the S046 PIM Neighbor Down error persists, proceed to manual intervention.
[0178] Based on the same inventive concept, this invention also proposes a PIM Neighbor Down fault location device. The implementation of this device can refer to the implementation of the method described above, and repeated details will not be repeated. The term "module" used below can refer to 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, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0179] Figure 2 This is a schematic diagram of the PIM Neighbor Down fault location device of the present invention. Figure 2 As shown, the device includes:
[0180] Alarm data loading module 110 loads network alarm data including: device port down alarm and PIMNbrDown alarm;
[0181] Physical Interface Inspection Module 120 checks whether the physical interface of the device is enabled (PIM).
[0182] PIM status check module 130 checks whether the interface PIM status is UP;
[0183] PIM configuration check module 140 checks whether the PIM configuration on the interface is correct.
[0184] It should be noted that although several modules of the PIM Neighbor Down fault location device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more modules described above can be embodied in a single module. Conversely, the features and functions of a single module described above can be further divided and embodied by multiple modules.
[0185] Based on the aforementioned inventive concept, such as 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, it implements the aforementioned PIM Neighbor Down fault location method.
[0186] Based on the aforementioned inventive concept, the present invention also proposes a computer-readable storage medium storing a computer program that executes the aforementioned PIM Neighbor Down fault location method.
[0187] This invention provides a PIM Neighbor Down fault location method and device, which incorporates expert capabilities, combines alarm information and protocol status collection and analysis, configures automatic collection and analysis to diagnose PIM Neighbor Down faults, and performs real-time analysis and processing of inspection results data to ensure its timeliness.
[0188] This invention provides a streamlined process for analyzing and handling PIM neighbor down faults, helping network operations and maintenance personnel quickly locate service faults and reduce their workload.
[0189] The fault location process of this invention is standardized and automated, reducing the possibility of human error and omission, improving the accuracy of fault diagnosis, and increasing the efficiency of fault location.
[0190] While the spirit and principles of the invention have been described with reference to several specific embodiments, it should be understood that the invention is not limited to the disclosed specific embodiments, and the division of aspects does not imply that features in these aspects cannot be combined for benefit; such division is merely for ease of description. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
[0191] Various embodiments 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-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0192] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0193] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0194] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, 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 sound input, voice input, or tactile input).
[0195] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0196] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0197] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0198] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
[0199] Regarding the limitation of the scope of protection of this invention, those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative effort based on the technical solution of this invention are still within the scope of protection of this invention.
Claims
1. A method for locating PIM neighbor down faults, characterized in that, The method includes: S01. Load network alarm data including: device port Down alarm, PIMNbrDown alarm, including: The device network element shows a port down alarm, and the PIMNbrDown alarm appears continuously. It is determined that the protocol down is caused by the device port down. S02. Check whether the physical interface of the device is enabled for PIM, including: S021. Execute the command "display current-configuration interface [GigabitEthernet 1 / 0 / 1]" on the device to check if PIM is enabled on the interface: S022. If the configuration line containing pim, pim sm or pim dm exists in the output configuration information, it indicates that PIM is enabled, and proceed to S03. S023. If the configuration line for pim, pim sm or pim dm does not exist in the output configuration information, it means that PIM is not enabled for this interface. Enable PIM for this interface. S024. Check if the PIM neighbor down has been restored. If it has been restored, the process ends; if it is still abnormal, proceed to S03. S03. Check if the interface PIM status is UP, including: S031. Execute the command display pim interface GigabitEthernet 1 / 0 / 1 to view the PIM information of the specified interface, including: the number of PIM neighbors, detailed information of the PIM neighbors, and the PIM status of the interface. S032. If the PIM status of the interface is Up, the PIM neighbor relationship is successfully established, and multicast traffic is forwarded normally through this interface, proceeding to S04. S033. If the PIM status of the interface is not Up, execute the command display interface [GigabitEthernet 1 / 0 / 1] to check if the physical status of the interface is Up. S034. When the physical status of the interface is UP, execute the command display interface [GigabitEthernet 1 / 0 / 1] to check whether the link status of the interface is Up. S035. If the physical state of the interface is not UP, fix the DOWN issue of the interface physical state. After fixing, check if the PIM neighbor down has been restored. If it has been restored, the process ends. If it is still abnormal, proceed to S034. S04. Check if the PIM configuration on the interface is correct, including: S041. Execute the command display current-configuration interface [GigabitEthernet 1 / 0 / 1] to view the PIM configuration on the interface, including: interface IP address configuration, PIM Silent configuration, PIM neighbor filtering policy, and Generation ID parameter configuration. S042. The PIM configuration on the interface is correct; proceed to manual processing. S043. If the PIM configuration on the interface is abnormal, resulting in the PIM neighbor going down, modify the PIM configuration on the interface. S044. After the PIM configuration is modified, check whether the PIM Neighbor Down has been restored. S045, PIM Neighbor Down recovery complete, process ends; If the S046 PIM Neighbor Down error persists, proceed to manual intervention.
2. The PIM Neighbor Down fault location method according to claim 1, characterized in that, S034 includes: S0341. Execute the command display interface [GigabitEthernet 1 / 0 / 1]. In the output, Lineprotocol state displays the link status of the interface. S0342, The link status of the interface is UP, proceed to S04; S0343. If the link status of the interface is not UP, fix the DOWN problem of the interface link status. After the fix, check whether the PIM neighbor down is restored. If restored, the process ends. If it is still abnormal, proceed to S04.
3. A PIM Neighbor Down fault location device, characterized in that, The device includes: The alarm data loading module loads network alarm data including: device port down alarms and PIMNbrDown alarms, including: a device network element has a port down alarm, and if PIMNbrDown alarms occur continuously, it is determined that the protocol down is caused by a device port down. The physical interface check module checks whether PIM is enabled on the device's physical interface. This includes: executing the command "display current-configuration interface [GigabitEthernet 1 / 0 / 1]" on the device to check if PIM is enabled on the interface: if the output configuration information contains configuration lines for pim, pim sm, or pim dm, it indicates that PIM is enabled, and the process proceeds to the PIM status check module; if the output configuration information does not contain configuration lines for pim, pim sm, or pim dm, it indicates that PIM is not enabled on the interface, and PIM is enabled on the interface; it also checks whether the PIM neighbor down status has recovered. If it has recovered, the process ends; if it is still abnormal, the process proceeds to the PIM status check module. The PIM status check module checks whether the interface's PIM status is UP. This includes: executing the command `display pim interface GigabitEthernet 1 / 0 / 1` to view the PIM information of the specified interface, including: the number of PIM neighbors, detailed information about the PIM neighbors, and the interface's PIM status; if the interface's PIM status is UP, the PIM neighbor relationship is successfully established, and multicast traffic is forwarded normally through this interface, proceeding to the PIM configuration check module; if the interface's PIM status is not UP, the command `display interface [GigabitEthernet 1 / 0 / 1]` is executed to check whether the interface's physical status is UP; if the interface's physical status is UP, the command `display interface [GigabitEthernet 1 / 0 / 1]` is executed to check whether the interface's link status is UP; if the interface's physical status is not UP, the interface's physical status DOWN issue is repaired; after repair, it checks whether the PIM neighbor down status has recovered. If it has recovered, the process ends; if it is still abnormal, proceed to the previous step. The PIM configuration check module checks whether the PIM configuration on the interface is correct, including: executing the command `display current-configuration interface [GigabitEthernet 1 / 0 / 1]` to view the PIM configuration on the interface, including: interface IP address configuration, PIM Silent configuration, PIM neighbor filtering policy, and Generation ID parameter configuration; if the PIM configuration on the interface is correct, the process is transferred to manual processing; if the PIM configuration on the interface is abnormal, resulting in PIM neighbor down, the PIM configuration on the interface is modified; after the PIM configuration is modified, the process checks whether the PIM neighbor down has been recovered; if the PIM neighbor down has been recovered, the process ends; if the PIM neighbor down is still abnormal, the process is transferred to manual processing.
4. 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, it implements the method according to any one of claims 1-2.
5. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that performs the method according to any one of claims 1-2.
Citation Information
Patent Citations
Method and apparatus for providing automated processing of a multicast service alarm
US20100135161A1