📜  存储转发交换和直通交换之间的区别

📅  最后修改于: 2022-05-13 01:57:03.400000             🧑  作者: Mango

存储转发交换和直通交换之间的区别

交换是一种用于在网络之间传输数据的技术。它是通过使用用于连接多个 LAN 网络的交换机来实现的。交换机根据其 MAC 地址转发数据包。交换用于有效利用网络带宽并减少数据包之间的冲突。交换技术分为三种类型——电路交换、消息交换和分组交换。

交换模式用于通过识别数据帧的不同部分(例如前导码、目标地址、源地址、以太类型、要发送的数据和 FCS)来转发数据包。主要有两种类型的交换方法——直通交换和存储转发交换。

存储转发交换:

存储转发交换是一种交换设备交换数据包的方法,交换设备接收数据帧,然后在转发数据包之前检查错误。它支持无损帧的高效传输。它通常用于电信网络。

在存储转发交换中,交换设备等待接收整个帧,然后将帧存储在缓冲存储器中。然后使用 CRC(循环冗余校验)检查帧是否有错误,如果发现错误,则丢弃数据包,否则将其转发到下一个设备。

存储转发交换

存储转发交换

直通切换:

直通交换是一种由交换设备交换数据包的方法,一旦目标地址可用就转发数据包,而无需等待其余数据到达。它支持低延迟和高速传输,并且需要更少的存储空间。用于光纤通道传输、SCSI流量传输等。

在直通交换中,一旦目标地址字段到达交换设备,数据传输就开始了。然后设备执行查找操作以检查目标地址是否有效。如果发现地址有效并且到目的地的链路可用,则交换设备开始将数据包传输到目的地,而无需等待帧的其余部分到达。

直通切换

直通切换

直通交换和存储转发交换的区别:

Store-and-Forward Switching

Cut-through Switching

The switching device waits to receive the entire frame before forwarding the data packet.The switching device forwards the data packet as soon as the destination address is received and doesn’t wait for the entire frame to be received.
It supports error checking and collided/ bad frames are discarded before forwarding the packets.There is no error-checking technique.
It checks for errors based on FCS bits of the data frame.It relies on higher-level protocols to detect the error.
Frames are stored in the buffer memory of the switching device.Frames are not stored in the switching device.
It is not further classified into different types.Cut through switching is further classified as Rapid frame forwarding and Fragment free.
It has a high latency rate as the device waits for the entire frame to be received before sending the packets to the destination.It has a low latency rate as the device does not wait for the entire frame to be received before sending the packets to the destination.
It is more secure as it does not forward corrupted frames to the destination.It is less secure as it sometimes forwards corrupted frames to the destination.
It has a high waiting time as the switching device waits for the entire frame to be received before forwarding it.It has a low waiting time as it forwards the frame as soon as the destination address is received.
It does not limit routing or arbitration decisions in switches.It puts a limit on routing or arbitration decisions in switches between source and destination.
It has networks with more storage requirements.It has less storage requirement.
Example: Telecommunication networks or transmission across networks requiring high mobility.Example: Communication via fiber channel and low latency transmission for SCSI transmission.