Home > Common Problem > body text

What are the types of switch interfaces?

醉折花枝作酒筹
Release: 2023-01-13 00:38:37
Original
22519 people have browsed it

The switch has rich interface types, such as: 10GE, GE, FE, OC-48/STM-16 POS, OC-16/STM-4 POS, OC-3/STM-1 POS and other interfaces. High port density and wire-speed routing and switching can truly be achieved.

What are the types of switch interfaces?

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

Switch interface type is a technical term.

The switch has rich interface types, such as: 10GE, GE, FE, OC-48/STM-16 POS, OC-16/STM-4 POS, OC-3/STM-1 POS and other interfaces. High port density and wire-speed routing and switching can truly be achieved.

S ​​port means serial interface, also called high-speed asynchronous serial port. It is mainly used to connect the V.35 cable of the WAN. It is used when connecting the router to the router. You can use commands to set the bandwidth. Generally, Just around 10M, 8M.

F port is a FastEthernet interface, called a Fast Ethernet port. It is mainly connected to Ethernet (LAN), a switch or a computer. It can be connected with an ordinary twisted pair. The default rate is 100Mbps, which can be limited by commands. speed, but cannot exceed 100Mbps.

E port is an Ethernet interface, called an Ethernet interface. It is mainly connected to Ethernet (LAN). It can also be connected with an ordinary twisted pair. The default rate is 10Mbps. This interface has been eliminated on new equipment.

The Console port is an essential interface on the router: the control port. This interface is used to debug the router. In addition, some routers also have an AUX interface, which is also a control interface;

The G port is a GigabitEthernet interface, called a Gigabit Ethernet interface, and is used to connect to Ethernet. The rate is 1000Mbps=1Gbps.

Extended information:

There are three link types of switches: access, trunk, and hybrid.

The access type only belongs to one VLAN and is generally used to connect computer ports.

Trunk type can allow multiple vlans to pass through, can receive and send messages from multiple vlans, and is generally used for ports between switches.

The hybrid type can allow multiple vlans to pass through, can accept and send messages from multiple vlans, and can be used to connect between switches or to connect to user computers.

Hybrid ports and trunk ports have the same processing methods when receiving data. The only difference is when sending data: hybrid ports can allow multiple vlan messages to be sent without tags, while trunk ports The port only allows the default vlan (that is, the vlan it is located in) without tagging.

Default vlan: The access port only belongs to one vlan, so its default vlan is the vlan it is in, and there is no need to set it; the hybrid port and the trunk port belong to multiple vlans, so the default vlan ID needs to be set. By default, the default vlan of the hybrid port and trunk port is vlan1; if the default vlan ID of the port is set, when the port receives a packet without a vlan tag, it will forward the packet to the default vlan port.

When a port sends a packet with a vlan tag, if the vlan id of the packet is the same as the default vlan id of the port, the system will remove the vlan tag of the packet and then send the packet. .

Switch interface incoming and outgoing data processing process:

Access port receiving packets: After receiving a packet, determine whether there is vlan information, if not, add the PVID of the port, and perform switching and forwarding. If there is, discard it directly (default)

Access port sending the message: strip the vlan information of the message and send it directly.

Trunk port receives packets: After receiving a packet, determine whether there is vlan information. If there is no PVID of the port, switch and forward it. If there is, determine whether the trunk port allows the data of the vlan to enter. If possible, forward it, otherwise discard it.

Trunk port sends messages: compare the PVID of the port and the vlan information of the message to be sent. If the two are equal, strip the vlan information and send it again. If they are not equal, send it directly.

Hybrid port receives packets: After receiving a packet, determine whether there is vlan information. If not, add the PVID of the port and perform switching and forwarding. If there is, determine whether the hybrid port allows the vlan data. Enter, forward if possible, otherwise discard (the untag configuration on the port does not need to be considered at this time, the untag configuration only takes effect when sending messages)

Hybrid port sends messages: 1. Determine the vlan In the properties of this port (dis interface of Huawei equipment, you can see which vlans of the port are untag and which vlans are tag)

2. If it is untag, strip the vlan information and then send it. If it is tag, then Send

directly for more computer-related knowledge, please visit the FAQ column!

The above is the detailed content of What are the types of switch interfaces?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!