Conditional synchronization method for MAC address table entry of distributed switch

A MAC address table and MAC address technology, applied in the field of conditional synchronization of MAC address table items in distributed switches, can solve problems such as wasting system resources

Inactive Publication Date: 2011-05-04
WUHAN FIBERHOME NETWORKS
View PDF3 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Full synchronization: Full synchronization is to fully synchronize all the MAC address entries learned by one line card to other line cards, so that the capacity of the system's MAC address entries will be equal to the line with the smallest MAC address entry capacity. card, a great waste of system resources

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
  • Conditional synchronization method for MAC address table entry of distributed switch
  • Conditional synchronization method for MAC address table entry of distributed switch
  • Conditional synchronization method for MAC address table entry of distributed switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] Embodiment 1: Regarding the learning of MAC address entries, refer to the flow chart figure 2 shown

[0054] Step 101: Line card 1 is added to VLAN1, 2, 3, and 4 respectively, and the switch chip of line card 1 learns the four MAC addresses of MAC1 from VLAN1, MAC2 from VLAN2, MAC3 from VLAN3, and MAC4 from VLAN4. entry.

[0055] Step 102: the line card 1 packs the 4 MAC address entries and sends them to the main control for learning processing.

[0056] Step 103: After receiving the learning data packet of the MAC address entry, the main control parses the content of the data packet, and judges each MAC address entry.

[0057] Step 104: the main control judges that the MAC address learning in VLAN4 has been restricted, so MAC4 will not be learned, and the main control sends back the message of deleting MAC4 to line card 1, so that line card 1 deletes the MAC address entry; The main control determines that the other three MAC address entries need to be synchronized,...

Embodiment 2

[0062] Embodiment 2: For the aging of MAC address entries, refer to the flow chart image 3 shown

[0063] Step 201: After the MAC address entries of line card 1: MAC1, MAC2, and MAC3 age out, line card 1 directly deletes the three MAC address entries MAC1, MAC2, and MAC3, and notifies the CPU of line card 1 to process them.

[0064] Step 202: The CPU of the line card 1 sends the aging messages of the three MAC address entries MAC1, MAC2, and MAC3 to the main control CPU.

[0065] Step 203: After receiving the aging message, the main control CPU deletes the local MAC address entries, and determines which MAC address entries need to be aged by other line cards.

[0066] Step 204: After the main control determines that the line card 2 needs to age the two MAC address entries MAC1 and MAC3, the main control sends an aging message of the two MAC address entries MAC1 and MAC3 to the line card 2.

[0067] Step 205: After the main control determines that the line card 3 needs to ag...

Embodiment 3

[0069] Embodiment 3: Regarding the processing of line card VLAN information changes, refer to the flow chart Figure 4 shown

[0070] Only when the VLAN information in the MAC address entry belongs to the VLAN table of the line card, the MAC address entry will be synchronized to the line card. The VLAN information of the line card is determined according to the status of adding the port on the front panel of the line card to the VLAN.

[0071] Step 301: after one of the front panel ports of line card 2 is added to VLAN2 through a configuration command, line card 2 is also added to VLAN2 at this time. After the line card 2 is added to VLAN2, the main control CPU sends a message to the main control MAC address management module. After receiving the message, the main control MAC address management module searches for all local MAC address entries about VLAN2.

[0072] Step 302: the main control sends the MAC address entry MAC2 to the line card 2, so that the line card 2 learns ...

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 conditional synchronization method for a media access control (MAC) address table entry of a distributed switch, and belongs to the field of communication. The method comprises the following steps that: a line card transmits a learned MAC address table entry to a master control; the master control judges whether the MAC address table entry is limited or is required to be synchronized, informs the line card which initiates the MAC address table entry learning to delete the MAC address table entry when judging that the MAC address table entry is limited and cannot be learnt, and informs the line card which learns the MAC address table entry to add the MAC address table entry and informs the line card which initiates the MAC address table entry learning to bring the MAC address table entry into effect when judging that the MAC address table entry is required to be synchronized; and during aging, the line card which initiates the MAC address table entry learning transmits aging information to the master control, and the master control processes the aging information and transmits the processed aging information to a corresponding line card to finish the aging of the MAC address table entry. By the method, the MAC address table entries between line cards of the distributed switch can be accurately and quickly synchronized, flooding of a unicast data message caused by asynchronism of the MAC address table entries is avoided, and the entries are saved to the greatest extent.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method for conditionally synchronizing MAC address entries of a distributed switch. Background technique [0002] The distributed switch is composed of two master controllers, the master controller and the backup master controller, and multiple line cards. After the line card receives the Ethernet frame, it will add the corresponding forwarding table entry, and record the source MAC address, virtual local area network identification VLAN ID and input port number of the Ethernet MAC frame. This is the learning of the MAC address table entry, and the MAC address entries that are not refreshed within the specified aging time are deleted, which is the aging of MAC address entries. Each line card has its own ability to quickly learn MAC address entries, but each line card cannot know the MAC address entries learned by other line cards, so unicast packets may be floode...

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 Applications(China)
IPC IPC(8): H04L12/24H04L29/08H04L12/56H04L45/74
Inventor 许磊叶静元
Owner WUHAN FIBERHOME NETWORKS
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