Documente Academic
Documente Profesional
Documente Cultură
www.asghars.blogspot.com
Cisco Press
Agenda
Progression from Hub, Bridges & Switches Switching Logic
Processing on Cisco Switches
1/1
www.asghars.blogspot.com
1/5
www.asghars.blogspot.com
2/5
www.asghars.blogspot.com
3/5
reduce it bridges were added, bridge create a separate collision domain, thus doubled the bandwidth of the 10BaseT network
www.asghars.blogspot.com
4/5
LAN switches perform the same basic functions of bridges Like bridges, switches segment a LAN into separate parts,
with separate collision domain Switches have potentially large numbers of interfaces, with optimized hardware Each interface creates a separate collision domain, thus switch multiply the available bandwidth One collision domain per interface is called microsegmentation Figure shows, all interfaces are running at 100 Mbps, with four collision domains. Note each interface also uses full duplex
7 www.asghars.blogspot.com
5/5
www.asghars.blogspot.com
Switching Logic
address in each frames Ethernet address
1/8
Switching logic is based on the source & destination MAC IEEE defines three categories of Ethernet MAC addresses:
Unicast address; identify a single LAN interface Broadcast address (FFFF:FFFF:FFFF); implies all devices on the
LAN should receive the frame Multicast address; all dynamic subset of devices on a LAN to communicate
Switch uses the dynamic MAC address table that lists MAC
Switching Logic
Step 1: To decide when to forward a frame or when to
2/8
If the outgoing interface listed in the MAC address table is different from the interface in which the frame was received, the switch forwards the frame out the outgoing interface. In LANs with multiple switches, each switch makes an independent forwarding decision based on its own MAC address table
www.asghars.blogspot.com
10
Switching Logic
3/8
11
www.asghars.blogspot.com
Switching Logic
ii.
4/8
If the outgoing interface is the same as the interface in which the frame was received, the switch filters the frame, meaning that the switch simply ignores the frame and does not forward it
For each received frame, examine the source MAC address and note the interface from which the frame was received
If they are not already in the table, add the address and interface, setting the inactivity timer to 0 If it is already in the table, reset the inactivity timer for the entry to 0
www.asghars.blogspot.com
b) c)
12
Switching Logic
5/8
prevent loops by causing some interfaces to block, meaning that they do not send or receive frames
13 www.asghars.blogspot.com
Switching Logic
Processing on Cisco Switches
6/8
processing With store-and-forward, the switch receive the entire frame before forwarding the first bit of the frame Cisco switch can use a couple of different types of internal processing variations Because the destination MAC address occurs very early in the Ethernet header, a switch can make a forwarding decision long before the switch has received all the bits in the frames Based on this logic Cisco offers two other internal processing methods for switches:
Cut-Through Fragment-Free
14 www.asghars.blogspot.com
Switching Logic
Cut-Through
7/8
Switching Logic
With high speed links and faster application-specific
8/8
integrated circuits (ASIC), todays switches typically use store-and-forward processing, bcz the improved latency of the cut-through and fragment-free is negligible at these speeds
Table below summarizes the switch internal processing
16
www.asghars.blogspot.com
1/15
two important effects of the process of segmenting LANs using various devices
17 www.asghars.blogspot.com
2/15
could collide with each other, but not with frames sent by any other devices in the network
Figure on next slide illustrtes collision domains Each separate segment, or collision domain, is shown with a
18
www.asghars.blogspot.com
3/15
Both bridges and routers also separate LANs into different Hub near the center of the network does not create multiple
19
www.asghars.blogspot.com
4/15
which, when one of the devices sends a broadcast, all the other devices receive a copy of the broadcast Figure depicts the broadcast domains Router does not forward a LAN broadcast sent by a PC on the left to the network segment on the right
20
www.asghars.blogspot.com
5/15
firewall Switches create a single broadcast domain, as switches flood broadcasts and multicasts on all ports
Use switch instead of hubs to create different collision
domains and there by enabling the full duplex communication Broadcasts happen, as all hosts need to send some broadcast to function properly (e.g. IP ARP messages), but broadcast do require all the hosts to spend time processing each broadcast frame But if 500 PCs connected to switches, the broadcast could start to impact the performance of the end-user PCs
21 www.asghars.blogspot.com
6/15
groups of 100, separated from each other by router, would create five broadcast domains, and thus improves performance
Smaller broadcast domains also improve security due to
22
www.asghars.blogspot.com
7/15
sample network with two broadcast domains, two switches & no VLANs
23 www.asghars.blogspot.com
8/15
using a single switch Figure shows the same two broadcast domains as in previous figure, now implemented as two different VLANs on single switch You may also need to use VLAN:
To group users by department
To reduce workload for STP To enforce security, by limiting
sensitive data users to separate VLAN To separate traffic from IP phone from traffic sent by PC
24 www.asghars.blogspot.com
9/15
support larger buildings, or multiple buildings in somewhat close proximity to one another
When planning and designing a campus LAN, the
engineers must consider the types of Ethernet available and the cabling lengths supported by each type
Also the engineer must consider the type of equipment
that is already installed and whether an increase in speed on some segments is worth the cost of buying new equipment
25 www.asghars.blogspot.com
10/15
26
www.asghars.blogspot.com
11/15
Access Switches
Access switches connect directly to end users, providing
access to the LAN Access switches should not be expected to forward traffic between two other switches Access switches tend to be smaller and less expensive Each of the access switches must use at least two uplinks to two different distribution switches for redundancy
27 www.asghars.blogspot.com
12/15
access switches, forwarding frames between switches, but not connecting directly to end-user devices
It
provides some cabling advantages and potential performance advantages, e.g. for 30 access layer switches to be cabled directly, the LAN would need 435 cables. Instead, by connecting each 30 access switches to two distribution switches, requires 60 cables from each access switch to the distribution switch has more availability
28
www.asghars.blogspot.com
13/15
campus LANs
Core switches provide extremely high forwarding rates
of core switches
Ethernet LAN Media & Cable Lengths
An engineer must consider the length of each cable run
and then find the best type of Ethernet and cabling type that supports that length of cable
29 www.asghars.blogspot.com
14/15
100BASE-TX, and 1000BASE-T) have the same 100-meter cable restriction, but they use lightly different cables
Several types of Ethernet define the use of fiber-optic cables Optical cables support a variety of much longer distances than
multimode) is dependent up on the use of laser switches (often with single-mode fiber)or LED switches (often with multimode fiber)
30 www.asghars.blogspot.com
15/15
limitations and then use a reference chart (such as the table ) to remember each specific detail
31
www.asghars.blogspot.com