09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Switch Ports and Related Functions<br />

Each interface port (like a bridge) has its own distinct MAC address.<br />

Attached <strong>to</strong> each interface is a DRAM memory buffer, which is used <strong>to</strong><br />

s<strong>to</strong>re <strong>the</strong> packets as <strong>the</strong>y enter <strong>the</strong> switch port. Switching, like routing<br />

and bridging, is a packet-by-packet process. The packet comes in <strong>to</strong><br />

<strong>the</strong> switch and is s<strong>to</strong>red in its port buffer. A destination lookup is made<br />

using <strong>the</strong> SAT. If a destination is found, <strong>the</strong> packet is forwarded on <strong>to</strong><br />

<strong>the</strong> correct port, where it is forwarded <strong>to</strong> its destination. If a<br />

destination cannot be found, <strong>the</strong> packet is flooded <strong>to</strong> each switch port.<br />

The flooding process is also used for SAT generation. When <strong>the</strong> switch<br />

first comes online, it knows nothing about <strong>the</strong> <strong>network</strong>. As it begins <strong>to</strong><br />

process packets, it learns addresses <strong>the</strong> same way a bridge does, by<br />

examining <strong>the</strong> source addresses of <strong>the</strong> packets on <strong>the</strong>ir way in. The<br />

switching process does result in some latency, for <strong>the</strong> same reasons<br />

that latency occurs with routing and traditional bridges. The amount<br />

of latency depends on a variety of fac<strong>to</strong>rs, such as <strong>the</strong> following:<br />

• The speed of <strong>the</strong> ports involved<br />

• The size of <strong>the</strong> packet being processed<br />

• The forwarding scheme used by <strong>the</strong> switch<br />

• The switch's backplane capacity and forwarding rate<br />

We look at latency in more detail when we discuss <strong>the</strong> different switch<br />

forwarding methodologies.<br />

Port Configuration Options<br />

Most switches manufactured <strong>to</strong>day au<strong>to</strong>negotiate between 10 and<br />

100Mbps, half or full duplex. Earlier, we mentioned that, with<br />

switching, E<strong>the</strong>rnet has evolved in<strong>to</strong> an encapsulation pro<strong>to</strong>col for<br />

point-<strong>to</strong>-point dedicated connections. With E<strong>the</strong>rnet (as with FDDI<br />

and Token Ring), this capability requires <strong>the</strong> port <strong>to</strong> operate at full<br />

duplex. Full-duplex operation is possible because each port on <strong>the</strong><br />

switch is effectively its own collision domain. When a single<br />

end-station (or switch port) is connected <strong>to</strong> a switch port, full-duplex<br />

operation is possible, because <strong>the</strong>re are only two devices in <strong>the</strong><br />

collision domain. CSMA/CD media access is not required because <strong>the</strong><br />

stations are communicating with each o<strong>the</strong>r simultaneously. In<br />

half-duplex mode, <strong>the</strong> port operates under CSMA/CD and collisions<br />

occur. Even with only one device, collisions still occur between <strong>the</strong><br />

switch and <strong>the</strong> connected end-station.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!