Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for detecting message loop

A technology for detecting packets and packets, which is applied in the field of communication, can solve problems affecting the normal traffic transmission of ports, and achieve the effects of avoiding normal traffic transmission, reducing impact, and avoiding loop misjudgment

Inactive Publication Date: 2018-07-03
BEIJING HUAWEI DIGITAL TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when a different port of a network device receives a packet maliciously constructed by a user and carries a false MAC address, the network device may judge that a loop occurs and block the interface according to the blocking policy, which will affect the normal traffic of the port. transmission

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 detecting message loop
  • Method and device for detecting message loop
  • Method and device for detecting message loop

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.

[0023] figure 1 is a schematic diagram of the communication network 100 applicable to the embodiment of the present application. Such as figure 1 As shown, the communication network 100 includes CE (Customer Edge, customer-side edge device) 110, PE (Provider Edge, network-side edge device) 120, and PE130. CE110, for example, may be an access switch connected to a client device, and PE120 and PE130 For example, it may be an aggregation switch. When the communication network 100 is working normally, after receiving the first message from CE110, PE120 writes the MAC address of CE110 carried in the first message into the MAC address table, and the outgoing interface is port 1. If there is a loop in the current communication network 100, Then PE120 will receive the second packet sent by CE110 to PE130 through port 2. The second packe...

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 device for detecting a message loop. The method includes the following steps that: a first relationship and a second relationship are determined, wherein the firstrelationship is a relationship between the rate V of the traffic of a first port and a bandwidth threshold value Vt in a first time period, and the second relationship is a relationship between the number M of the hops of a first media access control (MAC) address and a hopping threshold value Mt in the first time period, messages corresponding to the first MAC address are transmitted through thefirst port; and whether the messages corresponding to the first MAC address are looped during the first time period is determined according to the first relationship and the second relationship. According to the method and device provided by the embodiments of the present invention, whether the messages passing through the port are looped is determined through the first relationship and the secondrelationship, and therefore, loop misjudgment caused by maliciously constructed messages with fake MAC addresses can be avoided, and the normal traffic transmission of traffic to the port can be avoided.

Description

technical field [0001] The present application relates to the communication field, in particular to a method and device for detecting message loops. Background technique [0002] To perform link backup and improve network reliability in an Ethernet switching network, redundant links are usually used. However, the use of redundant links will generate loops on the switching network, and cause broadcast storms and MAC (Media Access Control, Media Access Control, Media Access Control) address table instability and other fault phenomena, resulting in poor user communication quality, or even communication interruption. [0003] MAC-Flapping (loop detection based on MAC hopping) is a method to detect Ethernet loops based on the hopping frequency of MAC address entries. After detecting a loop, it will block an interface or PW (Pseudo Wire) , thereby breaking the loop. [0004] However, when a different port of a network device receives a packet maliciously constructed by a user an...

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/705H04L12/26H04L45/18
CPCH04L43/0876H04L43/16H04L45/18
Inventor 孙磊
Owner BEIJING HUAWEI DIGITAL TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products