Method and device for media access control address synchronization in stacking system
A medium access control and stacking system technology, applied in the field of medium access control (MAC) address synchronization, can solve the problems of MAC address size limitation, affecting the actual deployment of stacking, etc., and achieve the effect of reducing CPU consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] This embodiment describes in detail how to perform MAC address synchronization when a member device in a stack system is a non-master member device.
[0033] see figure 2 , figure 2 It is a schematic flowchart of a method for synchronizing MAC addresses in Embodiment 1 of the present invention. The specific steps are:
[0034] Step 201, when the member devices in the stack system know that they need to synchronize the MAC addresses, they read out the MAC addresses learned by the hardware of the member devices in batches, and use the MAC addresses after deleting the MAC addresses whose corresponding port information is the port number of other member devices as the pending MAC addresses. Synchronized MAC addresses.
[0035] The member device deletes the MAC addresses whose port information is the port number of other member devices from all the MAC addresses read out in batches, that is, excludes the MAC addresses learned on common ports of other member devices thro...
Embodiment 2
[0059] After each member device sends a broadcast packet for synchronizing MAC addresses, other member devices will receive the broadcast packet through the stack port.
[0060] When each member device receives a broadcast message synchronizing the MAC address of other member devices through the stack port, it learns the hardware MAC address according to the content of the received broadcast message. The specific process is as follows:
[0061] When a member device receives a broadcast packet synchronizing the MAC address of another member device through the stack port, it matches the local MAC address entry according to the source MAC address of the broadcast packet and the VLAN ID and port information carried in the broadcast packet. .
[0062] If it matches completely, if the status of the MAC address corresponding to the source MAC address is aging, update it to active status; if the source MAC address and VLAN ID are matched, and the port information corresponding to the...
Embodiment 3
[0069] see image 3 , image 3 It is a schematic diagram of the stacking system in Embodiment 3 of the present invention. image 3 Among them, Slot1, Slot2, and Slot3 form a stack, and Slot2 is the main member device. Slot1 and Slot3 respectively learn several MAC addresses from the aggregation group ID of the combination group where the common port and the aggregation group port are located.
[0070] Take the MAC addresses learned by Slot1 and Slot3 as an example. Referring to Table 1, Table 1 shows the contents contained in the MAC address table of Slot1. Referring to Table 2, Table 2 shows the contents contained in the MAC address table of Slot3.
[0071] MAC address
VLAN ID
port information
state
MAC1
2
Slot1 Port3
activation
MAC2
1
Slot1 Port2
activation
MAC3
2
Slot1 Port6
MAC6
100
LAG1
activation
[0072] Table 1
[0073] MAC address
VLAN ID
p...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 