Lab 2: Configuring extended VLANs on Catalyst Switches
Lab Objective:
The objective of this lab exercise is for you to learn and understand how to configure extended VLANs 1006-4096 on Cisco Catalyst IOS switches. In addition to this, 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 5/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:
8
Task 1:
In preparation for VLAN configuration, configure a hostname on Sw1 as well as the VLANs depicted in the topology. Keep in mind that extended VLANs can only be configured on a switch in VTP Transparent mode.
Task 2:
Configure ports FastEthernet0/5 – FastEthernet0/8 as access ports and assign them to the VLANs specified.
Task 3:
Verify your VLAN configuration
SOLUTION:
Lab 2 Configuration and Verification
Task 1:
NOTE: By default, Cisco switches are VTP servers. Only standard range VLANS 1-1005 are configurable on VTP servers. To configure extended range VLANS (1006-4096) you must configure the switch as a VTP Transparent switch. Otherwise, you will get the following error message: Sw1(config)#vlan 2010 Sw1(config-vlan)#end Extended VLANs not allowed in VTP SERVER mode Failed to commit extended VLAN(s) changes. NOTE: Configuration files will be kept from previous labs. In order to remove them you can re-type the commands with the word 'no' in front.: Sw1(config)#no vlan 2010 You may also need to reset the switch back to VTP mode server if appropriate.
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Sw1
Sw1(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
Sw1(config)#vlan 2010
Sw1(config-vlan)#name SALES
Sw1(config-vlan)#exit
Sw1(config)#vlan 2020
9
Sw1(config-vlan)#name MANAGERS
Sw1(config-vlan)#exit
Sw1(config)#vlan 2030
Sw1(config-vlan)#name ENGINEERS
Sw1(config-vlan)#exit
Sw1(config)#vlan 2040
Sw1(config-vlan)#name SUPPORT
Task 2:
Sw1#config t
Enter configuration commands, one per line. End with CNTL/Z.
Sw1(config)#interface fastethernet0/5
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan 2010
Sw1(config-if)#exit
Sw1(config)#interface fastethernet0/6
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan 2020
Sw1(config-if)#exit
Sw1(config-if)#interface fastethernet0/7
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan 2030
Sw1(config-if)#exit
Sw1(config-if)#interface fastethernet0/8
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan 2040
10
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 1002 fddi-default active 1003 token-ringdefault active 1004 fddinet-default active 1005 trnet-default active 2010 SALES active Fa0/5 2020 MANAGERS active Fa0/6 2030 ENGINEERS active Fa0/7 2040 SUPPORT active Fa0/8
Lab Objective:
The objective of this lab exercise is for you to learn and understand how to configure extended VLANs 1006-4096 on Cisco Catalyst IOS switches. In addition to this, 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 5/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:
8
Task 1:
In preparation for VLAN configuration, configure a hostname on Sw1 as well as the VLANs depicted in the topology. Keep in mind that extended VLANs can only be configured on a switch in VTP Transparent mode.
Task 2:
Configure ports FastEthernet0/5 – FastEthernet0/8 as access ports and assign them to the VLANs specified.
Task 3:
Verify your VLAN configuration
SOLUTION:
Lab 2 Configuration and Verification
Task 1:
NOTE: By default, Cisco switches are VTP servers. Only standard range VLANS 1-1005 are configurable on VTP servers. To configure extended range VLANS (1006-4096) you must configure the switch as a VTP Transparent switch. Otherwise, you will get the following error message: Sw1(config)#vlan 2010 Sw1(config-vlan)#end Extended VLANs not allowed in VTP SERVER mode Failed to commit extended VLAN(s) changes. NOTE: Configuration files will be kept from previous labs. In order to remove them you can re-type the commands with the word 'no' in front.: Sw1(config)#no vlan 2010 You may also need to reset the switch back to VTP mode server if appropriate.
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Sw1
Sw1(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
Sw1(config)#vlan 2010
Sw1(config-vlan)#name SALES
Sw1(config-vlan)#exit
Sw1(config)#vlan 2020
9
Sw1(config-vlan)#name MANAGERS
Sw1(config-vlan)#exit
Sw1(config)#vlan 2030
Sw1(config-vlan)#name ENGINEERS
Sw1(config-vlan)#exit
Sw1(config)#vlan 2040
Sw1(config-vlan)#name SUPPORT
Task 2:
Sw1#config t
Enter configuration commands, one per line. End with CNTL/Z.
Sw1(config)#interface fastethernet0/5
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan 2010
Sw1(config-if)#exit
Sw1(config)#interface fastethernet0/6
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan 2020
Sw1(config-if)#exit
Sw1(config-if)#interface fastethernet0/7
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan 2030
Sw1(config-if)#exit
Sw1(config-if)#interface fastethernet0/8
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan 2040
10
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 1002 fddi-default active 1003 token-ringdefault active 1004 fddinet-default active 1005 trnet-default active 2010 SALES active Fa0/5 2020 MANAGERS active Fa0/6 2030 ENGINEERS active Fa0/7 2040 SUPPORT active Fa0/8
0 comments:
Post a Comment