text stringlengths 0 6.55k |
|---|
NOTE Throughout this book’s discussion of LAN switches, the terms switch port and switch interface are synonymous. |
Although Chapter 2’s section titled “Ethernet Data-Link Protocols” already discussed the frame format, this discussion of Ethernet switching is pretty important, so reviewing the Ethernet frame at this point might be helpful. Figure 5-2 shows one popular format for an Ethernet frame. Basically, a switch would take the ... |
Header Trailer |
Preamble SFD Destination Source Type Data and Pad FCS 7 1 6 6 2 46–1500 4 |
Figure 5-2 IEEE 802.3 Ethernet Frame (One Variation) |
Most of the upcoming discussions and figures about Ethernet switching focus on the use of the destination and source MAC address fields in the header. All Ethernet frames have both a destination and source MAC address. Both are 6-bytes long (represented as 12 hex digits in the book) and are a key part of the switching ... |
NOTE The companion website includes a video that explains the basics of Ethernet switching. |
Now on to the details of how Ethernet switching works! |
Forwarding Known Unicast Frames |
To decide whether to forward a frame, a switch uses a dynamically built table that lists MAC addresses and outgoing interfaces. Switches compare the frame’s destination MAC address to this table to decide whether the switch should forward a frame or simply ignore it. For exam-ple, consider the simple network shown in F... |
In this figure, Fred sends a frame with destination address 0200.2222.2222 (Barney’s MAC address). The switch compares the destination MAC address (0200.2222.2222) to the MAC address table, matching the bold table entry. That matched table entry tells the switch to for-ward the frame out port F0/2, and only port F0/2. |
Answers to the “Do I Know This Already?” quiz: 1 A 2 C 3 A 4 B 5 C 6 D |
|||||||||||||||||||| Technet24 |
|||||||||||||||||||| |
Chapter 5: Analyzing Ethernet LAN Switching 111 |
NOTE A switch’s MAC address table is also called the switching table, or bridging table, or even the Content-Addressable Memory (CAM) table, in reference to the type of physi-cal memory used to store the table. |
Fred |
Dest 0200.2222.2222 |
1) Frame Came in F0/1, |
2) Destined for 0200.2222.2222… 3) Forward Out F0/2 |
4) Filter (Do Not Send) on F0/3, F0/4 |
1 |
Wilma 0200.3333.3333 |
F0/1 F0/3 4 |
F0/2 F0/4 5 |
Barney 0200.2222.2222 |
3 |
MAC Address Table |
MAC Address Output |
0200.1111.1111 F0/1 0200.2222.22222 F0/2 0200.3333.3333 F0/3 0200.4444.4444 F0/4 |
Betty 0200.4444.4444 |
Figure 5-3 Sample Switch Forwarding and Filtering Decision |
A switch’s MAC address table lists the location of each MAC relative to that one switch. In LANs with multiple switches, each switch makes an independent forwarding decision based on its own MAC address table. Together, they forward the frame so that it eventually arrives at the destination. |
For example, Figure 5-4 shows the first switching decision in a case in which Fred sends a frame to Wilma, with destination MAC 0200.3333.3333. The topology has changed versus the previous figure, this time with two switches, and Fred and Wilma connected to two different switches. Figure 5-3 shows the first switch’s lo... |
|||||||||||||||||||| |
|||||||||||||||||||| |
112 CCNA 200-301 Official Cert Guide, Volume 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.