Skip to main content

What is Switch ?

Swich 
Switch is a networking device which is used to connect bunch of devices together in a network through twisted pair cable .
It works under data link layer of the OSI(open system interconnection) model.
It consists of both hardware and software.so, it can do both forwarding and filtering.
When data enters into a switch ,it reads the address and compares that address with  a table called CAM table(content accessible memory where switch maintains port number and MAC address).when it finds a match it sends data to the destination port.Lets take an example for better understand-
If pc1 sends data to pc3,First of all data will goes to switch.Then switch reads the  address which is contained in the frame.Then compares that address(MAC address) with CAM table .when it finds a match that pc3 is connected with port number c ,it immediately sends data to the Pc3.It supports unicast , multicast and broardcast transmission.Switch has one broardcast domain . Every port of Switch is separate collision domain,it means if 5 devices are connected with Switch then broadcast Domain is 5.So,in case of switch there is no Collision occurs .Because Each  devices are conneced with each other through a dedicated path.Switch communicates on the basis of full duplex mode which means  both station can communicate with one other simultaneously at a time.

Comments

Post a Comment

Popular posts from this blog

HTTP

   HTTP:- -Http stands for hypertext transfer   protocol. -It is an application layer protocol. -The http is a set of rules for exchanging  files(text, graphics,video, record,images  and other multimedia files) on the   Www(world wide web). -It is an access method to access web   pages used on the internet . -Http is a part of protocol framework   called the internet protocol suite ,which   includes TCP/IP . -Http uses port number 80. Components of Http based system:- Http is a client server protocol , requests are send by one entity,the web user agent.Most of the time the user agent is a web browser. Generally 3 components are in http based based system.Like client, server and proxy . Client and server:- A server is a computing program or device that accepts and responds to requests made over a network.The device the sends request to the server and get response from the s...

MAC Address

MAC stands for media access control. MAC address is also known as physical address or hardware address or BIA(burnt-in-address).BIA is generally written in Cisco router switches.physical address is generally written in laptop/pc.MAC address is generally written in Mobile. MAC address is globally unic.The MAC address of a device is different from other devices.Many people are thinking there is only one mac address of a device but it is actually wrong ,Because there is no mac address of a laptop .There is a Mac address of your NIC(network interface controller) ,which is connected to your laptop .                                (NIC) If you change your NIC,then the Mac address of your laptop will be changed.NIC is a separate hardware component present in your computer used to connect with the network (home network or internet).There are so many ways that you can connect your laptop with the network like...

Differences between TCP and UDP

TCP vs. UDP  -TCP stands for transmission control   protocol whereas UDP stands for user   datagram protocol. -Tcp is a reliable and connection-oriented   Transport protocol whereas UDP is a less   reliable and connection-less protocol. -In tcp , Error control is   mandatory.because checksum is used at   the end of the TCP to detect errors   whereas error control is optional in case   of UDP . -TCP is comparatively slower than UDP. -The header size of TCP is 20-60 bytes   whereas header size of UDP is 8 bytes . -TCP doesn't supports broadcasting   whereas UDP supports broadcasting . -TCP is used by SMTP,FTP,HTTP,HTTPs   etc, whereas UDP is used by DHCP,DNS etc .