Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for sflow sampling

A technology of sampling streams and sampling messages, which is applied in the field of communication, and can solve problems such as network equipment failures, network interruptions, affecting control planes, normal message forwarding on protocol planes, etc.

Active Publication Date: 2019-06-14
RUIJIE NETWORKS CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and device for sFlow sampling, which is used to solve the problem that a large number of sFlow-UDP packets in the prior art block the channel between FE and CE, seriously affecting normal packets on the control plane and protocol plane Forwarding, even causing network equipment failure, network interruption

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 sflow sampling
  • Method and device for sflow sampling
  • Method and device for sflow sampling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] Aiming at the problems existing in the prior art that a large number of sFlow messages block the channel between FE and CE, which seriously affects the forwarding of normal messages on the control plane and protocol plane, and even causes network equipment failures and network interruptions, the embodiments of the present invention A method of sFlow sampling is provided, which can be applied to at least one FE included in the network equipment. The network equipment also includes CE, and each FE communicates with the sFlow collector respectively. The network equipment is a switch, a router, etc., as follows: The network device is a switch as an example for description. The hardware structure of FE in the switch is as follows: figure 2 As shown, including a Media Access Control (MediaAccess Control, MAC) chip and a Central Processing Unit (Central Processing Unit, CPU), the sFlow sampling method can be applied to the CPU, in order to ensure that the CPU does not In ord...

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 discloses a sFlow sampling method and device. The method comprises the following steps: generating a sampling message according to original collection information, sFlow configuration information, equipment relevant information, sampling information corresponding the original pick-up information and a first all field included by a sampling message header; generating a sFlow message according to the sampling message, the sFlow configuration information, the equipment relevant information, the sampling information corresponding to the sampling message and the second all field included by a sFlow message public header; generating a sFlow-UDP message according to the sFlow message, the sFlow configuration information, the equipment relevant information and the third all field included by a user datagram protocol UDP message header; and sending the sFlow-UDP message to the sFlow collector. Through the adoption of the method and device disclosed by the scheme, the condition that a channel between the FE and the CE is blocked due to a large number of sFlow-UDP messages can be avoided, the forwarding of the normal message at each of a control plane and a protocol plane can be guaranteed, and the network equipment failure and the network interruption are avoided.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a sampled flow (Sampled Flow, sFlow) sampling method and device. Background technique [0002] sFlow is a network traffic monitoring technology based on packet sampling, which is mainly used for statistical analysis of network traffic. Such as figure 1 As shown, the sFlow system includes several sFlow agents (Agents) and a sFlow collector (Collector). The sFlow Agent is usually embedded in network devices such as switches and routers to provide flow (Flow) sampling and counting (Counter) sampling. The sFlow Agent Encapsulate the original packet of the sampled network device into a Flow packet, and encapsulate the traffic statistics information of the obtained network device into a Counter packet. The Flow packet and the Counter packet can be collectively referred to as a sampling packet, and then encapsulate the sampling packet In the sFlow message, the sFlow mes...

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/26H04L29/06
CPCH04L43/022H04L43/026H04L69/22
Inventor 谢鹏
Owner RUIJIE NETWORKS CO LTD