Method and device for capturing abnormal message causing network equipment failure

A technology for abnormal messages and network equipment, applied in the field of network communication, can solve problems such as abnormal operation of network equipment, coarse-grained port mirroring, and increased CPU load

Active Publication Date: 2011-11-23
ZTE CORP
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The granularity of port mirroring is relatively coarse, and it is troublesome to filter out the packets of interest from a large number of packets; the granularity of flow mirroring is finer, but it consumes precious ACL (Access Control List, access control list) resources
The premise of mirroring to a physical port is that there must be an idle physical port. Mirroring to the CPU will increase the load on the CPU. If the traffic is heavy, protocol packets will be discarded, which will cause the entire network device to work abnormally.
[0004] It can be seen that there is a serious resource occupation problem in the prior art when capturing abnormal packets

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 and device for capturing abnormal message causing network equipment failure
  • Method and device for capturing abnormal message causing network equipment failure
  • Method and device for capturing abnormal message causing network equipment failure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings, so as to solve the problem in the prior art that resources are seriously occupied when capturing abnormal packets.

[0029] Taking packet forwarding by a switch as an example, a large number of abnormal packets are often discarded during the forwarding process, such as spanning tree check, MTU (Maximum Transmission Unit, maximum transmission unit) check, etc. Taking MTU detection as an example, the maximum The value is 1500 bytes in length. If a packet with a length of 1501 bytes is found during detection, it will be considered as an abnormal packet and discarded. Before implementing the method of this embodiment, it is necessary to determine the abnormal message to be captured. For example, it is first necessary to determine whether it is desired to capture the abnormal message found by spanning tree detection or the abnormal message found by MTU det...

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

The invention provides a method and a device for capturing an abnormal message causing a network equipment failure. The method and the device are used for solving the problem of the prior art that resources are seriously occupied when the abnormal message is captured. The method comprises the following steps: setting a package capturing mark bit in an abnormal table corresponding to an abnormal number of a to-be-captured abnormal message as an enabling mark indicating to perform package capturing treatment; searching for the corresponding abnormal table according to the abnormal number of the abnormal message; if the package capturing mark bit of the searched abnormal table is the enabling mark, setting the package capturing mark bit of the abnormal message as the enabling mark; and capturing the abnormal message with the package capturing mark bit which is the enabling mark and marking the package capturing mark bit on the to-be-captured abnormal message through the abnormal table, thereby capturing the set message without excess resources.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method and device for capturing abnormal messages that cause network equipment failures. Background technique [0002] Today's network is developing at an astonishing speed. Network devices (including routers, switches, etc.) carry a variety of services. It is particularly important to analyze packets. In a complex network environment, multiple services are interspersed on network devices, and it is difficult to accurately capture specific discarded packets. [0003] Existing methods for packet capture and troubleshooting generally use flow mirroring or port mirroring to mirror a certain port or a packet that meets a certain rule to a specific physical port or CPU. The granularity of port mirroring is relatively coarse, and it is troublesome to filter out the packets of interest from a large number of packets; the granularity of flow mirroring is relatively fine,...

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 Applications(China)
IPC IPC(8): H04L12/24H04L12/26
Inventor 孔玲丽姜海明
Owner ZTE CORP
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