Lab Objective:
The objective of this lab exercise is for you to learn and understand how to configure standard VLANs 1–1001 on Cisco Catalyst IOS Switches. In addition, you are also required to familiarize yourself with the commands available in Cisco IOS to validate and check your configurations.
Lab Purpose:
VLAN configuration is a fundamental skill. VLANs allow you to segment your network into multiple, smaller broadcast domains. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to configure VLANs on Cisco switches.
Certification Level:
This lab is suitable for both CCENT and CCNA certification exam preparation.
Lab Difficulty:
This lab has a difficulty rating of 4/10.
Readiness Assessment:
When you are ready for your certification exam, you should complete this lab in no more than 10 minutes.
Lab Topology:
Please use the following topology to complete this lab exercise:
Task 1:
In preparation for VLAN configuration, configure a hostname on Sw1 as well as the VLANs depicted in the topology.
Task 2:
Configure ports FastEthernet0/5 to FastEthernet0/8 as access ports and assign them to the VLANs specified.
Task 3:
Verify your VLAN configuration using relevant show commands in Cisco IOS.
Configuration and Verification
Task 1:
Switch#config t Enter configuration commands, one per line. End with CTRL/Z. Switch(config)#hostname Sw1 Sw1(config)#vlan10 Sw1(config-vlan)#name SALES Sw1(config-vlan)#exit Sw1(config)#vlan20 Sw1(config-vlan)#name MANAGERS Sw1(config-vlan)#exit Sw1(config)#vlan30 Sw1(config-vlan)#name ENGINEERS Sw1(config-vlan)#exit Sw1(config)#vlan40 Sw1(config-vlan)#name SUPPORT
NOTE: By default, Cisco switches are VTP servers so no configuration is necessary for server mode. Use the show vtp status command to look at the current VTP operating mode of the switch.
Task 2:
Sw1(config)#interface fastethernet0/5 Sw1(config-if)#switchport mode access Sw1(config-if)#switchport access vlan10 Sw1(config-if)#exit Sw1(config)#interface fastethernet0/6 Sw1(config-if)#switchport mode access Sw1(config-if)#switchport access vlan20 Sw1(config-if)#exit Sw1(config)#interface fastethernet0/7 Sw1(config-if)#switchport mode access Sw1(config-if)#switchport access vlan30 Sw1(config-if)#exit Sw1(config)#interface fastethernet0/8 Sw1(config-if)#switchport mode access Sw1(config-if)#switchport access vlan40
Task 3:
Sw1#show vlan brief
VLAN Name Status Ports
—- ———————– ——— ——————————-
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
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
Gi0/1, Gi0/2
10 SALES active Fa0/5
20 MANAGERS active Fa0/6
30 ENGINEERS active Fa0/7
40 SUPPORT active Fa0/8
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active