What is a Layer 2 switch? What is the principle of a Layer 2 switch?


There are many types of switches, such as Layer 2, Layer 3, Layer 4 switches, etc. So what is a Layer 2 switch ? What is the principle of a Layer 2 switch? The following decoration home decoration network Xiaobian will give you detailed answers, I hope to provide help for everyone.

二层交换机

What is a Layer 2 switch?

The Layer 2 switch works at Layer 2 (data link layer) of the OSI model and is therefore called a Layer 2 switch. The development of Layer 2 switching technology is relatively mature. Layer 2 switches are data link layer devices that can identify MAC address information in data packets, forward them according to MAC addresses, and record these MAC addresses and corresponding ports in their own. In an address table.

The second layer ( data link layer ) generally refers to an intermediate transition zone that provides reliable transmission over unreliable physical media. Physical address addressing, data framing, flow control, data error detection, retransmission, etc. are the main functions of Layer 2 switches. We can visually compare all the information to the human body, then we can understand that the two-layer switch is the human stomach, which functions to digest and deliver nutrients.

二层交换机原理

What is the principle of a Layer 2 switch?

1, since the plurality of ports the switch performs the data exchange, which requires a very wide bus bandwidth switching, if there are N ports switcher, the bandwidth of each port is M, the switch bus bandwidth exceeds N × M, then This switch can achieve wire-speed switching;

2 , learn the MAC address of the machine connected to the port , write the address table, the size of the address table (generally two representations: one is BUFFER RAM , one is the value of the MAC entry), the size of the address table affects the access capacity of the switch;

3, there is a switcher generally contain exclusively for processing the data packet forwarding ASIC (Application specific Integrated Circuit) chip, can be done very fast forwarding speed. Because each manufacturer uses different ASICs , it directly affects product performance.

The above is what Xiaobian brought to you. What is a Layer 2 switch? What is the principle of a Layer 2 switch? I believe that everyone has a basic understanding of the Layer 2 switch after reading this article. If you want to know more about the decoration consultation, please click to enter the decoration knowledge channel .


More related wonderful reading:

How does the router connect to the switch? Router connection switch method

What is the price of the switch? Can a router replace a switch?

What is a core switch? Core switch configuration standard

What is an unmanaged switch? Difference between non-network management and network management switch

What is a network management switch? How to set up the network management switch?

Green Screen

Green Screen,Key Chrome Green Screen,Portable Floor Green Screen,Chroma Key Green Screen Background

Dongguan Aoxing Audio Visual Equipment CO.,Ltd , https://www.aoxing-projectorscreen.com