Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2019-06-14
RUIJIE NETWORKS CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a message forwarding method, switch and system, which are used to solve the problem of occupying extra bandwidth caused by backhaul message flooding in a PVLAN network

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
  • Message forwarding method, switch and system
  • Message forwarding method, switch and system
  • Message forwarding method, switch and system

Examples

Experimental program
Comparison scheme
Effect test

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 ...

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

The invention, which relates to the communication field, discloses a message forwarding method, a switch, and a system, so that a problem of wide occupied extra bandwidth caused by return message flooding in a private virtual local area network (PVLAN) can be solved. The message forwarding method comprises: a switch enters a shared VLAN learning (SVL) mode; when a go message enters the switch, the switch generates an MAC address list; when a return message corresponding to the go message enters the switch, the switch obtains a forwarding database ID (FID) corresponding to a VLAN ID (VID) corresponding to a port which the return message enters and obtains a forwarding port corresponding to the return message according to the FID corresponding to the VID corresponding to the port which the return message enters, a destination MAC address of the return message, and the MAC address list; and the switch forwards the return message to the forwarding port. The method, switch, and system can be applied to a PVLAN network.

Description

technical field [0001] The invention relates to the communication field, in particular to a message forwarding method, switch and system. Background technique [0002] PVLAN (full name in English: private virtual local area network, full name in Chinese: private virtual local area network) application typical topology is as follows figure 1 As shown in , it includes: router 11 , switch 12 , host 13 and host 14 . The host computer 13 and the host computer 14 are mutually isolated and belong to different VLANs (full name in English: virtual local area network, full name in Chinese: virtual local area network), but they belong to the same Primary VLAN (full name in English: primary virtual local area network) managed by switch 12. area network, Chinese full name: primary virtual local area network). The communication ports between the switch 12 and the router 11, the host 13, and the host 14 respectively correspond to different VLANs, so corresponding VLAN IDs (English abbrev...

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/46H04L12/931H04L12/947
CPCH04L12/4641H04L49/25H04L49/354
Inventor 张锴
Owner RUIJIE NETWORKS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products