Unlock instant, AI-driven research and patent intelligence for your innovation.

A kind of mac address learning method and device

A MAC address, MAC address table technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve problems such as MAC address learning errors

Active Publication Date: 2021-11-23
NEW H3C TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In order to solve the problem of wrong learning of the existing MAC address, the present invention proposes a method and device for learning the MAC address to ensure the correctness of the learning of 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
  • A kind of mac address learning method and device
  • A kind of mac address learning method and device
  • A kind of mac address learning method and device

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0063] still with Figure 1A and Figure 1B The DRNI network is shown as an example. Wherein, the MAC address of the host 121 is MAC121.

[0064] Figure 1A , the device 111 learns the MAC address of the host 121 through the interface S11, as shown in Table 1.

[0065]

[0066] Table 1

[0067] The device 111 synchronizes the MAC address of the host 121 with the device 112 through the interface S12 (IPP port).

[0068] If during the synchronization process, the host 121 migrates from the device 111 to the device 112, such as Figure 1B As shown, the device 112 learns the MAC address of the host 121 through the interface S21, as shown in Table 2.

[0069]

[0070] Table 2

[0071] The device 112 synchronizes the MAC address of the host 121 with the device 111 through the interface S22 (IPP port).

[0072] After device 112 receives the MAC address (MAC121) synchronized by device 111, it looks up Table 2. If there is a MAC address entry matching MAC121 locally, it del...

specific Embodiment 2

[0081] by Figure 3A and Figure 3B The DRNI network is shown as an example. Wherein, the MAC address of the host 121 is MAC121. Interface S13 on device 111 and interface S23 on device 112 belong to the same DR group (denoted as DR1); interface S14 on device 111 and interface S24 on device 112 belong to the same DR group (denoted as DR2).

[0082] Figure 3A , the device 111 learns the MAC address of the host 121 through the interface S13, as shown in Table 4.

[0083]

[0084] Table 4

[0085] The device 111 synchronizes the MAC address of the host 121 with the device 112 through the interface S12 (IPP port).

[0086] If during the synchronization process, the host 121 migrates from the device 113 to the device 114, such as Figure 3B As shown, the device 112 learns the MAC address of the host 121 through the interface S24, as shown in Table 5.

[0087]

[0088] table 5

[0089] The device 112 synchronizes the MAC address of the host 121 with the device 111 thro...

specific Embodiment 3

[0099] by Figure 4A and Figure 4B The DRNI network is shown as an example. Wherein, the MAC address of the host 121 is MAC121.

[0100] Figure 4A , the device 112 learns the MAC address of the host 121 through the interface S23, as shown in Table 7.

[0101]

[0102] Table 7

[0103] The device 112 synchronizes the MAC address of the host 121 with the device 111 through the interface S22 (IPP port).

[0104] If during the synchronization process, the host 121 migrates from the device 113 to the device 111, such as Figure 4B As shown, the device 111 learns the MAC address of the host 121 through the interface S11, as shown in Table 8.

[0105]

[0106] Table 8

[0107] The device 111 synchronizes the MAC address of the host 121 with the device 112 through the interface S12 (IPP port).

[0108] After device 111 receives the MAC address (MAC121) synchronized by device 112, it looks up table 8. If there is a MAC address entry matching MAC121 locally, it deletes t...

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

Embodiments of the present invention provide a method and device for learning a MAC address. In the embodiment of the present invention, if the first network device receives the MAC address synchronized by the second network device, it judges whether there is a first MAC address entry matching the MAC address locally, and if there is a first MAC address entry, delete The first MAC address entry is used to avoid wrong MAC address entries in the first network device.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method and device for learning a MAC address. Background technique [0002] DRNI (Distributed Resilient Network Interconnect) is a cross-device link aggregation technology that virtualizes two physical devices into one device at the aggregation level to achieve cross-device link aggregation, thereby providing device-level redundancy Protection and traffic load sharing. [0003] Such as Figure 1A Shown is a schematic diagram of the DRNI network. Wherein, the device 111 and the device 112 constitute a DR system. When the device 111 receives the message sent by the host 121, it locally generates the MAC address table entry of the host 121, and the outgoing interface of the table entry is the interface (S11) connected to the host 121 on the device 111, and synchronizes the host 121 to the device 112. MAC address. [0004] If the host 121 migrates from the device ...

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/741H04L29/12H04L45/74
CPCH04L45/745H04L2101/622
Inventor 龚青
Owner NEW H3C TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More