The defined features and working principles of a vswitch can easily get rid of cainiao's bad luck. What is a vswitch. After getting familiar with vrouters, Everyone began to pay attention to vswitches, as well as their basic features and working principles, and the emergence of many new Client/Server applications and multimedia technologies, as a result, the traditional shared network is far from meeting the requirements, which promotes the emergence of LAN switches.
Vswitch Definition
What is the definition of a vswitch? A lan switch has many ports, each of which has its own dedicated bandwidth and can connect to different CIDR blocks. The communication between the ports of the vswitch is parallel, which greatly improves the information throughput. To further improve performance, each port can connect to only one device.
A vswitch is defined to achieve interconnection between vswitches or to connect with high-end servers. a lan switch generally has one or several high-speed ports, such as M Ethernet port, FDDI port, or 155MATM port, this ensures the transmission performance of the entire network.
Vswitch features
Users who share a LAN through a hub not only share bandwidth, but also compete for bandwidth. Some users may need more bandwidth to reduce the available bandwidth of other users, or even be forced to wait, thus delaying communication and information processing.
Using the technical features of the vswitch's network differential segment, users of a large shared LAN can be divided into many independent network segments to reduce the number of users competing for bandwidth and increase the available bandwidth for each user, this reduces the congestion of shared networks.
Because the switch feature can quickly and directly send information to the destination, it can greatly increase the speed and bandwidth, protect users' previous investment in media, and provide good scalability, therefore, a switch is not only an ideal alternative to a bridge, but also an ideal alternative to a hub. Compared with bridges and hubs, vswitches improve the performance of vswitches in the following aspects:
◆ Improves the information throughput of vswitches by supporting parallel communication.
◆ Divide users on a traditional large LAN into several working groups. Each port connects to a device or a working group, effectively solving the congestion. This method is called Micro-segmentation in the network differential segment.
◆ The emergence of VirtuaILAN technology brings more flexibility to the use and management of vswitches. We will introduce virtual networks later.
◆ The port density can be comparable to that of a hub. Generally, the network system has one or more servers, and most of them are common clients. The client needs to access the server. As a result, the communication and transaction processing capabilities of the server become the key to the overall network performance.
The switch improves the performance of the entire network by increasing the speed of the port connecting to the server and the size of the corresponding frame buffer to meet user requirements. Some high-end switches also adopt full duplex technology to further increase the bandwidth of the port.
In the past, network devices basically used half-duplex methods. That is, when a host sends data packets, it cannot receive data packets. When receiving data packets, it cannot send data packets. Because full duplex technology is used, that is, the host can receive data packets while sending data packets, the normal 10 m port can be changed to 20 m port, and the normal m port can be changed to m port, this further improves the information throughput.
How a vswitch works
A traditional switch is essentially a multi-port bridge with traffic control capabilities, that is, a traditional two-layer switch. Introducing the routing technology into a vswitch can complete network-layer routing selection, which is called layer-3 switching. This is a new development of vswitches. Two-layer switch) the working principle of a switch is the same as that of a bridge. It is a networking device working on the link layer.
Each port has a bridging function. Each port can be connected to a LAN or a high-performance website or server. You can learn about the device connection status of each port through self-learning. All ports are controlled by dedicated processors and forwarded through the control management bus. At the same time, specialized network management software can be used for centralized management. To improve the speed and efficiency of data exchange, vswitches generally support multiple methods.
◆ Storage forwarding:
All common bridges use this method. Before sending data frame columns to other ports, they need to completely store the received frames in the internal memory, verify the received frames, and then send them to other ports, in this way, the latency is equal to the total time of receiving a complete data frame and the processing time. If the cascade is very long, it will cause serious performance problems, but this method can filter out the wrong data frame.
◆ Cutting-in method:
This method only checks the target address of the data frame, so that the data frame can be transmitted almost immediately, thus greatly reducing the latency. The disadvantage is that the error frame will also be transmitted. When the probability of a wrong frame is small, you can use the cut-in method to increase the transmission speed. When the probability of a wrong frame is large, you can use the storage and forwarding method/to reduce the retransmission of the wrong frame.