City College of Calamba: Net201 - Computer Networking 2 Midterm Enrichment Activity 1 - Configuring Vlans and Trunking
City College of Calamba: Net201 - Computer Networking 2 Midterm Enrichment Activity 1 - Configuring Vlans and Trunking
NAME: SCORE: / 50
SUBJ. CODE-SECTION: PROFESSOR:
Scenario
Note: The switches used are Cisco Catalyst 2960s with Cisco IOS Release 15.0(2). Other
switches and Cisco IOS versions can be used. Depending on the model and Cisco IOS
version, the commands available and output produced might vary from what is shown in the
labs. Also, ensure that the switches have been erased and have no startup configurations.
City College of Calamba
Dalubhasan ng Lungsod ng Calamba
Network Topology
Networking Topology
Addressing Table
4. Configure PC hosts (Refer to the addressing table (Table 2-1) for PC host address
information)
5. Test connectivity. Verify that the PC hosts can ping one another.
5.1. Can DBA-PC ping DCI-PC1? (yes/no) _____
5.2. Can DBA-PC ping DCI-PC2? (yes/no) _____
5.3. Can DBA-PC ping DBA_SW VLAN1? (yes/no) _____
5.4. Can DCI-PC1 ping DCI-PC2? (yes/no) _____
5.5. Can DCI-PC1 ping DCI_SW VLAN1? (yes/no) _____
5.6. Can DCI-PC2 ping DCI_SW VLAN1? (yes/no) _____
5.6. Can DBA_SW and DCI_SW VLAN1’s? (yes/no) _____
If you answered no to any of the above questions, why were the pings unsuccessful?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Task 2. Create VLANs and Assign Switch Ports
City College of Calamba
Dalubhasan ng Lungsod ng Calamba
In task 2, you will create STUDENT, FACULTY, and MANAGEMENT VLANs on both switches.
You will then assign the VLANs to the appropriate interface. The show VLAN command is used to
verify your configuration settings.
1. Create VLANs on the switches.
1.1. Create the VLANs on DBA_SW.
1.2. Create the same VLANs on DCI_SW.
1.3. Issue the show vlan command to view the list of VLANs on DBA_SW.
1.4. Repeat (c) to view the list of VLANs on DCI_SW.
3. Issue the show vlan brief command and verify that the VLANs are assigned to the
correct interfaces.
5. Use the network topology to assign VLANs to the appropriate ports on DCI_SW.
6. Remove the IP address for VLAN 1 on DCI_SW.
7. Configure an IP address for VLAN 99 on DCI_SW according to the addressing table in Table
2.1.
8. Use the show vlan brief command to verify that the VLANs are assigned to the correct
interfaces.
9. Verify the connectivity using ping command and observe the output.
Is DBA-PC able to ping DCI-PC1? Why?
________________________________________________________________
City College of Calamba
Dalubhasan ng Lungsod ng Calamba
________________________________________________________________
Is DBA_SW able to ping DCI_SW? Why?
________________________________________________________________
________________________________________________________________
2.2. Use show vlan brief to verify that the VLAN change was made.
Which VLAN is Fa0/24 now associated with?
____________________________________________________________
____________________________________________________________
3. Remove a VLAN ID from the VLAN database.
3.1. Add VLAN 30 to interface Fa0/24 without issuing the VLAN command.
DBA_SW> en
DBA_SW# conf t
DBA_SW(config)# int fa0/24
DBA_SW(config-if)# switchport access vlan 30
DBA_SW(config-if)# end
Note: Current switch technology no longer requires that the vlan command be issued to add
a VLAN to the database. By assigning an unknown VLAN to a port, the VLAN adds to the
VLAN database.
3.2. Verify that the new VLAN is displayed in the VLAN table.
What is the default name of VLAN 30?
____________________________________________________________
3.3. In the global configuration mode, issue a no vlan 30 command to remove VLAN 30
from the VLAN database.
3.4. Issue the show vlan brief command. Fa0/24 was assigned to VLAN 30.
_____________________________________________________________________
Note: Before removing a VLAN from the database, it is recommended that you reassign all
the ports assigned to that VLAN.
City College of Calamba
Dalubhasan ng Lungsod ng Calamba
Why should you reassign a port to another VLAN before removing the VLAN from the VLAN
database?
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
Note: You should also receive link status messages on DCI_SW. Check this in
DCI_SW command-line interface (CLI).
b. Issue the show vlan brief command on DBA_SW and DCI_SW. Interface Fa0/1 is
no longer assigned to VLAN 1. Trunked interfaces are not listed in the VLAN table.
c. In the global configuration mode, issue the show interfaces trunk command to
view trunked interfaces on each switch. Notice that the mode on DBA_SW is set to
desirable, and the mode on DCI_SW is set to auto.
Note: By default, all VLANs are allowed on a trunk. The switchport trunk command
allows you to control what VLANs have access to the trunk. For this lab, keep the default
settings which allows all VLANs to traverse Fa0/1.
2.2. Issue the show interfaces trunk command to view the trunk mode in DCI_SW.
Notice that the mode changed from desirable to on.
Why might you want to manually configure an interface to trunk mode instead of using
DTP?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
2.3. Verify that VLAN traffic is traveling over trunk interface Fa0/1.
a. Can DBA_SW ping DCI_SW? (yes/no) _____
b. Can DBA-PC ping DCI-PC1? (yes/no) _____
c. Can DBA-PC ping DCI_PC2? (yes/no) _____
d. Can DCI-PC1 ping DCI-PC2? (yes/no) _____
e. Can DBA-PC ping DBA_SW? (yes/no) _____
f. Can DCI-PC1 ping DCI_SW? (yes/no) _____
g. Can DCI_PC2 and DCI_SW? (yes/no) _____