Lab 6.2.3 Managing The MAC Address Table: Objective
Lab 6.2.3 Managing The MAC Address Table: Objective
Objective
• Create a basic switch configuration.
• Manage the switch MAC table.
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is
produced from a 2950 series switch. Any other switch used may produce different output. The
following steps are to be executed on each switch unless specifically instructed otherwise.
Instructions are also provided for the 1900 Series switch, which initially displays a User Interface
Menu. Select the “Command Line” option from the menu to perform the steps for this lab.
Start a HyperTerminal session.
Note: Go to the erase and reload instructions at the end of this lab. Perform those steps on all
switches in this lab assignment before continuing.
1-5 CCNA 3: Switching Basics and Intermediate Routing v 3.1 - Lab 6.2.3 Copyright 2003, Cisco Systems, Inc.
Step 3 Verify connectivity
a. To verify that hosts and switch are correctly configured, ping the switch IP address from the
hosts.
b. Were the pings successful? __________________________________________________
c. If the answer is no, troubleshoot the hosts and switch configurations.
Step 5 Determine the MAC addresses that the switch has learned
a. To determine the MAC addresses the switch has learned, use the show mac-address-table
command as follows at the privileged EXEC mode prompt:
ALSwitch#show mac-address-table
ALSwitch#show mac-address-table ?
b. How many options are available for the show mac-address-table command? __________
c. Show only the MAC addresses from the table that were learned dynamically.
d. How many are there? _______________________________________________________
2-5 CCNA 3: Switching Basics and Intermediate Routing v 3.1 - Lab 6.2.3 Copyright 2003, Cisco Systems, Inc.
Step 8 Verify the results
a. Verify that the mac-address-table was cleared as follows:
ALSwitch#show mac-address-table
ALSwitch#clear mac-address-table ?
ALSwitch#show mac-address-table
Switch#exit
b. Once the steps are completed, logoff by typing exit, and turn all the devices off. Then remove
and store the cables and adapter.
3-5 CCNA 3: Switching Basics and Intermediate Routing v 3.1 - Lab 6.2.3 Copyright 2003, Cisco Systems, Inc.
2900 and 2950 Series Switches
1. Enter into the privileged EXEC mode by typing enable.
If prompted for a password, enter class (if that does not work, ask the instructor).
Switch>enable
Switch#delete flash:vlan.dat
Delete filename [vlan.dat]?[Enter]
Delete flash:vlan.dat? [confirm] [Enter]
Switch#erase startup-config
Erasing the nvram filesystem will remove all files! Continue? [confirm]
Switch(config)#reload
4-5 CCNA 3: Switching Basics and Intermediate Routing v 3.1 - Lab 6.2.3 Copyright 2003, Cisco Systems, Inc.
b. Type n and then press Enter.
The responding line prompt will be:
After the switch has reloaded, the line prompt will be:
#delete vtp
This command resets the switch with VTP parameters set to factory
defaults.
All other parameters will be unchanged.
#delete nvram
This command resets the switch with factory defaults. All system parameters will revert to their
default factory settings. All static and dynamic addresses will be removed.
Reset system with factory defaults, [Y]es or [N]o?
Enter y and press Enter.
5-5 CCNA 3: Switching Basics and Intermediate Routing v 3.1 - Lab 6.2.3 Copyright 2003, Cisco Systems, Inc.