Loop detection message packaging method as well as loop detecting method and device

A loop detection and message technology, applied in the field of communication, can solve problems such as broadcast storms, occupying large network bandwidth, loop detection errors, etc., and achieve the effect of reducing repeated and redundant transmission and improving utilization.

Active Publication Date: 2012-04-18
RAISECOM TECH
View PDF2 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that such contradictory detection results will lead to errors in loop detection.
[0010] In summary, the existing loop detection technology has the following defects: the existing loop detection technology is based on the detection of physical ports. When several physical ports are added to an aggregation group, if the aggregation port cannot If the loop is accurately detected, a large amount of network bandwidth will be occupied when there is a loop, and even a broadcast storm will be caused, and in severe cases, the network and the switch will be paralyzed.
Greatly reduces network bandwidth utilization

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
  • Loop detection message packaging method as well as loop detecting method and device
  • Loop detection message packaging method as well as loop detecting method and device
  • Loop detection message packaging method as well as loop detecting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0087] figure 2 This embodiment is a schematic flow chart of constructing and sending a loop detection message based on an aggregation port. Such as figure 2 As shown, the main steps of the process are described as follows:

[0088] Step S101: Obtain a list of activated VLANs under the aggregation group;

[0089] Loop detection needs to detect every activated vlan, and a corresponding loop detection message will be sent for each activated vlan. An aggregation group contains multiple physical ports, and the active VLANs under each physical port may be different. Only when the active VLANs under these physical ports have an intersection, it indicates that the logical channel formed by the aggregation group is valid, and then Perform loop detection on the aggregation group.

[0090] After obtaining the activated public VLAN list according to this step, the number of loop detection packets sent and which VLANs need to be carried in the packets can be determined.

[0091] Step S102: Ch...

Embodiment 2

[0104] image 3 This embodiment is a schematic diagram of the processing flow of loop detection according to the received loop detection message. Such as image 3 As shown, the main steps of the process are described as follows:

[0105] Step S201: Judging the validity of the message, if it is valid, proceed to the next step S202, otherwise, end this process;

[0106] After receiving a loop detection message, the validity of the message must first be checked. The validity detection mainly includes the following aspects: whether the port number of the received message is a valid port number, and whether the port is in a link-up state , Whether the length of the message is legal, whether the type of the message is legal, whether the checksum of the message is legal, etc.

[0107] Step S202: Determine whether the physical port that sends the message and the physical port that receives the message belong to an aggregation group, if yes, end this process, otherwise, continue to perform t...

Embodiment 3

[0118] This embodiment provides a loop detection device, see Figure 4 , The device mainly includes: a message sending module, and a loop detection module, among which,

[0119] The message sending module is configured to, when sending a loop detection message from an aggregation group, fill the port number of the aggregation group in the source port field of the loop detection message, and broadcast the loop detection message Sent to all ports connected to the aggregation group;

[0120] The loop detection module is used to determine whether a loop exists according to the received loop detection message when a loop detection message is received from the receiving port.

[0121] Further, the above-mentioned loop detection module is used to determine whether there is a loop in the following manner:

[0122] When it is identified according to the source port field in the loop detection message that the sending port of the loop detection message belongs to the aggregation group, it is d...

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 loop detection message packaging method as well as a loop detecting method and device, wherein the loop detecting method comprises the following steps of: filling a port number of a trunking group in a source port field of a loop detection message during transmitting the loop detection message from the trunking group; broadcasting and transmitting the loop detection message to all ports connected with the trunking group; and judging whether the loop exists or not according to the loop detection message by using a receiving port that receives the loop detection message. According to the invention, the loop can be correctly detected on the trunking port so as to avoid a series of problems caused by the existence of the loop so that the utilization rate of the network bandwidth can be increased.

Description

Technical field [0001] The present invention relates to the field of communication technology, in particular to a loop detection message encapsulation method, loop detection method and device. Background technique [0002] With the rapid development of network technology and the continuous increase of user demand, the technology of using port aggregation to obtain higher bandwidth has been widely used. Port aggregation technology allows two switches to simultaneously transmit data through multiple ports connected in parallel to provide higher bandwidth. Port aggregation is mainly used for connections between switches. The switch combines a group of physical ports to form an aggregation group as a logical channel, and treats this logical channel as an aggregated port. [0003] The use of aggregate ports has the following advantages: [0004] 1. The bandwidth is increased, and the bandwidth is equivalent to the total bandwidth of all physical ports in the aggregation group; [0005] 2...

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/26H04L12/56
Inventor石凤
OwnerRAISECOM TECH