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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Cut-through uses <strong>the</strong> same technology as a standard transparent<br />

bridge. The switch only looks at <strong>the</strong> frame up <strong>to</strong> <strong>the</strong> destination MAC<br />

address, which results in a very low latency. Total latency consists of<br />

<strong>the</strong> time it takes <strong>to</strong> examine <strong>the</strong> frame enough <strong>to</strong> get <strong>the</strong> destination<br />

address, perform <strong>the</strong> SAT lookup and whatever interframe spacing<br />

exists between <strong>the</strong> incoming frames. Cut-through switches are limited<br />

<strong>to</strong> switching between similar LAN media types (E<strong>the</strong>rnet <strong>to</strong> E<strong>the</strong>rnet,<br />

FDDI <strong>to</strong> FDDI, and so on) because <strong>the</strong> frame is merely looked at, <strong>the</strong>n<br />

forwarded. Cut-through switches also filter frames like transparent<br />

bridges, so traffic that has destination addresses associated with <strong>the</strong><br />

port on which <strong>the</strong> traffic was received is discarded. The downside <strong>to</strong><br />

cut-through switching is that no error checking is performed, so<br />

misformed frames and collision fragments get forwarded on <strong>the</strong> same<br />

as "normal" frames.<br />

The s<strong>to</strong>re-and-forward method is a more complicated and<br />

process-intensive forwarding scheme, and it consequently has a<br />

higher latency. A cut-through switch only looks at <strong>the</strong> frame up <strong>to</strong> <strong>the</strong><br />

destination address, but a s<strong>to</strong>re-and-forward switch uses a four-step<br />

process <strong>to</strong> handle packets:<br />

1. The switch reads <strong>the</strong> destination address of <strong>the</strong> frame.<br />

2. The switch s<strong>to</strong>res <strong>the</strong> frame in <strong>the</strong> port's frame buffer.<br />

3. The address is compared against <strong>the</strong> SAT table so <strong>the</strong><br />

destination port can be located.<br />

4. Before <strong>the</strong> switch forwards <strong>the</strong> frame, it performs a Cyclic<br />

Redundancy Check (CRC) on <strong>the</strong> frame. If <strong>the</strong> frame is good, it<br />

is sent <strong>to</strong> <strong>the</strong> destination port; if <strong>the</strong> frame fails, it is dropped.<br />

Although <strong>the</strong> same frame handling rules used by a cut-through are<br />

followed, <strong>the</strong> s<strong>to</strong>ring of <strong>the</strong> frame provides <strong>the</strong> facilities for greater<br />

control of frame flow. Because <strong>the</strong> frames are s<strong>to</strong>red, <strong>the</strong> data within<br />

<strong>the</strong>m can now be examined, and <strong>the</strong> switch can be directed <strong>to</strong> handle<br />

certain types of data one way and o<strong>the</strong>r types ano<strong>the</strong>r. Misformed<br />

frames, runts (frames smaller than <strong>the</strong> minimum frame size), jabbers<br />

(frames that exceed <strong>the</strong> maximum frame size), and collision<br />

fragments are all discarded by a s<strong>to</strong>re-and-forward type switch. After<br />

<strong>the</strong> packet is filtered and deemed valid, it can <strong>the</strong>n be forwarded on <strong>to</strong><br />

its destination. Where <strong>the</strong> packet processing latency on a cut-through<br />

switch is defined largely on <strong>the</strong> time it takes <strong>to</strong> perform its SAT lookup,<br />

<strong>the</strong> frame processing latency on a s<strong>to</strong>re-and-forward switch varies<br />

depending on <strong>the</strong> size of <strong>the</strong> packet. Commonly, a s<strong>to</strong>re-and-forward<br />

switch's latency rating is measured using a 64Kbps packet size.<br />

S<strong>to</strong>re-and-forward switching is <strong>the</strong> basis for many of <strong>the</strong> proprietary<br />

virtual LAN (VLAN) technologies. The s<strong>to</strong>re-and-forward method is

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

Saved successfully!

Ooh no, something went wrong!