Address self-learning method and device and switch
A self-learning, switch technology, applied in the field of communication, can solve the problem of not supporting the cascading network, not supporting the acquisition and use of two-layer addresses, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0062] The method embodiment provided in Embodiment 1 of the present application may be executed in a switch, a switch, a computer terminal, or a similar computing device. Taking running on a switch as an example, Figure 4 It is a block diagram of the hardware structure of the switch according to the address self-learning method of the embodiment of the present invention. Such as Figure 4 As shown, the switch 40 may include one or more (only one is shown in the figure) processors 42 (the processors 42 may include but not limited to processing devices such as microprocessor MCU or programmable logic device FPGA, etc.), for storing A memory 44 for data, and a transmission device 46 for communication functions. Those of ordinary skill in the art can understand that, Figure 4 The shown structure is only for illustration, and it does not limit the structure of the above-mentioned electronic device. For example, switch 40 may also include a ratio Figure 4 more or fewer comp...
example 1
[0094] Figure 7 It is a schematic diagram of realizing the MAC address self-learning function according to a preferred embodiment of the present invention. Such as Figure 7 As shown, in this example, the steps performed by the OpenFlow controller and the OpenFlow switch are as follows:
[0095] In step 1, the OpenFlow controller issues a flow table for obtaining packet ingress port information, an address self-learning status table, and a flow table for storing address self-learning results to the OpenFlow switch.
[0096] The matching field of the flow table for obtaining packet ingress port information is "wildcard", and the corresponding action is "copy to the new state"; the matching key value of the address self-learning state table is "the source of the packet MAC address", the status value is "the inbound port of the message"; the matching field of the flow table storing the address self-learning result is "", and the corresponding action is "From the outbound port...
example 2
[0103] Figure 8 It is a schematic diagram of realizing the self-learning function of the outer layer address to be encapsulated according to the preferred embodiment of the present invention. Such as Figure 8 As shown, in this example, the OpenFlow controller and the OpenFlow switch as the edge node of the stack network need to perform the following steps:
[0104] In step 1, the OpenFlow controller issues a flow table for obtaining the outer layer source address information of the packet, an address self-learning status table, and a flow table for storing address self-learning results to the OpenFlow switch.
[0105] The matching field of the flow table to obtain the outer source address information of the message is "the inbound port of the message is the network side port", and the corresponding action is "copy to the new state"; the address is self-learning The matching key value of the state table is "the inner source address of the message", and the state value is "...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com