Method and device of preventing interference of flow control frames

A flow control frame and control module technology, applied in the field of devices for eliminating flow control frame interference, preventing flow control frame interference, and port setting module devices, can solve problems such as pause frame interference, reducing port usage efficiency, cost operation time, etc. , to achieve the effect of eliminating impact, avoiding head-of-line blocking, saving manpower and time

Active Publication Date: 2007-02-21
NEW H3C TECH CO LTD
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The defect of the existing flow control technology is that when the port of the existing switch is blocked, the packet sending rate of the port is reduced by sending a pause frame, so as to control the data flow
[0005] The existing solution is: when the switch continuously receives a large number of flow control frames and cannot be ignored, the only method is to replace the peer device or close the switch port
However, it takes a lot of cost and operation time to replace the peer device, and when there are a large number of devices that need to be replaced, it needs to pay a greater price, and sometimes it is even impossible
In addition, if the method of closing the port is adopted, since the pause frame does not exist in any period of time, when the pause frame is no longer generated in large numbers, the closed port cannot be automatically opened, thereby reducing the use efficiency of the port
Moreover, these methods do not essentially eliminate the influence of a large number of pause frames. After the device is replaced or the port is re-enabled, there is still the possibility of being interfered by the pause frame.

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 of preventing interference of flow control frames
  • Method and device of preventing interference of flow control frames
  • Method and device of preventing interference of flow control frames

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] This embodiment provides a method for preventing flow control frame interference.

[0022] Such as figure 1 As shown, in step 101, the forwarding device monitors the port, and counts the number of flow control frames when the port receives the flow control frames. Wherein, the forwarding device may be a switch or a network bridge. The source device sends flow control frames to the port of the forwarding device for flow control or due to virus infection. When the port of the forwarding device receives the flow control frame, count the number of flow control frames received by the port within the preset shutdown time, for example, if the preset shutdown time is 3 seconds, then count the number of flow control frames received within 3 seconds The number of flow control frames.

[0023] Step 102, when the number of flow control frames counted is greater than the maximum allowable flow control frame number, for example, the maximum allowable flow control frame number is s...

Embodiment 2

[0027] This embodiment provides a method for restoring the normal operation of the port when the closed port removes the flow control frame attack. Such as figure 2 as shown,

[0028] In step 201, the forwarding device monitors the port, and counts the number of flow control frames when the port receives the flow control frame. Wherein, the forwarding device may be a switch or a network bridge.

[0029]Step 202, when the counted number of flow control frames is greater than the maximum allowed number of flow control frames, for example, the maximum allowable number of flow control frames is set to 3, and when the number of flow control frames is greater than 3, it is determined that the If the port is being attacked by flow control frames, execute step 210, otherwise return to step 201, and the forwarding device continues to monitor the number of flow control frames received by the port in real time.

[0030] Step 210, record the current underlying STP state of the attacke...

Embodiment 3

[0037] The methods for preventing flow control frame interference described in Embodiments 1 and 2 are transparent to the user, that is, the user does not know which port is attacked by the flow control frame or which port is closed. The advantage is that it saves a lot of work for the user, but the disadvantage is that the user cannot know the performance of the current system in real time. If multiple ports are closed and cannot operate normally, the user cannot know the reason for the closure. To this end, this embodiment provides a method for recording port status and preventing flow control frame interference. Such as image 3 as shown,

[0038] In step 301, the forwarding device monitors the port, and counts the number of flow control frames when the port receives the flow control frame. Wherein, the forwarding device may be a switch or a network bridge. Step 302, when the counted number of flow control frames is greater than the maximum allowable number of flow contr...

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 method thereof comprises: counting the numbers of pause frames received by the port; when the numbers of pause frames received by the port in a preset closing time is more than maximum allowed numbers of pause frame, the state of port will be modified in order to make the forwarding device not to forward message to the port. The apparatus thereof comprises: a pause frame counting module for counting the pause frames and a port setting module for modifying the state of port. The pause frame counting module is connected to the port setting module.

Description

technical field [0001] The present invention relates to a method for preventing flow control frame interference, in particular to a method for eliminating flow control frame interference by modifying the state of the disturbed port in full-duplex working mode; The device for controlling frame interference particularly relates to a device provided with a flow control frame counting module for counting the number of flow control frames and a port setting module for modifying the port state. Background technique [0002] Flow control is an important technology in packet switching network. An important difference between packet switching and circuit switching is that circuit switching is an immediate loss system, that is, if there is no idle trunk circuit to choose from during routing, the call setup will fail. Therefore, the flow control of circuit switching can ensure that calls are not blocked as long as enough trunk circuits are equipped according to the predicted traffic v...

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/56H04L12/811
Inventor 王明辉
Owner NEW H3C 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