How Switch works

Source: Internet
Author: User
Tags network function

I. Overview The exchange technology is a simplified, low-cost, high-performance, and high-port intensive exchange product, reflecting the second-layer operations of the complex exchange technology in the OSI reference model. Like the bridge adapter, the switch simply decides to forward information based on the MAC address in each package. This type of forwarding decision generally does not consider the deeper information hidden in the package. The difference with the bridge adapter is that the forwarding delay of the switch is very small, and the operation is similar to the performance of a single LAN, far exceeding the forwarding performance between common Bridging networks. The exchange technology allows the shared and dedicated LAN segments to adjust the bandwidth to reduce the bottleneck of information flow between the LAN. Now there are Ethernet, fast Ethernet, FDDI and ATM exchange products. Vswitches can economically divide networks into small conflicting domains to provide higher bandwidth for each workstation. Protocol transparency allows the switch to be directly installed in a multi-protocol network with simple software configuration. The switch uses the NIC of the existing cable, repeater, hub, and workstation, you do not need to perform high-level hardware upgrades. vswitches are transparent to workstations. This reduces management costs and simplifies the operations of adding, moving, and changing network nodes. Using a specially designed integrated circuit, the switch can forward information on all ports at a line rate in parallel, providing much higher operation performance than the traditional bridge. The dedicated integrated circuit technology enables the switch to run with more ports. The port cost is lower than that of the traditional bridge. Ii. Three exchange technologies 1. the port switching technology first appeared in a slot hub. The backboards of these hubs are usually divided into multiple Ethernet segments (each segment is a broadcast domain ), there is no need for bridge or route connections, and the networks are not interconnected. After the master module is inserted, it is usually allocated to the network segment of a backplane. Port switching is used to allocate and balance the Ethernet module ports among multiple network segments of the backplane. Based on the degree of support, port switching can also be subdivided into: module switching: migrating the entire module network segment. Port group switch: ports on the module are usually divided into several groups, and each group of ports allows network segment migration. Port-level switch: each port can be migrated between different network segments. This switching technology is based on the first layer of OSI and has the advantages of flexibility and load balancing capabilities. If properly configured, the customer can still make a certain degree of errors, but it does not change the characteristics of the shared transmission media, rather than being called a real exchange. 2. Frame switching frame switching is currently the most widely used LAN switching technology. It provides a parallel transmission mechanism to reduce conflicting domains and obtain high bandwidth by performing differential segments on Traditional transmission media. Generally, the implementation technologies of each company's products are different, but there are generally the following processing methods for network frames: pass-through switching: Providing line rate processing capabilities, the switch reads only the first 14 bytes of the network frame and then transmits the network frame to the corresponding port. Storage forwarding: Checks errors and controls the reading of network frames. The exchange speed of the previous method is very fast, but it lacks more advanced control over network frames, lacks Intelligence and Security, and cannot support port exchange with different rates. Therefore, each vendor focuses on the latter technology. Some manufacturers even break down network frames and break down frames into fixed cells. This cell processing is easy to implement by hardware, and the processing speed is fast, at the same time, it can complete advanced control functions (such as the LET hub of MADGE) such as priority control. 3. the cell switch ATM technology represents the future direction of the development of network and communication technologies, and is also a "good medicine" to solve many problems in network communication ", ATM uses a fixed length of 53 bytes of Cell Exchange. Because the length is fixed, it is easy to implement with hardware. ATM uses dedicated non-differential connections and runs in parallel. multiple nodes can be established through a switch at the same time, but the communication capability between each node is not affected. ATM also allows multiple virtual links at the source node, target node, and node to ensure sufficient bandwidth and fault tolerance. The statistical time-division circuit is used in ATM, which can greatly improve the channel utilization. The bandwidth of an ATM can reach 25 M, 155 M, M, or even several Gb. Iii. LAN switch types and selection LAN switches can be divided into two types based on the network technology used: large network switch, licensing ring switch, FDDI switch, ATM switch, and fast Ethernet switch. Divided by the application fields of vswitches, such as desktop switches, working group switches, backbone switches, enterprise switches, segmented switches, port switches, and network switches. LAN switches are the core devices that make up the network system. For users, the main indicators of LAN switches are port configuration, data exchange capability, Packet Exchange speed, and other factors. Therefore, when selecting a vswitch, consider the following: (1) Number of switch ports; (2) Type of switch ports; (3) system expansion capability; (4) trunk connection means; (5) Total switch switching capability; (6) Whether route selection capability is required; (7) Whether hot switching capability is required; (8) whether fault tolerance capability is required; (9) compatibility with existing devices and smooth connection; (10) network management capabilities. Iv. Several noteworthy problems in Switch Applications 1. bottlenecks in the switch network the handling speed of the switch itself can reach a high speed. Users tend to be superstitious about the Gbps-level high-speed backplane advertised by manufacturers. In fact, this is a misunderstanding. The network used by workstations or servers connected to the access network is a large network, which follows the CSMA/CD media access rules. In the current customer/Server mode, multiple workstations access the server at the same time, so it is very easy to form a server bottleneck. Some vendors have designed one or more high-speed ports in the vswitch (for example, one or two Mbps ports can be configured for the Linkswitch1000 of 3COM) to facilitate the user to connect to the server or high-speed backbone network. You can also design multiple servers (for Business Division) or append multiple NICs to eliminate the bottleneck. The switch also supports Spanning Tree algorithms to facilitate fault-tolerant Redundant connections in your architecture. 2. Currently, broadcast frames in the network are widely used in network operating systems such as Netware and Windows NT, while the Server of the Lan Server provides services to the client by sending network broadcast frames. The existence of broadcast packets in these LAN greatly reduces the efficiency of the switch. In this case, you can use the virtual network function of the switch (not all vswitches support the virtual network) to limit the broadcast packets to a certain range. The ports of each vswitch support a certain number of MAC addresses, so that the vswitch can "remember" The status of a group of connected sites on this port, the number of MAC ports supported by different vswitch ports provided by the manufacturer varies. You must pay attention to the number of connection endpoints of the vswitch ports during use. If the number of MAC addresses exceeds the number of MAC addresses specified by the manufacturer, when the switch receives a network frame, only the MAC address of the target station does not exist in the MAC address table of the switch port, the frame is broadcast to each port of the vswitch. 3. virtual networks are an important feature of vswitches. Generally, there are three forms of virtual networks: (1) static port allocation Static Virtual Network is usually divided by the network administrator using the network management software or directly setting the port of the switch so that it directly belongs to a virtual network. These ports keep these properties until the Administrator resets them. Although this method is troublesome, it is safe and easy to configure and maintain. (2) The Dynamic Virtual Network supports the ports of the dynamic virtual network and can be automatically determined by the intelligent management software. The port is determined by using the MAC address, logical address, or protocol type of the Network Package. When a network node just connects to the access network, the switch port is not allocated, so the switch dynamically switches the port into a virtual network by reading the MAC address of the network node. In this way, once the network administrator is configured, the user's computer can flexibly change the switch port, without changing the user's Virtual Network's conformances. If an undefined MAC address appears in the network, you can send an alarm to the network administrator. (3) Configure multiple virtual network ports. This configuration allows one user or one port to access multiple virtual networks at the same time. In this way, you can configure a network server as multiple business departments (each service is set as a virtual network) and access resources of multiple virtual networks at the same time, it also allows connections between multiple virtual networks to be completed through only one routing port. But this will bring security risks. The specifications of the virtual network industry are being formulated, so the products of various companies are not interoperable. Cisco has developed the Inter-Switch Link (ISL) virtual network protocol, which supports virtual networks across Backbone Networks (ATM, FDDI, Fast Ethernet. However, the Protocol is accused of lack of security considerations. A large number of shared hubs are used in traditional computer networks, which can be achieved through flexible access to computer ports. 4. although the application of high-speed LAN technology, Fast Ethernet technology maintains good compatibility with traditional large networks in some aspects, however, 100BASE-TX, 100BASAE-T4, and 100BASE-FX impose large limitations on the transmission distance and cascade. A Mbps switch can break these limitations. At the same time, only the switch port can support duplex high-speed transmission. Currently, CDDI/FDDI exchange technology has emerged. In addition, the port price of CDDI/FDDI has also declined, and it also has great advantages in terms of transmission distance and security, therefore, it is a good choice for large network backbone. 3COM's main switching products include Linkswitch series and LANplex series; BAY's main switching products include LattisSwitch. 2800, BAY stack workgroup, System3O00/5000 (provides some optional switching modules); Cisco's main switch products include the Catalyst 1000/2000/3000/5000 Series. The product forms of the three companies seem to have similarities, and the prices of the products are similar. In addition to the specific needs of the network environment in the design (the port combination is emphasized to be reasonable, it also needs to be considered as a whole, such as network management and network applications. With the development and maturity of ATM technology and the intensification of market competition, the price of frame switches will fall further, and it will become an important solution for working networking. Article entry: aaadxmmm responsible editor: aaadxmmm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.