Study Notes

CCNA/CCNP Ethernet Switching: Frames, MAC, and Forwarding

Free ยท 2 imports included

Study Notes Preview

3 sections locked
Section 1

CCNA/CCNP Ethernet Switching: Frames, MAC, and Forwarding

STUDY GUIDE

๐ŸŽ“ CCNA/CCNP Ethernet Switching Exam - Study Guide

๐Ÿ“‹ Course Structure

code
๐Ÿ“š Ethernet Switching โ”œโ”€โ”€ ๐Ÿ“– Chapter 1: Ethernet Frames โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Ethernet Encapsulation โ”‚ โ”œโ”€โ”€ ๐Ÿ”น MAC Sublayer Responsibilities โ”‚ โ””โ”€โ”€ ๐Ÿ”น Ethernet Frame Fields โ”œโ”€โ”€ ๐Ÿ“– Chapter 2: Ethernet MAC Address โ”‚ โ”œโ”€โ”€ ๐Ÿ”น MAC Address Structure and Hexadecimal Representation โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Ethernet MAC Address Uniqueness and OUI โ”‚ โ””โ”€โ”€ ๐Ÿ”น MAC Address Types: Unicast, Broadcast, Multicast โ”œโ”€โ”€ ๐Ÿ“– Chapter 3: The MAC Address Table โ”‚ โ”œโ”€โ”€ ๐Ÿ”น Switch Fundamentals and MAC Address Table Usage โ”‚ โ”œโ”€โ”€ ๐Ÿ”น MAC Address Learning โ”‚ โ””โ”€โ”€ ๐Ÿ”น Frame Forwarding โ””โ”€โ”€ ๐Ÿ“– Chapter 4: Switch Speeds and Forwarding Methods โ”œโ”€โ”€ ๐Ÿ”น Frame Forwarding Methods: Store-and-Forward and Cut-Through โ”œโ”€โ”€ ๐Ÿ”น Cut-Through Switching Variants โ”œโ”€โ”€ ๐Ÿ”น Memory Buffering on Switches โ”œโ”€โ”€ ๐Ÿ”น Duplex and Speed Settings โ””โ”€โ”€ ๐Ÿ”น Auto-MDIX
Section 2

๐Ÿ“– Chapter 1: Ethernet Frames

What this chapter covers: This chapter introduces Ethernet frames, their encapsulation within the OSI model, and the roles of the LLC and MAC sublayers. It details the structure of an Ethernet frame and the significance of each field within the frame, focusing on how Ethernet operates at the data link and physical layers.

๐Ÿ”‘ Essential Concepts & Formulas

Concept/FormulaDefinition/EquationWhen to UseQuick Check
OSI Model LayersLayer 1 (Physical), Layer 2 (Data Link)Identifying where Ethernet operatesVerify by checking protocol analyzers
LLC SublayerIEEE 802.2, identifies network layer protocolDetermining the protocol used in the frameCheck the LLC header
MAC SublayerIEEE 802.3, 802.11, 802.15, handles data encapsulation, media access control, and addressingManaging data encapsulation and media accessInspect MAC address fields
Ethernet Frame SizeMinimum 64 bytes, Maximum 1518 bytesValidating frame integrityCheck frame size against limits

๐Ÿ› ๏ธ Problem Types

Type A: Frame Size Violation

Setup: "When encountering frames smaller than 64 bytes (collision fragments) or larger than 1518 bytes (excluding jumbo frames)."

Method: Discard the frame. Switches drop frames that violate size constraints to prevent network issues. Use packet capture tools to identify and analyze frame sizes.

Example: A frame with a data payload of 1505 bytes, plus 14 bytes of Ethernet header and 4 bytes of FCS, totals 1523 bytes. This exceeds the maximum Ethernet frame size and would be dropped.

Type B: Identifying MAC and LLC Sublayer Functions

Setup: "Analyzing network traffic to determine which layer is responsible for specific functions."

Method: The LLC sublayer identifies the network layer protocol. The MAC sublayer handles data encapsulation, media access control, and addressing.

Example: When examining a captured Ethernet frame, identify the EtherType field (within the data portion, handled by LLC) to determine the network layer protocol (e.g., IPv4, IPv6). The source and destination MAC addresses are encapsulated by the MAC sublayer.

๐Ÿงฎ Solved Example

Problem: An Ethernet frame is captured with a size of 60 bytes. Is this frame valid?

Given: Frame size = 60 bytes Minimum frame size = 64 bytes

Steps:

  1. Identify the minimum frame size requirement.
  2. Compare the captured frame size to the minimum requirement.
  3. Determine if the frame is valid based on the comparison.
"
โœ…
Answer: The frame is invalid because it is smaller than the minimum Ethernet frame size of 64 bytes. Such frames are considered collision fragments and are discarded.

โš ๏ธ Common Mistakes

โŒ Mistake 1: Incorrectly calculating frame size by omitting header or FCS bytes.

โœ… How to avoid: Always include the Ethernet header (14 bytes) and FCS (4 bytes) when calculating the total frame size.

โŒ Mistake 2: Confusing the functions of the LLC and MAC sublayers.

โœ… How to avoid: Remember that the LLC sublayer identifies the network layer protocol, while the MAC sublayer handles data encapsulation and media access control.

๐Ÿ’ก Study Tip

Use Wireshark to capture and analyze Ethernet frames to visualize the frame structure and understand the role of each field.

๐Ÿ“– Chapter 2: Ethernet MAC Address

What this chapter covers: This chapter details the structure, uniqueness, and types of Ethernet MAC addresses, including unicast, broadcast, and multicast addresses. It explains how MAC addresses are used for device identification and communication within an Ethernet LAN, and the role of the Organizationally Unique Identifier (OUI).

๐Ÿ”‘ Essential Concepts & Formulas

Concept/FormulaDefinition/EquationWhen to UseQuick Check
MAC Address Size48-bit binary value (12 hexadecimal values)Identifying valid MAC addressesVerify length and hexadecimal format
OUIOrganizationally Unique Identifier (first 6 hex characters)Ensuring MAC address uniquenessCheck IEEE registration database
Unicast MACUnique address for one-to-one communicationSending data to a specific deviceExamine destination MAC address
Broadcast MACFF-FF-FF-FF-FF-FFSending data to all devices on a LANCheck destination MAC address
Multicast MACStarts with 01-00-5E (IPv4) or 33-33 (IPv6)Sending data to a group of devicesExamine destination MAC address

๐Ÿ› ๏ธ Problem Types

Type A: Binary to Hexadecimal Conversion

Setup: "Converting a binary representation of a MAC address segment to its hexadecimal equivalent."

Method: Group the binary digits into sets of four, then convert each set to its corresponding hexadecimal value.

Example: Binary 11110000 converts to hexadecimal F0.

Type B: Identifying MAC Address Types

Setup: "Given a MAC address, determine whether it is unicast, broadcast, or multicast."

Method: Check the first few hexadecimal digits. Broadcast is FF-FF-FF-FF-FF-FF. Multicast starts with 01-00-5E (IPv4) or 33-33 (IPv6). All others are typically unicast.

Example: MAC address 01-00-5E-12-34-56 is a multicast address (IPv4).

๐Ÿงฎ Solved Example

Problem: Convert the binary value 10101100 to its hexadecimal equivalent.

Given: Binary value: 10101100

Steps:

  1. Group the binary digits into sets of four: 1010 1100
  2. Convert each set to its hexadecimal equivalent: 1010 = A, 1100 = C
"
โœ…
Answer: The hexadecimal equivalent is AC.

โš ๏ธ Common Mistakes

โŒ Mistake 1: Forgetting to group binary digits into sets of four before converting to hexadecimal.

โœ… How to avoid: Always group the binary digits correctly.

โŒ Mistake 2: Misidentifying multicast addresses.

โœ… How to avoid: Remember the specific prefixes for IPv4 (01-00-5E) and IPv6 (33-33) multicast addresses.

๐Ÿ’ก Study Tip

Practice converting binary to hexadecimal and identifying different MAC address types using online tools or practice questions.

๐Ÿ“– Chapter 3: The MAC Address Table

What this chapter covers: This chapter explains how Ethernet switches use the MAC address table (CAM table) to make forwarding decisions. It covers the processes of learning MAC addresses and forwarding frames based on the information in the table, including how switches handle unknown unicast, broadcast, and multicast traffic.

๐Ÿ”‘ Essential Concepts & Formulas

Concept/FormulaDefinition/EquationWhen to UseQuick Check
MAC Address TableTable storing MAC addresses and associated portsMaking forwarding decisionsExamine switch configuration
MAC LearningProcess of adding source MAC addresses to the tablePopulating the MAC address tableMonitor switch activity
Unicast ForwardingForwarding based on destination MAC address in tableDirecting traffic to specific devicesCheck destination MAC address
Unknown UnicastForwarding unicast traffic when destination MAC is not in tableHandling initial trafficObserve switch behavior
Broadcast/Multicast ForwardingFlooding traffic out all ports (except incoming)Distributing broadcast/multicast trafficMonitor network traffic

๐Ÿ› ๏ธ Problem Types

Type A: MAC Address Learning Scenario

Setup: "A new device connects to a switch port and sends a frame."

Method: The switch examines the source MAC address and adds it to the MAC address table, associating it with the port the frame entered on.

Example: Device A (MAC address AA-AA-AA-AA-AA-AA) connects to port 1. When Device A sends a frame, the switch adds AA-AA-AA-AA-AA-AA to its MAC address table, associated with port 1.

Type B: Frame Forwarding Decision

Setup: "A switch receives a frame with a specific destination MAC address."

Method: The switch checks its MAC address table. If the destination MAC is found, the frame is forwarded to the associated port. If not found (unknown unicast), the frame is flooded to all ports except the incoming port.

Example: A frame with destination MAC BB-BB-BB-BB-BB-BB arrives. If the MAC address table contains BB-BB-BB-BB-BB-BB associated with port 2, the frame is forwarded to port 2. Otherwise, it's flooded.

๐Ÿงฎ Solved Example

Problem: A switch receives a frame on port 3 with a source MAC address of CC-CC-CC-CC-CC-CC. The MAC address table is empty. What happens?

Given: Incoming port: 3 Source MAC: CC-CC-CC-CC-CC-CC Empty MAC table

Steps:

  1. The switch examines the source MAC address.
  2. The switch adds the source MAC address and incoming port to the MAC address table.
"
โœ…
Answer: The switch adds CC-CC-CC-CC-CC-CC to the MAC address table, associated with port 3.

โš ๏ธ Common Mistakes

โŒ Mistake 1: Forgetting that the switch learns MAC addresses from the source MAC address.

โœ… How to avoid: Always remember that the source MAC address is used for learning.

โŒ Mistake 2: Incorrectly assuming that a switch forwards unknown unicast traffic to all ports including the incoming port.

โœ… How to avoid: Remember that the switch floods to all ports except the incoming port.

๐Ÿ’ก Study Tip

Simulate MAC address learning and frame forwarding scenarios using a network simulator like Packet Tracer to visualize the process.

3 more sections

Create a free account to import and read the full study notes โ€” all 5 sections.

No credit card ยท 2 free imports included

    CCNA/CCNP Ethernet Switching: Frames, MAC, and Forwarding โ€” Cheatsheet | Evrika | Evrika Study