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

sFlow sampling method and device

A technology for sampling streams and packets, applied in the field of communications, and can solve problems such as blocking FE and CE channels, network interruptions, and network equipment failures.

Active Publication Date: 2016-12-14
RUIJIE NETWORKS CO LTD
View PDF5 Cites 3 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
  • sFlow sampling method and device
  • sFlow sampling method and device
  • sFlow sampling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In view of the large number of sFlow messages in the prior art that 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 for sFlow sampling is provided. The method can be applied to at least one FE included in a network device. The network device also includes a CE. Each FE is respectively connected to the sFlow collector for communication. The network device is a switch, a router, etc. The network device is a switch as an example. The hardware structure of FE in the switch is as follows figure 2 As shown, it includes a Media Access Control (MAC) chip and a Central Processing Unit (CPU). This sFlow sampling method can be applied to the CPU. In order to ensure that the CPU does not process the sFlow sampling related messages, For normal messages that affect the control pl...

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 method and device for sampling flow (Sampled Flow, sFlow) sampling. Background technique [0002] sFlow is a network traffic monitoring technology based on message sampling, which is mainly used for statistical analysis of network traffic. Such as figure 1 As shown, the sFlow system includes several sFlow agents (Agent) and an sFlow collector (Collector). The sFlow Agent is usually embedded in network devices such as switches and routers to provide flow sampling and counter sampling. sFlow Agent Encapsulate the original message of the sampled network device into a Flow message, and encapsulate the obtained traffic statistics information of the network device into a Counter message. The Flow message and the Counter message can be collectively referred to as a sampling message, and then the sampling message is encapsulated In the sFlow message, the sFlow message is enc...

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