Lab 3.4.6
Lab 3.4.6
Course Code / Course Name: - CNET 217 / Switching & Routing Essentials
Section: - 002
Group Number: 5
Student Names/ID:
Instructions
4. Disable DNS lookup to prevent the router from attempting to translate incorrectly entered
commands as though they were host names.
9. Create a banner that warns anyone accessing the device that unauthorized access is
prohibited.
10. Configure the IP address listed in the Addressing Table for VLAN 1 on the switch.
Answer:
When attempting to ping a device on a different subnet, the attempt failed. A default
gateway must be present in order to transport traffic from one subnet to another in
order for those pings to succeed.
7. Use the show vlan brief command to verify that the VLAns are assigned to the correct interfaces
4.Issue the show vlan brief command. F0/24 was assigned to VLAN 30.
After deleting VLAN 30 from the VLAN database, what VLAN is port F0/24 assigned to? What happens to
the traffic destined to the host attached to F0/24?
A VLAN's designated ports become dormant when it is deleted. This means that Port F0/24 is still linked
with VLAN 30. As a result of its absence from the VLAN database, VLAN 30 is now inactive. The port will
not transfer any traffic, as well.
6.Issue the show vlan brief command to determine the VLAN assignment for F0/24.
To which VLAN is F0/24 assigned?
2.Issue the show vlan brief command on S1 and S2. Interface F0/1 is no longer assigned to VLAN 1.
Trunked interfaces are not listed in the VLAN table.
3.Issue the show interfaces trunk command to view trunked interfaces. Notice that the mode on S1 is
set to desirable, and the mode on S2 is set to auto.
If you
S2 configuration
answered no to any of the above questions, explain below
4.Verify that VLAN traffic is traveling over trunk interface F0/1.
The pings between VLANs were unsuccessful because the PCs and switches are in different lanes
—VLAN 10 is on the switches and VLAN 99 is on the PCs.
Step 2: Manually configure trunk interface F0/1.
The switchport mode trunk command is used to manually configure a port as a trunk. This
command should be issued on both ends of the link.
1. Change the switchport mode on interface F0/1 to force trunking. Make sure to do this on both
switches
2. Issue the show interfaces trunk command to view the trunk mode. Notice that the mode changed
from desirable to on.
3. Modify the trunk configuration on both switches by changing the native VLAN from VLAN 1 to VLAN
1000.
4. Issue the show interfaces trunk command to view the trunk. Notice the Native VLAN information is
updated.
Why mightTo you
initialize
wantatoswitch
manually
changeback
the
configure
tonative
its default
VLAN
an interface
settings,
on a trunk?
to
what
trunkother
modecommands
instead ofare
using
needed?
DTP?
Ans: The primary benefits of VLAN are improve security, improve performance, savings and
ASome
security
Step 2:equipment
risk arises
Delete theifVLAN
not
from
alldatabase.
does
usingnot
theuse
native
DTP. VLAN, which is VLAN 1, the default VLAN. The default
better software
Ans: Erase management.
the startup-config and use the reload command
settings on the ports that users connect to might expose all the various control protocols that are
Issue the delete vlan.dat command to delete
nativethe vlan.dat file from flash and reset the VLAN database
transferred between switches via the VLAN 1 untagged.
back to its default settings. You will be prompted twice to confirm that you want to delete the vlan.dat file.
Part 5:Enter
Press Delete
boththe VLAN Database
times.
In Part 5, Questions
Reflection you will delete the VLAN Database from the switch. It is necessary to do this when
initializing a switch back to its default settings.
1. What is needed to allow hosts on VLAN 10 to communicate to hosts on VLAN 99?
Step 1: Determine if the VLAN database exists.
2. Issue the show flash command to verify that the vlan.dat file has been deleted.
Issue the show flash command to determine if a vlan.dat file exists in flash.
Ans: Allowing Inter-VLAN routing needs a Layer-3 device or a multi-layer switch or Router in order
to route between VLANs.
2. What are some primary benefits that an organization can receive through effective use of VLANs?