A kind of MAC address synchronization method and system
A MAC address and MAC address table technology, applied in the field of MAC address synchronization, can solve the problems of increasing control plane load, reducing network performance, and poor user experience, so as to improve work efficiency and quality, enhance user experience, and reduce network bandwidth. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] Embodiment 1: The learning process of MAC address includes:
[0041] After receiving the message, the local data plane judges whether the MAC address in the message exists in the MAC address table of the local service disk according to the VSI (Virtual Switch Interface, virtual switch interface, virtual switch interface, SMAC (source MAC address) of the message as the key. Corresponding MAC address entry, if so, the aging flag of this MAC address entry is marked as to be aged out (for example setting 0): Otherwise, create a MAC address entry corresponding to the MAC address in the message in the MAC address table, The aging flag of the MAC address entry is marked as to be aged (for example, set to 0), and the learning flag is marked as to be learned (for example, set to 0).
Embodiment 2
[0042] Embodiment 2: The aging process of the MAC address includes:
[0043] The local data plane regularly polls (traverses) all MAC address entries in the MAC address table, and judges whether the aging flag of the polled MAC address entry needs aging (for example, setting 1), and if so, the polled MAC After the address entry is cached, it is deleted from the MAC address table; otherwise, the aging flag of the polled MAC address entry is marked as needing aging (for example, set to 1).
Embodiment 3
[0044] Embodiment three: the synchronization process of the MAC address includes:
[0045] The local data plane regularly polls (traverses) the buffer pool and all MAC address entries in the MAC address table. When the synchronization flag of the polled MAC address entry is to be learned (for example, 0), it will poll the After uploading the MAC address table entry together with the synchronization flag to the local control plane, the synchronization flag of the polled MAC address table entry is marked as learned (for example, set to 1 to avoid uploading); when the polling cache has an aging flag When the MAC address entry needs to be aged, upload the MAC address entry together with the aging flag to the local control plane.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
