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

Method for deleting MAC addresses and device therefor

A MAC address, port technology, applied in the field of communication, can solve the problems of long time, slow speed, data packet loss and so on

Inactive Publication Date: 2012-10-10
ZTE CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is that the switch deletes the MAC address at a slow speed, takes a long time and easily causes the loss of forwarded data packets, and proposes a method and device for quickly deleting the MAC address

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 for deleting MAC addresses and device therefor
  • Method for deleting MAC addresses and device therefor
  • Method for deleting MAC addresses and device therefor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] When a switch with a network processor forwards Layer 2 data packets, in order to prevent the loss of data packets forwarded by a faulty port, it is often necessary to perform fast MAC deletion protection on some loop ports. The core idea of ​​the present invention is mainly to first store all the MAC addresses corresponding to the ports that need to be quickly deleted and protected by MAC, and then find all the MAC addresses corresponding to the ports that need to delete the MAC in the MAC table. The microcode quickly deletes the MAC address. Wherein, the microcode is a program or instruction running inside the network processor, which is used to quickly delete all MAC addresses of the ports in the present invention.

[0037] The method and device for deleting a MAC address of the present invention will be described below with reference to the accompanying drawings and embodiments.

[0038] Such as figure 1 as shown, figure 1 It is a schematic flow chart of a method...

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 for deleting MAC addresses and a device which is applied to switching equipment. The method comprises the following steps: storing all the MAC addresses corresponding to and learnt by interfaces which need fast deletion and protection by the MAC, searching all the MAC addresses corresponding to and learnt in the MAC table by the interfaces with MAC to be deleted, and fast deleting the MAC addresses by the microcode of a network processor. The invention further provides a device for deleting the MAC addresses. The invention greatly shortens the deleting time of MAC and the switching time of the circuit protection, and improves the performance of service switching.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method and device for deleting a MAC address. Background technique [0002] In modern communication technologies, network devices such as switches often need to forward received data packets. When the switch receives a data packet from a certain port, it first reads the source MAC (Media Access Control, media access control) address and VLAN (Virtual Local Area Network, virtual local area network) ID (Identification, ID), and then look up the corresponding entry in the MAC table. If the MAC address of the data packet is not in the MAC table, record the MAC address and the corresponding source port into the MAC table (this process is called MAC learning). Then the switch reads the destination MAC address and the VLAN ID in the packet header of the data packet, and searches the corresponding entry in the MAC table. If finding the table entry corresponding to destination ...

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 Patents(China)
IPC IPC(8): H04L12/56H04L29/12H04L12/947
Inventor 杨振宋晓娟
Owner ZTE CORP
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