# US 2020/0403908 A1 · Fault diagnosis method and apparatus thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0403908 A1
- Document ID: US20200403908A1
- Status: Published application
- Kind: A1
- Application number: 17/013,837
- Filed: 2020-09-07
- Published: 2020-12-24
- Earliest claimed: 2018-03-09
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Shunwan Zhuang; Zhenbin Li; Shiping Xu; Kai Lu
- Web page: https://patentgrep.com/patent/US20200403908A1

## CPC

- H04L 41/0631: using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
- H04L 41/0677: Localisation of faults
- H04L 43/0811: by checking connectivity
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 43/50: Testing arrangements
- H04L 45/02: Topology update or discovery
- H04L 45/28: using route fault recovery
- H04L 45/42: Centralised routing
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Various embodiments provide a fault diagnosis method and an apparatus. In those embodiments, a centralized management apparatus receives a first packet from a first network device by using a first IGP monitoring protocol session, where the first packet includes a first message sent by the first network device to a second network device. The centralized management apparatus receives a second packet from the second network device through a second IGP monitoring protocol session, where the second packet includes a second message sent by the second network device to the first network device. The centralized management apparatus performs fault diagnosis based on the first packet and the second packet.

## Claims

### Claim 1

A fault diagnosis method, comprising:
receiving, by a centralized management apparatus, a first packet from a first network device through a first Interior Gateway Protocol (IGP) monitoring protocol session, wherein the first packet comprises a first message sent by the first network device to a second network device;
receiving, by the centralized management apparatus, a second packet from the second network device through a second IGP monitoring protocol session, wherein the second packet comprises a second message sent by the second network device to the first network device, and a message type of the second message is the same as that of the first message; and
performing, by the centralized management apparatus, a fault diagnosis based on the first packet and the second packet.

### Claim 2 (depends on 1)

The method according to claim 1, wherein performing, by the centralized management apparatus, the fault diagnosis based on the first packet and the second packet comprises:
performing, by the centralized management apparatus, the fault diagnosis when the first packet and the second packet do not meet a packet rule.

### Claim 3 (depends on 2)

The method according to claim 2, wherein
the first message and the second message are each a neighbor discovery message, wherein the neighbor discovery message comprises at least one of an authentication manner, a system identifier, an intermediate system to intermediate system IS-IS level, or a maximum transmission unit value; and, wherein
the packet rule is an IGP connection establishment rule, and the IGP connection establishment rule comprises a rule that authentication manners at two ends of a link need to be matched, a rule that system identifiers at the two ends of the link need to be different, a rule that IS-IS levels at the two ends of the link need to be matched, and a rule that maximum transmission unit values at the two ends of the link need to be the same; and
before performing, by the centralized management apparatus, the fault diagnosis when the first packet and the second packet do not meet a packet rule, the method further comprises:
if an authentication manner of the first network device does not match an authentication manner of the second network device, determining, by the centralized management apparatus, that the first packet and the second packet do not meet the packet rule;
if a system identifier of the first network device is the same as a system identifier of the second network device, determining, by the centralized management apparatus, that the first packet and the second packet do not meet the packet rule;
if an IS-IS level of the first network device does not match an IS-IS level of the second network device, determining, by the centralized management apparatus, that the first packet and the second packet do not meet the packet rule; and
if a maximum transmission unit value of the first network device is different from a maximum transmission unit value of the second network device, determining, by the centralized management apparatus, that the first packet and the second packet do not meet the packet rule.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the performing, by the centralized management apparatus, fault diagnosis comprises:
determining, by the centralized management apparatus, that there is a fault that a connection between the first network device and the second network device cannot be established;
if the authentication manner of the first network device does not match the authentication manner of the second network device, determining, by the centralized management apparatus, that a fault cause of the fault is that the authentication manner of the first network device does not match the authentication manner of the second network device;
if the system identifier of the first network device is the same as the system identifier of the second network device, determining, by the centralized management apparatus, that a fault cause of the fault is that the system identifier of the first network device is the same as the system identifier of the second network device; or
if the IS-IS level of the first network device does not match the IS-IS level of the second network device, determining, by the centralized management apparatus, that a fault cause of the fault is that the IS-IS level of the first network device does not match the IS-IS level of the second network device; and
if the maximum transmission unit value of the first network device is different from the maximum transmission unit value of the second network device, determining, by the centralized management apparatus, that a fault cause of the fault is that the maximum transmission unit value of the first network device is different from the maximum transmission unit value of the second network device.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the method further comprises:
generating, by the centralized management apparatus, alarm information, wherein the alarm information is used to indicate that there is the fault that the connection between the first network device and the second network device cannot be established.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the method further comprises:
generating, by the centralized management apparatus, information about adjusting a maximum transmission unit value if the maximum transmission unit value of the first network device is different from the maximum transmission unit value of the second network device, and the maximum transmission unit value of the first network device or the second network device is less than a maximum transmission unit threshold, wherein the information about adjusting a maximum transmission unit value is used to instruct an administrator to adjust the maximum transmission unit value of the first network device or the second network device.

### Claim 7 (depends on 2)

The method according to claim 2, wherein the first message and the second message are link state information, and the link state packet database information comprises at least one link state packet; and, wherein
before performing, by the centralized management apparatus, the fault diagnosis when the first packet and the second packet do not meet a packet rule, the method further comprises:
if at least one link state packet comprised in the first packet is inconsistent with at least one link state packet comprised in the second packet, determining, by the centralized management apparatus, that the first packet and the second packet do not meet the packet rule.

### Claim 8 (depends on 7)

The method according to claim 7, wherein performing, by the centralized management apparatus, the fault diagnosis comprises:
determining, by the centralized management apparatus, that there is a route learning fault, wherein the route learning fault is that route learning of the first network device or the second network device fails;
if the at least one link state packet comprised in the first packet does not match the at least one link state packet comprised in the second packet, determining, by the centralized management apparatus, that a fault cause of the route learning fault is that a routing prefix sent by the first network device or the second network device is incorrect; and
if the at least one link state packet comprised in the first packet does not comprise the at least one link state packet comprised in the second packet, or the at least one link state packet comprised in the second packet does not comprise the at least one link state packet comprised in the first packet, determining, by the centralized management apparatus, that a fault cause of the route learning fault is that a link state packet received by the first network device or the second network device is incorrect.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the method further comprises:
generating, by the centralized management apparatus, alarm information, wherein the alarm information is used to indicate that there is the route learning fault.

### Claim 10 (depends on 1)

The method according to claim 1, wherein before receiving, by the centralized management apparatus, the first packet from a first network device through the first IGP monitoring protocol session, the method further comprises:
configuring, by the centralized management apparatus, a first IP address configured to establish an IGP monitoring protocol session and a transmission control protocol (TCP) port number;
receiving, by the centralized management apparatus, a TCP connection establishment request from the first network device by using the TCP port number, wherein the TCP connection establishment request comprises a second IP address that is used to establish the IGP monitoring protocol session and that is configured by the first network device; and
establishing, by the centralized management apparatus, the first IGP monitoring protocol session.

### Claim 11

A fault diagnosis method, comprising:
encapsulating, by a first network device, a message through an IGP monitoring protocol, to obtain a packet, wherein the message is a message sent by the first network device to a second network device; and
sending, by the first network device, the packet to a centralized management apparatus through an IGP monitoring protocol session.

### Claim 12 (depends on 11)

The method according to claim 11, wherein before encapsulating, by the first network device, the message by using an IGP monitoring protocol, the method further comprises:
configuring, by the first network device, a second IP address used to establish the IGP monitoring protocol session, and a first IP address used to establish the IGP monitoring protocol session and a TCP port number that are configured by the centralized management apparatus; and
sending, by the first network device, a TCP connection establishment request to the centralized management apparatus by using the TCP port number, wherein the TCP connection establishment request comprises the second IP address, and the TCP connection establishment request is used to establish the IGP monitoring protocol session.

### Claim 13

A centralized management apparatus, comprising:
a transceiver unit, configured to receive a first packet from a first network device through a first interior gateway protocol IGP monitoring protocol session, wherein the first packet comprises a first message sent by the first network device to a second network device, wherein
the transceiver unit is further configured to receive a second packet from the second network device through a second IGP monitoring protocol session, wherein the second packet comprises a second message sent by the second network device to the first network device, and a message type of the second message is the same as that of the first message; and
a processing unit, configured to perform a fault diagnosis based on the first packet and the second packet.

### Claim 14 (depends on 13)

The apparatus according to claim 13, wherein the processing unit is configured to perform the fault diagnosis when the first packet and the second packet do not meet a packet rule.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein the first message and the second message are each a neighbor discovery message, wherein the neighbor discovery message comprises at least one of an authentication manner, a system identifier, an intermediate system to intermediate system IS-IS level, and a maximum transmission unit value; and the packet rule is an IGP connection establishment rule, and the IGP connection establishment rule comprises a rule that authentication manners at two ends of a link need to be matched, a rule that system identifiers at the two ends of the link need to be different, a rule that IS-IS levels at the two ends of the link need to be matched, and a rule that maximum transmission unit values at the two ends of the link need to be the same; and
the processing unit is further configured to: if an authentication manner of the first network device does not match an authentication manner of the second network device, determine that the first packet and the second packet do not meet the packet rule;
the processing unit is further configured to: if a system identifier of the first network device is the same as a system identifier of the second network device, determine that the first packet and the second packet do not meet the packet rule;
the processing unit is further configured to: if an IS-IS level of the first network device does not match an IS-IS level of the second network device, determine that the first packet and the second packet do not meet the packet rule; and
the processing unit is further configured to: if a maximum transmission unit value of the first network device is different from a maximum transmission unit value of the second network device, determine that the first packet and the second packet do not meet the packet rule.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein
the processing unit is configured to determine a fault that a connection between the first network device and the second network device cannot be established;
if the authentication manner of the first network device does not match the authentication manner of the second network device, the processing unit is specifically configured to determine that a fault cause of the fault is that the authentication manner of the first network device does not match the authentication manner of the second network device;
if the system identifier of the first network device is the same as the system identifier of the second network device, the processing unit is specifically configured to determine that a fault cause of the fault is that the system identifier of the first network device is the same as the system identifier of the second network device;
if the IS-IS level of the first network device does not match the IS-IS level of the second network device, the processing unit is specifically configured to determine that a fault cause of the fault is that the IS-IS level of the first network device does not match the IS-IS level of the second network device; and
if the maximum transmission unit value of the first network device is different from the maximum transmission unit value of the second network device, the processing unit is specifically configured to determine that a fault cause of the fault is that the maximum transmission unit value of the first network device is different from the maximum transmission unit value of the second network device.

### Claim 17 (depends on 14)

The apparatus according to claim 14, wherein the first message and the second message are link state database information, and the link state packet database information comprises at least one link state packet; and
the processing unit is further configured to: if at least one link state packet comprised in the first packet is inconsistent with at least one link state packet comprised in the second packet, determine that the first packet and the second packet do not meet the packet rule.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein
the processing unit is specifically configured to determine that there is a route learning fault, wherein the route learning fault is that route learning of the first network device or the second network device fails;
if the at least one link state packet comprised in the first packet does not match the at least one link state packet comprised in the second packet, the processing unit is specifically configured to determine that a fault cause of the route learning fault is that a routing prefix sent by the first network device or the second network device is incorrect; and
if the at least one link state packet comprised in the first packet does not comprise the at least one link state packet comprised in the second packet, or the at least one link state packet comprised in the second packet does not comprise the at least one link state packet comprised in the first packet, the processing unit is specifically configured to determine that a fault cause of the route learning fault is that a link state packet received by the first network device or the second network device is incorrect.

### Claim 19 (depends on 18)

The apparatus according to claim 18, wherein the processing unit is further configured to generate alarm information, wherein the alarm information is used to indicate that there is the route learning fault.

### Claim 20 (depends on 13)

The apparatus according to claim 13, wherein
the processing unit is further configured to configure a first IP address used to establish an IGP monitoring protocol session and a TCP port number;
the transceiver unit is further configured to receive a TCP connection establishment request from the first network device by using the TCP port number, wherein the TCP connection establishment request comprises a second IP address that is used to establish the IGP monitoring protocol session and that is configured by the first network device; and
the processing unit is further configured to establish the first IGP monitoring protocol session.
