Method for diagnosing forwarding faults of network processor

A technology of a network processor and a diagnosis method, which is applied in the field of diagnosis of network processor forwarding faults, can solve problems such as not allowing interruption of services, failure to locate faults, and failure to set breakpoints for message characteristics, so as to save travel expenses and improve resolution speed effect

Inactive Publication Date: 2007-08-22
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The above-mentioned first dot counting method is very effective when the packet type is relatively single, but for the network equipment running on the network, when the forwarding traffic is very large, there are many types of forwarded packets, and the counting of each critical path counter In the case of increasing, the fault cannot be effectively located only by observing the count
The second single-step diagnosis method above is an important fault diagnosis method in the code debugging stage, but for running network devices, there are two obvious disadvantages in using single-step diagnosis: First, if only some of the devices running on the network appear If there is a fault, rather than the failure of the entire network-running device, it is generally not allowed to interrupt the service, so it is not allowed to set a breakpoint on the forwarding path in this case; secondly, this method cannot set a breakpoint according to the characteristics of the message. When the packet forwarding traffic is heavy, it is almost impossible to capture faulty packets for single-step diagnosis

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for diagnosing forwarding faults of network processor
  • Method for diagnosing forwarding faults of network processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0023] FIG. 2 is a flow chart of a method for diagnosing network processor forwarding faults according to the present invention. As can be seen from the figure, the present invention uses the multi-thread design feature of the network processor to trigger the diagnosis process according to the diagnosis conditions input by the user. During the diagnosis, the diagnosis thread calls the diagnosis module, controls the single-step operation of the diagnosed thread, and records the diagnosed The forwarding information of the thread during each single-step operation is diagnosed by reading the forwarding information after the diagnosis thread runs, and the detailed description of Fig. 2 is given below.

[0024] After a forwarding fault occurs, first anal...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Using features of multithreading design in network processor, the disclosed method triggers diagnostic process based on diagnosis conditions input from users. In diagnosis, diagnosis thread controls diagnosed thread operated in single step, and records forwarding information in each single step operation. Reading the forwarding information carries out diagnosis. The method does not need to setup breakpoint in forwarding route. Through network processor setup remotely, facility maintenance personnel realizes automatic diagnosis of forwarding faults. Advantages are: raising speed for solving forwarding faults of network processor, and saving traveling expenses.

Description

technical field [0001] The invention relates to network processor technology, in particular to a method for diagnosing network processor forwarding faults. Background technique [0002] A network processor is a part of a network device that processes packets at a high speed. It generally contains multiple on-chip processors, and these on-chip processors are also called forwarding engines. Each forwarding engine may contain multiple threads, and a thread is a functional unit for forwarding and processing packets. In order to speed up the processing speed of the message, multiple threads can process data in parallel, which is a remarkable design feature of the network processor. Usually there is also a general-purpose processor in the network device. The role of this processor is to manage the network processor, calculate, generate and send forwarding entries to the network processor through the network protocol, and at the same time provide a The interface that interacts wi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/04G06F9/46
Inventor 黄河
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products