Analysis of layer-3 Switching Technology

Source: Internet
Author: User

To put it simply, layer-3 switching technology is layer-2 switching technology + layer-3 forwarding technology. It solves the network bottleneck caused by low speed and complexity of traditional routers.

What is layer-3 switching?

Layer-3 switching is also called multi-layer switching technology or IP address switching technology. As we all know, the traditional exchange technology operates on the data link layer, the second layer of the OSI network standard model, the layer-3 switching technology implements high-speed packet forwarding in the layer-3 network model. To put it simply, layer-3 switching technology is layer-2 switching technology + layer-3 forwarding technology.

The emergence of layer-3 switching technology solves the problem that the subnet must be managed by routers after the network segments are divided in the LAN, and solves the network bottleneck caused by the low speed and complexity of traditional routers.

Layer-3 Switching Principle

A device with layer-3 switching is a layer-2 switch with layer-3 routing, but it is an organic combination of the two, it is not simply to overlay the hardware and software of a router device on a LAN switch.
The principle is: Assume that two sites A and B that use the IP protocol communicate with each other through the layer-3 Switch. When sending Site A, compare its IP address with the IP address of site B, determine whether Site B is in the same subnet as itself. If the destination site B and the destination site A are in the same subnet, Layer 2 Forwarding is performed. If two sites are not in the same subnet, if Station A needs to communicate with Station B, station A must send an ARP (Address Resolution) packet to the "Default Gateway, the IP address of the "Default Gateway" is actually a layer-3 Switch module. When station A broadcasted an ARP request to the IP address of the "Default Gateway", if the layer-3 Switching Module knew the MAC address of Station B during the previous communication, then the MAC address of B is returned to the sending Site. Otherwise, the layer-3 Switch module broadcasts an ARP request to Site B based on the route information. Site B receives the ARP request and then replies to the layer-3 Switch module with its MAC address, the layer-3 Switching Module saves the address and sends it back to the sender Site A. It also sends the MAC address of Site B to the MAC address table of the layer-2 switching engine. After that, when A sends all the packets to B, the information can be exchanged at A high speed. Because layer-3 processing is only required in the routing process, most of the data is forwarded through layer-2 switch, so the speed of layer-3 switch is very fast, close to the speed of layer-2 switch, and the price is much lower than that of the same router.

L3 Switch Type
Layer-3 switches can be divided into pure hardware and pure software based on their data processing.
1) Hardware-only layer-3 technology is relatively complex, costly, but fast, with good performance and strong load capabilities. The principle is to use an ASIC chip and hardware to search and refresh route tables. 1.
  
Figure 1 principle of hardware-only three-layer switch

When the data is received by the port interface chip, first find the target MAC address in the layer-2 switching chip. If yes, perform layer-2 forwarding; otherwise, send the data to the layer-3 engine. In the layer-3 engine, the ASIC chip searches for the corresponding route table information, compares to the destination IP address of the data, and then sends the ARP packet to the destination host to obtain the MAC address of the host, send the MAC address to a layer-2 chip and the layer-2 Chip forwards the packet.

2) The software-based layer-3 switch technology is relatively simple, but it is slow, and is not suitable for cooperation. The principle is to use the CPU software to find the route table. 2.
 
Figure 2 principle of layer-3 Software Switch

When the data is received by the port interface chip, first find the target MAC address in the layer-2 switching chip. If the data is found, perform layer-2 forwarding. Otherwise, the data is sent to the CPU. The CPU looks for the corresponding route table information, which is opposite to the destination IP address of the Data. Then, it sends the ARP packet to the destination host to obtain the MAC address of the host and sends the MAC address to the L2 chip, the second-Layer Chip forwards the packet. Because low-cost CPU processing is slow, the processing speed of such a layer-3 switch is slow.

Market product selection 

In recent years, the construction of Broadband IP networks has become a hot topic. Next we will introduce some layer-3 switches that are suitable for the access layer or small and medium size convergence layer. Mainstream third-tier switches on the market include Cisco Catalyst 2948G-L3, Extreme Summit24, AlliedTelesyn Rapier24, and so on. These three-tier switch products have their own characteristics, covers most of the application features of layer-3 switches. Of course, when selecting a layer-3 switch, you can determine and select the products of the above products or other manufacturers based on your own needs, for example, the Passport/Acceler series and the original Cabletron SSR series have been integrated into Riverstone after Cabletron Release 4) and Avaya's Cajun M series and 3Com's Superstack3 4005 series. In addition, Chinese network manufacturers such as shenzhoudigital network, TCL network, Shanghai Radio and Television yingzhi, Ziguang network, and shouxin have launched three-layer switch products. The following describes three of these products, so that you can fully understand the layer-3 Switch and select an appropriate model based on your situation.

The Cisco Catalyst 2948G-L3 switch provides a complete solution in combination with industry-standard IOS. In versions 12.0 (10) and above, it fully supports the IOS Access Control List ACL, and works with the core Catalyst 6000, the end-to-end comprehensive broadband MAN construction can be completed. The Catalyst 6000 uses the MSFC module to complete its multi-layer switching service, and the RSM Routing Switching Module has been stopped. the IOS version 6.1 and later fully support ACL ).

Extreme's three-tier switch product solution provides unique Ethernet bandwidth distribution capabilities, with a cut unit of 200 kbps or kbps. Service providers can charge fees based on bandwidth usage, fixed delay transmission of audio and video.

The three-tier switch of AlliedTelesyn Rapier24 provides PPPoE features, enrich and improve the user authentication and billing methods, and is suitable for multiple access networks, flexible applications, and easy to choose services, at the same time, it protects the existing investment of users, and can also be used with NAT Network Address Translation) and DHCP Server and other functions, which is favored by many service providers.

In short, three-tier switches have been widely used since the concept was proposed. Although they have only been used for a few years, their extended functions have been enriched with practical applications. With the development of ASIC hardware chip technology and the promotion of practical application, layer-3 switching technology and products will also be further developed.


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.