Switch Transceiver Principle

Source: Internet
Author: User

Switch Transceiver Principle: Working at the data Link layer, the switch has a very high bandwidth of the back bus and the internal switching matrix. All ports on the switch are hooked up to this bus. When the packet is received, the processing port looks for the in-memory MAC address (that is , the physical address in the serial EEPROM that is cured on the NIC ) to that port, which is sent to the destination port through the internal exchange matrix. The destination port does not exist, it is broadcast to all ports, the receive port responds after the exchange opportunity learns the new Mac address, and adds it to the internal Mac Address table.

The following is a simple representation in the form of graphs:

assuming the switch Both a and switch B MAC addresses are empty.

now the host sends data to the host one by one , because the switch MAC address is empty, so switch A learns first. At this point the address of Switch A is:


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/7D/5B/wKioL1bmoOHhb2--AADvlVQlOuQ371.jpg "title=" 11.jpg "alt=" Wkiol1bmoohhb2--aadvlvqlouq371.jpg "/>

because the switch the MAC's address table is empty, so broadcasts are sent over Port 2 and Port 3 .

650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M00/7D/5D/wKiom1bmoNTx_P7EAABLvjd8Ylo590.jpg "title=" 22.jpg "alt=" Wkiom1bmontx_p7eaablvjd8ylo590.jpg "/>

Switch 2 receives data over 4 ports and performs the following actions:

1: Learn MAC address

2: send broadcast via port 5,6

At this point the MAC address of Switch 2 is:

650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/7D/5B/wKioL1bmok2iufDYAAApxokiZo0374.jpg "title=" 33.jpg "alt=" Wkiol1bmok2iufdyaaapxokizo0374.jpg "/>

At this point, host 13 receives data, 12 and 14 discards the data.

Switch Transceiver Principle

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.