Chapter 6 - Building Ethernet LANs with Switches Flashcards
What are the 3 primary actions of transparent bridges?
- ) Deciding when to forward a frame or when to filter (not forward) a frame, based on the destination MAC address.
- ) Learning MAC addresses by examining the source MAC address of each frame received by the switch.
- ) Creating a (Layer 2) loop-free environment with other switches by using Spanning Tree Protocol (STP).
What is a collision domain?
A set of network interface cards for which a frame sent by one NIC could result in a collision with a frame sent by any other NIC in the same collision domain.
What is a MAC address table?
Lists the location of each MAC relative to that one switch.
Describe the store-and-forward switching method of a switch.
The switch fully receives all bits in the frame (store) before forwarding the frame (forward). This allows the switch to check the FCS before forwarding the frame.
Describe the cut-through switching method of a switch.
The switch forwards the frame as soon as it can. This reduces latency but does not allow the switch to discard frames that fail the FCS check.
Describe the fragment-free switching method of a switch.
The switch forwards the frame after receiving the first 64 bytes of the frame, thereby avoiding forwarding frames that were errored because of a collision.
What are some benefits of LAN switches over bridges and hubs?
1) Switch ports connected to a single device micro segment the LAN, providing dedicated bandwidth to that single device.
2) Switches allow multiple simultaneous conversations between devices on different ports.
3) Switch ports connected to a single device support full-duplex, in effect doubling the amount of bandwidth available to the device.
4) Switches support rate adaptation, which means that devices that use different Ethernet speeds can communicate through the switch (hubs cannot).
If the destination address in a frame is a broadcast, multicast, or unknown destination unicast, what does the switch do with the frame?
The switch floods the frame.
If the destination address is a known unicast address and the outgoing interface listed in the MAC address table is different from the interface in which the frame was received, what does the switch do with the frame?
The switch forwards the frame out the outgoing interface.
If the destination address is a known unicast address and the outgoing interface listed in the MAC address table is the same as the interface in which the frame was received, what does the switch do with the frame?
The switch filters the frame, meaning that the switch simply ignores the frame and does not forward it.
What logic does the switch use to learn MAC address table entries? (3 different steps.)
A. For each received frame, examine the source MAC address and note the interface from which the frame was received.
B. If it is not already in the table, add the MAC address and interface it was learned on, setting the inactivity timer to 0.
C. if it is already in the table, reset the inactivity timer for the entry to 0.
What is the inactivity timer?
This is the timer the switch keeps for each entry in the MAC address table. The switch sets the timer to 0 for new entries.
What is STP and why do switches use it?
STP is spanning-tree protocol and switches use this to prevent loops by causing some interfaces to block, meaning they do not send or receive frames.
What is a collision domain?
A set of network interface cards (NIC) for which a frame sent by one NIC could result in a collision with a frame sent by any other NIC in the same collision domain.
What is a broadcast domain?
A set of NICs for which a broadcast frame sent by one NIC is received by all other NICs in the same broadcast domain.