Switches

Switches intelligent devices เคนोเคคे เคนै। Switches เค•ो intelligent เค‡เคธเคฒिเค เคฎाเคจा เคœाเคคा เคนै เค•्เคฏोंเค•ि switches เคฎें memory เคนोเคคी เคนै เคœिเคธเคธे switches hardware address tables maintain เค•เคฐเคคे เคนै। เค‡เคจ tables เคฎें เคธเคญी hosts เค•ा address store เคนोเคคा เคนै เค”เคฐ เคธाเคฅ เคนी เค•ौเคจเคธा host เค•िเคธ port เค•े เคฎाเคง्เคฏเคฎ เคธे switch เคธे เคœुเคก़ा เคนुเค† เคนै เคฏे เคญी store เคฐเคนเคคा เคนै।
เคเค• switch LAN เค•े เค…ंเคคเคฐ्เค—เคค hosts เค•ो เค†เคชเคธ เคฎें connect เค•เคฐเคจे เค•े เคฒिเค เคฏूเคœ़ เค•िเคฏा เคœाเคคा เคนै। Switch เคธे เค†เคช 2 networks เค•ो เค†เคชเคธ เคฎें connect เคจเคนीं เค•เคฐ เคธเค•เคคे เคนै। เค…เคฒเค— เค…เคฒเค— networks เค•ो เค†เคชเคธ เคฎें connect เค•เคฐเคจे เค•े เคฒिเค router เค•ा เคฏूเคœ़ เค•िเคฏा เคœाเคคा เคนै।

เคเค• switch เค•ी hardware address table เค‡เคธ เคช्เคฐเค•ाเคฐ เคนो เคธเค•เคคी เคนै-

Working Of Switch :- เคœเคฌ เคญी เค•ोเคˆ host เค•िเคธी เคฆूเคธเคฐे host เค•ो เค•ोเคˆ frame send เค•เคฐเคคा เคนै เคคो source host เค•ा MAC address switch เค•ी address table เคฎें port เค•े เคธाเคฅ store เคนो เคœाเคคा เคนै। เคเค• switch เคนเคฎेเคถा source เค•ा address เคนी table เคฎें store เค•เคฐเคคा เคนै। เคฎेเคฐा เคฎเคคเคฒเคฌ เคœเคฌ เคคเค• เค•ी เค•ोเคˆ host เค•ुเค› data send เคจเคนीं เค•เคฐेเค—ा เคคเคฌ เคคเค• เค‰เคธเค•ा MAC address เค”เคฐ port number switch เค•ी table เคฎें store เคจเคนीं เคนोเค—ा।
เคœเคฌ เค†เคช เคถुเคฐू เคฎें switch เค•ो setup เค•เคฐเคคे เคนै เคคो switch เค•ो เค•िเคธी เคญी host เค”เคฐ เค‰เคธเค•े address เค•ी เค•ोเคˆ เคœाเคจเค•ाเคฐी เคจเคนीं เคนोเคคी เคนै। เคเคธी situation เคฎें เคœเคฌ เค•ोเคˆ host frame send เค•เคฐเคคा เคนै เคคो เค‰เคธเค•ा MAC address เคคो table เคฎें store เคนो เคœाเคคा เคนै เคฒेเค•िเคจ destination เค•ी เค•ोเคˆ เคญी เคœाเคจเค•ाเคฐी เคจเคนीं เคนोเคจे เค•ी เคตเคœเคน เคธे switch เค‰เคธ frame เค•ो เคธเคญी hosts เค•ो send เค•เคฐ เคฆेเคคा เคนै।
เคเคธे เคนी เคœเคฌ เคฆूเคธเคฐा host เค•ुเค› data send เค•เคฐเคคा เคนै เคคो เค‰เคธเค•ा address เคญी table เคฎें store เคนो เคœाเคคा เคนै। เคเคธे เคœเคฌ เคญी เค•ोเคˆ host frames เคญेเคœเคคा เคนै เค”เคฐ เคฏเคฆि เค‰เคธเค•ा address เคชเคนเคฒे เคธे table เคฎें เคฎौเคœूเคฆ เคจเคนीं เคนै เคคो switch เค‰เคธे store เค•เคฐ เคฒेเคคा เคนै। เค‡เคธ เคช्เคฐเค•ाเคฐ เคเค• switch เค…เคชเคจी table build เค•เคฐเคคा เคนै।
เคœเคฌ เคธเคญी hosts เค•े addresses เค”เคฐ port numbers switch เคฎें เค† เคœाเคคे เคนै เคคो switch เคฌिเคจा เคธเคญी hosts เค•ो frame เคญेเคœे เค•ेเคตเคฒ เคœिเคธ host เค•े เคฒिเค data เคญेเคœा เค—เคฏा เคนै เค‰เคธी host เค•ो deliver เค•เคฐเคคा เคนै।

Hubs เคเค• half duplex communication เค•เคฐเคคे เคนै। Hubs เค•े เคธाเคฅ เคฏा เคคो เค†เคช send เค•เคฐ เคธเค•เคคे เคนै เคฏा เค•ेเคตเคฒ receive เค•เคฐ เคธเค•เคคे เคนै। เคฒेเค•िเคจ switches เค•े เคธाเคฅ เคเคธा เคจเคนीं เคนै switches เค•े เคธाเคฅ เค†เคช เคเค• เคธाเคฅ data send เคญी เค•เคฐ เคธเค•เคคे เคนै เค”เคฐ receive เคญी เค•เคฐ เคธเค•เคคे เคนै।
Hubs เคเค• single collision domain เค•ो represent เค•เคฐเคคे เคนै เคฒेเค•िเคจ เคธ्เคตिเคš เคฎें เคนเคฐ port เคเค• separate collision domain เคนोเคคा เคนै। เค‡เคธเคธे เคฆूเคธเคฐे hosts เคชเคฐ เค•ोเคˆ เคซเคฐ्เค• เคจเคนीं เคชเคก़เคคा เคนै।

Layer 2 Switching :- hubs intelligent devices เคจเคนीं เคนोเคคे เคนै। เคœเคฌ เคญी เค•ोเคˆ hub เคเค• frame receive เค•เคฐเคคा เคนै เคคो เคตเคน frame เค•ो เคธเคญी ports เคฎें broadcast เค•เคฐ เคฆेเคคा เคนै। เคธाเคฅ เคนी hub เคเค• single collision domain เค•ो represent เค•เคฐเคคे เคนै เคฏाเคจी เคœเคฌ เค•ोเคˆ เคญी 2 hosts เคเค• เคธाเคฅ frames send เค•เคฐเคคे เคนै เคคो collision เคนोเคคा เคนै। Hubs เค•ी เค‡เคจ्เคนीं limitations เค•ी เคตเคœเคน เคธे network เคฎें broadcast storm เคœैเคธी เคธเคฎเคธ्เคฏाเคँ เค†เคคी เคนै।
Hubs เค•ी limitations เค•ो overcome เค•เคฐเคจे เค•े เคฒिเค bridges เค•ा เคจिเคฐ्เคฎाเคฃ เค•िเคฏा เค—เคฏा। Bridges hubs เคธे better เคนोเคคे เคนै। Bridges 2 local area networks เค•ो เค†เคชเคธ เคฎें เคœोเคก़เคจे เค•े เคฒिเค use เค•िเคฏे เคœाเคคे เคนै। เคฏเคฆि เค†เคช เค…เคชเคจे local area network เค•ो เค”เคฐ เค…เคงिเค• เคซैเคฒाเคจा เคšाเคนเคคे เคนै เคคो เคเคธा เค†เคช bridges เค•े เคฎाเคง्เคฏเคฎ เคธे เค•เคฐ เคธเค•เคคे เคนै। เคเค• bridge single collision domain เค•ो 2 collision domains เคฎें divide เค•เคฐ เคฆेเคคा เคนै। Bridges frames เค•ो forward เค•เคฐเคจे เค•े เคฒिเค MAC address use เค•เคฐเคคे เคนै। เคฒेเค•िเคจ เค•्เคฏोंเค•ि bridges เคฎें เค•ेเคตเคฒ 2 เคนी port เคนोเคคे เคนै เค‡เคธเคฒिเค bridges เคญी เคเค• reliable เค”เคฐ scalable network provide เค•เคฐเคจे เคฎें เคธเค•्เคทเคฎ เคจเคนीं เคฅे।
:- Hubs เค”เคฐ bridges เค•ी limitations เค•ो overcome เค•เคฐเคจे เค•े เคฒिเค switches เค•ो use เค•िเคฏा เคœाเคคा เคนै। เคเค• switch เค•ा เคนเคฐ port single collision domain เคนोเคคा เคนै। เค‡เคธเคฒिเค เคเค• switch multiple collision domains เค”เคฐ single broadcast domain เค•ो represent เค•เคฐเคคा เคนै। Switches intelligent device เคนोเคคे เคนै।
Layer 2 switching เคฎें destination เค•ो determine เค•เคฐเคจे เค•े เคฒिเค switches MAC (Media Access Control) addresses เค•ी table เค•ो use เค•เคฐเคคे เคนै। เค‡เคธ table เค•ो CAM table เคญी เค•เคนा เคœाเคคा เคนै। MAC address เคนเคฐ host เค•े NIC (Network Interface Card) เคชเคฐ manufacturer เคฆ्เคตाเคฐा hardcode เค•िเคฏा เคœाเคคा เคนै। Layer 2 switches MAC addresses เค•ी table build เค”เคฐ maintain เค•เคฐเคจे เค•े เคฒिเค Application Specific Integrated Circuits (ASIC) use เค•िเคฏे เคœाเคคे เคนै।

Functions of Switches :- Layer 2 เคชเคฐ switches 3 important functions perform เค•เคฐเคคे เคนै।

  1. Hardware Address Learning
  2. Forwarding of Frames
  3. Loop Avoidance

Hardware Address Learning :- เคœเคฌ switch เค•ो เคชเคนเคฒी เคฌाเคฐ on เค•िเคฏा เคœाเคคा เคนै เคคो CAM table เค–ाเคฒी เคนोเคคी เคนै। เคœเคฌ เค•ोเคˆ host frame send เค•เคฐเคคा เคนै เคคो switch frame เค•े source address เค•ो CAM table เคฎें store เค•เคฐ เคฒेเคคा เคนै। เค•्เคฏोंเค•ि เค‡เคธ เคธเคฎเคฏ switch เค•ो destination host เค•ा เคœ्เคžाเคจ เคจเคนीं เคนै เค‡เคธเคฒिเค switch เค‡เคธ frame เค•ो source port เค•े เค†เคฒाเคตा เคฌाเค•ी เคธเคญी ports เค•ो broadcast เค•เคฐ เคฆेเคคा เคนै।
เคœिเคธ host เค•े เคฒिเค เค‡เคธ frame เค•ो send เค•िเคฏा เค—เคฏा เคนै เค‰เคธे เค›ोเคก़เค•เคฐ เคธเคญी hosts เค‡เคธ frame เค•ो discard เค•เคฐ เคฆेเคคे เคนै। เคœो host frame เค•ो receive เค•เคฐเคคा เคนै เคตเคน source host เค•ो acknowledgment frame เคญेเคœเคคा เคนै। เค…เคฌ switch เค‡เคธ frame เค•े source address เค•ो เค…เคชเคจी CAM table เคฎें store เค•เคฐ เคฒेเคคा เคนै।
Network เคฎें เคœเคฌ เคญी เค•ोเคˆ frame send เค•िเคฏा เคœाเคคा เคนै เคคो switch เค‰เคธเค•े source address เค•ो เค…เคชเคจी CAM table เคฎें store เค•เคฐ เคฒेเคคा เคนै। เค‡เคธ เคช्เคฐเค•ाเคฐ เคเค• switch เค…เคชเคจी CAM table build เค•เคฐเคคा เคนै। เคเค• เคฌाเคฐ เคœเคฌ switch เคธเคญी hosts เค•े MAC addresses เค•ो store เค•เคฐ เคฒेเคคा เคนै เคคो เค‰เคธे เค•िเคธी frame เค•ो เคชเคนเคฒी เคฌाเคฐ เค•ी เคคเคฐเคน broadcast เค•เคฐเคจे เค•ी เค†เคตเคถ्เคฏเค•เคคा เคจเคนीं เคนोเคคी เคนै। เค…เคฌ frames เค•िเคธी point to point connection เค•ी เคคเคฐเคน source เคธे destination เคคเค• เคญेเคœे เคœाเคคे เคนै।

Forwarding of Frames :- เคœैเคธे เคนी เค•ोเคˆ frame switch interface เคชเคฐ เค†เคคा เคนै เคคो เค‰เคธเค•े destination MAC address เค•ो CAM table เค•े MAC addresses เคธे compare เค•िเคฏा เคœाเคคा เคนै। เคฏเคฆि frame เค•ा destination address match เคนो เคœाเคคा เคนै เคคो frame เค•ो เค•ेเคตเคฒ เค‰เคธी MAC address เคธे เคธเคฎ्เคฌंเคงिเคค port เค•ो forward เค•เคฐ เคฆिเคฏा เคœाเคคा เคนै।
เคฏเคฆि เค•िเคธी frame เค•ा destination address CAM table เคธे match เคจเคนीं เค•เคฐเคคा เคนै เคคो เค‰เคธ frame เค•ो broadcast เค•िเคฏा เคœाเคคा เคนै। เคฏเคฆि เค•ोเคˆ host frame เค•ो receive เค•เคฐเคคा เคนै เค”เคฐ เค‰เคธเค•ा acknowledgment frame เคญेเคœเคคा เคนै เคคो เค‰เคธ frame เค•े source address เค•ो switch CAM table เคฎें store เค•เคฐ เคฒेเคคा เคนै।
เคฏเคฆि เค•ोเคˆ host เคฏा server frames เค•ो broadcast เค•เคฐเคคा เคนै เคคो switch เคเคธे frames เค•ो เคธเคญी hosts เค•ो send เค•เคฐเคคा เคนै।
Switches frames เค•ो forward เค•เคฐเคจे เค•े เคฒिเค 3 methods provide เค•เคฐเคคे เคนै।

  1. Store and Forward - เค‡เคธ method เคฎें complete frame เค•ो memory เคฎें copy เค•िเคฏा เคœाเคคा เคนै। Frame เค•ो copy เค•เคฐเคจे เค•े เคฌाเคฆ เค‰เคธ เคชเคฐ Cyclic Redundancy Check (CRC) perform เค•िเคฏा เคœाเคคा เคนै।
  2. Cut Through - เค‡เคธ method เคฎें frame เค•ी header เคธे เคถुเคฐเค†เคคी 6 bytes เค•ो copy เค•िเคฏा เคœाเคคा เคนै เคคाเค•ि destination host เค•ो identify เค•िเคฏा เคœा เคธเค•े। เค‡เคธ method เคฎें เค•िเคธी เคญी เคช्เคฐเค•ाเคฐ เค•ी error checking เคจเคนीं perform เค•ी เคœाเคคी เคนै।
  3. Fragment Free - เค‡เคธ method เคฎें frame เค•ी เคถुเคฐเค†เคคी 64 bytes เค•ो copy เค•िเคฏा เคœाเคคा เคนै เคคाเค•ि error checking perform เค•ी เคœा เคธเค•े।

Loop Avoidance :- Switches เค•े เคฌीเคš multiple links เคนोเคจा เคฌเคนुเคค เคนी important เคฐเคนเคคा เคนै। เค•्เคฏोंเค•ि เคฏเคฆि เค•िเคธी เค•ाเคฐเคฃเคตเคถ เคเค• link down เคนो เคœाเค เคคो เคฆूเคธเคฐी link เคฆ्เคตाเคฐा frames เค•ो send เค•िเคฏा เคœा เคธเค•เคคा เคนै। เคฒेเค•िเคจ เค•เคˆ เคฌाเคฐ เค‡เคจ्เคนीं mulitple links เค•ी เคตเคœเคน เคธे network เคฎें เค•เคˆ เคธเคฎเคธ्เคฏाเคँ เค‰เคค्เคชเคจ्เคจ เคนो เคœाเคคी เคนै।
Switches เค•े เคฌीเคš เคเค• เคธे เค…เคงिเค• link เคนोเคจे เค•ी เคตเคœเคน เคธे network เคฎें loops create เคนो เคธเค•เคคे เคนै। เคฏเคฆि เค•ोเคˆ loop avoidance technique เคจा use เค•ी เคœाเค เคคो network เคฎें broadcast storm create เคนो เคœाเคคा เคนै। Network เคฎें loops เค•ी เคตเคœเคน เคธे เคเค• host frames เค•ी เคเค• เคธे เค…เคงिเค• copies receive เค•เคฐ เคธเค•เคคा เคนै।
Layer 2 switching เคฎें loops เค•ो avoid เค•เคฐเคจे เค•े เคฒिเค Spanning Tree Protocol use เค•िเคฏा เคœाเคคा เคนै।

Post a Comment

If you have any doubts,Please let me know

close