0% found this document useful (0 votes)
11 views2 pages

Lab02 Mac Table

The document discusses how a switch works by flooding frames and learning MAC addresses, storing them in the CAM table. It provides tasks for students to observe frame flooding behavior and the CAM table as MAC addresses are learned under different network configurations.

Uploaded by

khanh.minhdoan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

Lab02 Mac Table

The document discusses how a switch works by flooding frames and learning MAC addresses, storing them in the CAM table. It provides tasks for students to observe frame flooding behavior and the CAM table as MAC addresses are learned under different network configurations.

Uploaded by

khanh.minhdoan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Lab 02: How switch works and watching CAM table with

Packet Tracer
1. Overview
Cisco Packet Tracer is a comprehensive, networking technology teaching and learning program that offers
a unique combination of realistic simulation and visualization experiences, assessment and activity
authoring capabilities, and opportunities for multiuser collaboration and competition. Innovative features of
Packet Tracer will help students and teachers collaborate, solve problems, and learn network concepts.

2. Objectives
• Review how switch works
• Watch MAC table in switch under various configurations
3. Network diagram
Build a network diagram consists of three PCs
connected with each other through a switch. IP
configurations are setup as shown in figure. Students
should get familiar to note tool to label PCs like in the
diagram.

4. Tasks
4.1 Review the behaviors of switch

Flooding: If a broadcast frame is received at one port,


switch will flood out every other port with broadcast frames.

Learning: when a new MAC address is found, switch stores it in the CAM table.

CAM stands for Content Addressable Memory; it is used to store MAC addresses and their related
information.

MAC Port VLAN


0000.0000.1111 1 1
0000.0000.2222 2 1
0000.0000.6666 6 1
… … …

To make sure that students don’t be confused with various protocol packets, only ARP and ICMP protocols
will be inspected. Students need to edit filters in simulation panel to remove all other protocols except those.

4.2. Watch the flooding behavior


When a broadcast frame is received, the switch will flood out all remaining ports with broadcast frames.
You can watch this by pinging PC2 from PC1.

• Switch to simulation mode


• Click “Play”,
• Open the PC1 command prompt, enter ping 192.168.10.2 then press Enter:
How does the switch behave when the first frame is received? Explain this behavior.
4.3. Watch the CAM table

• Click switch icon > switch dialog will show up,


• Click tab CLI,
• Enter show mac-address-table then press enter to watch the CAM table.
Explain the CAM table. What is the meaning of value at column “Mac Address”? How many items are there?
How to make CAM table store MAC of all PCs?

4.4. Change network configuration and watch the new CAM table

• Reset the simulation,


• Modify the above network diagram as shown:

• Ping all PCs from PC1,


• Watch the CAM table in switch. Try to guest the result before using the command show mac-
address-table. Is your guess correct?
Notes:
Students can always clear CAM table by switching to privileged mode (prompt will change to #):
Switch>enable

Then
Switch#clear mac-address-table

You might also like