Академический Документы
Профессиональный Документы
Культура Документы
Chapter 6
Switches
A switch is a Layer 2 network device that acts as the concentration point to connect
workstations, servers, routers, hubs, and other switches.
A hub is an earlier type of concentration device that, like a switch, provides multiple ports.
Hubs are inferior to switches because all devices connected to a hub reside in the same
bandwidth domain, and collisions occur. Also, hubs operate only in half-duplex mode,
which means that they can either send or receive data at any given time.
Switches are multiport bridges and are the standard technology for today’s Ethernet local-
area networks (LANs) that use a star topology. A switch provides a dedicated point-to-
point virtual circuit between two connected networking devices, so no collisions occur.
Switches can operate in full-duplex mode, which means that they can send and receive
data simultaneously. The ability to understand and configure switches is essential for
network support.
LANs span a single room, building, or set of buildings that are close together. A set of
buildings that are on a site and that belong to a single organization are called a campus.
The design of larger LANs is assisted by an approach that identifies the following:
• An access layer that connects end users to the LAN
• A distribution layer that provides policy-based connectivity between end-user LANs
• A core layer that provides the fastest connection between the distribution points
As the scale of a LAN increases to the size of a campus, there is a need for a variety of
LAN switches. Each layer requires switches that are best suited for the tasks of each
specific layer. The features, functions, and technical specifications of each switch vary
depending on which layer they are designed for. Choosing the switches best suited for
each layer ensures the best network performance for LAN users.
Understanding the role of each layer and the switches used in those layers is important for
an effective switched LAN design.
Concept Questions
Demonstrate your knowledge of these concepts by answering the following questions in
the space provided.
1. What is the purpose of using the enable command on a switch, and
what features does this provide for an administrator?
The enable command is used to change from User EXEC mode to Privileged EXEC mode.
Privileged EXEC mode is also recognized by its prompt, which ends in a pound-sign character. The
Privileged EXEC mode command set includes those commands allowed in User EXEC mode, as
well as the configure command through which other command modes are accessed. Because these
modes are used to configure the switch, access to Privileged EXEC mode should be password
protected to prevent unauthorized use.
56
2. What are some benefits of using the three-layer Hierarchical Design Model?
Layered models are useful because they facilitate modularity. Since devices at each layer have
similar and well-defined functions, administrators can easily add, replace, and remove individual
pieces of the network. This kind of flexibility and adaptability makes a hierarchical network design
a scalable network design.
Vocabulary Exercise
Define the following terms as completely as you can. Use the online curriculum or Chapter
6 of the Cisco Networking Academy Program CCNA 3 and 4 Companion Guide for help.
Attenuation - Loss of communication signal energy.
Backbone - The structural core of the network, which connects all the components of the network
so that communication can occur.
data link layer - Layer 2 of the OSI reference model. This layer provides reliable transit of data
across a physical link. The data link layer is concerned with physical addressing, network topology,
line discipline, error notification, ordered delivery of frames, and flow control. The IEEE has
divided this layer into two sublayers: the MAC sublayer and the LLC sublayer. Sometimes simply
called link layer. Roughly corresponds to the data link control layer of the SNA model.
Hub - Generally, a device that connects hosts or network devices in a logical star-topology, usually
within a LAN segment. Also called a multiport repeater.
network layer - Layer 3 of the OSI reference model. This layer provides connectivity and path
selection between two end systems. The network layer is the layer at which routing occurs.
Corresponds roughly with the path control layer of the SNA model.
Port - An interface on an internetworking device (such as a router). A female plug on a patch panel
that accepts the same size plug as an RJ-45 jack. Patch cords are used in these ports to cross
connect computers wired to the patch panel. It is this cross-connection that allows the LAN to
function.
Switch - A network device that filters, forwards, and floods frames based on the destination
address of each frame. The switch operates at the data link layer of the OSI reference model.
Switching - The process of taking an incoming frame from one interface and delivering it out
through another interface.
Segmentation - The process of splitting a single collision domain into two or more collision
domains in order to reduce collisions and network congestion.
Core Layer - The backbone of the campus switched network. The switches in this layer can make
use of a number of Layer 2 and Layer 3 technologies.
57
Distribution layer - The network is located between the access and core layers and helps to define
and separate the core. The purpose of this layer is to provide a boundary definition in which packet
manipulation can take place.
Bandwidth - The difference between the highest and lowest frequencies available for network
signals. Also, the rated throughput capacity of a given network medium or protocol.
Bit - A binary digit used in the binary numbering system. Can be zero or one.
Bridge - A device that connects and passes packets between two network segments that use the
same communications protocol. Bridges operate at the data link layer (Layer 2) of the OSI
reference model. In general, a bridge filters, for-wards, or floods an incoming frame based on the
MAC address of that frame.
bridge protocol data unit (BPDU) - A Spanning-Tree Protocol hello packet that is sent out at
configurable intervals to exchange information among bridges in the network.
Broadcast - A data packet that is sent to all nodes on a network. Broadcasts are identified by a
broadcast address.
Byte - A series of consecutive binary digits that are operated on as a unit (for example, an 8-bit
byte).
carrier sense multiple access collision detect (CSMA/CD) - A media-access mechanism wherein
devices ready to transmit data first check the channel for a carrier. If no carrier is sensed for a
specific period of time, a device can transmit. If two devices transmit at once, a collision occurs
and is detected by all colliding devices. This collision subsequently delays retransmissions from
those devices for some random length of time. Ethernet and IEEE 802.3 use CSMA/CD access.
Collision - In Ethernet, the result of two nodes transmitting simultaneously. The frames from each
device collide and are damaged when they meet on the physical medium.
collision domain - In Ethernet, the network area within which frames that have collided are
propagated. Repeaters and hubs propagate collisions; LAN switches, bridges, and routers do not.
cut-through - A packet-switching approach that streams data through a switch so that the leading
edge of a packet exits the switch at the output port before the packet finishes entering the input
port. A device using cut-through packet switching reads, processes, and forwards packets as soon
as the destination address is looked up and the outgoing port is determined. Also known as on-the-
fly packet switching.
fast-forward switching - Switching that offers the lowest level of latency by immediately
forwarding a packet after receiving the destination address.
58
Flooding - When a bridge transmits the datagram on all segments except the source segment.
fragment-free switching - A switching technique that filters out collision fragments, which are the
majority of packet errors, before forwarding begins.
full-duplex Ethernet - A capability for simultaneous data transmission between a sending station
and a receiving station.
half-duplex Ethernet - A capability for data transmission in only one direction at a time between a
sending station and a receiving station.
Latency - The delay between the time a device requests access to a network and the time it is
granted permission to transmit.
memory buffer - The area of memory where the switch stores the destination and transmission
data.
Microsegmentation - The division of a network into smaller segments, usually with the intention
of increasing aggregate bandwidth to network devices.
network interface card (NIC) - A board that provides network communication capabilities to and
from a computer system. Also called an adapter.
physical layer - Layer 1 of the OSI reference model. This layer defines the electrical, mechanical,
procedural, and functional specifications for activating, maintaining, and deactivating the physical
link between end systems. Corresponds with the physical control layer in the SNA model.
propagation delay - The time required for data to travel over a network from its source to its
ultimate destination. Also called latency.
Repeater - A device that regenerates and propagates electrical signals between two network
segments.
Focus Questions
A. A packet
B. A data frame
C. A segment
59
D. A byte at a time
A. 100 ns
B. 800 ns
C. 51,200 ns
D. 800 microseconds
3. Characteristics of microsegmentation include which of the following?
A. Client/server network traffic where the “fast” switch port is connected to the
server
B. An even distribution of network traffic
C. Switches without memory buffering
D. A and B
6. In __________ switching, the switch checks the destination address
and immediately begins forwarding the frame, and in __________ switching,
the switch receives the complete frame before forwarding it.
A. Store-and-forward; symmetric
B. Cut-through; store-and-forward
C. Store-and-forward; cut-through
D. Memory buffering; cut-through
A. Network
B. Campus network
C. Collision domain
D. WAN
9. Which of the following is true of a full-duplex Ethernet switch?
A. Full-duplex
B. Half-duplex
C. Simplex
D. None of the above
A. One
B. Two
C. Fourteen
D. Sixteen
15. If you create a virtual circuit with LAN switching, what is the result on that
segment?
A. Increased collisions
B. Decreased available bandwidth
C. Increased broadcasts
D. Increased available bandwidth
16. How do switches learn the addresses of devices that are attached to their
ports?
A. The entry point for users and servers into the network
B. The point at which all devices connect to the network
C. All available bandwidth for every user
D. Always uses switches
2. The core layer has which of the following characteristics?
A. Allows segmentation of the LAN into unique physical and logical networks
B. Filters data-link broadcasts and multicasts and allows for WAN connectivity
C. Provides logical structure to the network
D. All of the above
4. What device provides logical segmentation of a LAN?
A. Router
B. Bridge
C. Switch
D. Hub
5. Microsegmentation with switches does which of the following?