16.01.2015 Views

R&M Data Center Handbook

R&M Data Center Handbook

R&M Data Center Handbook

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.

www.datacenter.rdm.com<br />

Switches<br />

A “standard” layer 2 switch divides a network up into physical<br />

subnets and thus increases network bandwidth (from shared<br />

to switched). This means that each individual subscriber can<br />

now use the bandwidth commonly available to hubs, if the<br />

subscriber alone is connected to a switch port (segment).<br />

Segmenting is achieved by the switch remembering what destination MAC address can be reached at what port.<br />

To do this, the switch creates a “Source Address Table” (SAT) for itself and remembers the physical port (switch<br />

connection) to which information is sent and received, that corresponds to the NIC address of the terminal device.<br />

If the destination address that was received is not yet known, or in other words not yet available in the SAT table,<br />

the switch forwards this frame to all ports, an operation known as broadcasting. When response frames come<br />

back from recipients, the switch then makes a note of their MAC addresses and the associated port (entry in the<br />

table) and then sends the data only there.<br />

Switches therefore learn the MAC addresses of connected devices automatically, which is why they do not have<br />

to be configured unless additional specific functions are required, of which there can be several.<br />

A switch operates on the Link Layer (layer 2, MAC layer) of the OSI model (see section 3.8.1) and works like a<br />

bridge. Therefore, manufacturers also use terms like bridging switch or switching bridge. Bridges were the actual<br />

forerunners to switches and generally have only two ports available for sharing one LAN. A switch in this context<br />

is a multi-port bridge, and because of the interconnection of the corresponding ports, this device could also be<br />

called a matrix switch.<br />

Different switches can be distinguished based on their performance ability and other factors, by using the following<br />

features:<br />

• Number of MAC addresses that can be stored (SAT table size)<br />

• Method by which a received data packet is forwarded (switching method)<br />

• Latency (delay) of the data packets that are forwarded<br />

Switching method Description Advantages Disadvantages<br />

Cut-Through<br />

The switch forwards the frame<br />

immediately after it reads the<br />

destination address.<br />

Latency, or delay, between<br />

receiving and forwarding is<br />

extremely small.<br />

Defective data packets are<br />

not identified and forwarded<br />

to the recipient anyway.<br />

Store-and-Forward<br />

The switch receives the entire<br />

frame and saves it in a buffer. The<br />

packet is then checked and<br />

processed there using different<br />

filters. Only after that is the packet<br />

forwarded to the destination port.<br />

Defective data packets can<br />

therefore be sorted out<br />

beforehand.<br />

Storing and checking data<br />

packets causes a delay that<br />

depends on the size of the<br />

frame.<br />

Combination of Cut-<br />

Through and Storeand-Forward<br />

Fragment-Free<br />

Many switches operate using both methods. Cut-through is used as long as only a few defective<br />

frames come up. If faults become more frequent, the switch switches over to Store-and-Forward.<br />

The switch receives the first 64 bytes of the Ethernet frame. The data are forwarded if this portion<br />

has no errors. The reason behind this process is that most errors and collisions occur in the first 64<br />

bytes. In spite of its effectiveness, this method is seldom used.<br />

The expression layer 3 switch is somewhat misleading, since it describes a multi-functional device which is a<br />

combination of router and switch. Brouter was once also a term for this. In routing, the forwarding decision is<br />

made on the basis of OSI layer 3 information, i.e. an IP address. A layer 3 switch can therefore both assign<br />

different domains (IP subnets) to individual ports and also operate as a switch within these domains. However it<br />

also controls the routing between these domains.<br />

A wide variety of switch designs are available, from the smallest device with 5 ports up to a modular backbone<br />

switch which can provide hundreds of high-speed ports.<br />

There are also a multitude of extra functions available which could be listed here. The different switch types in the<br />

data center (Access, Aggregation, Core) and their primary functions were already described in section 3.3. The<br />

functions / protocols required for redundancy in the data center are listed in section 3.8.6.<br />

R&M <strong>Data</strong> <strong>Center</strong> <strong>Handbook</strong> V2.0 © 08/2011 Reichle & De-Massari AG Page 85 of 156

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

Saved successfully!

Ooh no, something went wrong!