Network fault locating method and apparatus
Abstract
This application provides a network fault locating method and apparatus in an IP network. In this solution, a router automatically reports status information, and a controller determines, based on the status information, whether a communication path is faulty. If a fault exists, the controller may indicate a router on the communication path to perform fault locating. The fault locating can be completed without waiting for manual intervention, so that operation and maintenance efficiency in the IP network is improved. After completing the fault locating, the router reports location information of a fault point to the controller, and the controller may perform troubleshooting at the fault point, so that the fault can be quickly rectified.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A network fault locating method, comprising:
receiving status information from a first router, wherein the status information indicates a status of a communication path in an internet protocol (IP) network;
determining a fault of the communication path based on the status information; and
sending indication information to a second router, wherein the indication information indicates the second router to perform fault location, and the second router is at least one router on the communication path.
2. The method according to claim 1 , wherein the sending indication information to a second router comprises:
sending the indication information to the second router based on a type of the fault, wherein the indication information indicates a fault locating manner.
3. The method according to claim 2 , wherein the type of the fault is a packet loss, and the fault locating manner is adding in-band operation, administration and maintenance (iOAM) information to each IP packet.
4. The method according to claim 3 , wherein the second router is a router adjacent to a router on which a packet loss occurs, and the second router is a router on which no packet loss occurs.
5. The method according to claim 2 , wherein the type of the fault is a communication path interruption or a high forwarding latency, and the fault locating manner is adding iOAM information to one or more IP packets.
6. A network fault locating method, comprising:
receiving internet protocol (IP) data, wherein the IP data indicates radio service transmission quality of a base station;
determining status information based on the IP data, wherein the status information indicates a status of a communication path corresponding to the IP data;
sending the status information to a controller;
receiving indication information from the controller; and
performing fault location according to the indication information.
7. The method according to claim 6 , wherein the method further comprises:
receiving configuration information from the controller, and in response reporting the status information in accordance with the configuration information.
8. A network fault locating method, comprising:
receiving indication information from a controller; and
performing fault location on a communication path in an internet protocol (IP) network according to the indication information.
9. The method according to claim 8 , wherein before the receiving indication information from a controller, the method further comprises:
receiving IP data transmitted on the communication path;
determining status information based on the IP data, wherein the status information indicates a status of the communication path; and
sending the status information to the controller.
10. A network fault locating apparatus, comprising:
at least one processor;
one or more memories coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions instruct the at least one processor to cause the apparatus to:
receive status information from a first router, wherein the status information indicates a status of a communication path in an internet protocol (IP) network;
determine a fault of the communication path based on the status information; and
send indication information to a second router, wherein the indication information indicates the second router to perform fault location, and the second router is at least one router on the communication path.
11. The apparatus according to claim 10 , wherein the instructions further instruct the at least one processor to cause the apparatus to:
send the indication information to the second router based on a type of the fault, wherein the indication information indicates a fault locating manner.
12. The apparatus according to claim 11 , wherein the type of the fault is a packet loss, and the fault locating manner is adding in-band operation, administration and maintenance (iOAM) information to each IP packet.
13. The apparatus according to claim 12 , wherein the second router is a router adjacent to a router on which a packet loss occurs, and the second router is a router on which no packet loss occurs.
14. The apparatus according to claim 11 , wherein the type of the fault is a communication path interruption or a high forwarding latency, and the fault locating manner is adding iOAM information to one or more IP packets.
15. A network fault locating apparatus, comprising:
at least one processor;
one or more memories coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions instruct the at least one processor to cause the apparatus to:
receive internet protocol (IP) data, wherein the IP data indicates radio service transmission quality of a base station;
determine status information based on the IP data, wherein the status information indicates a status of a communication path corresponding to the IP data;
send the status information to a controller;
receive indication information from the controller; and
perform fault location according to the indication information.
16. A network fault locating apparatus, comprising:
at least one processor;
one or more memories coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions instruct the at least one processor to cause the apparatus to:
receive indication information from a controller; and
perform fault location on a communication path in an internet protocol (IP) network according to the indication information.
17. The apparatus according to claim 16 , wherein the instructions further instruct the at least one processor to cause the apparatus to:
receive IP data transmitted on the communication path;
determine status information based on the IP data, wherein the status information indicates a status of the communication path; and
send the status information to the controller.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.