Method and device for controlling number of source MAC learning entries
A technology of the number of entries and the control source, applied in the direction of electrical components, transmission systems, etc., can solve the problem of wrongly forwarding the message
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] In order to solve the problem that the existing method for suppressing the number of MAC learning entries depends on the suppression flag sent by the control plane, and the short-term suppression does not take effect, causing the problem that the message is incorrectly forwarded, this embodiment provides a method for controlling the number of MAC learning entries of the source ,See figure 1 , the method includes at least the following steps:
[0027] S101: When the source MAC entry carried in the message received by the forwarding plane does not exist in the source MAC table, obtain the number of first source MAC learning entries according to the preset statistical strategy for the number of source MAC learning entries;
[0028] S102: Obtain the second source MAC learning entry number by adding 1 to the first source MAC learning entry number;
[0029] S103: If the number of the second source MAC learning entries is greater than the configured number of source MAC learn...
Embodiment 2
[0048] The method for controlling the number of source MAC learning entries provided in this embodiment records the number of source MAC learning entries of the current line card through a source MAC learning entry counter configured separately for each line card; the following describes the method in this embodiment in combination with specific application scenarios The method of controlling the number of source MAC learning entries is described in detail:
[0049] Please see attached Figure 4 , the method includes the following steps:
[0050] S401, the forwarding plane receives the message, searches the source MAC table according to the source MAC entry carried by the message, and judges whether the source MAC entry exists in the source MAC table; if it exists, execute S402; if not, execute S403 .
[0051] S402. The source MAC entry is considered as a learned source MAC entry, and the message is normally forwarded.
[0052] S403. The source MAC entry is considered as an...
Embodiment 3
[0061] The difference between this embodiment and the above-mentioned second embodiment is that the number of source MAC learning entries of the current local line card is recorded directly by adding a learning entry statistical value field in the source MAC table. In this way, there is no need to separately configure a source MAC learning entry counter for each line card, which can save limited counter resources. The method for controlling the number of source MAC learning entries in this embodiment is described in detail below in combination with specific application scenarios:
[0062] Please see attached Figure 5 , the method includes the following steps:
[0063] S501. The forwarding plane receives the message, searches the source MAC table according to the source MAC entry carried by the message, and determines whether the source MAC entry exists in the source MAC table; if it exists, execute S502; if not, execute S503 .
[0064] S502. Consider the source MAC entry a...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



