PIM neighbor Down fault positioning method and device
By loading network alarm data and checking PIM configuration, automatically diagnose and locate PIM neighbor Down failures in PIM networks, the complex and time-consuming problems of fault location in the existing technology are solved, and operation and maintenance efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202411445875.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-10-16
AI Technical Summary
In PIM network, the Down failure of PIM neighbors causes multicast traffic to fail to forward normally, affecting network performance, and it is difficult for the existing technology to quickly locate the cause of the failure, resulting in operation and maintenance personnel spending a lot of time to perform manual analysis.
By loading network alarm data, check whether the PIM is enabled on the device's physical interface, check whether the PIM status of the interface is UP, and check whether the PIM configuration on the interface is correct, and automatically diagnose and locate the PIM neighbor Down fault.
It realizes rapid and accurate positioning of the causes of Down failure of PIM neighbors, reduces the working pressure of operation and maintenance personnel, and improves operation and maintenance efficiency and fault positioning accuracy.
Smart Images

Figure CN119484242A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communications, and in particular to a method and device for locating a PIM neighbor Down fault. Background Art
[0002] PIM (Protocol Independent Multicast) is a multicast routing protocol. PIM does not rely on a specific unicast routing protocol. It can use the unicast routing table established by any unicast routing protocol to complete the RPF check function, thereby establishing multicast routing. Since PIM does not need to send and receive multicast routing updates, PIM has much lower overhead than other multicast routing protocols.
[0003] RPF check: In unicast routing and forwarding, unicast messages are transmitted along a single-point to single-point path. The device only needs to consider the "location where the message needs to go", that is, the destination address, to know which interface to forward it from. Multicast routing and forwarding are different. Since the destination address of a multicast message is a multicast address, it only identifies a group of receivers. The location of the receiver cannot be found through the destination address, but the "source location" of the multicast message, that is, the source address, is determined. Therefore, the forwarding of multicast messages is mainly based on its source address to ensure the correctness of the forwarding path.
[0004] After receiving a multicast message, the device will search for the route to the "message source" through the unicast routing table and the multicast static routing table according to the source address of the message, and check whether the outbound interface of the routing table entry to the "message source" is consistent with the inbound interface of the received multicast message. If they are consistent, it is considered that the multicast message arrives from the correct interface, thus ensuring the correctness and uniqueness of the entire forwarding path. This process is called RPF (Reverse Path Forwarding) check.
[0005] The "correct interface" here is usually called the RPF interface, that is, the interface that passes the RPF check.
[0006] The PIM neighbor down fault means that in a PIM (Protocol Independent Multicast) network, two PIM neighbor routers cannot establish or maintain a neighbor relationship. This situation will cause multicast traffic to be unable to be forwarded normally, affecting the multicast performance of the network and the normal operation of the network. Because it is a protocol-level fault, it is difficult to locate. Operation and maintenance personnel need to spend a long time manually to determine and locate the fault, resulting in a long-term lag and adverse effects on customers.
[0007] Currently, operation and maintenance personnel need to use various protocols and commands based on their professional knowledge to perform fault analysis, and spend a long time manually determining the cause of the PIM neighbor Down fault. This is time-consuming and labor-intensive, and the timely rate of fault handling is low, which puts a lot of pressure on maintenance personnel. Summary of the invention
[0008] In order to solve the problems existing in the prior art, the present invention provides a PIM neighbor Down fault locating method and device, which locates the cause of the PIM neighbor Down fault by performing alarm collection and analysis, protocol status collection and analysis, and configuration collection and analysis on network elements where the PIM neighbor Down fault occurs, thereby reducing the work pressure of network operation and maintenance personnel and improving operation and maintenance efficiency.
[0009] To achieve the above object, the present invention adopts the following technical solutions:
[0010] In one embodiment of the present invention, a method for locating a PIM neighbor Down fault is proposed. The method includes:
[0011] S01. Load network alarm data including: device port Down alarm, PIMNbrDown alarm;
[0012] Further, the S01 includes: a port Down alarm occurs in a device network element, and a PIMNbrDown alarm occurs continuously, and it is determined that the protocol Down is caused by the device port Down;
[0013] S02. Check whether PIM is enabled on the physical interface of the device.
[0014] Further, the S02 includes:
[0015] S021. Run the display current-configuration interface [GigabitEthernet 1 / 0 / 1] command on the device to check whether PIM is enabled on the interface.
[0016] S022. If there is a configuration line of pim, pim sm or pim dm in the output configuration information, it indicates that PIM is enabled, and the process goes to S03.
[0017] S023. If there is no configuration line of pim, pim sm or pim dm in the output configuration information, it means that PIM is not enabled on the interface. Enable PIM on the interface.
[0018] Enabling method:
[0019] (1) Enter system view and enable multicast:
[0020] (2) Enter 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 whether the PIM neighbor Down state is restored. If restored, the process ends; if still abnormal, enter S03.
[0024] S03, check whether the interface PIM status is UP;
[0025] Further, the S03 includes:
[0026] S031. Run the display piminterface GigabitEthernet 1 / 0 / 1 command to view the PIM information of the specified interface, including the number of PIM neighbors, detailed information about 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 the interface, and the process goes to S04.
[0028] S033. The PIM status of the interface is not Up. Run the display interface[GigabitEthernet 1 / 0 / 1] command to check whether the physical status of the interface is Up.
[0029] S034. The physical status of the interface is UP. Run the display interface[GigabitEthernet 1 / 0 / 1] command to check whether the link status of the interface is Up.
[0030] Further, the S034 includes:
[0031] S0341. Run the display interface [GigabitEthernet 1 / 0 / 1] command. In the output, Line protocol state shows the link status of the interface.
[0032] S0342: The link status of the interface is UP, and the process goes to S04.
[0033] S0343: If the link status of the interface is not UP, the DOWN problem of the interface link status is repaired. After the repair, check whether the PIM neighbor Down is restored. If it is restored, the process ends. If it is still abnormal, enter S04.
[0034] S035: If the physical status of the interface is not UP, repair the DOWN problem of the interface (repair includes: checking whether there are problems with the physical connection, cable, optical module, etc.); after the repair, check whether the PIM neighbor Down is restored. If it is restored, the process ends; if it is still abnormal, enter S034.
[0035] S04. Check whether the PIM configuration on the interface is correct.
[0036] The common reasons why a PIM neighbor relationship cannot be established due to incorrect configuration on an interface are as follows:
[0037] (1) The IP addresses of the direct-connect ports are not configured in the same network segment.
[0038] (2) The interface is configured with a PIM neighbor filtering policy, and the address of the PIM neighbor is filtered out by the filtering policy.
[0039] (3) The interface is configured to reject Hello messages without the Generation ID parameter. The Hello message sent by the PIM neighbor does not contain the Generation ID parameter, so the PIM neighbor relationship cannot be established.
[0040] Configuring the interface to reject Hello messages without Generation ID is a security measure to ensure that only Hello messages with valid Generation IDs are accepted. Generation ID is an important parameter used in the PIM protocol to identify neighbor status changes. When the status of a PIM device changes, it generates a new Generation ID to notify its neighbor devices. By configuring the interface to reject Hello messages without Generation ID, you can ensure that neighbor devices can learn about each other's status changes in a timely manner, thereby maintaining network stability and security.
[0041] Further, the S04 includes:
[0042] S041. Run the display current-configuration interface[GigabitEthernet1 / 0 / 1] command to view the PIM configuration on the interface, including the interface IP address configuration, PIM Silent configuration, PIM neighbor filtering policy, and Generation ID parameter configuration.
[0043] Interface IP address configuration: Make sure the IP addresses of the direct-connect interfaces are configured in the same network segment. If the IP addresses are not in the same network segment, reconfigure them to ensure normal communication.
[0044] PIM Silent configuration: If PIM Silent is configured on an interface, no PIM Hello messages will be sent, which will result in the failure to establish neighbor relationships. If not needed, you can disable this function using the undo pim silent command.
[0045] PIM neighbor filtering policy: If the interface is configured with a PIM neighbor filtering policy, the establishment of PIM neighbors will be blocked. Check and adjust the PIM neighbor filtering policy to ensure that the addresses of PIM neighbors are not incorrectly filtered out.
[0046] Generation ID parameter configuration: If the interface is configured to reject Hello messages without the Generation ID parameter, and the Hello message sent by the PIM neighbor does not contain the Generation ID parameter, the PIM neighbor relationship cannot be established. Check and adjust the relevant configuration.
[0047] S042: The PIM configuration on the interface is correct, and the process is transferred to manual processing;
[0048] S043: The PIM configuration on the interface is abnormal, which causes the PIM neighbor to be Down. Modify the PIM configuration on the interface.
[0049] S044. After the PIM configuration is modified, check whether the PIM neighbor Down status is restored.
[0050] S045: PIM neighbor status is restored to Down state, and the process ends.
[0051] S046: If the PIM neighbor Down status is still abnormal, transfer to manual processing.
[0052] In one embodiment of the present invention, a PIM neighbor Down fault locating device is further provided, the device comprising:
[0053] Alarm data loading module, loads network alarm data including: device port Down alarm, PIMNbrDown alarm;
[0054] The physical interface check module checks whether PIM is enabled on the physical interface of the device.
[0055] PIM status check module, checks whether the PIM status of the interface 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, the aforementioned PIM neighbor Down fault locating method is implemented.
[0058] 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 a PIM neighbor Down fault locating method.
[0059] Beneficial effects:
[0060] The present invention provides a PIM neighbor Down fault location method and device, which attaches expert capabilities, combines alarm information and protocol status collection and analysis, configures collection and analysis to automatically perform PIM neighbor Down fault diagnosis, and performs real-time analysis and processing on inspection result data to ensure its timeliness;
[0061] The present invention performs a process-based analysis on the PIM neighbor Down fault, helping network operation and maintenance personnel to quickly locate the service fault and reduce their work pressure.
[0062] The fault location process of the present invention is standardized and automated, which reduces the possibility of human misdiagnosis and missed detection, improves the accuracy of fault diagnosis, and enhances the efficiency of fault location. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 It is a flow chart of the method for locating a PIM neighbor Down fault of the present invention;
[0064] Figure 2 It is a schematic diagram of the structure of the PIM neighbor Down fault locating device of the present invention;
[0065] Figure 3 It is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0066] 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.
[0067] 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 specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0068] According to an implementation manner of the present invention, a PIM neighbor Down fault locating method and device are proposed. By performing alarm collection and analysis, protocol status collection and analysis, and configuration collection and analysis on network elements where PIM neighbor Down faults occur, the cause of the PIM neighbor Down fault is located, thereby reducing the work pressure of network operation and maintenance personnel and improving operation and maintenance efficiency.
[0069] The principle and spirit of the present invention are explained in detail below with reference to several representative embodiments of the present invention.
[0070] like Figure 1 As shown, the present invention relates to a method for locating a PIM neighbor Down fault, 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 the PIMNbrDown alarm occurs continuously, and it is determined that the protocol Down is caused by the device port Down;
[0073] S02. Check whether PIM is enabled on the physical interface of the device.
[0074] S02 includes:
[0075] S021. Run the display current-configuration interface [GigabitEthernet 1 / 0 / 1] command on the device to check whether PIM is enabled on the interface.
[0076] S022. If there is a configuration line of pim, pim sm or pim dm in the output configuration information, it indicates that PIM is enabled, and the process goes to S03.
[0077] S023. If there is no configuration line of pim, pim sm or pim dm in the output configuration information, it means that PIM is not enabled on the interface. Enable PIM on the interface.
[0078] Enabling method:
[0079] (1) Enter system view and enable multicast:
[0080] (2) Enter 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 whether the PIM neighbor Down state is restored. If restored, the process ends; if still abnormal, enter S03.
[0084] S03, check whether the interface PIM status is UP;
[0085] S03 includes:
[0086] S031. Run the display piminterface GigabitEthernet 1 / 0 / 1 command to view the PIM information of the specified interface, including the number of PIM neighbors, detailed information about 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 the interface, and the process goes to S04.
[0088] S033. The PIM status of the interface is not Up. Run the display interface[GigabitEthernet 1 / 0 / 1] command to check whether the physical status of the interface is Up.
[0089] S034. The physical status of the interface is UP. Run the display interface[GigabitEthernet 1 / 0 / 1] command to check whether the link status of the interface is Up.
[0090] S034 includes:
[0091] S0341. Run the display interface [GigabitEthernet 1 / 0 / 1] command. In the output, Line protocol state shows the link status of the interface.
[0092] S0342: The link status of the interface is UP, and the process goes to S04.
[0093] S0343: If the link status of the interface is not UP, the DOWN problem of the interface link status is repaired. After the repair, check whether the PIM neighbor Down is restored. If it is restored, the process ends. If it is still abnormal, enter S04.
[0094] S035: If the physical status of the interface is not UP, repair the DOWN problem of the interface (repair includes: checking whether there are problems with the physical connection, cable, optical module, etc.); after the repair, check whether the PIM neighbor Down is restored. If it is restored, the process ends; if it is still abnormal, enter S034.
[0095] S04. Check whether the PIM configuration on the interface is correct.
[0096] The common reasons why a PIM neighbor relationship cannot be established due to incorrect configuration on an interface are as follows:
[0097] (1) The IP addresses of the direct-connect ports are not configured in the same network segment.
[0098] (2) The interface is configured with a PIM neighbor filtering policy, and the address of the PIM neighbor is filtered out by the filtering policy.
[0099] (3) The interface is configured to reject Hello messages without the Generation ID parameter. The Hello message sent by the PIM neighbor does not contain the Generation ID parameter, so the PIM neighbor relationship cannot be established.
[0100] Configuring the interface to reject Hello messages without Generation ID is a security measure to ensure that only Hello messages with valid Generation IDs are accepted. Generation ID is an important parameter used in the PIM protocol to identify neighbor status changes. When the status of a PIM device changes, it generates a new Generation ID to notify its neighbor devices. By configuring the interface to reject Hello messages without Generation ID, you can ensure that neighbor devices can learn about each other's status changes in a timely manner, thereby maintaining network stability and security.
[0101] Further, the S04 includes:
[0102] S041. Run the display current-configuration interface[GigabitEthernet1 / 0 / 1] command to view the PIM configuration on the interface, including the interface IP address configuration, PIM Silent configuration, PIM neighbor filtering policy, and Generation ID parameter configuration.
[0103] Interface IP address configuration: Make sure the IP addresses of the direct-connect interfaces are configured in the same network segment. If the IP addresses are not in the same network segment, reconfigure them to ensure normal communication.
[0104] PIM Silent configuration: If PIM Silent is configured on an interface, no PIM Hello messages will be sent, which will result in the failure to establish neighbor relationships. If not needed, you can disable this function using the undo pim silent command.
[0105] PIM neighbor filtering policy: If the interface is configured with a PIM neighbor filtering policy, the establishment of PIM neighbors will be blocked. Check and adjust the PIM neighbor filtering policy to ensure that the addresses of PIM neighbors are not incorrectly filtered out.
[0106] Generation ID parameter configuration: If the interface is configured to reject Hello messages without the Generation ID parameter, and the Hello message sent by the PIM neighbor does not contain the Generation ID parameter, the PIM neighbor relationship cannot be established. Check and adjust the relevant configuration.
[0107] S042: The PIM configuration on the interface is correct, and the process is transferred to manual processing;
[0108] S043: The PIM configuration on the interface is abnormal, which causes the PIM neighbor to be Down. Modify the PIM configuration on the interface.
[0109] S044. After the PIM configuration is modified, check whether the PIM neighbor Down status is restored.
[0110] S045: The PIM neighbor is restored to Down state, and the process ends.
[0111] S046: If the PIM neighbor Down status is still abnormal, transfer to manual processing.
[0112] 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.
[0113] In order to explain the above PIM neighbor Down fault location method more clearly, a specific embodiment is described below. However, it should be noted that the embodiment is only for better illustrating the present invention and does not constitute an improper limitation to 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 the PIMNbrDown alarm occurs continuously, and it is determined that the protocol Down is caused by the device port Down;
[0116] S02. Check whether PIM is enabled on the physical interface of the device.
[0117] S02 includes:
[0118] S021. Run the display current-configuration interface [GigabitEthernet 1 / 0 / 1] command on the device to check whether PIM is enabled on the interface.
[0119] S022. If there is a configuration line of pim, pim sm or pim dm in the output configuration information, it indicates that PIM is enabled, and the process goes to S03.
[0120] For example, if PIM-SM is configured on the interface, you will see configuration lines similar to the following:
[0121] interface GigabitEthernet1 / 0 / 1 ...
[0123] pim sm ...
[0125] If PIM-DM is configured on the interface, you will see configuration lines similar to the following:
[0126] interface GigabitEthernet1 / 0 / 1 ...
[0128] pim dm ...
[0130] S023. If there is no configuration line of pim, pim sm or pim dm in the output configuration information, it means that PIM is not enabled on the interface. Enable PIM on the interface.
[0131] Enabling method:
[0132] (1) Enter system view and enable multicast:
[0133] system-view
[0134] multicast routing-enable
[0135] (2) Enter 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 whether the PIM neighbor Down state is restored. If restored, the process ends; if still abnormal, enter S03.
[0145] S03, check whether the interface PIM status is UP;
[0146] S03 includes:
[0147] S031. Run the display piminterface GigabitEthernet 1 / 0 / 1 command to view the PIM information of the specified interface, including the number of PIM neighbors, detailed information about 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 the interface, and the process goes to S04.
[0149] S033. The PIM status of the interface is not Up. Run the display interface[GigabitEthernet 1 / 0 / 1] command to check whether the physical status of the interface is Up.
[0150] S034. The physical status of the interface is UP. Run the display interface[GigabitEthernet 1 / 0 / 1] command to check whether the link status of the interface is Up.
[0151] S034 includes:
[0152] S0341. Run the display interface [GigabitEthernet 1 / 0 / 1] command. In the output, Line protocol state shows the link status of the interface.
[0153] S0342: The link status of the interface is UP, and the process goes to S04.
[0154] S0343: If the link status of the interface is not UP, the DOWN problem of the interface link status is repaired. After the repair, check whether the PIM neighbor Down is restored. If it is restored, the process ends. If it is still abnormal, enter S04.
[0155] S035: If the physical status of the interface is not UP, repair the DOWN problem of the interface (repair includes: checking whether there are problems with the physical connection, cable, optical module, etc.); after the repair, check whether the PIM neighbor Down is restored. If it is restored, the process ends; if it is still abnormal, enter S034.
[0156] For example:
[0157] You can run the display piminterface GigabitEthernet 1 / 0 / 1 command to view the PIM protocol status of the specified interface GigabitEthernet 1 / 0 / 1. This command displays the PIM related information of the interface, including the number of PIM neighbors, detailed information of PIM neighbors, and the PIM status of the interface.
[0158]
[0159] In this example, the State column displays Up, indicating that the PIM status 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 whether the PIM configuration on the interface is correct.
[0162] The common reasons why a PIM neighbor relationship cannot be established due to incorrect configuration on an interface are as follows:
[0163] (1) The IP addresses of the direct-connect ports are not configured in the same network segment.
[0164] (2) The interface is configured with a PIM neighbor filtering policy, and the address of the PIM neighbor is filtered out by the filtering policy.
[0165] (3) The interface is configured to reject Hello messages without the Generation ID parameter. The Hello message sent by the PIM neighbor does not contain the Generation ID parameter, so the PIM neighbor relationship cannot be established.
[0166] Configuring the interface to reject Hello messages without Generation ID is a security measure to ensure that only Hello messages with valid Generation IDs are accepted. Generation ID is an important parameter used in the PIM protocol to identify neighbor status changes. When the status of a PIM device changes, it generates a new Generation ID to notify its neighbor devices. By configuring the interface to reject Hello messages without Generation ID, you can ensure that neighbor devices can learn about each other's status changes in a timely manner, thereby maintaining network stability and security.
[0167] S04 includes:
[0168] S041. Run the display current-configuration interface[GigabitEthernet1 / 0 / 1] command to view the PIM configuration on the interface, including the interface IP address configuration, PIM Silent configuration, PIM neighbor filtering policy, and Generation ID parameter configuration.
[0169] Interface IP address configuration: Make sure the IP addresses of the direct-connect interfaces are configured in the same network segment. If the IP addresses are not in the same network segment, reconfigure them to ensure normal communication.
[0170] PIM Silent configuration: If PIM Silent is configured on an interface, no PIM Hello messages will be sent, which will result in the failure to establish neighbor relationships. If not needed, you can disable this function using the undo pim silent command.
[0171] PIM neighbor filtering policy: If the interface is configured with a PIM neighbor filtering policy, the establishment of PIM neighbors will be blocked. Check and adjust the PIM neighbor filtering policy to ensure that the addresses of PIM neighbors are not incorrectly filtered out.
[0172] Generation ID parameter configuration: If the interface is configured to reject Hello messages without the Generation ID parameter, and the Hello message sent by the PIM neighbor does not contain the Generation ID parameter, the PIM neighbor relationship cannot be established. Check and adjust the relevant configuration.
[0173] S042: The PIM configuration on the interface is correct, and the process is transferred to manual processing;
[0174] S043: The PIM configuration on the interface is abnormal, which causes the PIM neighbor to be Down. Modify the PIM configuration on the interface.
[0175] S044. After the PIM configuration is modified, check whether the PIM neighbor Down status is restored.
[0176] S045: PIM neighbor status is restored to Down state, and the process ends.
[0177] S046: If the PIM neighbor Down status is still abnormal, transfer to manual processing.
[0178] Based on the same inventive concept, the present invention also proposes a PIM neighbor Down fault location 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, it is also possible and conceivable to implement it in hardware, or a combination of software and hardware.
[0179] Figure 2 FIG. 1 is a schematic diagram of the structure of the PIM neighbor Down fault location device of the present invention. Figure 2 As shown, the device comprises:
[0180] The alarm data loading module 110 loads network alarm data including: device port Down alarm, PIMNbrDown alarm;
[0181] A physical interface checking module 120 checks whether the physical interface of the device is PIM-enabled;
[0182] A PIM status checking module 130 checks whether the PIM status of the interface is UP;
[0183] The PIM configuration checking 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 locating device are mentioned in the above detailed description, this division is only exemplary and not mandatory. In fact, according to the 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.
[0185] 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 PIM neighbor Down fault locating method is implemented.
[0186] 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 PIM neighbor Down fault locating method.
[0187] The present invention provides a PIM neighbor Down fault location method and device, which attaches expert capabilities, combines alarm information and protocol status collection and analysis, configures collection and analysis to automatically perform PIM neighbor Down fault diagnosis, and performs real-time analysis and processing on inspection result data to ensure its timeliness;
[0188] The present invention performs a process-based analysis on the PIM neighbor Down fault, helping network operation and maintenance personnel to quickly locate the service fault and reduce their work pressure.
[0189] The fault location process of the present invention is standardized and automated, which reduces the possibility of human misdiagnosis and missed detection, improves the accuracy of fault diagnosis, and enhances the efficiency of fault location.
[0190] 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.
[0191] 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.
[0192] 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.
[0193] 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.
[0194] 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).
[0195] 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.
[0196] 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.
[0197] 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.
[0198] 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.
[0199] 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. A method for locating a PIM neighbor Down fault, characterized in that: The method includes: S01. Load network alarm data including: device port Down alarm, PIMNbrDown alarm; S02. Check whether PIM is enabled on the physical interface of the device. S03, check whether the interface PIM status is UP; S04. Check whether the PIM configuration on the interface is correct.
2. The PIM neighbor Down fault locating method according to claim 1, characterized in that: The S01 includes: a port Down alarm occurs in a device network element, and PIMNbrDown alarms occur continuously, and it is determined that the protocol Down is caused by the device port Down.
3. The PIM neighbor Down fault locating method according to claim 1, characterized in that: The S02 includes: S021. Run the display current-configuration interface [GigabitEthernet 1 / 0 / 1] command on the device to check whether PIM is enabled on the interface. S022. If there is a configuration line of pim, pim sm or pim dm in the output configuration information, it indicates that PIM is enabled, and the process goes to S03. S023. If there is no configuration line of pim, pim sm or pim dm in the output configuration information, it means that PIM is not enabled on the interface. Enable PIM on the interface. S024, check whether the PIM neighbor Down state is restored. If restored, the process ends; if still abnormal, enter S03.
4. The PIM neighbor Down fault locating method according to claim 1, characterized in that: The S03 includes: S031. Run the display piminterface GigabitEthernet 1 / 0 / 1 command to view the PIM information of the specified interface, including the number of PIM neighbors, detailed information about 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 the interface, and the process goes to S04. S033. The PIM status of the interface is not Up. Run the display interface[GigabitEthernet 1 / 0 / 1] command to check whether the physical status of the interface is Up. S034. The physical status of the interface is UP. Run the display interface[GigabitEthernet 1 / 0 / 1] command to check whether the link status of the interface is Up. S035: If the physical state of the interface is not UP, repair the DOWN problem of the interface. After repair, check whether the PIM neighbor Down is restored. If restored, the process ends. If still abnormal, enter S034.
5. The PIM neighbor Down fault locating method according to claim 4, characterized in that: The S034 includes: S0341. Run the displayinterface[GigabitEthernet 1 / 0 / 1] command. In the output, Lineprotocol state shows the link status of the interface. S0342: The link status of the interface is UP, and the process goes to S04. S0343: If the link status of the interface is not UP, the DOWN problem of the interface link status is repaired. After the repair, check whether the PIM neighbor Down is restored. If it is restored, the process ends. If it is still abnormal, enter S04.
6. The PIM neighbor Down fault locating method according to claim 1, characterized in that: The S04 includes: S041. Run the display current-configuration interface[GigabitEthernet 1 / 0 / 1] command to view the PIM configuration on the interface, including the 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, and the process is transferred to manual processing; S043: The PIM configuration on the interface is abnormal, which causes the PIM neighbor to be Down. Modify the PIM configuration on the interface. S044. After the PIM configuration is modified, check whether the PIM neighbor Down status is restored. S045: The PIM neighbor is restored to Down state, and the process ends. S046: If the PIM neighbor Down status is still abnormal, transfer to manual processing.
7. A PIM neighbor Down fault locating device, characterized in that: The device includes: Alarm data loading module, loads network alarm data including: device port Down alarm, PIMNbrDown alarm; The physical interface check module checks whether PIM is enabled on the physical interface of the device. PIM status check module, checks whether the PIM status of the interface is UP; The PIM configuration check module checks whether the PIM configuration on the interface is correct.
8. 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 6 is implemented.
9. 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 6.
Citation Information
Patent Citations
Ethernet fault positioning and detection method
CN104869014A
Method and apparatus for providing automated processing of a multicast service alarm
US20100135161A1
Protocol Independent Multicast with Quality of Service Support
US20120327775A1
Multicast only fast re-route over remote loop-free alternate backup path
US20170093612A1
Network adaptive monitoring
US20220360509A1
Cited By
Link state monitoring method of radio frequency combiner
CN122160821A