Message forwarding method, switch and system
A technology of message forwarding and switching, applied in the field of communication, can solve the problem of occupying extra bandwidth
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] The invention provides a message forwarding method, which is applied to figure 1 Switch 12 as described in, refer to figure 2 As shown in , the method includes:
[0032] S101. The switch enters the SVL mode to share MAC addresses among VLANs with FIDs.
[0033] S102. When an outbound message enters the switch, the switch generates a MAC address table according to the port when the outbound message enters, the VLAN hardware table, the port VID mapping table, and the source MAC address in the outbound message, wherein the VLAN hardware Each item in the table contains the mapping relationship between the VID and the FID corresponding to a port of the switch. The FID of each item in the VLAN hardware table is the same and is the VID of the Primary VLAN corresponding to the promiscuous port of the switch, so that in SVL mode, the VLAN hardware The MAC addresses learned are shared among the VLANs corresponding to the VID of each item in the table. Each item in the port VID...
Embodiment 2
[0045] The present invention provides another message forwarding method, which is applied to figure 1 Switch 12 as described in, refer to image 3 As shown in , the method includes:
[0046] S201. Configure the global logic register of the switch supporting the PLVAN function, so as to enable the SVL mode of the switch.
[0047] S202. Configure a VLAN hardware table.
[0048] Specifically, still with figure 1 Take switch 12 shown in as an example, set VLAN 100 as Primary VLAN, and its VID is 100; set VLAN 101 as Isolated VLAN, and its VID is 101; set VLAN 102 as CommunityVLAN, and its VID is 102.
[0049] A VLAN hardware table as shown in Table 1 is preliminarily established, wherein each item (each row in the table) of the VLAN hardware table includes a mapping relationship between a VID and an FID corresponding to a port of the switch. In the initial state, the VID is the same as the FID.
[0050] Table 1
[0051]
[0052]
[0053] Then bind the relationship betw...
Embodiment 3
[0102] The present invention provides a switch, which is applied to such as figure 1 Switch 12 shown in, is used for carrying out above-mentioned message forwarding method, with reference to Figure 4 As shown in, the switch 12 includes:
[0103] The switching unit 121 is configured to enable the switch to enter the shared virtual local area network learning SVL mode to share MAC addresses among VLANs with FIDs.
[0104]Generating unit 122 is used for when there is the source MAC address in the outbound message to generate the MAC address table according to the port when the outbound message enters, the VLAN hardware table, the port VID mapping table and the outbound message when there is an outbound message to enter the switch, wherein , each item in the VLAN hardware table contains the mapping relationship between a VID and FID corresponding to a port of the switch, the FID of each item in the VLAN hardware table is the same and is the VID of the Primary VLAN corresponding ...
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