Method and device for controlling drift of MAC (media access control) addresses

A technology of MAC address and MAC address table, applied in the field of Layer 2 forwarding, can solve problems such as network congestion, achieve the effect of solving network congestion and ensuring network transmission quality

Active Publication Date: 2011-04-13
ZTE CORP
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of the present invention is to provide a method and device for controlling MAC addr

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 controlling drift of MAC (media access control) addresses
  • Method and device for controlling drift of MAC (media access control) addresses
  • Method and device for controlling drift of MAC (media access control) addresses

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0036] Example 2

[0037] In this preferred embodiment, a method for controlling MAC address drift is provided, which can effectively protect the unstable state of the Ethernet caused by frequent MAC address drift, and can also perform protective automatic protection on the Ethernet ring. Cut off and eliminate, and ultimately reduce the impact of Ethernet loops on the entire network.

[0038] The current MAC learning and forwarding strategy is: the port number of the dynamic MAC address entry can drift freely. This preferred embodiment introduces a hierarchical system and a penalty strategy on the basis of the learning and forwarding strategy. That is: first classify the ports, and prohibit the MAC address entries of high-priority ports from drifting to low-priority ports; at the same time, in the case of the same port priority, the time penalty for MAC entries with frequent port drifting is lengthened. The protection policy prohibits the port flapping of the MAC entry for a...

Example Embodiment

[0064] Example 3

[0065] Figure 7 It is a preferred structural diagram of a device for controlling MAC address drift according to an embodiment of the present invention, which includes: a search unit 702, configured to search a MAC address table for a MAC address entry that matches a received data message; determine Unit 704, configured to determine whether the port number of the MAC address entry is consistent with the port number in which the data message flows in when found; the comparison unit 706 is configured to determine whether the MAC address entry is inconsistent. Whether the port number of the address entry is consistent with the port number into which the data packet flows; the processing unit 708 is configured to determine whether the priority of the port pointed to by the MAC address entry is higher than the priority of the port into which the data packet flows In this case, the setting does not allow the MAC address entries to drift.

[0066] In this preferr...

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 method and device for controlling the drift of MAC (media access control) addresses, wherein the method comprises the following steps: searching an MAC address entry matched with a received data message from an MAC address list; if the MAC address entry is searched, judging whether the number of a port of the MAC address entry is consistent with the number of a port into which the data message flows; if the numbers are inconsistent, comparing the priority of the port at which the MAC address entry points with the priority of the port in which the data message flows; and if the priority of the port at which the MAC address entry points is higher than the priority of the port in which the data message flows, setting that the MAC address entry is not allowed to drift. The method and the device of the invention have the advantages of solving the problem of network congestion caused by the drift of the MAC addresses in the prior art, and guaranteeing the quality of network transmission.

Description

technical field [0001] The present invention relates to the technical field of two-layer forwarding of communication equipment in the field of communication, in particular to a method and device for controlling MAC (Media Access Control, Media Access Control) address drifting. Background technique [0002] Due to its simplicity, convenience, and high efficiency, Ethernet has become the most commonly used technology for LAN networking and broadband access networks. In fact, it has become a common standard for LANs, IP MANs, and broadband access networks. However, due to its broadcast characteristics, it also creates an extremely weak side of Ethernet, that is, the danger of Ethernet loops. An Ethernet loop refers to a loop in the data forwarding path of the entire network due to irregular network connections or line collisions. The resulting hazards mainly include broadcast storms, MAC address drift, and forwarding table confusion, etc. Network congestion, interruption. Co...

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/56H04L45/74
Inventor 张磊
Owner ZTE CORP
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