Ethernet Switching and IEEE 802.3 standards

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Within the Ethernet frame structure, which sublayer is responsible for placing information in the frame that identifies the network layer protocol?

  • MAC sublayer (IEEE 802.3)
  • LLC sublayer (IEEE 802.2) (correct)
  • Physical layer
  • Network layer

What is the primary function of the MAC sublayer in the Ethernet frame?

  • Performing data encapsulation and media access control (correct)
  • Defining the electrical characteristics of the physical medium
  • Providing error detection for the entire frame
  • Handling logical addressing for network layer protocols

Which three functions are performed by the MAC sublayer? (Choose three.)

  • Data encapsulation (correct)
  • Error detection using FCS (correct)
  • Defining the LLC header
  • Defining upper-layer protocols
  • Implementing CSMA/CD (correct)
  • Addressing

What happens when a receiving device detects that an Ethernet frame is smaller than the minimum size?

<p>The device discards the frame. (B)</p>
Signup and view all the answers

What is the hexadecimal representation of the binary value 0000 1111?

<p>0F (A)</p>
Signup and view all the answers

Which statement is true regarding MAC addresses?

<p>The OUI (Organizationally Unique Identifier) is a 24-bit code administered by the IEEE. (C)</p>
Signup and view all the answers

What is the purpose of the Organizationally Unique Identifier (OUI) in a MAC address?

<p>To identify the manufacturer of the Ethernet device. (B)</p>
Signup and view all the answers

Why is it important for all vendors selling Ethernet devices to register with the IEEE and obtain a unique OUI?

<p>To ensure that all MAC addresses are unique. (D)</p>
Signup and view all the answers

A host attempts to send an Ethernet frame to a destination host on the same network, but does not know the destination MAC address. How does the source host determine the destination MAC address?

<p>It sends an ARP request to obtain the MAC address. (D)</p>
Signup and view all the answers

What is a key characteristic of an Ethernet broadcast frame?

<p>It is received and processed by every device on the Ethernet LAN. (D)</p>
Signup and view all the answers

What MAC address is used for an IPv4 broadcast frame?

<p>FF-FF-FF-FF-FF-FF (C)</p>
Signup and view all the answers

Which MAC address type requires a corresponding multicast MAC address?

<p>Multicast IP address (A)</p>
Signup and view all the answers

What is the most important consideration when configuring duplex and speed settings on a switch port?

<p>Ensuring the settings match the capabilities of the connected device. (A)</p>
Signup and view all the answers

What is an issue that can occur when the duplex settings on a switch port and a connected device do not match?

<p>Duplex mismatch (B)</p>
Signup and view all the answers

Which statement describes how an Ethernet switch dynamically builds its MAC address table?

<p>It listens for incoming frames and records the source MAC address and associated port. (C)</p>
Signup and view all the answers

A switch receives a frame on a port. The destination MAC address is a unicast address not present in the MAC address table. What action will the switch take?

<p>The switch broadcasts the frame to all ports, excluding the port from which it was received. (C)</p>
Signup and view all the answers

What is a content addressable memory (CAM) table?

<p>A table containing MAC address to port mappings used by a switch. (B)</p>
Signup and view all the answers

What happens when a switch receives a frame with a source MAC address that already exists in the MAC address table, but on a different port?

<p>The switch updates the table with the new port number for that MAC address. (A)</p>
Signup and view all the answers

A network administrator configures port security on a switch. What action will the switch take when a device connects to a port and exceeds the maximum number of allowed MAC addresses?

<p>The switch shuts down the port. (C)</p>
Signup and view all the answers

A network technician troubleshoots a connectivity issue and suspects a duplex mismatch. What is a potential symptom of a duplex mismatch?

<p>High collision rates on the affected link. (C)</p>
Signup and view all the answers

What is the most effective way to mitigate duplex mismatch issues in modern Ethernet networks?

<p>Enable autonegotiation on both ends of the link or manually configure both ends to full-duplex. (C)</p>
Signup and view all the answers

Which switching method offers the lowest latency?

<p>Fast-forward cut-through (A)</p>
Signup and view all the answers

Which statement is true regarding the store-and-forward switching method?

<p>It performs error checking before forwarding frames. (A)</p>
Signup and view all the answers

What is a characteristic of fragment-free switching?

<p>A forwarding method that checks the first 64 bytes of the frame for errors before forwarding (A)</p>
Signup and view all the answers

What is the benefit of using shared memory buffering in a switch?

<p>It allows for larger frames to be transmitted with fewer dropped frames, especially with asymmetric switching. (B)</p>
Signup and view all the answers

How does port-based memory buffering work within a switch?

<p>It stores frames in queues linked to specific incoming and outgoing ports. (B)</p>
Signup and view all the answers

What is the primary function of the auto-MDIX feature on a switch?

<p>To automatically detect and configure the interface based on the cable type. (A)</p>
Signup and view all the answers

What command can be used to re-enable Auto-MDIX on a switch running Cisco IOS?

<p><code>mdix auto</code> (C)</p>
Signup and view all the answers

The IEEE 802.3 standard defines which of the following?

<p>Ethernet communications standards over various types of media. (A)</p>
Signup and view all the answers

What is the length of an Ethernet MAC address?

<p>48 bits (A)</p>
Signup and view all the answers

Which of the following is true of modern Ethernet LANs using switches?

<p>Communications operate in full-duplex. (C)</p>
Signup and view all the answers

In an Ethernet Frame, what is the range for the Data field size?

<p>45-1500 bytes (A)</p>
Signup and view all the answers

What is the MAC address for IPv6 multicast packets?

<p>33-33 (D)</p>
Signup and view all the answers

A frame with a destination MAC address of FF-FF-FF-FF-FF-FF is sent. What is the frame type?

<p>Broadcast (D)</p>
Signup and view all the answers

What is the main reason Quality of Service (QoS) is needed in store-and-forward switching?

<p>For traffic prioritization and frame classification. (C)</p>
Signup and view all the answers

With shared memory buffering, what does it mean for a port to be dynamically allocated with the amount of buffer memory it requires?

<p>The amount of memory each port uses can be changed while the switch is online. (D)</p>
Signup and view all the answers

Flashcards

Ethernet

Operates in the Data link and Physical layers. Family of networking technologies defined in IEEE 802.2 and 802.3 standards.

Data Link Sublayers

The IEEE 802 LAN/MAN standards use two sublayers: LLC, and MAC.

LLC Sublayer

Sublayer that places information in the frame to identify the network layer protocol.

MAC Sublayer

Sublayer responsible for data encapsulation and media access control; provides data link layer addressing.

Signup and view all the flashcards

Ethernet Frame

The internal structure of the Ethernet frame

Signup and view all the flashcards

Ethernet Addressing

The Ethernet frame includes source and destination MAC addresses.

Signup and view all the flashcards

Ethernet Error Detection

The Ethernet frame includes a frame check sequence (FCS) trailer used for error detection.

Signup and view all the flashcards

IEEE 802.3 MAC sublayer

Specifications for Ethernet communication standards over various media types.

Signup and view all the flashcards

Ethernet Frame Size

Minimum Ethernet frame size is 64 bytes, maximum is 1518 bytes.

Signup and view all the flashcards

MAC Address

An address consisting of 48-bit binary values, expressed using 12 hexadecimal values.

Signup and view all the flashcards

Ethernet MAC Address

Expressed using 12 hexadecimal digits; also is 6 bytes in length.

Signup and view all the flashcards

Organizationally Unique Identifier (OUI)

Every vendor of Ethernet devices must register with the IEEE to obtain a unique 6 hexadecimal code known as the Organizationally Unique Identifier.

Signup and view all the flashcards

Unicast MAC Address

A unique address used when a frame is sent from a single transmitting device to a single destination device.

Signup and view all the flashcards

Broadcast MAC Address

An address with a destination MAC Address of FF-FF-FF-FF-FF-FF in hexadecimal.

Signup and view all the flashcards

Multicast Address

Frame received and processed by a group of devices; has a destination MAC address of 01-00-5E.

Signup and view all the flashcards

Switch Learning

It examines the source MAC address and port number; if the address doesn't exist, it's added to the MAC address table.

Signup and view all the flashcards

Switch Forwarding

A switch looks for a match between the destination MAC address and an entry in its MAC address table.

Signup and view all the flashcards

Store-and-Forward Switching

Frame forwarding method that receives the entire frame, computes the CRC, and looks up the destination address.

Signup and view all the flashcards

Cut-Through Switching

Frame forwarding method that forwards a frame before it is entirely received.

Signup and view all the flashcards

Fast-Forward Switching

Offers the lowest latency by immediately forwarding a packet after reading the destination address.

Signup and view all the flashcards

Fragment-Free Switching

Compromise between store-and-forward and fast-forward switching that stores and checks the first 64 bytes.

Signup and view all the flashcards

Port-Based Memory

Frames are stored in queues that are linked to specific incoming and outgoing ports.

Signup and view all the flashcards

Shared Memory

All frames are deposited into a common memory buffer shared by all switch ports.

Signup and view all the flashcards

Full-Duplex

Both ends of the connection can send and receive simultaneously.

Signup and view all the flashcards

Half-Duplex

Only one end of the connection can send at a time.

Signup and view all the flashcards

Auto-MDIX

Automatically detects the type of cable attached to the port and configures the interfaces accordingly.

Signup and view all the flashcards

Study Notes

Module 7: Ethernet Switching

  • Explains how Ethernet works in a switched network.

Ethernet Frames

  • Ethernet operates in the data link and physical layers.
  • It is a family of networking technologies defined in IEEE 802.2 and 802.3 standards.
  • The 802 LAN/MAN standards use two separate sublayers of the data link layer: LLC and MAC.
  • LLC Sublayer (IEEE 802.2) includes information in the frame to identify the network layer protocol.
  • MAC Sublayer (IEEE 802.3, 802.11, or 802.15) is responsible for data encapsulation, media access control, and data link layer addressing.
  • The MAC sublayer is responsible for data encapsulation and media access.
  • IEEE 802.3 data encapsulation includes Ethernet frame structure, addressing, and error detection.
  • The IEEE 802.3 MAC sublayer specifies different Ethernet communication standards over copper and fiber media.
  • Legacy Ethernet (bus topology/hubs) uses a shared, half-duplex medium and the CSMA/CD access method.
  • Modern switched Ethernet LANs operate in full-duplex and don't require CSMA/CD.
  • Ethernet frame's minimum size is 64 bytes, maximum is 1518 bytes (excluding preamble).
  • Frames under 64 bytes are "collision fragments" or "runt frames" that are discarded.
  • Frames over 1500 data bytes are "jumbo" or "baby giant" frames.
  • Receiving device will drop frames smaller or larger than specified size, as result of collisions/unwanted signals and are considered invalid.
  • Jumbo frames are supported by most Fast Ethernet and Gigabit Ethernet switches and NICs.
  • Wireshark can be used to examine header fields in Ethernet II frames and to capture and analyze Ethernet frames.

Ethernet MAC Address

  • An Ethernet MAC address is a 48-bit binary value, shown as 12 hexadecimal values.
  • 8 bits (one byte) can be represented in hexadecimal as the range 00 to FF.
  • When using hexadecimal, leading zeroes are always displayed to complete the 8-bit representation.
  • Hexadecimal numbers are often preceded by "0x" (e.g., 0x73) in documentation.
  • Hexadecimal numbers may be represented by a subscript 16 or followed by "H" (e.g., 73H).
  • Every network device in an Ethernet LAN is connected to shared media; MAC addresses provide identification at the data link layer of the OSI model.
  • A MAC address is 48 bits, or 6 bytes, expressed using 12 hexadecimal digits.
  • Each Ethernet device/interface needs a unique MAC address; vendors register with the IEEE for a unique 24-bit (3-byte) code (OUI - organizationally unique identifier).
  • An Ethernet MAC address is a 6 hexadecimal vendor OUI code followed by a 6 hexadecimal vendor-assigned value.
  • When forwarding a message, the Ethernet header includes source and destination MAC addresses.
  • When a NIC receives an Ethernet frame, it checks to see if the destination MAC address matches its physical MAC address stored in RAM.
  • Frames with a mismatched MAC address are discarded while frames with matching MAC addresses are passed up the OSI layers for de-encapsulation.
  • Ethernet NICs accept frames addressed to a broadcast or multicast group to which they belong.
  • All devices (workstations, servers, printers, mobile devices, routers) that are source or destination of Ethernet frames have Ethernet NICs and MAC addresses.
  • In Ethernet, different MAC addresses are used for Layer 2 unicast, broadcast, and multicast communications.
  • A unicast MAC address is unique and used for one-to-one communication from a single transmitting device.
  • Address Resolution Protocol (ARP) is the process a source host uses to determine the destination MAC address associated with an IPv4 address.
  • Neighbor Discovery (ND) is the process a source host uses to determine the destination MAC address associated with an IPv6 address.
  • The source MAC address must always be a unicast address.
  • An Ethernet broadcast frame is received and processed by every device on the Ethernet LAN.
  • A broadcast has a destination MAC address of FF-FF-FF-FF-FF-FF (48 ones in binary).
  • Broadcasts are flooded out of all Ethernet switch ports except the incoming port but are not forwarded by a router.
  • IPv4 packets in an Ethernet broadcast frame contain a destination IPv4 address with all ones (1s) in the host portion so all of the hosts will receive and process it.
  • An Ethernet multicast frame is received and processed by devices that belong to the same multicast group.
  • A destination MAC address of 01-00-5E indicates an IPv4 multicast packet, and 33-33 indicates an IPv6 multicast packet.
  • Multicasts are flooded out all Ethernet switch ports (except the incoming port, unless multicast snooping is configured).
  • It is not forwarded by a router, unless the router is configured to route multicast packets.
  • Multicast addresses represent a group of addresses and are used as the packet destination while the source is always a unicast address.
  • Like unicast and broadcast, multicast IP addresses need a corresponding multicast MAC address.
  • You can set up the topology, configure devices, verify connectivity, display, describe and analyze Ethernet MAC addresses.

The MAC Address Table

  • Layer 2 Ethernet switches use Layer 2 MAC addresses to make forwarding decisions.
  • Ethernet switches are not aware of higher-layer protocol data (IPv4 packets, ARP messages, IPv6 ND packets).
  • An Ethernet switch examines its MAC address table to make a forwarding decision for each frame, unlike legacy Ethernet hubs.
  • The MAC address table is empty when a switch is turned on.
  • MAC address table is sometimes referred to as a content addressable memory (CAM) table.
  • Switches check every incoming frame for new information by examining the source MAC address and the port the frame entered on.
  • If the source MAC address doesn't exist, it gets added to the table along with the incoming port number, otherwise, if that source MAC address does exist, the refresh timer for the entry gets updated.
  • Ethernet switches keep an entry in the table for 5 minutes by default unless it is reset.
  • When the source MAC address exists but is on a different port, it is treated as a new entry and replaces the old one.
  • For destination MAC addresses in a unicast frame, there is a look-up for a match between the destination MAC address of the frame and an entry in the MAC address table.
  • If the destination MAC address is in table, the frame gets forwarded out that specified port.
  • If the destination MAC address is not in the table, the switch will forward (flood)the frame out all ports except that incoming port.
  • This is called an unknown unicast.
  • If the destination MAC is a broadcast or multicast, the frame floods to all ports, except the incoming.
  • Switches populate the MAC address table by examining the source MAC address of every frame.
  • They are able to filter the frame and forward out a single port when the destination MAC address is contained in the MAC address table.

Switch Speeds and Forwarding Methods

  • Switches use store-and-forward or cut-through forwarding methods to switch data between network ports.
  • Store-and-forward switching - receive the entire frame, compute the CRC, and if valid, look up the destination address, which determines the outgoing interface.
  • Cut-through switching - forward the frame before fully receiving it. At a minimum, read the destination address before forwarding.
  • The advantage of store-and-forward switching is that it checks for errors before propagating a frame; when errors are detected, the frame is discarded.
  • Discarding frames with errors reduces consumed bandwidth.
  • Store-and-forward switching is required for quality of service (QoS) analysis on converged networks for traffic prioritization (e.g., VoIP).
  • In cut-through switching the switch acts upon the data as soon as it is received, even if the transmission is not complete.
  • Switch buffers just enough of the frame to read the destination MAC address to determine which port to forward the data to.
  • The switch does not perform any error checking on a cut-through frame.
  • Fast-forward switching has the lowest latency, immediately forwarding a packet after reading the destination address.
  • Times exist when packets are relayed with errors, because fast-forward switching starts forwarding before the entire packet has been received.
  • Fragment-free switching is a compromise between store-and-forward (high latency and integrity) and fast-forward (low latency and reduced integrity).
  • The switch stores and error-checks the first 64 bytes before forwarding (most network errors and collisions occur during the first 64 bytes).
  • Ethernet switches may use buffering to store frames when forwarding or when the destination is busy.
  • Port-based buffering: Frames are stored in queues linked to specific incoming and outgoing ports. A frame transmits to the outgoing port only upon successful transmission of all frames ahead in queue.
  • Frames being delayed in a single frame causes a delay the transmission of all of the frames in the memory because of a busy destination port.
  • Shared memory buffer: common memory buffer for all switch ports that allocates memory dynamically as required by packets.
  • Allows receiving a packet on one port and transmitting on another without moving it to a different queue.
  • Results in larger frames being transmitted with fewer dropped frames, and also provides asymmetric switching, which allows for more bandwidth dedicated to certain ports for data rates
  • Two basic switch settings are bandwidth ("speed") and duplex; they should match the settings of connected devices.
  • There are two duplex types for Ethernet networks: full-duplex and half-duplex.
  • Full-duplex is when both ends can send and receive simultaneously.
  • Half-duplex - only one can send at a time.
  • The autonegotiation enables two devices to automatically negotiate the best speed and duplex capabilities.
  • Gigabit Ethernet ports only operate in full-duplex.
  • Duplex mismatch can cause performance issues on 10/100 Mbps Ethernet links and occurs when one port operates at half duplex while the other port operates as full-duplex.
  • Resetting ports and auto-negotiation process may cause for link partners to not have the same configuration.
  • Both sides of a link can be configured with autonegotiation on, or both sides can have autonegotiation off.
  • Configuring both Ethernet switch ports as full-duplex is common practice.
  • Auto-MDIX enabled devices to connect to other devices with either a crossover or straight-through cable.
  • Required cable depends on the type of interconnecting devices.
  • Most switch devices support the automatic medium-dependent interface crossover (auto-MDIX) feature to automatically detect the type of cable attached to a port and configure interfaces accordingly.
  • Enabled the switch automatically detects the type of cable attached to the port and configures the interfaces accordingly.
  • Runs on Cisco IOS Release 12.2(18)SE or later by default, you should always use the correct cable type and not rely on the auto-MDIX feature.
  • Auto-MDIX can be re-enabled using the mdix auto interface configuration command.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser