2.5.1 Packet Tracer – Basic Switch Configuration Answers

2.5.1 Packet Tracer – Basic Switch Configuration Answers


Addressing Table

Device Interface IP Address Subnet Mask Default Gateway

Learning Objectives

  • Clear an existing configuration on a switch
  • Verify the default switch configuration
  • Create a basic switch configuration
  • Manage the MAC address table
  • Configure port security


In this activity, you will examine and configure a standalone LAN switch. Although a switch performs basic functions in its default out-of-the-box condition, there are a number of parameters that a network administrator should modify to ensure a secure and optimized LAN. This activity introduces you to the basics of switch configuration.

Task 1: Clear an Existing Configuration on a Switch

Step 1. Enter privileged EXEC mode by typing the enable command.

Click S1 and then the CLI tab. Issue the enable command to enter the privileged EXEC mode.


Step 2. Remove the VLAN database information file.

VLAN database information is stored separately from the configuration files in vlan.dat in flash. To remove the VLAN file, issue the command delete flash:vlan.dat

Switch#delete flash:vlan.dat 
Delete filename [vlan.dat]? [Enter] 
Delete flash:vlan.dat? [confirm] [Enter]

Step 3. Remove the switch startup configuration file from NVRAM.

Switch#erase startup-config 
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm] [Enter]
Erase of nvram: complete

Step 4. Verify the VLAN information was deleted.

Verify that the VLAN configuration was deleted using the show vlan command.

Switch#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24
10   VLAN10                           active 
30   VLAN30                           active 
1002 fddi-default                     active 
1002 fddi-default                     active 
1003 token-ring-default               active 
1004 fddinet-default                  active 
1005 trnet-default                    active

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
1002 enet  101002     1500  -      -      -        -    -        0      0
1003 enet  101003     1500  -      -      -        -    -        0      0
1004 enet  101004     1500  -      -      -        -    -        0      0
1005 enet  101005     1500  -      -      -        -    -        0      0

The VLAN information is still on the switch. Follow the next step to clear it.

Step 5. Reload the switch.

At the privileged EXEC mode prompt, enter the reload command to begin the process.

Proceed with reload? [confirm] [enter]

%SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.

<output omitted>

Press RETURN to get started! [Enter]


Download Packet Tracer (.pka) file:

Notify of

Inline Feedbacks
View all comments