CN114172787B - IGP link anomaly Metric real-time monitoring and handling method and device - Google Patents

IGP link anomaly Metric real-time monitoring and handling method and device Download PDF

Info

Publication number
CN114172787B
CN114172787B CN202111325466.5A CN202111325466A CN114172787B CN 114172787 B CN114172787 B CN 114172787B CN 202111325466 A CN202111325466 A CN 202111325466A CN 114172787 B CN114172787 B CN 114172787B
Authority
CN
China
Prior art keywords
metric
link
igp
dynamic
baseline
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111325466.5A
Other languages
Chinese (zh)
Other versions
CN114172787A (en
Inventor
蔡旭晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Unihub China Information Technology Co Ltd
Original Assignee
Unihub China Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unihub China Information Technology Co Ltd filed Critical Unihub China Information Technology Co Ltd
Priority to CN202111325466.5A priority Critical patent/CN114172787B/en
Publication of CN114172787A publication Critical patent/CN114172787A/en
Application granted granted Critical
Publication of CN114172787B publication Critical patent/CN114172787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for monitoring and disposing an IGP link abnormality Metric in real time, wherein the method comprises the following steps: setting a static Metric baseline rule based on a device name regular expression of the link double ends; generating a dynamic Metric baseline based on the actual topology of the existing network IGP; when an IGP link Metric anomaly is detected, link isolation handling is automatically performed. The method and the device are based on a static Metric baseline rule which can be set according to the regular expression of the device name, and are additionally provided with a dynamic Metric baseline based on the current network topology structure, so that the received real-time IGP link update record is judged, abnormal modification of the link Metric can be quickly found, and automatic treatment and alarm can be carried out.

Description

IGP link anomaly Metric real-time monitoring and handling method and device
Technical Field
The invention relates to the field of network planning, in particular to a method and a device for monitoring and disposing an IGP link abnormality Metric in real time.
Background
The access to the IP network is addressed based on an IP routing table that is dynamically updated as the state of the network changes. IGP (Interior Gateway Protocol ) is mainly used for transferring topology information of devices inside a network, and can also carry transferring routing information inside the network. One device will advertise all its adjacency link information to other neighboring devices through IGP routing protocols, including the device and which devices have adjacencies and adjacency cost values (metrics). The device also forwards the route notification information sent by other devices, so that the topology information is propagated. Meanwhile, the device can also propagate the IP address field information accessed by the device through the IGP routing protocol. Finally, each device can acquire the adjacency relation, adjacency cost and the IP address field accessed by each device in the network through the IGP routing protocol to form a topology, and calculate paths to other devices or IP addresses in the network according to the topology by using an SPF shortest path first algorithm (Shotest Path First) based on the minimum link Metric cost value.
Generally, when a telecom operator performs network planning, a link Metric value is planned and set according to factors such as a network role of equipment and a transmission distance of a line between the equipment, so that a mutual access flow of network access users can flow according to an expected equipment node path. However, when special situations such as poor quality or congestion occur, the operator may modify the link Metric value to isolate or dredge the link, for example, change the link Metric value to a value that is large enough that the traffic path does not pass through the link and bypasses other smaller paths. However, modification of the link Metric is a high risk operation, and if the value of the link Metric modification is smaller than that of most links Metric in the relevant peripheral direction, traffic local to the peripheral network may be pulled to cause traffic congestion on the link to cause serious network failure based on the SPF algorithm. Serious network failures due to incorrect configuration of the Metric value have occurred many times for both domestic and international operators.
In the prior art, the IGP route can acquire real-time change of the route by adopting modes such as route protocol monitoring or BGP-LS protocol collection, but due to complexity of a network topology structure, a method for quickly judging abnormality of the Metric of a link in the IGP topology is lacking, whether the modification action of the Metric is normal maintenance operation or error operation cannot be distinguished, and faults are usually discovered only through abnormality of link traffic, and then whether the related link or the network has the IGP route problem is checked. However, since the existing network management system generally collects link traffic for 5 minutes or longer, the problem is not found timely enough, and meanwhile, the failure duration is long due to lack of automatic failure finding and disposing means.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a real-time monitoring and disposing method and device for an IGP link abnormality, which are based on a static Metric baseline rule which can be set according to a regular expression of a device name, and are additionally provided with a dynamic Metric baseline based on the current network topology structure, so that a received real-time IGP link update record is judged, and abnormal link modification can be quickly found, and automatic disposal and alarm can be performed.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
in an embodiment of the present invention, a method for real-time monitoring and handling of IGP link anomaly metrics is provided, including:
setting a static Metric baseline rule based on a device name regular expression of the link double ends;
generating a dynamic Metric baseline based on the actual topology of the existing network IGP;
when an IGP link Metric anomaly is detected, link isolation handling is automatically performed.
Further, setting a static Metric baseline rule based on a device name regular expression of the link dual, comprising:
based on a network planning scheme, setting the minimum threshold value of the link Metric between different devices in the mode of regular expression of the device names of the two ends of the link, and generating a static Metric baseline rule.
Further, generating a dynamic Metric baseline based on the current network IGP actual topology, comprising:
generating a dynamic Metric baseline between devices with the minimum Metric in the current multiple parallel links between devices, for limiting the link Metric reduction operations in all directions.
Further, when an IGP link Metric anomaly is detected, link isolation handling is automatically performed, including:
when detecting that the IGP link Metric is abnormal, sequentially logging in the double-end equipment which issues the abnormal IGP route, executing an instruction, searching a port name according to the port IP of the link of the abnormal Metric in the IGP route update record, and modifying the IGP route protocol configuration into a passive mode under the port;
if the equipment logs in abnormally, the opposite terminal equipment in the abnormal IGP neighbor information is tried to log in, and the same operation is executed to isolate the link port.
In an embodiment of the present invention, there is also provided an IGP link anomaly Metric real-time monitoring and handling device, including:
the link anomaly Metric detection module is used for rapidly detecting the real-time update record of the IGP link based on a static Metric baseline rule set by a device name regular expression at the two ends of the link and a dynamic Metric baseline generated based on the actual topology of the IGP of the current network;
and the link abnormal Metric automatic handling module is used for carrying out automatic isolation handling on the abnormal Metric link.
Further, setting a static Metric baseline rule based on a device name regular expression of the link dual, comprising:
based on a network planning scheme, setting the minimum threshold value of the link Metric between different devices in the mode of regular expression of the device names of the two ends of the link, and generating a static Metric baseline rule.
Further, generating a dynamic Metric baseline based on the current network IGP actual topology, comprising:
generating a dynamic Metric baseline between devices with the minimum Metric in the current multiple parallel links between devices, for limiting the link Metric reduction operations in all directions.
Further, performing automatic isolation treatment on the abnormal Metric link, including:
when detecting that the IGP link Metric is abnormal, sequentially logging in the double-end equipment which issues the abnormal IGP route, executing an instruction, searching a port name according to the port IP of the link of the abnormal Metric in the IGP route update record, and modifying the IGP route protocol configuration into a passive mode under the port;
if the equipment logs in abnormally, the opposite terminal equipment in the abnormal IGP neighbor information is tried to log in, and the same operation is executed to isolate the link port.
In an embodiment of the present invention, a computer device is further provided, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the foregoing IGP link anomaly Metric real-time monitoring and handling method when executing the computer program.
In an embodiment of the present invention, a computer readable storage medium is also provided, where the computer readable storage medium stores a computer program for executing the IGP link anomaly Metric real-time monitoring and handling method.
The beneficial effects are that:
1. the invention combines the naming standards of network element equipment, the static Metric rule based on the regular expression of the double-end equipment name can effectively reflect the network planning principle, the rule check of the IGP link abnormal Metric is completed, meanwhile, the IGP routing information can carry the network element equipment name information, the IGP link routing abnormal Metric monitoring based on the equipment name rule is independent of other data, the network element equipment is completed only based on the IGP routing information, and the monitoring realization efficiency and reliability are high.
2. The invention completes the dynamic baseline inspection of the IGP link anomaly Metric without configuration based on the actual value of the minimum Metric of the IGP link in the same direction of the current network as a dynamic baseline, automatically inspects the IGP link anomaly Metric without complex configuration according to the routing principle of the network and the running state of the current network, can be rapidly deployed, can effectively monitor the error Metric configuration in daily engineering and maintenance operation, improves the automation degree of detection, does not need operation staff to perform excessive configuration operation intervention, and improves the processing efficiency.
3. The invention simultaneously uses the detection modes of the static rule and the dynamic base line, combines the static rule and the dynamic base line, and realizes real-time and rapid monitoring of the IGP link abnormal Metric from different angles of network planning, actual running state of the existing network and the like, thereby being capable of rapidly finding the IGP link abnormal Metric and automatically disposing the IGP link abnormal Metric in various scene environments. For example, for an existing link direction, a Metric value baseline may be dynamically generated based on current network actual data; for the new direction, whether the Metric of the new direction accords with the network planning principle can be checked based on static rules.
4. The invention uses the automatic isolation treatment method that the link double-end equipment sequentially tries to execute the isolation instruction, effectively solves the possibility that the downstream equipment cannot log in caused by abnormal Metric modification, can effectively complete the automatic treatment process, quickly recovers the network route, simultaneously adopts the IGP routing protocol of the port to be set into a passive mode instead of directly modifying Metric, and under the condition that the port is not closed, not only ensures that the instruction is executed at any one end to isolate the link from the IGP topology in two directions, but also reserves the original Metric configuration for investigation, and provides convenience for the subsequent treatment of faults.
Drawings
FIG. 1 is a flow chart of an IGP link anomaly Metric real-time monitoring and handling method of the present invention;
FIG. 2 is a generic hierarchical networking topology of an embodiment of the present invention;
FIG. 3 is a schematic diagram of an IGP link anomaly Metric real-time monitoring and handling device according to the present invention;
FIG. 4 is a schematic diagram of a computer device according to the present invention.
Detailed Description
The principles and spirit of the present invention will be described below with reference to several exemplary embodiments, with the understanding that these embodiments are merely provided to enable those skilled in the art to better understand and practice the invention and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Those skilled in the art will appreciate that embodiments of the invention may be implemented as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the following forms, namely: complete hardware, complete software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, a real-time monitoring and disposing method and device for the abnormal Metric of the IGP link are provided, real-time update records of the IGP link are rapidly detected based on a link Metric base line, and automatic isolation disposal is carried out on the abnormal Metric link, so that the large-scale faults of a network level caused by abnormal modification of the Metric are prevented.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments thereof.
1. FIG. 1 is a flow chart of an IGP link anomaly Metric real-time monitoring and handling method of the present invention. As shown in fig. 1, the method includes:
(1) Collecting IGP route and update record through an IGP route collector;
(2) Checking the static Metric rule of the IGP link update record through the static Metric baseline rule, and if the IGP link update record is abnormal Metric update, carrying out link isolation treatment and generating an alarm; if the route is updated normally, judging whether to perform dynamic check;
(3) If the dynamic check is performed, performing dynamic Metric rule check through a dynamic Metric baseline generated according to the IGP routing and the update record, and if the dynamic Metric rule check is abnormal Metric update, performing link isolation treatment and generating an alarm; if the route is updated normally, the process ends.
(4) If the dynamic check is not performed, the process ends.
2. The Metric baseline is generated based on the following rules:
(1) Static Metric baseline setting based on link double-ended device name regular expression
Based on a network planning scheme, a minimum threshold value of each main direction link Metric is set in a regular expression mode of the link double-end equipment name, and the problem that the mis-allocation Metric guides the whole network traffic to a single direction or link is prevented.
Generally, the networking of an IP network is a layered structure, including a core layer, a convergence layer, and an access layer, and devices of different layers may be represented in device names, for example: the core equipment-CR-, the convergence equipment-BR-and the access equipment-AR-, and the service flow is converged and exchanged from bottom to top. Based on a network planning scheme, by setting the minimum threshold value of the links between different layers of equipment in a regular expression mode of the names of the two ends of the links, abnormal crossing or aggregation of traffic among layers of networks caused by abnormal Metric setting can be effectively prevented, for example: the Metric between core devices should typically be an order of magnitude smaller than the Metric between core-sink devices, and a core-sink link that varies within a specified order of magnitude will not result in aggregate device traffic being aggregated into a single direction or even carrying inter-core traffic.
Metric baseline rules set by network hierarchy are exemplified in Table 1 below:
TABLE 1
Source device Target device Minimum Metric value Rule description
-CR- -BR- 10000 Minimum Metric between core and convergence device is 10000
-CR- -CR- 1000 The minimum Metric between core and core device is 1000
In addition, the device name also typically includes region coding information, such as province and city, and the link Metric baseline set by the regular expression of the link dual-end device name may also be set to be a Metric plan by region, as shown in table 2 below:
TABLE 2
Source device Target device Minimum Metric value Rule description
^BJ ^SH 1500 The minimum Metric from Beijing to Shanghai is 1500
If the network networking is a strictly planned network, the Metric values of all directions can be planned through a static Metric baseline rule, so that the link Metric abnormality can be found in time, and network IGP routing faults are prevented.
(2) Dynamic Metric baseline based on actual topology of existing network IGP
For a network which is not strictly planned, the invention generates a dynamic Metric baseline based on the actual topology of the existing network IGP, generates the dynamic Metric baseline between devices by the minimum Metric in a plurality of parallel links between the current devices, and judges that the network is abnormal if the link Metric is smaller than the dynamic baseline after being changed or the link which is smaller than the Metric baseline in the same direction is newly added.
The method does not need complex configuration, can be deployed quickly, and can effectively monitor the error Metric configuration in daily engineering and maintenance operations. The dynamic Metric baseline severely limits the link Metric reduction operations in all directions, including reducing the Metric of the existing link and setting smaller metrics when the same direction link is newly added, and if the Metric reduction adjustment requirement is met, the dynamic baseline detection can be temporarily turned off, and the detection is resumed after the adjustment is completed.
The IGP routing information carries network element equipment name information, so that whether the static Metric baseline rule based on the name of the equipment at the two ends of the link is checked or the dynamic Metric baseline check based on the IGP topology of the existing network is checked, the check is independent of other data, the check can be completed based on the IGP routing information only, and the data dependence is less, so that the realization efficiency and the reliability of the method are high.
2. Automatic handling of link anomaly Metric
When detecting IGP link Metric abnormality, automatically carrying out link isolation processing, wherein the processing procedure is as follows:
(1) Logging in the device which issues the abnormal IGP route, executing an instruction, searching a port name according to the port IP of the link of the abnormal Metric in the IGP route update record, and modifying the IGP route protocol configuration into a passive mode under the port so as to achieve the purposes of removing the link from the IGP topology and not participating in network path calculation.
(2) If the equipment logs in abnormally, the opposite terminal equipment in the abnormal IGP neighbor information is tried to log in, and the same operation is executed to isolate the link port. Changing the IGP routing protocol to passive mode at either end of the link removes the link from the IGP topology.
After the IGP link Metric is abnormally set, a large amount of traffic is likely to be converged to the abnormal link, so that the link downstream equipment cannot be connected from the in-band network, and therefore, the invention sequentially tries to log in the link double-end equipment to perform isolation operation treatment during automatic treatment, so that the automatic treatment process is most likely to be completed, and the network traffic is recovered.
In addition, the automatic disposal adopts the mode of setting the IGP routing protocol of the port to be a passive mode instead of directly modifying the Metric, and under the condition that the port is not closed, the original configuration preparation is reserved, so that the convenience is provided for the follow-up disposal of faults.
It should be noted that although the operations of the method of the present invention are described in a particular order in the above embodiments and the accompanying drawings, this does not require or imply that the operations must be performed in the particular order or that all of the illustrated operations be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
For a clearer explanation of the above-mentioned IGP link anomaly real-time monitoring and handling method, a specific embodiment is described below, however, it should be noted that this embodiment is only for better explaining the present invention, and does not constitute an undue limitation of the present invention.
Referring to the common hierarchical networking topology shown in fig. 2, guangdong, hubei and Shanghai constitute a core network, and the inter-node Metric is planned to be 50; hunan is used as a sink node to sink each metropolitan area network of the province, after being collected, the core nodes of Guangdong and Hubei are accessed, the Metric is respectively set to 1100 and 1200, and a plurality of circuits are respectively arranged to realize load sharing.
Under the network topology, when one circuit of HN-BR-01< - > HB-CR-01 is newly added or changed, the error operation sets Metric to 120, according to the shortest path principle of IGP topology calculation, the traffic from core nodes such as Shanghai, guangdong and Hubei is loaded on the wrongly configured circuit to cause circuit congestion, and other circuits of HN-BR-01 which go to the core nodes do not bear any traffic.
To prevent such severe cases from occurring, the present embodiment may monitor for abnormal IGP metrics by listening for IGP routing update messages while setting the following static Metric baseline rules based on device name regular expressions, as shown in table 3 below:
TABLE 3 Table 3
Source device Target device Minimum Metric value Rule description
-CR- -BR- 1000 The minimum Metric between the core and the convergence device is 1000
-BR- -CR- 1000 The minimum Metric between the core and the convergence device is 1000
-CR- -CR- 50 The minimum Metric between core and core device is 50-
Once the operation of configuring the link Metric of HN-BR-01< - > HB-CR-01 to be smaller than 1000 occurs, the system monitors and receives a link change message through the IGP, if the newly added or changed circuit finds that the rule is not met, the IGP routing protocol of the port of the abnormal circuit is triggered to be set into a passive mode, the IGP routing protocol communication is closed, the circuit is isolated, and the traffic forwarding of other circuits is restored.
If the error operation adds or modifies a certain circuit Metric of HN-BR-01< - > HB-CR-01 to 1100, according to the IGP minimum Metric routing principle, traffic in this direction is loaded to the circuit, and other circuits cannot bear the traffic. While this modification meets the static Metric baseline rules, when a dynamic Metric baseline is enabled, the system compares the metrics of other circuits in the same direction, and when the changed metrics are found to be smaller than the other circuits, the system identifies the faulty operation and isolates the circuit.
When a plurality of parallel circuits exist in a certain direction, the dynamic Metric base line can effectively find out abnormal Metric change operation; and when only 1 circuit is arranged in a certain direction or the direction is newly opened, the static Metric baseline rule can monitor and treat the abnormal Metric, so that the large-scale network routing fault is effectively prevented.
Based on the same inventive concept, the invention also provides an IGP link abnormality Metric real-time monitoring and disposing device. The implementation of the device can be referred to as implementation of the above method, and the repetition is not repeated. The term "module" as used below may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 3 is a schematic structural diagram of an IGP link anomaly Metric real-time monitoring and handling device according to an embodiment of the present invention. As shown in fig. 3, the apparatus includes:
the link anomaly Metric detection module 101 is configured to quickly detect a real-time update record of an IGP link based on a static Metric baseline rule set by a device name regular expression at both ends of the link and a dynamic Metric baseline generated based on an actual topology of an IGP of the current network; the method comprises the following steps:
setting a static Metric baseline rule based on a device name regular expression of the link dual, comprising:
based on a network planning scheme, setting a minimum threshold value of the link Metric between different devices according to a regular expression mode of the device names of the two ends of the link, and generating a static Metric baseline rule;
generating a dynamic Metric baseline based on the current network IGP actual topology, comprising:
generating a dynamic Metric baseline between devices with the minimum Metric in the current multiple parallel links between devices, for limiting the link Metric reduction operations in all directions.
The link anomaly Metric automatic handling module 102 is configured to perform automatic isolation handling on an anomaly Metric link; the method comprises the following steps:
when detecting that the IGP link Metric is abnormal, logging in the equipment which issues the abnormal IGP route, executing an instruction, searching a port name according to the port IP of the link of the abnormal Metric in the IGP route update record, and modifying the IGP route protocol configuration into a passive mode under the port;
if the equipment logs in abnormally, the opposite terminal equipment in the abnormal IGP neighbor information is tried to log in, and the same operation is executed to isolate the link port.
It should be noted that while several modules of IGP link anomaly Metric real-time monitoring handling device are mentioned in the above detailed description, this partitioning is merely exemplary and not mandatory. Indeed, the features and functions of two or more modules described above may be embodied in one module in accordance with embodiments of the present invention. Conversely, the features and functions of one module described above may be further divided into a plurality of modules to be embodied.
Based on the foregoing inventive concept, as shown in fig. 4, the present invention further proposes a computer device 200, including a memory 210, a processor 220, and a computer program 230 stored in the memory 210 and capable of running on the processor 220, where the processor 220 implements the foregoing IGP link anomaly Metric real-time monitoring and handling method when executing the computer program 230.
Based on the foregoing inventive concept, the present invention further proposes a computer readable storage medium storing a computer program for executing the foregoing IGP link anomaly Metric real-time monitoring and handling method.
According to the method and the device for monitoring and disposing the IGP link abnormality Metric in real time, based on the static Metric baseline rule of the regular expression of the double-end equipment name, the network planning principle is reflected, and rule inspection of the IGP link abnormality Metric is completed; based on the actual value of the minimum Metric of the IGP link in the same direction of the current network as a dynamic baseline, completing the dynamic baseline inspection of the configuration-free IGP link abnormal Metric; meanwhile, the static baseline rule and the dynamic baseline detection mode are combined, and the real-time rapid monitoring of the IGP link abnormal Metric is realized from different angles of network planning, actual running state of the existing network and the like, so that the IGP link abnormal Metric can be rapidly found out and automatically treated in various scene environments; by using the automatic isolation treatment method for sequentially attempting to execute the isolation instruction at the link double-end equipment, the possibility that the downstream equipment cannot log in due to abnormal Metric modification is effectively overcome, the automatic treatment process can be effectively completed, and the network route can be quickly recovered.
While the spirit and principles of the present invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments nor does it imply that features of the various aspects are not useful in combination, nor are they useful in any combination, such as for convenience of description. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
It should be apparent to those skilled in the art that various modifications or variations can be made in the present invention without requiring any inventive effort by those skilled in the art based on the technical solutions of the present invention.

Claims (4)

1. An IGP link anomaly Metric real-time monitoring and handling method is characterized by comprising the following steps:
collecting IGP route and update record through an IGP route collector;
checking the static Metric rule of the IGP link update record through the static Metric baseline rule, and if the IGP link update record is abnormal Metric update, carrying out link isolation treatment and generating an alarm; if the route is updated normally, judging whether to perform dynamic check;
if the dynamic check is performed, performing dynamic Metric rule check through a dynamic Metric baseline generated according to the IGP routing and the update record, and if the dynamic Metric rule check is abnormal Metric update, performing link isolation treatment and generating an alarm; if the route is updated normally, ending the process;
if the dynamic inspection is not performed, ending the processing;
setting a static Metric baseline rule based on a device name regular expression of the link dual, comprising:
based on a network planning scheme, setting a minimum threshold value of the link Metric between different devices according to a regular expression mode of the device names of the two ends of the link, and generating a static Metric baseline rule;
generating a dynamic Metric baseline based on the current network IGP actual topology, comprising:
generating a dynamic Metric baseline between devices by using the minimum Metric in a plurality of parallel links between the current devices, wherein the dynamic Metric baseline is used for limiting the link Metric reduction operation in all directions;
when an IGP link Metric anomaly is detected, link isolation handling is automatically performed, including:
when detecting that the IGP link Metric is abnormal, sequentially logging in the double-end equipment which issues the abnormal IGP route, executing an instruction, searching a port name according to the port IP of the link of the abnormal Metric in the IGP route update record, and modifying the IGP route protocol configuration into a passive mode under the port;
if the equipment logs in abnormally, the opposite terminal equipment in the abnormal IGP neighbor information is tried to log in, and the same operation is executed to isolate the link port.
2. An IGP link anomaly Metric real-time monitoring and handling device, comprising:
the link abnormality Metric detection module is used for collecting the IGP route and updating records through the IGP route collector; checking the static Metric rule of the IGP link update record through the static Metric baseline rule, and if the IGP link update record is abnormal Metric update, carrying out link isolation treatment and generating an alarm; if the route is updated normally, judging whether to perform dynamic check; if the dynamic check is performed, performing dynamic Metric rule check through a dynamic Metric baseline generated according to the IGP routing and the update record, and if the dynamic Metric rule check is abnormal Metric update, performing link isolation treatment and generating an alarm; if the route is updated normally, ending the process; if the dynamic inspection is not performed, ending the processing; setting a static Metric baseline rule based on a device name regular expression of the link dual, comprising: based on a network planning scheme, setting a minimum threshold value of the link Metric between different devices according to a regular expression mode of the device names of the two ends of the link, and generating a static Metric baseline rule; generating a dynamic Metric baseline based on the current network IGP actual topology, comprising: generating a dynamic Metric baseline between devices by using the minimum Metric in a plurality of parallel links between the current devices, wherein the dynamic Metric baseline is used for limiting the link Metric reduction operation in all directions;
the automatic processing module of the unusual Metric of link, is used for carrying on the automatic isolation processing to the unusual Metric link, including:
when detecting that the IGP link Metric is abnormal, sequentially logging in the double-end equipment which issues the abnormal IGP route, executing an instruction, searching a port name according to the port IP of the link of the abnormal Metric in the IGP route update record, and modifying the IGP route protocol configuration into a passive mode under the port;
if the equipment logs in abnormally, the opposite terminal equipment in the abnormal IGP neighbor information is tried to log in, and the same operation is executed to isolate the link port.
3. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of claim 1 when executing the computer program.
4. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program for executing the method of claim 1.
CN202111325466.5A 2021-11-10 2021-11-10 IGP link anomaly Metric real-time monitoring and handling method and device Active CN114172787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111325466.5A CN114172787B (en) 2021-11-10 2021-11-10 IGP link anomaly Metric real-time monitoring and handling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111325466.5A CN114172787B (en) 2021-11-10 2021-11-10 IGP link anomaly Metric real-time monitoring and handling method and device

Publications (2)

Publication Number Publication Date
CN114172787A CN114172787A (en) 2022-03-11
CN114172787B true CN114172787B (en) 2023-08-25

Family

ID=80478485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111325466.5A Active CN114172787B (en) 2021-11-10 2021-11-10 IGP link anomaly Metric real-time monitoring and handling method and device

Country Status (1)

Country Link
CN (1) CN114172787B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355421A (en) * 2011-10-12 2012-02-15 华为技术有限公司 Method for handling LSP (Label Switched Path) network congestion, device and system
CN104518893A (en) * 2013-09-29 2015-04-15 中国电信股份有限公司 Method and device for positioning key nodes and links in IGP (Interior Gateway Protocol) topology of large-scale IP network
CN104618256A (en) * 2015-01-22 2015-05-13 盛科网络(苏州)有限公司 Open shortest path first (OSPF) link load dynamic adjusting method
CN106130761A (en) * 2016-06-22 2016-11-16 北京百度网讯科技有限公司 The recognition methods of the failed network device of data center and device
CN110661708A (en) * 2018-06-29 2020-01-07 华为技术有限公司 Network optimization method, system and network equipment
WO2020124601A1 (en) * 2018-12-21 2020-06-25 Telefonaktiebolaget Lm Ericsson (Publ) Method and router for segment routing with adjacency segment protection
CN113242179A (en) * 2021-05-10 2021-08-10 Ut斯达康通讯有限公司 SDN-based SR path calculation and label stack generation method and SDN controller

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8730817B2 (en) * 2010-12-07 2014-05-20 At&T Intellectual Property I, L.P. Methods and apparatus to determine network link weights

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355421A (en) * 2011-10-12 2012-02-15 华为技术有限公司 Method for handling LSP (Label Switched Path) network congestion, device and system
CN104518893A (en) * 2013-09-29 2015-04-15 中国电信股份有限公司 Method and device for positioning key nodes and links in IGP (Interior Gateway Protocol) topology of large-scale IP network
CN104618256A (en) * 2015-01-22 2015-05-13 盛科网络(苏州)有限公司 Open shortest path first (OSPF) link load dynamic adjusting method
CN106130761A (en) * 2016-06-22 2016-11-16 北京百度网讯科技有限公司 The recognition methods of the failed network device of data center and device
CN110661708A (en) * 2018-06-29 2020-01-07 华为技术有限公司 Network optimization method, system and network equipment
CN113612685A (en) * 2018-06-29 2021-11-05 华为技术有限公司 Network optimization method, system and network equipment
WO2020124601A1 (en) * 2018-12-21 2020-06-25 Telefonaktiebolaget Lm Ericsson (Publ) Method and router for segment routing with adjacency segment protection
CN113242179A (en) * 2021-05-10 2021-08-10 Ut斯达康通讯有限公司 SDN-based SR path calculation and label stack generation method and SDN controller

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于链路状态数据库的数据中心网络异常检测算法;许刚;王展;臧大伟;安学军;;计算机研究与发展(第04期);全文 *

Also Published As

Publication number Publication date
CN114172787A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
US10103851B2 (en) Network link monitoring and testing
US6941362B2 (en) Root cause analysis in a distributed network management architecture
CN101588304B (en) Implementation method of VRRP and device
CN102195857A (en) Network topology structure and node information gathering method
CN107733713B (en) Method, system, device and storage medium for acquiring network topology in hybrid network
CN113938407B (en) Data center network fault detection method and device based on in-band network telemetry system
CN108429625B (en) Method and device for realizing fault diagnosis
TWI455525B (en) Recovery method for ring-based network
US7808888B2 (en) Network fault correlation in multi-route configuration scenarios
CN104283780A (en) Method and device for establishing data transmission route
WO2019079961A1 (en) Method and device for determining shared risk link group
CN114172787B (en) IGP link anomaly Metric real-time monitoring and handling method and device
EP2709322A1 (en) Node routing method for multi-processor system, controller, and multi-processor system
CN101521593B (en) Method and device for data link layer fault position
CN103685079A (en) Self-adaptive Ethernet single-loop network algorithm
CN116545842A (en) Communication fault network reconstruction method, system, electronic equipment and storage medium
CN114389991B (en) Intelligent network flow scheduling management method and device
CN111585860B (en) Method, device, storage medium and equipment for loop network convergence
US20190207805A1 (en) Node fault isolation
CN106850263A (en) The configuration error detection method of forwarding unit, device and system in a kind of standby plane
CN114389982B (en) Network quality assessment method, device, equipment and medium
Hao et al. Fault management for networks with link state routing protocols
CN114257500B (en) Fault switching method, system and device for super-fusion cluster internal network
CN115685727B (en) Redundant communication network implementation method for robot digital workshop application
JP7318021B2 (en) Method and system for detecting and mitigating cabling problems with equipment in substation automation systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant