Switching is a technique that is used to transmit data between the networks. It is achieved by using switches that are used to connect multiple LAN networks. Switches forward the data packets based on their MAC addresses. Switching is used to efficiently utilize the bandwidth of the network and reduce the collisions between the packets. Switching techniques are of three types – circuit switching, message switching, and packet switching. Switching modes are used to forward data packets by identifying different parts of the data frame such as preamble, a destination address, source address, ether type, data to be sent, and FCS. There are majorly two types of switching methods- cut-through switching and store-and-forward switching. Store-and-Forward Switching:Store-and-forward switching is a method of switching data packets by the switching device that receives the data frame and then checks for errors before forwarding the packets. It supports the efficient transmission of non-corrupted frames. It is generally used in telecommunication networks. In store-and-forward switching, the switching device waits to receive the entire frame and then stores the frame in the buffer memory. Then the frame is checked for errors by using CRC(Cyclic Redundancy Check) if the error is found then the packet is discarded else it is forwarded to the next device. Store and Forward Switching Cut-through Switching:Cut-through switching is a method of switching data packets by the switching device that forwards the packets as soon as the destination address is available without waiting for the rest of the data to arrive. It supports low latency and high-speed transmission and requires less storage space. It is used in fiber channel transmission, SCSI traffic transmission, etc. In cut−through switching, data transmission starts as soon as the destination address field arrives at the switching device. Then the device performs a lookup operation to check whether the destination address is valid or not. If the address is found valid and the link to the destination is available then the switching device starts to transmit the packets to the destination without waiting for the rest of the frame to arrive. Cut through Switching Difference between Cut-through Switching and Store-and-Forward Switching:
|