Switches are divided into: two-layer switches, three-layer switches:
The ports of the two-layer switch are further divided into:
Switch Port Trunk Port L2 Aggregateport
The three-layer switch is further divided into the following:
(1) Switch Virtual Interface (SVI)
(2) Routing Port
(3) L3 Aggregate Port
Switching port: There are access and trunk ports, which only have two-layer switching function, used to manage physical interfaces and related two-layer protocols, and do not handle routing and bridging.
Use the commands switchport mode access or switchport mode trunk to define that each access port can only belong to one vlan, while access port only transfers to this vlan. Trunk transfers to multiple vlans. By default, trunk port will transfer all vlans.
Trunk interface:
Trunk port is a peer-to-peer link that connects one or more Ethernet switch ports to other network devices (such as routers or switches). A trunk can transmit traffic from multiple VLANs on a single link. The Trunk of the Ruijie switch is packaged using the 802.1Q standard.
As a trunk port, it should belong to a private VLAN. The so-called native VLAN refers to the unlabeled messages sent and received on this interface, which are considered to belong to this VLAN. Obviously, the default VLANID of this interface is the VLANID of the native VLAN. At the same time, sending messages belonging to the native VLAN on Trunk must be marked. By default, the native VLAN for each Trunk port is VLAN 1
Two layer aggregation port (L2 Aggregate Port)
Bundle multiple physical connections together to form a simple logical exercise, which becomes an Aggregate Port.
It can stack the bandwidth of multiple ports for use. For the Ruijie S2126G S2150G switch, it supports a maximum of 6 APs, and each AP can contain a maximum of 8 ports. For example, the maximum AP of the full duplex Fast Ethernet port operator can reach 800Mbps, and the maximum AP formed by the Gigabit Ethernet interface can reach 8Gbps.
The frames sent through the AP will be traffic balanced on the member ports of the AP. When a member port link fails, the AP will automatically transfer the traffic on this port to another port. Similarly, the AP can be either an Access port or a Trunk port, but the Aggregate port member port must be of the same type. Aggregate ports can be created through the interface aggregate port command.
Switch Virtual Interface (SVI)
SVI is an IP interface associated with a VLAN. Each SVI can only be managed with one VLAN and can be divided into two types:
(1) SVI can serve as the management interface for the second layer switch, through which the IP address can be configured. Administrators can manage the second layer switch through the management interface. In a layer 2 switch, only one SVI management interface can be defined on NativeVlan1 or on other divided VLANs.
(2) SVI can serve as a gateway interface for three-layer switches for cross VLAN routing.
The interface vlan interface can be used to configure command threading SVI, and then assign IP to SVI. For the Ruijie S2126GyuS2150G switch, it can support multiple SVUs, but only one SVI's OperStatus is allowed to be in the up state. The OpenStatus of SVI can be switched through the shutdown and no shutdown commands.
Routing interface:
On a three-layer switch, a single physical port can be used as the gateway interface for the three-layer switch, which is called a Routed Port. Routed Port does not have the function of a Layer 2 switch. Use the no switchport command to convert the Layer 2 switch Switchport on a Layer 3 switch to a Routed Port, and then assign an IP to the Routed Port to establish a route.
Note: When an interface is an L2AP member interface, the switchport/no switchport command cannot be used for hierarchical switching.
L3 Aggregate Port:
L3AP uses an AP as the gateway interface for three-layer switching, and L3AP does not have the function of two-layer switching. A non member two-layer interface L2 AggregatePort can be transformed into L3 AggregatePort through no switchport. Next, add multiple routing interfaces Routed Ports to this L32 AP, and assign IP addresses to L3 AP to establish a route. For the Ruijie S3550-12G S3350-24G12APA98 series switch, it supports a maximum of 12, each containing up to 8 ports.
Learn more industry information and follow us by scanning the QR code
Post time: May-22-2023