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

MAC address information synchronization method and device in stacking system

A technology of MAC address and MAC address table, applied in the field of MAC address information synchronization, can solve the problem of high CPU consumption and other problems

Active Publication Date: 2014-07-16
NEW H3C TECH CO LTD
View PDF2 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The present application provides a method and device for synchronizing MAC address information in a stacking system, so as to solve the problem that the existing synchronization method of MAC address information in a stacking system consumes a large amount of CPU overhead

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
  • MAC address information synchronization method and device in stacking system
  • MAC address information synchronization method and device in stacking system
  • MAC address information synchronization method and device in stacking system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Example 1 (event trigger mode)

[0028] The method for synchronizing MAC address information in a stack system according to Embodiment 1 of the present application is performed by member devices. Such as figure 2 As shown, the synchronization method includes the following steps:

[0029] Step 21, when the CPU receives the new MAC message sent by the forwarding chip, judge whether it is a local user service port according to the source port information of the MAC message; if it is a local user service port, then perform step 22; if it is a non-local user service port, Then execute step 23;

[0030] Step 22, according to the source MAC address, VLAN ID (Virtual Local Area Network ID, virtual local area network identification) and source port information in the MAC message, generate the corresponding MAC address entry and configure it in the FDB, and generate a MAC address synchronization message , broadcasting the MAC address synchronization message to other member de...

Embodiment 2

[0056] Example 2 (event trigger mode)

[0057] The method for synchronizing MAC address information in a stack system according to Embodiment 2 of the present application is performed by member devices. The synchronization method includes the following steps:

[0058] Step 31. When the CPU receives the new MAC message sent by the forwarding chip, it judges whether it is an aggregated port according to the source port information of the MAC message. If it is an aggregated port, and the MAC message is received at least twice within a predetermined time period, then perform step 31. 32; if it is an aggregation port, and the MAC message is only received once within a predetermined time, then perform step 33;

[0059] Step 32, according to the source MAC address in the MAC message, VLAN ID and source port information, generate corresponding MAC address entry and configure in the FDB, and generate MAC address synchronous message, broadcast described MAC address synchronous message ...

Embodiment 3

[0067] Embodiment 3 (periodic trigger mode)

[0068] In order to avoid the omission of MAC address synchronization packets sent by the event-triggered method and the MAC address inconsistency caused by MAC address aging, on the basis of the event-triggered method, it is necessary to add a periodic trigger method, and use the periodic trigger method to send MAC address synchronization packets, that is, Periodically send MAC address synchronization packets, and the sending period of synchronization packets is longer than the aging period of MAC addresses, for example, 2 to 5 seconds longer. The aging period is generally 120 seconds. The MAC address entry may become In-active within 120 seconds, indicating that the MAC address entry has not been refreshed for a long time. During the two aging periods, the MAC address entry must be been deleted. Therefore, when the aging period is longer than one, there may be a MAC address entry in the Active state, and the source port informati...

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 an MAC address information synchronization method and a device in a stacking system. The MAC address information synchronization method and device in the stacking system are applied to member devices in the stacking system. A CPU judges whether source port information in a new MAC message is used for a local user service port when receiving the MAC message sent by a forwarding chip, generates a corresponding MAC address table item and configures the item to an FDB according to a source MAC address, a VLAN ID and source port information in the MAC message, generates an MAC address synchronization message and broadcasts the MAC address synchronization message to other member devices in the stacking system if the source port information in the new MAC message is used for the local user service port; the CPU generates and configures a corresponding MAC address table item to the FDB according to the source MAC address, the VLAN ID and the source port information in the MAC message if the source port information in the new MAC message is not used for the local user service port. By the MAC address information synchronization method, low CPU expenditure and high speed are achieved in the stacking system.

Description

technical field [0001] The present application relates to the technical field of communication networks, and in particular to a method and device for synchronizing MAC address information in a stacking system. Background technique [0002] Ethernet switch stacking technology can interconnect multiple switches together to form a distributed switching architecture and operate as a logical switching entity. From the point of view of management and configuration, a distributed switching architecture looks like a switching device; from the point of view of performance, each switch in a distributed switching For Layer 2 and Layer 3 data flow communication services, formulate local forwarding strategies. [0003] Through stacking, multiple switching devices can be connected to each other to form a "joint device". This "joint device" can be called a Stacking (stacking system), and each switching device that makes up the Stacking is called a Slot (stack member). . After multiple S...

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): H04L29/08H04L29/12
Inventor 梁学伟
Owner NEW H3C TECH CO LTD
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