Method for sending message and switch

A technology for sending messages and switches, which is applied in the field of computer networks, can solve problems affecting the processing performance of three-layer switches, and achieve the effects of reducing impact, reducing the number of sending, and improving sending performance

Active Publication Date: 2012-03-14
HUAWEI TECH CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Then, for example, in order to obtain the ARP information of all connected users, the number of packets that the layer-3 switch needs to send is: the number of VLANs under VLAN aggregation × the number of connected users; however, a user only belongs to One VLAN, therefore, there will be ((the number of VLANs under VLAN aggregation-1)×the number of all connected users) messages that are invalid messages, which will seriously affect the processing performance of the Layer 3 switch, and these invalid messages Packets also place a processing burden on the network and other devices in the 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
  • Method for sending message and switch
  • Method for sending message and switch
  • Method for sending message and switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] see figure 1 , a method for sending a message, the method is as follows:

[0028] Step 101: when sending a message, look up the correspondence between the IP address information and the virtual local area network according to the destination IP address of the message;

[0029] Step 102: If the corresponding relationship between the IP address information and the virtual local area network is searched according to the destination IP address, the virtual local area network corresponding to the destination IP address is obtained, and the message is sent to the virtual local area network;

[0030] Step 103: If the search module searches for the corresponding relationship between the IP address information and the virtual local area network according to the destination IP address and cannot find the virtual local area network corresponding to the destination IP address, it sends a message to all virtual local area networks.

[0031] In the embodiment of the present inventio...

Embodiment 2

[0033] see figure 2 , is a schematic diagram of the networking of the aggregated VLAN network connected by the three-layer switch corresponding to the embodiment of the present invention; figure 2 The shown aggregated VLAN network includes three virtual local area networks, namely VLAN 10, VLAN 20 and VLAN 30, that is, VLAN 10, VLAN 20 and VLAN 30 are all added to aggregated VLAN 100, and aggregated VLAN 100 is correspondingly configured with VLAN IF ( VLAN 10, VLAN 20 and VLAN 30 and aggregate VLAN 100 are linked by Layer 3 switches 2, 3, 5 and 1 respectively.

[0034] In the embodiment of the present invention, the network administrator of the aggregated VLAN network may statically configure one or more corresponding IP network segments for the aggregated VLAN network and each virtual local area network in the aggregated VLAN network, wherein the IP network segment corresponding to the aggregated VLAN network Contains the IP network segments corresponding to each virtual ...

Embodiment 3

[0119] see Figure 8 , a switch, the switch is specifically the same as the three-layer switch in the method embodiment 2, including: a search module 601 and a transmitter 602;

[0120] The search module 601 is configured to search the correspondence between the IP address information and the virtual local area network according to the destination Internet Protocol IP address of the message when the message is sent;

[0121] The transmitter 602 is used to obtain the virtual local area network corresponding to the destination IP address if the search module 601 searches the corresponding relationship between the IP address information and the virtual local area network according to the destination IP address of the message, and sends the message to the virtual local area network. When the corresponding relationship between the IP address information and the virtual local area network cannot be obtained by searching the destination IP address of the message and the virtual local...

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 discloses a method for sending message and a switch, and belongs to the technical field of computer networks. The method comprises the following steps of: when the message is sent, searching a corresponding relationship between Internet protocol (IP) address information and a virtual local area network (VLAN) according to the destination IP address of the message; and if the VLAN corresponding to the destination IP address is acquired according to the corresponding relationship between the IP address information and the VLAN searched according to the destination IP address, sending the message to the VLAN, otherwise, sending the message to all VLANs. According to the technical scheme, the sending quantity of the invalid message can be effectively reduced, the sending performance of the message under a gathered VLAN scene is improved, and the influence of the invalid message on the whole VLAN is reduced.

Description

technical field [0001] The present invention relates to the technical field of computer networks, in particular to a method and a switch for sending a message. Background technique [0002] Currently, a Layer 3 switch is usually used to speed up data exchange within a VLAN (Virtual Local Area Network, virtual local area network) network. The Layer 3 switch can be used as a gateway of the user to realize high-speed forwarding of Layer 3 data packets in the OSI (Open Systems Interconnection Reference Model, Open Systems Interconnection Reference Model) network model. [0003] Specifically, in order to realize the high-speed forwarding of Layer 3 data packets, when building a VLAN network, the Layer 3 switch needs to configure the VLAN IF (logical port of the virtual local area network) corresponding to each VLAN network, and allocate the VLAN IFs for the configured VLAN IFs. A corresponding IP (Internet Protocol, Internet Protocol) network segment, and each assigned IP networ...

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 Applications(China)
IPC IPC(8): H04L12/56H04L29/12H04L45/74
CPCH04L12/4641
Inventor 谭兆远
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products